dfhack/library/modules
lethosor eb12ff17f6
Refactor: move static identity_traits to their own file, simplify field defs
DataStaticsFields.cpp used to contain identity_traits specializations for
primitive and opaque STL types, as well as macros used for the generated struct
field definitions. Only one of these were actually used in any compilation unit,
and the identity_traits definitions were hidden behind a guard to prevent them
from being compiled at all when building the struct field definitions.

Now, the identity_traits specializations live in their own file,
DataIdentity.cpp (matching their declarations, which live in DataIdentity.h).
This speeds up build times because modifying these specializations no longer
requires rebuilding all of the field definitions unnecessarily.
2023-08-02 00:15:26 -04:00
..
Buildings.cpp change dynamic_cast -> virtual_cast 2023-06-01 10:53:08 -07:00
Burrows.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
Constructions.cpp Implement/change/expose constructions findAtTile & insert (not building) 2022-10-12 21:10:22 +01:00
DFSDL.cpp convert tabs to spaces when getting clipboard text 2023-07-21 15:03:06 -07:00
DFSteam.cpp get compiling on windows 2023-06-17 22:14:11 -07:00
Designations.cpp Update xml and all uses of job_handler 2017-11-25 00:59:59 -05:00
EventManager.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
Filesystem.cpp ensure elements in deepest dir are added to output list 2023-03-11 02:01:50 -08:00
Graphic.cpp replace `dts:make_unique` with `std::make_unique` 2023-07-07 21:38:15 -05:00
Gui.cpp avoid inducing link dependency on dfhack 2023-07-05 11:07:51 -07:00
Items.cpp trade a bin if any contents can be traded 2023-07-16 12:15:51 -07:00
Job.cpp get things to compile with the recent structure updates 2023-01-08 11:33:14 -08:00
Kitchen.cpp properly cast for unsigned comparisons 2023-02-02 23:57:52 -08:00
MapCache.cpp adjust code to new tree root type 2023-04-11 10:14:28 -07:00
Maps.cpp adjust code to new tree root type 2023-04-11 10:14:28 -07:00
Materials.cpp replace `dts:make_unique` with `std::make_unique` 2023-07-07 21:38:15 -05:00
Military.cpp use insert_into_vector, tweak docs again 2023-02-27 02:15:26 +00:00
Once.cpp Apply initial pre-commit config 2022-04-12 14:48:19 -04:00
Persistence.cpp fix persistence for changed file structure 2023-01-06 21:24:01 -06:00
Random.cpp Add missing import/export info for MersenneRNG::unitvector<> 2014-03-25 13:30:21 -05:00
Renderer.cpp comment out problematic code from Renderer 2022-12-21 14:06:58 -08:00
Screen.cpp Refactor: move static identity_traits to their own file, simplify field defs 2023-08-02 00:15:26 -04:00
Textures.cpp Merge remote-tracking branch 'lethosor/fix-textures-cleanup-segfault' into develop 2023-08-01 00:35:19 -04:00
Translation.cpp update structures 2020-07-01 23:10:34 -05:00
Units.cpp update dwarfvet 2023-07-21 04:12:56 -07:00
World.cpp Add Persistence module. 2018-08-26 18:27:58 -05:00