-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 1.4.6 Handle SIGINT, add bsp floor layout gen (#84)
## Added - Add `SIGINT` handler - Try to free the arenas when `Ctrl+C` is received - Add bsp implementation, based on [mtsdurica](https://github.com/mtsdurica/bsp-dungeon-generator)'s rendition of [the popular algorithm](https://en.wikipedia.org/wiki/Binary_space_partitioning) - With the author's permission, the code is relicensed under `GPL-3.0-only`, to have only one license for all the game sources. - Thanks to Matúš for its availability and politeness ## Changed - Add `from_bsp` field to `Floor` - Enlarge `seed` field in `Path` by 1 - Update experimental binary savefile version to `0.0.3` - Improves #80 - Chore: recompute floor area in `floor_set_room_types()` with `G_EXPERIMENTAL_ON == 1` - Floors generated with bsp will have a random position for `HOME` room - Use `enemy_area_ratio` to loop in enemy room placement for new floors - Floors generated with bsp will have relatively less enemies ## Fixes - Fix: drop repetitive done_loading log message - Fix: avoid leaving the terminal messed up on binary savefile load errors - Fix: free arenas in `initRoom()` for invalid classes BASIC, WALL - Fix: removed some UB ## Notes - Chore: use `-X` in `raylib` build to toggle floor layout render - Chore: fix wrong doxygen comments for `Path` and `SerPath` - Closes #83 - Bump `koliseo` to `0.4.3` - Bump `s4c-scripts` to `0.1.1` - Bump `invil` to `0.2.13`
- Loading branch information
Showing
26 changed files
with
787 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Define the package name and version | ||
AC_INIT([helapordo], [1.4.5], [[email protected]]) | ||
AC_INIT([helapordo], [1.4.6], [[email protected]]) | ||
|
||
# Verify automake version and enable foreign option | ||
AM_INIT_AUTOMAKE([foreign -Wall]) | ||
|
@@ -187,7 +187,7 @@ AM_CONDITIONAL([USE_EMOJI_BUILD], [test "$enable_emoji" = "yes"]) | |
# Set a default version number if not specified externally | ||
AC_ARG_VAR([VERSION], [Version number]) | ||
if test -z "$VERSION"; then | ||
VERSION="1.4.5" | ||
VERSION="1.4.6" | ||
fi | ||
|
||
# Output variables to the config.h header | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule invil
updated
4 files
+6 −0 | CHANGELOG.md | |
+1 −1 | Cargo.lock | |
+1 −1 | Cargo.toml | |
+23 −9 | src/ops.rs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule koliseo
updated
8 files
+1 −1 | amboso | |
+2 −2 | configure.ac | |
+1 −1 | docs/koliseo.doxyfile | |
+1 −1 | invil | |
+31 −87 | src/koliseo.c | |
+8 −8 | src/koliseo.h | |
+34 −0 | static/list_example.c | |
+1 −0 | stego.lock |
Submodule s4c-scripts
updated
3 files
+1 −1 | pyproject.toml | |
+1 −1 | requirements.txt | |
+1 −1 | s4c/s4c_cli.py |
Oops, something went wrong.