Commit Graph

31 Commits

Author SHA1 Message Date
Lioncache
b2bd0cd326 General: Update to Qt6
Migrate over to Qt 6 so that we can keep the UI toolkit pegged at the
current major version.

Unfortunately this also means we have to gut a small feature in the
progress dialogs, since the extras module doesn't exist in Qt6 anymore.

Few things of note:

QVector<> is internally an alias of QList now, so any changeover is due
to that to make the semantics a little clearer.

QtConcurrent requires arguments to be swapped on some invocations, and
discarding instances need to use the global thread pool instead.

fromStdList(), etc can be replaced with range constructors.

--no-angle and other commands are removed from newer versions of
windeployqt

QVariant::Invalid (and other type IDs) are deprecated and also break
existing functionality. Instead we can return default constructed
QVariants where applicable, which restores functionality that would be
broken if left as is (e.g. many list would straight up not populate or
have wonky size hinting).

The reason for this is that the QVariant(QVariant::Type) constructor
models a unique kind of internal QVariant state where it's considered
to be in an invalid state, but accessing the (supposedly) invalid state
will instead return a default constructed value of the internal type.

This kinda sucks because this means genuinely invalid states that would
warrant an assertion or other type of error would be silently ignored
and execution would continue on as normal, so this also enforces
correctness a little bit (on top of, well, fixing all the broken UI
controls).
2025-11-29 19:54:35 -05:00
Lioncash
d235fd4b17 CGizmo: Remove <iostream>
Same behavior, minus an injected static constructor.
2020-07-04 13:16:38 -04:00
Lioncash
2d21d6af01 CGizmo: Mark NumSelectedAxes() as const
This doesn't modify internal member state.
2020-07-03 22:51:34 -04:00
Lioncash
832889f029 CGizmo: Make use of in-class initializers where applicable 2020-06-28 03:46:43 -04:00
Lioncash
2b7513b156 SSurface: Make IntersectsRay() a const member function 2020-06-21 19:48:39 -04:00
Lioncash
566a32fd75 General: Migrate off non-constexpr constants 2020-06-16 22:48:11 -04:00
Lioncash
e18e73cca5 CBasicModel: Make use of size_t where applicable
Same behavior, but without some internal variable truncation.
2020-06-15 19:48:25 -04:00
Lioncash
79f7b62960 CMaterialSet/CModel: Make use of size_t where applicable
Prevents type truncation warnings internally and also provides slightly
better code-gen, given the upper half of 64-bit registers don't need to
be constantly cleared.
2020-06-15 14:49:38 -04:00
Jack Andersen
6e08f95d10 Replace deprecated Qt APIs, Windows fixes 2020-03-30 18:07:18 -10:00
Jack Andersen
e55b6b43e3 Fixes for building on ubuntu 2019-11-19 05:06:03 +00:00
Jack Andersen
6e3b23ec50 Accurate MP3 material processing 2019-11-06 16:52:45 -10:00
1c80a13c23 Silence Warnings 2019-05-26 18:18:31 -07:00
Aruki
c4829f5fda Cleanup & refactoring 2018-12-16 14:00:40 -07:00
Aruki
2287b05bc3 Refactor so PWE compiles with the newly externalized LibCommon 2018-12-11 22:50:46 -07:00
Aruki
e112c93498 Switch to using forward slashes in file paths 2017-05-05 14:06:42 -06:00
parax0
a7b381f301 Made a bunch of changes to make the resource store system more friendly to multiple stores instead of just a single active one, and set up a resource database for editor assets 2016-08-31 02:09:13 -06:00
parax0
24c5ad5cd7 Applied a bunch of fixes to get the current game exporter functionality working with the resource store system 2016-07-04 20:28:17 -06:00
parax0
2d6dfad2d3 Completely overhauled resource loading in preparation for projects 2016-06-29 17:18:31 -06:00
parax0
f64ee6b3b7 A model's surfaces are now depth sorted together (except on world geometry) 2016-05-03 05:05:10 -06:00
parax0
59d8de0f31 Added support for depth groups on the renderer 2016-04-27 23:32:02 -06:00
parax0
feace9e38c Fixed animation loader bug, added CBoneTransformData to separate animation transforms away from CSkeleton, added skeleton raycasting, added a bunch of animation playback controls to the character editor 2016-04-10 06:49:42 -06:00
parax0
dfdbed24c4 Change CTransform4f to inherit from CMatrix4f 2016-04-08 19:16:26 -06:00
parax0
82ad4fb5c8 Mass code cleanup 2016-03-27 13:09:38 -06:00
parax0
99a64342e9 Added support for script instance cloning 2016-03-19 20:30:42 -06:00
parax0
a35044ef83 Moved Log to Common and made some changes to log formatting 2016-02-15 05:28:20 -07:00
parax0
75091f718c Added rotation arrow for when billboards are selected 2016-01-25 22:26:38 -07:00
parax0
5375f34c19 Implemented TFlags for easy, type-safe bitflags 2016-01-05 11:50:10 -07:00
parax0
2db8d23516 Splitting Math into a separate subproject and adding FileIO as a PWE subproject 2015-12-16 14:39:51 -07:00
parax0
6b8966f0b9 Making CColor use floats instead of u8s 2015-12-16 03:28:40 -07:00
parax0
824d23efc1 Mass refactoring part 2/2: fixing include paths and project files 2015-12-14 19:07:22 -07:00
parax0
8805baaee1 Mass refactoring part 1/2: establishing multiple subprojects, moving source files to their new location, adding resources/templates to version control 2015-12-14 18:33:16 -07:00