Skip to content

Commit 32bd846

Browse files
committed
Merge branch 'develop' into refactor/hotkey_module
2 parents f65e4bd + 487e5f9 commit 32bd846

28 files changed

Lines changed: 1265 additions & 950 deletions

.github/workflows/generate-symbols.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ jobs:
164164
pip install itch-dl
165165
minor=$(echo "${{ inputs.version }}" | cut -d. -f1)
166166
patch=$(echo "${{ inputs.version }}" | cut -d. -f2)
167-
fname="dwarf_fortress_${minor}_${patch}_linux*.tar.bz2"
167+
fname="dwarf_fortress_${minor}_${patch}_linux.tar.bz2"
168168
itch-dl https://kitfoxgames.itch.io/dwarf-fortress --download-to . --api-key $ITCH_API_KEY --filter-files-glob "${fname}"
169169
tar xjf "kitfoxgames/dwarf-fortress/files/${fname}" -C DF_itch
170170
tar xjf dfhack-symbols-linux64-build.tar.bz2 -C DF_itch
@@ -272,7 +272,7 @@ jobs:
272272
pip install itch-dl
273273
minor=$(echo "${{ inputs.version }}" | cut -d. -f1)
274274
patch=$(echo "${{ inputs.version }}" | cut -d. -f2)
275-
fname="dwarf_fortress_${minor}_${patch}_windows*.zip"
275+
fname="dwarf_fortress_${minor}_${patch}_windows.zip"
276276
itch-dl https://kitfoxgames.itch.io/dwarf-fortress --download-to . --api-key $ITCH_API_KEY --filter-files-glob "${fname}"
277277
unzip -d DF_itch "kitfoxgames/dwarf-fortress/files/${fname}"
278278
xml/symbols_gen_windows.sh ${{ inputs.version }} ITCH DF_itch

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
args: ['--fix=lf']
2121
- id: trailing-whitespace
2222
- repo: https://github.com/python-jsonschema/check-jsonschema
23-
rev: 0.34.1
23+
rev: 0.35.0
2424
hooks:
2525
- id: check-github-workflows
2626
- repo: https://github.com/Lucas-C/pre-commit-hooks

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cmake_policy(SET CMP0048 NEW)
66
cmake_policy(SET CMP0074 NEW)
77

88
# set up versioning.
9-
set(DF_VERSION "53.05")
9+
set(DF_VERSION "53.06")
1010
set(DFHACK_RELEASE "r1")
1111
set(DFHACK_PRERELEASE FALSE)
1212

docs/changelog.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Template for new versions:
6262

6363
## Misc Improvements
6464
- `keybinding`: keybinds may now include the super key, and are no longer limited to particular keys ranges of keys, allowing any recognized by SDL.
65+
- The ``fpause`` console command can now be used to force world generation to pause (as it did prior to version 50).
6566

6667
## Documentation
6768

@@ -78,6 +79,25 @@ Template for new versions:
7879

7980
## Removed
8081

82+
# 53.06-r1
83+
84+
## New Tools
85+
86+
## New Features
87+
88+
## Fixes
89+
90+
## Misc Improvements
91+
92+
## Documentation
93+
94+
## API
95+
96+
## Lua
97+
98+
## Removed
99+
- `infiniteSky`: Temporarily disabled due to incompatibility with changes made as part of DF's siege update
100+
81101
# 53.05-r1
82102

83103
## New Tools
@@ -86,6 +106,7 @@ Template for new versions:
86106
- compatibility with 53.05
87107

88108
## Fixes
109+
- `sort`: Using the squad unit selector will no longer cause Dwarf Fortress to crash on exit
89110

90111
## Misc Improvements
91112

docs/dev/Lua API.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7515,6 +7515,15 @@ Importing scripts
75157515

75167516
--@ module = true
75177517

7518+
In order to be recognized, this line **must** begin with ``--@`` with no
7519+
whitespace characters before it::
7520+
7521+
--@ module = true OK
7522+
--@module = true OK
7523+
-- @module = true NOT OK (no --@ found due to space after --)
7524+
--@module = true NOT OK (leading space, --@ is not at the beginning of the line)
7525+
---@module = true NOT OK (leading dash, --@ is not at the beginning of the line)
7526+
75187527
2. Include a check for ``dfhack_flags.module``, and avoid running any code
75197528
that has side-effects if this flag is true. For instance::
75207529

library/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ set(MAIN_HEADERS
4848
include/DFHackVersion.h
4949
include/BitArray.h
5050
include/ColorText.h
51+
include/Commands.h
5152
include/Console.h
5253
include/Core.h
5354
include/CoreDefs.h
@@ -66,6 +67,7 @@ set(MAIN_HEADERS
6667
include/MiscUtils.h
6768
include/Module.h
6869
include/MemAccess.h
70+
include/MemoryPatcher.h
6971
include/ModuleFactory.h
7072
include/PluginLua.h
7173
include/PluginManager.h
@@ -88,6 +90,7 @@ set(MAIN_HEADERS_WINDOWS
8890
set(MAIN_SOURCES
8991
Core.cpp
9092
ColorText.cpp
93+
Commands.cpp
9194
CompilerWorkAround.cpp
9295
DataDefs.cpp
9396
DataIdentity.cpp
@@ -100,6 +103,7 @@ set(MAIN_SOURCES
100103
LuaApi.cpp
101104
DataStatics.cpp
102105
DataStaticsCtor.cpp
106+
MemoryPatcher.cpp
103107
MiscUtils.cpp
104108
Types.cpp
105109
PluginManager.cpp

0 commit comments

Comments
 (0)