Commit Graph

98 Commits

Author SHA1 Message Date
Lioncash cf054f35a3 SpecBase: Remove usages of const_cast
It's generally the case that mutexes are marked as mutable whenever they
need to be used within a const class context, given they don't directly
participate as a bitwise member of the class, but only transiently exist
so that synchronization operations can occur.

Given that, marking the member as mutable in this case makes sense.
2020-04-09 20:26:31 -04:00
Luke S 1cfe88fab1
Merge pull request #168 from lioncash/bind
SpecBase: Remove redundant std::bind
2020-02-28 10:35:30 -05:00
Lioncash be4252127b SpecBase: Remove redundant std::bind
std::thread can already execute the supplied function as is without the
assistance of std::bind.
2020-02-28 01:25:14 -05:00
Lioncash fc3ef2fddd SpecBase: Flatten loop within flattenDependenciesBlend()
We can use insert() with make_move_iterator() to perform the same
behavior, minus unnecessary copies.

While we're at it, we can collapse the code within the Area case, since
it's the exact same as the Mesh code.
2020-02-26 14:52:20 -05:00
Jcw87 7be3f4febb Fixed character type mismatch. 2020-02-15 12:24:50 -08:00
Phillip Stephens 34e78a2dd0
Move CParticleGlobals from the executable and onto the heap, minor fixes, update wiki link 2019-12-03 00:47:05 -08:00
Phillip Stephens 9e2486ba0e
Use `std::string::empty` rather than string comparison 2019-10-13 19:47:24 -07:00
Phillip Stephens 6260708ba4
Cook/cache fixes for unset original IDs 2019-10-13 19:45:43 -07:00
Jack Andersen 16ca0d24c2 Explicit Asset ID refactor 2019-09-30 21:38:03 -10:00
Phillip Stephens 256994c199
Initial CEnergyBall, update submodules, various fixes 2019-08-31 02:02:21 -07:00
Lioncash 1d3062b33f General: Make use of FopenUnique where applicable
Migrates to the hecl Fopen variant that automatically closes its
contained file handle if it goes out of scope.
2019-08-26 15:03:58 -04:00
Lioncash 11098374a4 RetroDataSpec: Use fmt::print where applicable
Replaces uses of fprintf with fmt::print where applicable. For trivial
character insertion, we can make use of fputc instead of fprintf.
2019-08-14 22:44:49 -04:00
Jack Andersen 0ab08daae7 Windows build fixes 2019-07-27 15:21:31 -10:00
Jack Andersen 7a3da1f7a6 Massive fmtlib refactor 2019-07-19 18:27:21 -10:00
Jack Andersen 233d13ceb9 Refactor for blender 2.8 and new shader model 2019-05-07 17:50:21 -10:00
Jack Andersen ca5cf5c77c Cook all AGSCs simultaneously 2019-02-28 10:34:59 -10:00
Jack Andersen 636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Jack Andersen 45fb8db388 Integrate SDNA parser for checking .blend types 2018-10-21 23:29:44 -10:00
Jack Andersen 1851308021 Windows fixes 2018-10-14 10:16:21 -10:00
Jack Andersen 1559163f98 Shader refactor bug fixes and attachment model extract/cook 2018-10-11 10:50:05 -10:00
Jack Andersen e46ec80b64 Integrate Amuse into hecl cook/extract for MP1/2 2018-09-02 14:46:16 -10:00
Jack Andersen 56a5cfd115 Fix TSan-reported race conditions 2018-06-01 14:03:31 -10:00
Jack Andersen 0d3a67e78f Fix area token loading 2018-05-25 17:07:29 -10:00
Jack Andersen 06d755cf4c GameCube spec cook fixes 2018-04-01 18:27:24 -10:00
Jack Andersen 7a2fbfc582 Initial work on GameCube package targeting 2018-03-27 22:09:41 -10:00
Jack Andersen 7c0bf75f7a Various windows fixes and additions 2018-03-23 11:56:17 -10:00
Jack Andersen 619a784434 Initial PATH cooking support 2018-02-24 22:23:27 -10:00
Jack Andersen 613d57299e Update submodules 2018-01-09 20:20:34 -10:00
Jack Andersen aec45ad2bb Windows PCH fixes 2017-12-29 15:09:45 -10:00
Jack Andersen 8301adc3d6 Huge compile performance refactor 2017-12-28 22:08:12 -10:00
Jack Andersen 11d17d0fe5 Various bug fixes 2017-11-25 17:04:25 -10:00
Jack Andersen 2df95c01cf General resource handling bug fixes 2017-11-14 18:12:13 -10:00
Jack Andersen 6d049bdbb1 Windows fixes 2017-11-13 17:36:36 -10:00
Jack Andersen f7ec7bdc0c string_view refactor 2017-11-12 20:19:18 -10:00
Jack Andersen 6e73fddcf5 Windows fixes 2017-10-29 21:29:32 -10:00
Jack Andersen bb10aa9844 CResFactory bug fixes 2017-10-27 21:08:48 -10:00
Jack Andersen 2f4cddd3d2 Lots of CResFactory fixes 2017-10-27 00:10:32 -10:00
Jack Andersen 7c3fb4174f Finish CPakFile and CResLoader 2017-10-25 19:37:46 -10:00
Jack Andersen e274cd12b9 Refactorings to support .upak generation 2017-10-24 21:47:49 -10:00
Jack Andersen 5149128b60 DCLN cooking and various bug fixes 2017-10-16 19:51:53 -10:00
Jack Andersen b1e4e1a363 Experimental Wii de Asobu release support 2017-08-18 08:33:18 -10:00
Phillip Stephens ce7e913094 Initial support for AssetNameMap 2017-07-13 04:39:52 -07:00
Jack Andersen c41427e7f3 NOD API changes 2017-07-01 13:37:59 -10:00
Jack Andersen ca69a54faf Camera filter refactor 2017-05-31 19:34:24 -10:00
Jack Andersen 8e7773aa94 AutoMapper work 2017-03-19 19:09:53 -10:00
Jack Andersen 5cb2589024 Update nod 2017-02-04 20:20:31 -10:00
Jack Andersen 56b24c39f0 Ensure directories are created late in extract 2017-01-16 15:23:19 -10:00
Jack Andersen e192fb77a4 World cooking bug fixes 2016-12-24 15:36:42 -10:00
Jack Andersen 647643f579 Several world-cooking bug fixes 2016-10-07 17:41:08 -10:00
Jack Andersen 341fe2c728 Tons of dependency gathering flow 2016-10-02 12:41:36 -10:00