N.E.C.
c7160c9ea8
Use RefCells in NPCList to prevent Undefined Behavior
2025-08-23 02:15:39 +02:00
Alula
f5d729c8a1
Refactor: Unify NPC AI handler signature
2025-08-23 02:15:39 +02:00
Alula
2335cf0064
Use HitExtents instead of Rect for hitboxes
2025-08-23 02:15:39 +02:00
biroder
f4602687eb
Fix editor compilation errors
...
The `--editor` flag has no practical use and has never been used, so it's been removed.
2025-08-04 23:42:59 +03:00
biroder
f4b5df3640
Fix music fading out too quickly
2025-07-22 00:33:36 +03:00
biroder
37aa3f36aa
Reduce log file size and fix the error window on Windows doesn't appear
...
Info that NPC is creating or a script successfuly compiled can be useful for debugging, but on a regular run it just clogs up the log file. If we need such specific info from users, they'll need to reproduce the issue using `--log-level debug` program argument.
2025-07-14 00:24:43 +03:00
biroder
adb7a4dff6
Fix typo in default window height
2025-07-01 11:07:19 +03:00
biroder
7b588f0222
Always use a hi-res logo on the title screen for CS+ data ( resolve #225 , fix #171 )
2025-06-30 15:57:06 +03:00
biroder
d96f7054e3
Add cli args to set initial window size and fullscreen state ( resolve #211 )
...
Fully implemented only for SDL backend. For Glutin backend only the flag to run in fullscreen mode is implemented, since it's broken for PC anyway
2025-06-26 19:45:52 +03:00
Edward Stuckey
13e09e8679
Improve background colors
...
Background color is now set inside of engine_constants/mod.rs, and can be changed on a port-to-port basis, including intro background color.
2025-06-14 21:48:45 +02:00
Edward Stuckey
2f73066d12
Fix intro background color
...
The intro scene should have a black background, not dark blue.
2025-06-14 21:48:45 +02:00
biroder
5f517e6992
Stop noise when <ESC
opcode is executed ( fix #244 )
2025-06-14 19:36:52 +03:00
biroder
2f1159c14f
Add a drop in animation when acquiring an item ( fix #277 )
2025-05-30 12:59:41 +03:00
Giantblargg
50cd0e54f5
Remove glFinish
...
glFinish waits until rendering is complete, there usually isn't a good reason to do this.
Removing it improves performance on (very) low end hardware.
2025-02-22 01:10:07 +01:00
biroder
11d5212f47
Change icon for all platforms
2025-01-10 03:30:09 +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
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