Commit Graph

2569 Commits (95fea6263901808ce995cdf3aeaa40a90c5d0ca8)

Author SHA1 Message Date
MysterD 95fea62639 Added another missing header 2023-03-27 16:06:55 -07:00
MysterD 79d47778ef Add missing header for hashmaps 2023-03-27 15:58:53 -07:00
Agent X f97cc25732
Make cheats much better and add new ones (#305)
* Make cheats much better and add new ones

Improved some, added some.
- Formatted cheats code to fit with the rest of sm64's naming style of things like structs
- Cheats will now always check for gServerSettings.enableCheats instead of its own variable
- Moon Jump: Increased vertical speed, automatically exit bonks
- God Mode: Tiny code improvements
- Super Speed: Exponentially improved, moved to step code and now works as it always should have
- Rapid Fire (New): When on, A will become rapid fire
- Always Triple Jump (New): When on, Mario will triple jump regardless of forwards velocity
- BLJ Anywhere (New): When on, spam A while BLJing to BLJ anywhere

* Add m->playerIndex == 0 checks
2023-03-27 15:53:12 -07:00
PeachyPeach b738cf73f9
/luaf; fix compilation issues with audio and debug + dev (#328)
/luaf command to execute lua code from a file. Note that this command doesn't load the file the same way mod files are loaded, so no access to gGlobalSyncTable and gPlayerSyncTable. hook_chat_command cannot be called, but hook_event can.

Fix some compilation issues
2023-03-27 15:50:49 -07:00
Isaac0-dev 32e39516d6
revert crash fix (#331)
revert crash fix, causing more serious issues in star road
2023-03-27 15:49:29 -07:00
MysterD e7c52e8adb Bump version 2023-03-27 15:36:37 -07:00
MysterD ec7cb86c2c Fixed sync ID assignments 2023-03-27 15:34:22 -07:00
MysterD f2c9c6ca8a Fix spawned objects on soccer 2023-03-27 14:36:07 -07:00
MysterD e47f40af9e Swapped out hashmap to C++ for sync objects 2023-03-27 14:29:15 -07:00
MysterD ca94b7387e More sync object fixes 2023-03-27 12:51:10 -07:00
MysterD de6e783c20 Fix some sync ID bugs 2023-03-27 12:29:20 -07:00
MysterD 73dfbe5e59 Increase max packets per second to 100 2023-03-27 11:59:06 -07:00
MysterD b596cb2af2 Figure out a ping between every player, adjust resend rate based on it 2023-03-27 11:50:32 -07:00
MysterD 406bcb158d More shadow adjustments 2023-03-27 01:04:30 -07:00
MysterD b83bda7d6b Possible fix for shadows going wonky on moving platforms 2023-03-27 00:59:19 -07:00
MysterD 68ec3a21e0 Skip animation interpolation more often
(hands no longer swap places after side jumping)
2023-03-27 00:24:06 -07:00
MysterD 46a95f7a72 Fixed bug in romhacks where coins re-appear when re-entering 2023-03-26 22:05:22 -07:00
MysterD 89d2eb9853 Deterministically set the syncId of child objects of level objects 2023-03-26 21:35:04 -07:00
MysterD 6346293468 Deterministically set the sync ID for level objects that spawn from spawninfo, macros, and special 2023-03-26 21:10:38 -07:00
MysterD d12fc6c37a Remove old sync id reservation system 2023-03-26 19:06:18 -07:00
MysterD 015a49dc1a Rewrite syncID allocation and memory structure 2023-03-26 18:43:35 -07:00
MysterD 6c8b6387b4 Fix debug builds on linux 2023-03-26 14:53:01 -07:00
Isaac0-dev c22eb8b2ba
fix version string buffer overflow (#327) 2023-03-26 14:52:13 -07:00
Agent X 01a81fc6f5
Beta 32.0.2 (#330) 2023-03-26 15:17:58 -04:00
Agent X 6c9a15cbe9
Fix envfx not resetting (#329) 2023-03-26 12:50:21 -04:00
Isaac0-dev 6cb1b2faec
Beta 32.0.1 (#325)
* patch for beta 32

* require the development flag for Lua profiler

* autogen
2023-03-26 01:15:28 -04:00
Agent X 7e1dafaa73
Fix boxes (#324) 2023-03-24 18:59:46 -04:00
Prince Frizzy 179f8df434
Hopefully fix boat being incorrect in Star Road (#323) 2023-03-24 01:31:49 -04:00
Agent X 654d334ff7
Turn off rounded corners SM74 (#322) 2023-03-23 22:21:49 -04:00
Agent X 4277230f20
Show players on star select toggle (#321)
* Show players on star select toggle

* Make only toggleable by mods

* Allow player list to also be disabled
2023-03-23 21:12:26 -04:00
Agent X 3676d2030d
Fix extended pause display (#319) 2023-03-23 17:42:53 -04:00
Sunk 08f8502cab
Remove duplicate hook documentation (#318) 2023-03-23 17:13:08 -04:00
Agent X 8d9fb5821e
Clarify README (#317) 2023-03-23 17:12:50 -04:00
Agent X 1a86d46d95
Override envfx from Lua (#316)
* Override envfx from Lua

set_override_envfx(-1) to reset override

* Fix type mismatch
2023-03-23 14:46:15 -04:00
Agent X c79a001f5f
Make fixed collision rounded corners toggleable (#315) 2023-03-22 21:02:43 -04:00
eros71 3ed76d6a5c
Add Extended Soundbank (#254)
* Add Extended Soundbank

This PR adds a soundbank to the game with every instrument in the game, so there's no need to only use one set of instruments for m64 sequences.

Use the soundbank ID "42" when replacing sequences with lua to use it.

* Remove hardcoded.h include duplicate

There's a duplicated line that shouldn't be there since hardcoded.h is already included.

* Reinclude duplicate include

I'm still learning the commits system and I've noticed I should push this into a different PR instead by making a fork, sorry about that
2023-03-22 19:04:16 -04:00
Agent X d562a857d3
Clean up pause menu code and fix player menu bug (#314)
* Clean up pause menu code and fix player menu bug

* Final fixes to player panel bugs
2023-03-22 18:57:23 -04:00
Agent X 53b8a2f8e6
Fix compilation warnings and stop demos when hosting (#313)
* [WIP] fix warnings

Committing now as is for Isaac to take a look at this.
Having issues with VERSION_TEXT

* Fix VERSION_TEXT crash and stop demos on host
2023-03-21 22:41:43 -04:00
Isaac0-dev 7e46ce4a21
fixes and other improvements (#309)
* HOOK_JOINED_GAME

* expose VERSION_TEXT, and two more adjusments

* show if a constant type is a string with autogen

* fix another blunder by that guy

* should use an or operator here

* fix frame limiter stuff
2023-03-21 19:43:29 -04:00
Agent X 751dfe61c7
Move everything over (#280) 2023-03-20 22:36:25 -04:00
Agent X 7f6f7fea47
Fix NaN position bug with fixed collision (#312)
* Fix fixed collision NaN position

Thanks to @Marioiscool246 for figuring this out.
Sometimes Mario's position will become NaN when doing specific things, this fixes that.

Co-Authored-By: Marioiscool246 <27823923+Marioiscool246@users.noreply.github.com>

* Formatting

Co-Authored-By: Marioiscool246 <27823923+Marioiscool246@users.noreply.github.com>

* Fix ordering

* Final fix(?)

---------

Co-authored-by: Marioiscool246 <27823923+Marioiscool246@users.noreply.github.com>
2023-03-20 21:13:02 -04:00
Agent X 42b43a9b7e
get_ttc_speed_setting and set_ttc_speed_setting (#307) 2023-03-20 20:20:11 -04:00
Agent X 90bc1732f1
Merge pull request #303 from Sunketchupm/coop
Fix inaccuracies in hooks.md
2023-03-20 20:13:55 -04:00
Agent X b2ba30e41c
Merge pull request #306 from Agent-11/smlua-exec-str
/lua (Run Lua from chat IF you compiled with DEVELOPMENT)
2023-03-20 20:12:52 -04:00
Agent X d0318c23d5
Merge pull request #301 from Agent-11/hooks
Touch up new hooks
2023-03-20 20:07:14 -04:00
Agent X b05c7ccf74
Merge pull request #302 from Isaac0-dev/apple
put everyone in the jumbo star cutscene if one person is in it
2023-03-20 20:06:05 -04:00
Agent X 612dc2b78d
Merge pull request #304 from Agent-11/server-settings
Add gServerSettings to Lua manual tables
2023-03-20 20:00:21 -04:00
Agent X 3a45334a3d
Merge pull request #310 from Agent-11/time
get_time()
2023-03-20 19:59:31 -04:00
Agent X 4fd13c6bda
Bug fixes for mostly the title screen (#308)
- Add NULL checks to DynOS warps
- Change checks for skipping interpolation on the original title screen for much better ones
- Interactions are no longer processed if you are on the title screen
- Re-add some of the legacy demo code for the original title screen
- Fix disconnecting on the original title screen
- Fix disconnecting on the act select screen
- Fix interpolation crash
2023-03-18 17:14:01 -04:00
Agent X 22952dda05
Expose sound_banks_enable/disable to Lua (#311) 2023-03-18 17:12:33 -04:00