868 Commits

Author SHA1 Message Date
Kiloku ad7bc7c691 Player action hooks (#93)
* Create Player Action and Player Movement event types

* Call Boost/Brake events

* Change some event types

* Make Boost/Brake events cancellable

* Use new dynamic hooks

* Use separate events for each player action

* Add shoot events

* Return early on cancel

* Add Bomb and Charged Shot Events

* Remove movement event hooks, add player param to action hooks

* Fix whitespace

* Register player action events
2024-12-29 22:47:42 -06:00
KiritoDv dbf9b0378f Added even more events 2024-12-29 01:35:27 -06:00
KiritoDv fd0cd322f8 Added two new events for boss health and edge arrows 2024-12-29 00:59:57 -06:00
KiritoDv e48ef51adc Added functionality to draw hud events 2024-12-29 00:55:40 -06:00
KiritoDv 3dc592a566 Moved to a dynamic id system and increased id size to uint32_t 2024-12-29 00:46:19 -06:00
KiritoDv 4813a7377e Fixed ItemDropEvent logic 2024-12-28 19:25:23 -06:00
KiritoDv 679057f364 Renamed from _ID to ID on autogenerated event macros 2024-12-28 15:14:46 -06:00
KiritoDv 8b9b5137d2 Renamed some events 2024-12-28 15:12:04 -06:00
KiritoDv 4419dfca91 Implemented namespace system, added ItemDropEvent and cleaned up a little bit 2024-12-28 15:07:59 -06:00
KiritoDv 072bc49d38 Moved spawner to OnGameUpdate hook 2024-12-28 01:31:13 -06:00
KiritoDv 22e57921de Removed unnecessary include 2024-12-27 23:33:04 -06:00
KiritoDv acf7032b85 Fixed event typedefs 2024-12-27 23:07:35 -06:00
KiritoDv d0fb09f25c Added alt assets 2024-12-27 23:07:06 -06:00
KiritoDv 6869fce01a Removed unnecesary struct since event cant be cancelled 2024-12-27 19:36:04 -06:00
KiritoDv 4deec58ca2 Fixed windows compilation 2024-12-27 19:21:04 -06:00
KiritoDv 4a451417a5 Fixed wrong id 2024-12-27 17:47:14 -06:00
KiritoDv f1c9454355 Moved port cvars out of display update 2024-12-27 17:46:16 -06:00
KiritoDv 4b0eacaef7 Hook system PoC 2024-12-27 16:11:32 -06:00
briaguya a307375968 cleaner workaround with comments 2024-12-26 14:17:32 -06:00
briaguya 26a8d3925b manually init LUS to workaround init dependency issues in constructors 2024-12-26 14:17:32 -06:00
KiritoDv 20f8d8d96a Bump LUS and fixed breaking changes 2024-12-26 12:25:50 -06:00
Kiloku b98e3aad5e fix a couple whitespace mistakes 2024-12-25 13:56:19 -06:00
Kiloku eb97ddbff8 Add Infinite Boost cheat 2024-12-25 13:56:19 -06:00
KiritoDv db4b5e66c9 Fixed CODEC_S16 2024-12-25 13:28:04 -06:00
KiritoDv fc245b2292 Reverted some unnecesary things 2024-12-24 23:25:42 -06:00
KiritoDv f40105e778 Updated vs decomp 2024-12-24 23:25:42 -06:00
Qlonever d5ac40a4de fix medals in ranking menu 2024-12-24 14:08:26 -06:00
Afevis 9af7a2cbeb Corrected fullscreen bind 2024-12-22 19:13:42 -06:00
coco875 46c786c8b8 revert some try 2024-12-22 14:04:21 -06:00
coco875 443b7ae602 fix clang error 2024-12-22 14:04:21 -06:00
Sonic Dreamcaster 1f58393532 fix interpolation issue 2024-12-22 16:59:38 -03:00
Sonic Dreamcaster bcf12744d2 set default interpolation to 60 2024-12-22 02:34:16 -03:00
Sonic Dreamcaster a58eda8418 F1 to access enhancements menu 2024-12-22 01:22:19 -03:00
KiritoDv 08dc266cfb Added notification system from soh 2024-12-21 22:13:40 -06:00
briaguya ea8706657e fix crash when interpolation enabled on linux 2024-12-21 15:45:08 -06:00
PurpleHato 74b056fa45 ADD: Cheat - Current Mission Score Editor 2024-12-21 15:44:35 -06:00
Sonic Dreamcaster 537b25ab13 remove hit+64 and put everything inside cheats 2024-12-09 23:27:13 -03:00
Sonic Dreamcaster 3a3f1a00f7 revert back to a working state 2024-12-09 23:12:30 -03:00
Sonic Dreamcaster 94e5d0f5cc 32/9 2024-12-09 22:29:35 -03:00
Malkierian 48aa44f401 Move calculations outside of the loop, as they only need to be calculated once per frame.
Bit of cleanup.
2024-12-09 19:30:38 -05:00
Malkierian 354de2f364 Add better cull region calculation, change gCurrentScreenWidth to 1600 to allow aspect ratios up to 6.2. 2024-12-09 19:30:38 -05:00
Malkierian 7a333a68c2 Add check for render view to prevent drawing stars outside of it.
Remove garbage star interp calculation.
2024-12-09 19:30:38 -05:00
Sonic Dreamcaster c3a8223976 Merge branch 'main' of https://github.com/HarbourMasters/Starship 2024-12-09 05:11:04 -03:00
Sonic Dreamcaster 99d13ea7d2 radio fixes: co-authored-by: @Malkierian 2024-12-09 05:11:00 -03:00
KiritoDv ce9d49c029 Fixed message box when resizing 2024-12-09 01:16:49 -06:00
Sonic Dreamcaster 24e632f449 fix radio faces 2024-12-09 03:53:14 -03:00
Sonic Dreamcaster e42b27b4f9 JumpToAllRange cheat check 2024-12-09 03:05:14 -03:00
Sonic Dreamcaster bff2324fae fix katina and venom briefing in level select 2024-12-07 03:55:45 -03:00
Sonic Dreamcaster cbaa2b5a4a definitive (hopefully) radio crash fix. 2024-12-07 02:45:37 -03:00
Sonic Dreamcaster f2be16d1e5 fix ranking interpolation 2024-12-06 20:45:32 -03:00