Commit Graph

680 Commits

Author SHA1 Message Date
Lioncash 909e7d69ee General: Remove unused file-scope variables
Removes unused logvisor modules. This also allows removing some
inclusions. Silences a few unused variable warnings as well.
2019-09-05 20:16:38 -04:00
Lioncash 4e71b955f6 General: Replace loop with resize where applicable
Instead of default constructing in a loop for std::vector, we can just
use resize or its size constructor to do the same thing.
2019-09-05 20:03:04 -04:00
Lioncash fa56ba5db6 General: Use emplace_back's return value where applicable
emplace_back() returns a reference to the added element, so we can use
that instead of querying right after the emplacement.
2019-09-05 19:44:48 -04:00
Lioncash 5c54fd73a1 FontCache: Make filters non-allocating
Avoids the creation of three allocating static constructors that run
during program start.
2019-09-05 19:22:29 -04:00
Lioncash b25cfdd305 FontCache: Default destructor within the cpp file
Avoids potentially inlining a lot of repeated destruction logic. This
also allows the class to play nicer with forward declarations.

While we're at it, we can also explicitly delete the move
assignment/constructor (previously they were implicitly deleted, given
the class contains a const reference).
2019-09-05 19:08:47 -04:00
Lioncash ba7a48764d FileBrowser: Move constructor definition into cpp file
Avoids requiring hecl.hpp to be included within the header.
2019-09-05 18:57:25 -04:00
Phillip Stephens 8ff9e028c7 Merge pull request #10 from lioncash/inc
General: Add necessary includes where applicable
2019-09-05 01:08:43 -07:00
Lioncash 5beb046f9e General: Add necessary includes where applicable
As part of the changes within hecl, this exposed a few indirect
inclusions. We can simply include the headers to resolve these cases.
2019-09-05 00:51:24 -04:00
Phillip Stephens d65fec7e2b Update zeus 2019-09-04 19:36:06 -07:00
Phillip Stephens 303b349e01 Merge pull request #9 from lioncash/clamp
ModalWindow: Migrate from zeus::clamp to std::clamp
2019-09-03 23:25:30 -07:00
Phillip Stephens acc39c3852 Update zeus 2019-09-03 23:10:37 -07:00
Lioncash ba2e7b22a9 ModalWindow: Migrate from zeus::clamp to std::clamp
Migrates to standard library facilities.
2019-09-03 16:52:54 -04:00
Phillip Stephens 8eef6471f2 Update zeus 2019-09-01 11:07:32 -07:00
Phillip Stephens 656ccd1e6c Merge pull request #8 from lioncash/compliance
CMakeLists: Add standard-compliance flags for MSVC
2019-09-01 11:04:18 -07:00
Phillip Stephens 943ed265d0 Merge pull request #7 from lioncash/logname
Toolbar: Correct log module name
2019-09-01 11:04:08 -07:00
Phillip Stephens 953e1a0270 Merge pull request #6 from lioncash/view
View: Add load() overload for arbitrary containers
2019-09-01 11:03:59 -07:00
Lioncash 8073b3ea62 CMakeLists: Add standard-compliance flags for MSVC
Enforces standard compliant behavior capable by MSVC.
2019-09-01 02:46:23 -04:00
Lioncash b0c865ba81 Toolbar: Correct log module name
This isn't the space-related code, so we can amend this.
2019-09-01 02:38:00 -04:00
Lioncash eefcbb5340 View: Add load() overload for arbitrary containers
We can utilize this to allow for transitions to other container types
while retaining support for C-style arrays (e.g. We can seamlessly
transition over to std::array).
2019-09-01 02:18:00 -04:00
Lioncash b2e45e28fa View: Implement load() in terms of the other
Same thing, but with less code duplication.
2019-09-01 01:20:24 -04:00
Lioncash 532e6909f3 Icon: Use std::array where applicable 2019-09-01 00:51:05 -04:00
Lioncash 462d2bb8fa Icon: std::move ObjToken instances where applicable
Allows the callers to move the token instance into the type if able to,
allowing avoiding an unnecessary atomic reference count increment and
decrement.
2019-09-01 00:42:34 -04:00
Phillip Stephens 256994c199
Initial CEnergyBall, update submodules, various fixes 2019-08-31 02:02:21 -07:00
Phillip Stephens 33a6e07e7a Merge pull request #3 from lioncash/include
General: Include headers where applicable
2019-08-30 16:28:37 -07:00
Lioncash 98949ab494 CMakeLists: Add source files directly to specter target
Same thing, but without the need for separate variables.
2019-08-30 10:00:53 -04:00
Lioncash 21dece5b1e General: Include headers where applicable
Ensures necessary dependencies are always included where applicable, as
well as avoiding including dependencies where they aren't necessary.
2019-08-30 09:54:26 -04:00
Phillip Stephens a41bd828e7 Update submodules 2019-08-18 18:49:54 -07:00
Phillip Stephens 50a7f7a860 Fix compiling with update boo 2019-08-18 12:42:19 -07:00
Phillip Stephens 9905496a79 Update specter 2019-08-10 19:59:29 -07:00
Lioncash a18c188f70 General: Use override where applicable
Continues the override modernizations, this time, addressing the specter
target.
2019-08-10 06:31:33 -04:00
Jack Andersen 0ab08daae7 Windows build fixes 2019-07-27 15:21:31 -10:00
Jack Andersen bce7fd23c7 Windows build fixes 2019-07-27 15:21:11 -10:00
Jack Andersen 5acf9ecbcf Graphics debug groups and bug fixes 2019-07-20 22:42:52 -10:00
Jack Andersen 7dede77b39 Update zeus 2019-07-20 22:42:43 -10:00
Jack Andersen 7a3da1f7a6 Massive fmtlib refactor 2019-07-19 18:27:21 -10:00
Jack Andersen 70ce423d00 Compile-time locale refactor 2019-07-19 18:26:59 -10:00
Phillip Stephens 55a812632f Compile fixes, std::variant still broken 2019-06-20 15:46:40 -07:00
Phillip Stephens afb1162c43 Compile fixes 2019-06-20 15:45:11 -07:00
Jack Andersen 9ccc4227cb Initial support for asynchronous shader compilation 2019-06-15 20:25:29 -10:00
Jack Andersen e1e920987f Asynchronous shader compilation 2019-06-15 20:25:18 -10:00
Jack Andersen 37307e1cf6 Various CActorContraption fixes 2019-06-14 14:39:20 -10:00
Jack Andersen 106f7b8039 Update zeus 2019-06-14 14:39:11 -10:00
Jack Andersen e218b8aeb5 CActorContraption fixes, better CMake dependency handling 2019-06-11 16:05:17 -10:00
Jack Andersen 0c45eb56c7 Better CMake dependency handling 2019-06-11 16:05:04 -10:00
Jack Andersen 233d13ceb9 Refactor for blender 2.8 and new shader model 2019-05-07 17:50:21 -10:00
Jack Andersen 285140426d Update zeus 2019-05-07 17:49:37 -10:00
Jack Andersen 3a0d2930fa Numerous uninitialized memory fixes 2019-04-06 19:14:48 -10:00
Jack Andersen 7b5dce54af Fix compilation against libc++ 2019-04-06 19:03:23 -10:00
Jack Andersen b72cc490e8 Implement CFishCloud 2019-04-02 18:32:31 -10:00
Jack Andersen 8ba5cf9a8b Add True and False tests for bitwise enums 2019-04-02 18:30:35 -10:00
Jack Andersen a63a61fef8 Implement CWallCrawlerSwarm 2019-03-23 22:06:59 -10:00
Jack Andersen 9bb21b0b32 Update zeus 2019-03-23 22:06:47 -10:00
Jack Andersen 52b36795ac Proper handling for persistently resident resources 2019-03-09 23:37:36 -10:00
Jack Andersen 8ce7bdf2c9 Update zeus 2019-03-09 23:14:38 -10:00
Jack Andersen f40bf707f6 DCLN OBB transform fix 2019-03-07 18:16:42 -10:00
Jack Andersen e773aa41f8 Update zeus 2019-03-07 18:16:25 -10:00
Jack Andersen 54f0724de5 D3D fixes 2019-03-03 13:04:18 -10:00
Jack Andersen 00f256a595 D3D crash fix 2019-03-03 13:04:03 -10:00
Jack Andersen 1b31a8fbc3 Windows fixes 2019-02-23 22:42:33 -10:00
Jack Andersen da339027cb Update zeus 2019-02-23 22:42:13 -10:00
Jack Andersen bff1dbbf66 Update specter 2019-02-23 21:16:50 -10:00
Jack Andersen 56c72423e0 constexpr refactor 2019-02-23 21:16:37 -10:00
Jack Andersen 48eaa2545b Working CScriptGunTurret 2019-02-17 19:47:46 -10:00
Jack Andersen 4b0c7e6410 Update zeus 2019-02-17 19:47:35 -10:00
Jack Andersen 6441bcc3a2 GCC build fix 2019-02-15 15:32:05 -10:00
Jack Andersen 813bf6631e Update zeus 2019-02-15 15:31:56 -10:00
Jack Andersen a28a7e9500 Update zeus 2019-02-10 10:59:24 -10:00
Jack Andersen 2b081583d7 Update zeus 2019-02-10 10:59:13 -10:00
Jack Andersen 88591f48f0 More bug fixes 2019-02-07 21:56:54 -10:00
Jack Andersen fb5476bcf6 Update zeus 2019-02-07 21:56:38 -10:00
Jack Andersen ad2681f857 Windows fixes 2019-01-28 22:28:35 -10:00
Jack Andersen 4225cb55a7 Update zeus 2019-01-28 22:27:48 -10:00
Jack Andersen 47c6b5cba8 Bug fixes and CGuiFrame mouse events 2019-01-19 20:43:11 -10:00
Jack Andersen d26f8cd56a Update zeus 2019-01-19 20:42:29 -10:00
Jack Andersen b7f35e0528 CRelAngle fix 2018-12-16 17:52:51 -10:00
Jack Andersen 8112a904fa Update zeus 2018-12-16 17:51:36 -10:00
Jack Andersen f184291461 ANCS PAS I/O fix 2018-12-15 20:32:07 -10:00
Jack Andersen 431b45be8f Update zeus 2018-12-15 20:31:52 -10:00
Jack Andersen dac8fc3eb5 Space pirate bug fixes 2018-12-14 20:29:41 -10:00
Jack Andersen 83bc5e926a Update zeus 2018-12-14 20:29:30 -10:00
Jack Andersen ec1cb75b25 Finish CSpacePirate implementation 2018-12-12 21:39:16 -10:00
Jack Andersen 073279ccf5 Update zeus 2018-12-12 21:37:00 -10:00
Jack Andersen 14747e39e1 Windows fixes 2018-12-07 20:46:17 -10:00
Jack Andersen d725cbff97 Update zeus 2018-12-07 20:45:14 -10:00
Jack Andersen 636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Jack Andersen dcbc001cd2 New code style refactor 2018-12-07 19:24:02 -10:00
Jack Andersen 7c7da6671a SIMD refactor 2018-12-07 15:49:15 -10:00
Jack Andersen 4fc3e42912 Update zeus 2018-12-07 15:28:31 -10:00
Jack Andersen 35a3923cdf Various bug fixes 2018-11-18 15:19:44 -10:00
Jack Andersen 9adf5c65e5 Update zeus 2018-11-18 15:19:34 -10:00
Jack Andersen 57c1196599 Various bug fixes 2018-11-17 18:01:29 -10:00
Jack Andersen f947aa741f Update zeus 2018-11-17 18:00:09 -10:00
Jack Andersen 660e7cd239 Work on CParasite 2018-11-12 23:20:11 -10:00
Jack Andersen 99f0f0d0a8 Update zeus 2018-11-12 21:57:28 -10:00
Jack Andersen 304fc7e69e More reliable 2-face model extraction 2018-11-08 14:25:55 -10:00
Jack Andersen f161615dca Update zeus 2018-11-08 14:25:41 -10:00
Jack Andersen d140f35886 All CEnvFxManager effects working 2018-11-02 22:46:12 -10:00
Jack Andersen d7f4967a63 Update zeus 2018-11-02 22:45:21 -10:00
Jack Andersen 98c7525176 Initially working CEnvFxManager 2018-11-01 22:16:16 -10:00
Jack Andersen 0576f7e0cd Update zeus 2018-11-01 22:16:06 -10:00