Myk Taylor
7132f9d64a
add identity traits for new types
2023-12-10 21:30:41 -08:00
Kelly Kinkade
150b9e9399
data identity changes for stl-variant in 50.12
2023-12-10 19:29:48 -06:00
Myk Taylor
75b760a496
add identity for variant
2023-12-10 02:25:53 -08:00
Kelly Kinkade
adfcbc897e
`report_init` -> `announcement_infost`
...
also changes in field names due to identifying unks and canonicalization
2023-11-21 05:08:40 -06:00
Myk Taylor
648476e34d
document native completeBuild function
...
and remove unneeded params
2023-11-15 16:26:29 -08:00
Kelly Kinkade
f1ed469ca3
implement `Buildings::completebuild` function export from DF
...
to be used by `build-now`
2023-11-06 22:28:21 -06:00
Myk Taylor
4572ec3d09
allow getMousePos to return out of bounds coordinates
2023-11-06 06:01:15 -08:00
Myk Taylor
604eb47f87
implement burrow name matching with ignoring plus
2023-11-02 13:55:08 -07:00
Myk Taylor
19480f41ca
add api for getting the walkability group of a tile
2023-10-29 16:36:02 -07:00
Myk Taylor
44ac9f4c8f
optionally highlight the zoom target tile
2023-10-27 03:45:31 -07:00
Kelly Kinkade
a09f122d7e
implement simulated `Items::getCapacity`
...
in support of `combine`, see #3307
2023-10-16 11:08:36 -05:00
Myk Taylor
5d295400d2
centralize management of mouse state
2023-10-01 16:28:18 -07:00
shevernitskiy
6f26650255
reserved texpos range
2023-09-24 11:44:03 +03:00
lethosor
aa6c4094c5
Use SDL_ShowSimpleMessageBox in Core::fatal()
...
This allows the message to be displayed consistently in a dialog on all platforms.
2023-09-21 01:13:07 -04:00
lethosor
017e280b18
Define identity_traits<shared_ptr<T>> for all T (opaque for now)
2023-09-13 21:57:44 -04:00
lethosor
fd676fa70f
Add identity_traits for std::unordered_map
2023-09-12 23:38:09 -04:00
Kelly Kinkade
dbee92cd81
`widget` is a `struct` not a `class`
...
at least as far as df-structures is concerned...
2023-09-12 22:01:58 -05:00
Kelly Kinkade
673d9d5230
bodge DataIdentity to get 50.10 working
2023-09-12 21:55:55 -05:00
Myk Taylor
a0919ec316
add ASCII-mode highlight for smoothing and carving designations
2023-09-10 05:29:55 -07:00
Myk Taylor
1d6ae37a66
fix and reinstate heat safety filter
2023-09-03 11:54:32 -07:00
Myk
5d7649837c
Merge pull request #3704 from shevernitskiy/create-delete-textures
...
create and delete textures
2023-08-30 03:42:27 -07:00
shevernitskiy
8a015f7f87
review
2023-08-30 07:38:21 +03:00
Myk Taylor
423bba2c24
pass getAnyStockpile and getAnyCivZone through ZScreens
2023-08-28 13:27:46 -07:00
shevernitskiy
6f11812729
create and delete textures
2023-08-28 10:00:39 +03:00
Myk
a740c6628e
Merge pull request #3663 from shevernitskiy/dynamic-texture-loading
...
feat: dynamic texture loading
2023-08-27 22:45:52 -07:00
Myk Taylor
1763a16831
add training check functions to Units
2023-08-20 10:08:25 -07:00
shevernitskiy
c1945f7b54
fix build err in gcc
2023-08-17 06:32:26 +03:00
shevernitskiy
91f4c3d561
mirgate preloaded assets to lua
2023-08-14 08:17:57 +03:00
shevernitskiy
1409af67de
expose api to lua
2023-08-13 20:09:12 +03:00
shevernitskiy
22b0671038
review 2
2023-08-13 08:33:31 +03:00
shevernitskiy
46a3454fee
type alias for gcc
2023-08-12 17:00:07 +03:00
shevernitskiy
fe8bd4fa78
assets use dynamic texture loading
2023-08-12 16:11:42 +03:00
lethosor
0a5e914a65
Add struct_field_info_extra::original_name field for globals
2023-08-12 01:19:18 -04:00
shevernitskiy
e81a90821a
review
2023-08-11 21:40:41 +03:00
shevernitskiy
3e18e2f6fe
eof fix one more time
2023-08-11 09:50:51 +03:00
shevernitskiy
e21f0f2b69
dynamic texture loading
2023-08-11 09:14:05 +03:00
lethosor
34ddf6bed7
Merge remote-tracking branch 'lethosor/memscan-funcs' into develop
2023-08-11 01:38:15 -04:00
lethosor
46499a66cc
Add cxx_demangle() and Lua wrapper
2023-08-10 15:01:19 -04:00
Myk Taylor
db48e0eba0
remove caravan_buying param from getValue call
...
the identity of the selling party doesn't actually affect the value!
2023-08-06 17:38:34 -07:00
Kelly Kinkade
ba0df78233
DataIdentity support for `std::future<void>`
2023-08-04 20:00:29 -05:00
lethosor
8b786b4344
Forward-declare types only used in DataIdentity.cpp
2023-08-02 00:15:27 -04:00
lethosor
2f42745175
Add identity_traits<condition_variable>, add macro for opaque identities
2023-08-02 00:15:27 -04:00
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
lethosor
d0250ae426
Update allocator_try_assign() to match behavior of fstream allocator for non-copyable types
...
Looks like the choice we have made here previously is to return NULL if
attempting to allocate types that we cannot allocate.
2023-08-02 00:15:26 -04:00
lethosor
6fbb22e912
Add missing instantion for identity_traits<std::mutex>, refactor code shared with fstream identity
2023-08-02 00:15:26 -04:00
lethosor
7c4d9364a2
Make allocator_fn compile for non-copy-assignable types like std::mutex
2023-08-02 00:15:26 -04:00
lethosor
e5bc4b3221
Add identity for std::mutex
2023-08-02 00:15:25 -04:00
lethosor
73f96209da
Fix mangling of `plugin_globals` with GCC's C++11 ABI
...
Without being declared with `extern "C"`, `plugin_globals` is mangled, with a
`cxx11` suffix.
We can't add `extern "C"` to the `DFhackDataExport` macro because GCC does not
allow initializing any `extern` variables inline, including `extern "C"`.
2023-08-01 00:33:20 -04:00
Myk
17ca9e0132
Update Textures.h
2023-07-31 17:20:38 -07:00
Myk Taylor
dff4816287
update dwarfvet
2023-07-21 04:12:56 -07:00