1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2025-08-31 19:04:39 +00:00
Commit graph

845 commits

Author SHA1 Message Date
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 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
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
raisin 4d43c9c828
Fix pixel birthday easter egg (#275) 2024-09-06 18:07:12 +03: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
莯凛 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
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
Edward Stuckey af9947b931 Fix ORG sampling bug
Also included the full org2 wavetable.
2024-02-29 19:54:09 +01:00
biroder 3b77cdf0c5 Change the search directory for Lua scripts back to data dir[ci skip] 2024-01-26 10:30:08 +02:00
Sobakin e1fb118910
Added cutscene auto skip option (#249) 2024-01-09 11:17:08 +00: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 99f13a746e
Dummy change to trigger CI build 2023-12-27 03:07:33 +02:00
biroder a5f49c07e4 Fix #241 2023-12-08 15:07:54 +00:00
Edward Stuckey 3b14adf949
Fix Player gun desync bug and inventory inconsistencies (#245)
* add inventory and player render fixes
2023-11-12 10:02:59 +00:00
biroder 45443dfa23 Fix #221 2023-10-30 09:35:35 +00:00
biroder 06ae269b7b Implement "Open game/user data directory" menus on Android[ci skip] 2023-10-29 17:17:01 +00:00
periwinkle 12a305becb
Accuracy fixes for misc NPCs (#242) 2023-10-06 13:14:05 +03:00
periwinkle bd203cfddb
Fix Misery bubble going the wrong way (oops sorry) (#240) 2023-09-28 11:18:51 +03:00
periwinkle c2ad3dd643
Accuracy fixes for Waterway through Hell (#237)
* Accuracy fixes for Waterway through Balcony

* Hell accuracy fixes
2023-09-27 22:14:26 -04:00
biroder 3468bcf5fd Disable debug hotkeys in non-debug mode, fix Balrog text scrolling sound from #165 2023-09-25 14:30:12 +03:00
biroder 21221d80e7 Fix #233 2023-09-03 11:40:00 +03:00
József Sallai a45c630116 add compact jukebox for non-switch CS+ (#232) 2023-08-23 02:50:03 +03:00
biroder 73295a6351 <FMU opcode fix 2023-08-10 13:39:40 +03:00
biroder ab87862646
Fix #222 [ci skip]
In general this isn't a bug or inaccuracy, because in the vanilla it's normal behaviour. But since most of the pause menu entries don't working during the intro, this had to be fixed anyway
2023-07-14 18:15:21 +03:00
József Sallai 5f24ee52b0 make strafing toggleable (closes #220) 2023-07-11 10:20:13 +03:00
biroder 02e1763e1d Fix a couple of warnings[ci skip] 2023-07-05 11:58:54 +03:00
periwinkle d1d008edda Balfrog accuracy fixes 2023-07-04 08:39:58 +02:00
periwinkle 4d7dfd0266 Accuracy fixes for First Cave through Grasstown 2023-07-04 08:39:58 +02:00
biroder b70f0007b1
add japanese translation of display touch controls option[ci skip] 2023-06-28 14:39:18 +03:00
biroder f7148edd96 This implementation is better[ci skip] 2023-06-28 12:15:54 +03:00
biroder 425a26b3a0 Add display touch controls option[ci skip] 2023-06-28 11:37:05 +03:00