Commit Graph

179 Commits (eefd38c66cc78d3159a7e85096bcade24dd441a7)

Author SHA1 Message Date
Myk Taylor eefd38c66c
align mouse button semantics to DF
we, um, had it backwards
2023-09-26 03:52:24 -07:00
shevernitskiy 033a849de2 Apply suggestions from code review
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-09-24 11:44:04 +03:00
shevernitskiy 469a97f781 review 2023-09-24 11:44:04 +03:00
shevernitskiy 6f26650255 reserved texpos range 2023-09-24 11:44:03 +03:00
Andriel Chaoti cf4be69d7e
[argparse] fix documentation error 2023-09-10 01:15:43 -06:00
Andriel Chaoti 652349c7e7
add docs for argparse.boolean
added entry to changelog as well.
2023-09-09 14:30:20 -06: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 47a22025a0
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:49:48 +03:00
shevernitskiy 02d33e532d
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:49:40 +03:00
shevernitskiy 63913567cf
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:49:28 +03:00
shevernitskiy 72a985c3b0
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:49:17 +03:00
shevernitskiy a2d1d416c4
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:49:09 +03:00
shevernitskiy 14c4e948ba
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:49:01 +03:00
shevernitskiy 72dbb68a5c
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:48:54 +03:00
shevernitskiy c0ac7ad8a2
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:48:47 +03:00
shevernitskiy 13e0a49eef
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:48:36 +03:00
shevernitskiy b3d423b8a4
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:48:26 +03:00
shevernitskiy 7ce7bd15f6
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:48:14 +03:00
shevernitskiy 5c6942a89c intendation for example 2023-08-30 10:45:17 +03:00
shevernitskiy a1fe49e52a typo 2023-08-30 10:37:23 +03:00
shevernitskiy ff82cb2dfc docs work 2023-08-30 10:05:23 +03: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
Myk Taylor 1763a16831
add training check functions to Units 2023-08-20 10:08:25 -07:00
Myk Taylor 296a34834c
expose and use casteFlagSet 2023-08-13 00:20:08 -07:00
lethosor b039f227c3
Document type._fields 2023-08-13 01:16:25 -04: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 8bff1399d4
add functions to Panel in addition to attributes 2023-08-07 17:02:55 -07:00
Myk Taylor 8c166935d5
factor banner out into reusable panel class 2023-08-07 12:40:48 -07: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
Myk Taylor dff4816287
update dwarfvet 2023-07-21 04:12:56 -07:00
Myk 24500dbafd
Merge pull request #3582 from myk002/myk_living
Units: don't include dead citizens in the getCitizens list
2023-07-19 08:22:46 -07:00
Myk Taylor 19643111e0
move SUPPRESS_DUPLICATE_KEYBOARD_EVENTS pref into cpp 2023-07-19 00:38:37 -07:00
Myk Taylor 0d81f5ce6e
don't include dead citizens in the citizens list 2023-07-18 23:09:19 -07:00
Myk Taylor 2d2ecf6f0d
add TextButton 2023-07-16 20:24:39 -07:00
Myk 2cd226d879
Merge pull request #3566 from myk002/myk_pasture
[zone] initial implementation of pasture assignment screen
2023-07-16 14:36:57 -07:00
Myk Taylor 5fb299c6df
expand egg-laying filter to the entire race, not just the unit 2023-07-16 12:30:12 -07:00
Myk Taylor 39612f0d5a
trade a bin if any contents can be traded
the new trade screens will make it easy to filter out unwanted items
later
2023-07-16 12:15:51 -07:00
Myk Taylor 6a8522ab5e
generalize dfhack.items.isRequestedTradeGood 2023-07-06 03:27:05 -07:00
Myk Taylor b938891e11
add dfhack.items.isRequestedTradeGood 2023-07-06 03:24:36 -07:00
Myk Taylor c2e647b79b
fix item prices and algorithm
adjust prices according to race WAR affinity
2023-07-06 03:24:15 -07:00
Myk Taylor 9849885df6
Revert "generalize dfhack.items.isRequestedTradeGood"
This reverts commit aa6d28bab6.
2023-07-06 03:23:17 -07:00
Myk Taylor aa6d28bab6
generalize dfhack.items.isRequestedTradeGood 2023-07-06 03:21:36 -07:00
Myk 79dbcf0461
Merge pull request #3524 from myk002/myk_copypaste
support copy/paste from system clipboard
2023-07-05 23:09:08 -07:00
Myk Taylor c587cad471
generalize to civ roles as well 2023-07-05 17:37:49 -07:00
Myk Taylor cbdb56a1ac
port API for unit lookup by noble role from quickfort 2023-07-03 13:47:43 -07:00
Myk Taylor 9ca96567a5
move conversion logic to MiscUtils
but keep minimal wrappers in SDL module so we don't leak memory
2023-07-03 11:05:58 -07:00
Myk Taylor d39440d33b
migrate markForTrade logic from logistics to core 2023-07-02 19:05:50 -07:00
Myk Taylor 175c249d29
support copy/paste from system clipboard 2023-07-02 18:04:06 -07:00