1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-28 16:22:54 +00:00
Commit graph

1033 commits

Author SHA1 Message Date
Alula 61fd7eda9e
Refactor: Unify NPC AI handler signature 2024-11-01 13:49:17 +01:00
Alula e58c1cb9da
Use HitExtents instead of Rect for hitboxes 2024-11-01 13:49:17 +01:00
Alula 70444ae63b
Move scene handling code to Game, doesn't make sense to have it in
backends
2024-11-01 13:49:17 +01:00
Alula 43cb5d4293
Start refactoring, iOS port, bump to 1.0.0 2024-11-01 13:49:17 +01: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
biroder 690c97e44d
Add nightly builds link for Android 2023-12-26 20:37:22 +02:00
biroder 311ca8b12f
Update ci.yml [ci skip] 2023-12-14 20:04:44 +02:00
biroder 152e31966a
Update ci.yml
This will need to be fixed later
2023-12-14 19:43:30 +02:00
biroder b4ede5bcad
Enable Android nightly builds 2023-12-14 19:18:44 +02:00
biroder a5f49c07e4 Fix #241 2023-12-08 15:07:54 +00:00
biroder fc66b84d8f
Add commit sha to nightly builds metadata 2023-11-27 09:13:14 +00:00
biroder 87cc7f12e3
Fix nightly build links [ci skip] 2023-11-26 15:56:49 +02:00
biroder e9cf548cc2 Add builds metadata saving
And remove the `pkg-config` dependency installation for Linux builds.
2023-11-26 15:31:09 +02:00
biroder 3af1d61e5b
Fix CI 2023-11-12 12:34:38 +02: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