Myk Taylor
a48344fd24
get keybindings working again
2023-06-23 14:31:14 -07:00
Myk Taylor
4e48ce64f1
get things mostly ported to SDL2
2023-06-23 14:31:12 -07:00
Myk Taylor
a5a6b70a51
launch DFHack through steam if DF is run from steam
2023-05-20 02:59:39 -07:00
Myk Taylor
1a703c344f
support disabling DFHack with --disable-dfhack
2023-05-15 17:41:28 -07:00
Myk Taylor
ad5a0d41f5
only show the terminal if requested
2023-05-03 14:34:48 -07:00
Myk
b1ae39764b
Merge branch '5008-beta1' into myk_nosdlreal
2023-04-26 15:48:13 -07:00
Myk Taylor
b5459faffe
format version string in help the same way
2023-04-23 18:20:50 -07:00
Myk Taylor
d1d521fbdb
infrastructure for hiding the terminal console on startup
2023-04-16 22:34:29 -07:00
Myk Taylor
5ace09fad0
use the World module for the data read
2023-04-14 01:38:38 -07:00
Myk Taylor
52b869d908
don't read cur_savegame.save_dir when invalid
2023-04-14 01:31:06 -07:00
Myk Taylor
21784568bd
migrate from SDL interposing to the hooks API
2023-04-12 21:34:16 -07:00
Myk Taylor
e4777d2688
add shutdown and cleanup logic
2023-04-10 04:35:34 -07:00
Myk Taylor
6a7446780b
hide terminal console when running on steam deck
2023-04-10 04:35:34 -07:00
Myk Taylor
83017e8b8f
give active mods a chance to reattach their hooks
2023-04-07 00:48:04 -07:00
Myk Taylor
cf847109ce
read mods from all mod dirs and only use most recent versions
2023-04-03 15:59:42 -07:00
Myk Taylor
e7f8fbb235
apparaently the macro expansion has an ambiguous else
2023-03-25 12:56:53 -07:00
Myk Taylor
76bacee238
dynamically add mod scripts to the script path
2023-03-25 12:56:48 -07:00
Myk Taylor
2bc92042a5
allow enable to interpret aliases
2023-03-24 23:25:24 -07:00
Myk
ff464c4746
Merge pull request #2947 from myk002/myk_join_strings
...
[MiscUtils] add templated version of join_strings
2023-02-26 09:22:56 -08:00
Myk
c7f6ee57d7
Update library/Core.cpp
2023-02-25 11:00:51 -08:00
Kelly Kinkade
0a65c423ce
a squirrel distracted me
2023-02-25 04:07:24 -06:00
Kelly Kinkade
87e06cf960
deoops
2023-02-25 02:42:28 -06:00
Kelly Kinkade
cfa649b4ac
clean up code for C++20 readiness
...
two change:
* remove use of `register` in `md5.cpp`
* remove use of `using namespace std` in `Core.cpp` (which causes an ambiguous name resolution error between `byte` and `std::byte`). while there are other ways to resolve this, `using namespace std` is a code smell anyway, so eliminating it is the best option
2023-02-24 20:52:49 -06:00
Myk Taylor
a684f294c5
add templated version of join_strings
2023-02-24 17:05:08 -08:00
Robob27
533ccee099
Detect manual save
2023-02-10 02:55:36 -05:00
Rob Goodberry
443fe5d813
Update library/Core.cpp
...
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-02-05 19:07:49 -05:00
Robob27
2bf9b86c7b
Fix getCurFocus lua, use where appropriate in c++
2023-02-05 19:04:21 -05:00
Robob27
36e4bba779
Fixup prefix matching
2023-02-05 19:04:21 -05:00
Robob27
cece0bfca1
Remove unnecessary comment
2023-02-05 19:04:21 -05:00
Robob27
dc40f7182c
Fix warning
2023-02-05 19:04:21 -05:00
Robob27
085a308e99
Remove/readd comments
2023-02-05 19:04:21 -05:00
Robob27
6e442a26ca
More WIP
2023-02-05 19:04:21 -05:00
Robob27
a770a4cae4
WIP
2023-02-05 19:04:21 -05:00
Myk Taylor
0e03ac8e5b
don't use tabs in enable output
...
so they display nicely in gui/launcher
2023-01-23 23:50:08 -08:00
Myk Taylor
d34238918e
move helpdb from autorefresh to explicit refresh
...
this greatly speeds up the launch time of `gui/launcher`
2023-01-23 02:30:51 -08:00
Myk Taylor
50cc6d965d
update to new save directory structure
2023-01-15 23:13:58 -08:00
Myk Taylor
7cf703ef23
turn down Ruby support
2023-01-09 23:59:55 -08:00
Kelly Kinkade
51bb5589de
change order of state change event processing
...
this will cause persistent data storage to load _before_ `SC_WORLD_LOADED` events are sent to scripts and plugins
2023-01-06 21:55:42 -06:00
Myk Taylor
5e5775f5e3
rename globals according to structures update
2023-01-05 17:11:01 -08:00
Myk Taylor
c70c4131bd
don't include dfhack-config/ in release tarball
...
create it at runtime
move files around so no dfhack-owned files are in there
2023-01-04 19:41:58 -08:00
Myk Taylor
4e51e02924
move SDL shims to a new DFSDL module
2023-01-04 17:15:32 -08:00
Myk Taylor
5d04b9c4cb
add Textures module and load DFHack logo
...
undocumented for now since it's internal. in the future, perhaps this
could morph into a dynamic texture loading facility for tools
2023-01-04 13:30:18 -08:00
Myk
6361b0a3a4
Merge pull request #2543 from myk002/myk_prep_for_quietust
...
prep for Quietust's structure updates
2023-01-02 20:42:48 -08:00
Myk Taylor
218fbdbd45
prep for Quietust's structure updates
2023-01-01 01:03:42 -08:00
Myk Taylor
5232e2b04e
add dfhack-config/scripts to default script paths
2022-12-30 23:30:11 -08:00
Myk Taylor
4f9f8ebcf6
fix unused return value warning
2022-12-26 10:26:22 -08:00
Myk Taylor
4789637625
implement new dfhooks API
2022-12-25 18:15:55 -08:00
Myk Taylor
106b55397a
comment out problematic code in Core
2022-12-20 19:04:30 -08:00
myk002
e88b1fdfe5
move script-manager into core
2022-12-10 21:59:51 -08:00
myk002
0362d76b39
list enableable scripts in the `enable` builtin
2022-12-10 21:59:51 -08:00