1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2025-08-30 18:35:48 +00:00
Commit graph

1043 commits

Author SHA1 Message Date
alula 9f8e386370
ci: fix ref_name templating 2024-12-31 23:38:21 +01:00
biroder 3ef2f652c3
Fix of the last fix
2024-12-23 11:50:21 +02:00
biroder fc1bfdcc68
Fix Android build on non-Linux platforms
The `cfg(target_os)` for the build script contains the name of the OS on which the build takes place (the OS of the host machine). Because of this, the build of the Android port on Windows is broken, as an attempt to add the Windows resource file fails. Probably the build for Windows on Linux, for Linux on Windows, etc., is also broken.
Therefore, in the build script, we must rely only on the values of the `TARGET` environment variable, which contains the target triple of the platform for which the build is performing. `cfg(target_os)` should only be used to include platform-specific dependencies (e.g. `winres` for Windows).
2024-12-23 11:43:25 +02:00
Edward Stuckey f03401915d
Fix unlabeled element errors in live debugger (#284) [ci skip]
IMGUI considers this a hard-exception now, so we need at least some form label, even if it is unused and hidden.
Also fixed various "Unused" warnings
2024-12-08 18:52:58 +02:00
periwinkle d8605f4027
Fix Labyrinth M overflow crash (#290) 2024-12-08 12:49:43 +02:00
biroder bf8a80150d Make the get_headband_spritesheet function static[ci skip] 2024-12-03 22:41:17 +02:00
Edward Stuckey f7e76e09a2
Fix "More Rust" mode for freeware (#288)
The engine would previously use the upscaled spritesheet for the headbands since the "original_textures" setting is only used with the Nicalis releases.
2024-12-03 22:30:57 +02:00
biroder acc365451c
Remove the unused TextScriptEncoding implementation[ci skip] 2024-11-30 17:01:17 +02:00
biroder 247fbf2936
Set JP locale on CS+ to ShiftJIS to resolve bug with JP locale (#285)
Set JP locale on CS+ to ShiftJIS to resolve bug with JP locale (#285)
2024-11-30 16:40:18 +02:00
biroder 8004e4ace3
Make code more pretty and add comments 2024-11-30 16:21:47 +02:00
GenkaiToppa 4e539b73f2 Set JP locale on CS+ to ShiftJIS to resolve bug with JP locale (#285) 2024-11-28 22:44:09 -05:00
Dr. Glaucous 2df21c8e8d Fix vanilla executable extraction bug
The only physicalFS currently loaded uses ./data/ already as its root, so it will check for /data/data/stage.sect, which is wrong
2024-11-07 05:15:49 +01:00
biroder ec21a22e30 Add a warning about build tools version changes to the Android build script[ci skip] 2024-11-04 13:36:49 +02:00
Edward Stuckey aebf4c2d59
Fix inaccuracy with curly boss bullet (#281)
This should not move on the first tick. Also in vanilla, the projectile makes a movement before dissipating from hitting the wall.
2024-11-04 12:52:53 +02:00
Jordan Christiansen 97d85aa841
Detect controllers from SDL_GameControllerDB correctly (#280)
SDL generates ControllerDeviceAdded events for controllers that are
already plugged in at the start of the game, but only if those are
recognized as game controllers at the time that we run SDL_Init.
Unfortunately, rust-sdl2 requires initializing SDL before we can call
load_mappings_from_read.

doukutsu-rs ships with this nice gamecontrollerdb.txt file built-into
the binary and loads it at startup, but previously it would not work for
controllers already plugged in before the game started because of the
above. This change works around the ordering issues between recognizing
devices as game controllers and event generation. Instead of using the
ControllerDeviceAdded events, we now use JoyDeviceAdded events. We still
check that the device is a supported game controller, and if it's not
supported then we skip it.
2024-10-22 18:14:00 +03:00
biroder 2ef34fe6f8
Add music fade out in the credit script executor 2024-10-12 20:30:36 +03:00
biroder 5a1bacdba6 Fix Android CI build and revert to the previous version of the NDK 2024-10-05 18:18:24 +03:00
biroder 548d8cdd77
Update NDK 2024-09-22 12:54:12 +03:00
raisin 4d43c9c828
Fix pixel birthday easter egg (#275) 2024-09-06 18:07:12 +03:00
Alula dce696282b
Add Cargo.lock (#273) 2024-08-28 20:42:27 +02:00
Dr. Glaucous 44d5893a7a Fix button mapping icons for Nintendo controllers 2024-07-24 05:45:11 +02:00
Daniel Doran c19d0738fa Update gamecontrollerdb.txt 2024-06-17 19:18:31 +02:00
Alula 5434e6dbf5
Fix for Rust 1.78 (thanks imgui) 2024-05-29 00:55:57 +02:00
Alula 60a6c97834
Remove old Lua scripting support 2024-05-29 00:22:01 +02:00
biroder c33d387031 Add Ridiculon soundtrack name 2024-05-20 01:20:30 +03:00
Laura K b572fdfd47
Fix dead Discord CDN urls [ci skip] 2024-04-27 20:00:37 +02:00
Laura K 94b9f930ce
ci: fix windows targets 2024-04-27 00:24:32 +02:00
莯凛 01ec93dd27
support custom text encoding for .tsc and stage table (#259)
* feat: support optional custom encoding
* feat: support custom encoding for stage table
2024-04-10 13:06:14 +03:00
biroder ca5361cc58 Add panic logging 2024-03-25 16:06:47 +00:00
poly000 08f086bfc4
localize difficulty name in save menu (#263) 2024-03-25 11:41:21 +00:00
poly000 1f288e2a39
replace impl Clone with #[derive(Clone)] (#262) [ci skip] 2024-03-25 11:04:13 +00:00
poly000 0e0cd66564
ci: migrate to node 20 actions (#261) 2024-03-24 14:58:32 +02:00
József Sallai 9c95b20f5c use localized soundtrack names 2024-03-24 00:57:56 +02:00
Alula 7630a9b60e
Update gamecontrollerdb 2024-03-11 07:57:07 +01:00
Alula ae909878c4
Parse machine code to determine vanilla stage table offset 2024-03-08 02:46:21 +01:00
Alula 7785513e8b
Fix inaccuracy: bloody water droplets 2024-03-08 01:44:30 +01:00
Alula 7f33f7b6c8
Support for loading 0.9.x.x beta saves 2024-03-08 01:39:48 +01:00
József Sallai 6c9b4d9a54
fix minor grammar mistake in readme 2024-03-04 00:12:12 +02:00
Edward Stuckey af9947b931 Fix ORG sampling bug
Also included the full org2 wavetable.
2024-02-29 19:54:09 +01:00
Laura K b275816e76
Update README.md [ci skip] 2024-02-23 11:44:25 +01:00
Laura K 8e3ccea8a1
Add font credits [ci skip] 2024-02-19 22:21:21 +01:00
biroder 76ec4771b3 Add local.properties file [ci skip] 2024-02-09 21:07:29 +00:00
biroder 3b77cdf0c5 Change the search directory for Lua scripts back to data dir[ci skip] 2024-01-26 10:30:08 +02:00
biroder 397cd8f584 Make some changes to the Android port
- Add application category and description
- Hide system navigation bar
- Change documents provider name to application name
- Disable multi-window mode support because touch controls don't work in this mode
2024-01-16 12:17:52 +00:00
biroder 21c255efb4
Make discord-rich-presence an optional dependency [ci skip] 2024-01-09 11:58:05 +00:00
Sobakin e1fb118910
Added cutscene auto skip option (#249) 2024-01-09 11:17:08 +00:00
Laura K c56bd2e8ae
Add EGS warning + some cleanup [ci skip] 2023-12-29 03:22:00 +01:00
periwinkle e09fbf5c63 Make all occurrences of Stage::change_tile spawn an accurate amount of smoke
Wouldn't it be better to have change_tile itself make the smoke?
2023-12-29 03:08:46 +01:00
biroder c4cffd54a8
Update sdl2 2023-12-28 17:12:38 +00:00
biroder 99f13a746e
Dummy change to trigger CI build 2023-12-27 03:07:33 +02:00