1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2025-08-30 10:24:51 +00:00
Commit graph

1083 commits

Author SHA1 Message Date
N.E.C. 8b5406d941 Improve code generation when accessing BorrowedNPC's 2025-08-23 02:15:39 +02:00
N.E.C. c7160c9ea8 Use RefCells in NPCList to prevent Undefined Behavior 2025-08-23 02:15:39 +02:00
Alula 20f541d469 Fix apt install failing on ubuntu-latest sometimes 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 896f43dc1e Fix build with CMake 4.x 2025-07-02 11:58:59 +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
Alula 5d68ea9f89 Add issue templates [ci skip] 2025-06-24 06:20:21 +02: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
biroder 50ea506c53 Fix Android build (bump cpal) 2025-04-28 17:15:56 +03:00
biroder 8fce1cddbc
Update the release notes again
This item is more a project change rather than an application change, so it shouldn't be included in this list as it's unnoticeable to users
2025-04-28 14:51:17 +03:00
biroder a925c4e7e8 Update flatpak metadata [ci skip]
Update screenshots and homepage URL, add release notes and supported control types. Remove the shadow from the app icon, as required by Flathub Quality Guidelines. Also all flatpak-related files are moved to the  folder
2025-04-09 15:50:29 +03:00
Alula eb7bdf4313
ci: 0.102.0 2025-03-08 01:14:58 +01:00
Alula 36e21810df
ci: workflow for actual releases 2025-03-08 01:12:24 +01:00
Alula 70611a8957
fix: do not censor "doukutsu-rs" in CI output [ci skip] 2025-03-08 00:48:28 +01:00
Alula 8d1da15cfd
feat: implement get.doukutsu.rs support 2025-03-08 00:38:28 +01: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 6973573721 Modify app id for Android debug builds[ci skip]
Also debug builds have `(debug)` in the app name, documents provider label and authority. This is done to make it possible to install custom debug builds without uninstalling the official one.
2025-02-05 23:02:06 +02:00
biroder 71452113ac
Add link to Flatpak 2025-01-15 04:34:49 +02:00
alula a82a536e09
Before you ask, we're not enabling LTO [ci skip] 2025-01-13 11:56:30 +01:00
Tulip Blossom 60cfc47a21
fix: satisfy the flathub linter 😭 (#303)
* fix: satisfy the flathub linter 😭

* Fix the 0.99.0-beta4 release date 

This version was released on May 3, 2022, 1:46 AM UTC

* chore: add instructions on how to get the game data working

* Remove CS+ screenshots, add valid content rating and screenshots caption

The engine is not distributed with the CS+ game data, so this screenshots are not correct for the most of the flatpak users. The content rating is just copy-pasted from the NXEngine package and and should probably be changed in the future
2025-01-13 00:56:54 +00:00
Tulip Blossom 9a0fa2d0ad
feat: add flathub metadata (#302) 2025-01-12 23:16:10 +02:00
biroder 7376875151 Crop Sue properly 2025-01-10 14:13:27 +02:00
biroder deea09407b
Add missing target triple for Android CI 2025-01-10 03:42:41 +02:00
biroder 3ebb02be1d
Fix Android CI 2025-01-10 03:39:13 +02:00
biroder 11d5212f47 Change icon for all platforms 2025-01-10 03:30:09 +02:00
biroder 080bb43429 Add Cargo.lock for Android port and change file naming scheme for stable builds [ci skip]
Also enable support for x86_64 ABI and bump `versionCode` for Android builds. 'local.properties' has been removed, as it must not be tracked by git and can be unintentionally commited with other changes.
2025-01-10 01:31:18 +02:00
biroder 2fc564b498
Change macOS architecture in the release metadata[ci skip] 2025-01-09 01:50:44 +02:00
biroder 2214179e0e
Fix Linux CI 2025-01-08 17:32:38 +02:00
+KZ d9ad87323f
Add macOS Icon (#299) 2025-01-08 17:16:54 +02:00
biroder 8195097363
ci: fix ref_name templating for Android builds [ci skip] 2025-01-06 03:59:17 +02:00
biroder 1c0c68ce48
Remove Kotlin debug file from Android release builds [ci skip] 2025-01-05 00:47:23 +02:00
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