Commit graph

541 commits

Author SHA1 Message Date
Agent X
2d36bfdc99 Add "Open User Folder" button (AppData on Windows) 2023-12-17 09:04:01 -05:00
Agent X
1f076c0e8b Fix Lua Profiler compilation error 2023-12-16 16:11:40 -05:00
Agent X
0a210993ae Re-add 64 Memories palette 2023-12-15 20:25:23 -05:00
Agent X
fff0c83866 Add option to disable first person centering with L 2023-12-15 17:21:06 -05:00
Agent X
1d039e6675 Lua Profiler no longer requires DEVELOPMENT=1 2023-12-14 19:40:22 -05:00
Agent X
741d742bab Add HOOK_ON_OBJECT_LOAD 2023-12-14 19:33:17 -05:00
Agent X
db2d2a20fa Allow floats to be constants 2023-12-14 15:27:01 -05:00
Agent X
b1c8caa3ee Add offset to gFirstPersonCamera 2023-12-13 17:50:11 -05:00
Agent X
c2e85a0bcf Add HOOK_OVERRIDE_PHYS_STEP_DEFACTO_SPEED 2023-12-13 16:57:38 -05:00
Agent X
2343cf04f3 Adjust palettes and add palette constants to Lua 2023-12-12 18:14:37 -05:00
Agent X
4e63798f00 Rewrite Lua autoexec
Now put autoexec.lua in one of the mods folders, it now has all of the capabilities of a full mod without the crashes and weird bugs, which is pretty awesome.
2023-12-07 18:05:37 -05:00
Agent X
ae3271d98a Path check autoexec.lua 2023-12-06 21:06:24 -05:00
Agent X
bdccde902e Bring back some dev commands and add autoexec.lua
Make an autoexec.lua file in the same directory as your exe folder and the game will execute it if DEVELOPMENT=1
2023-12-06 19:20:58 -05:00
Agent X
04ed40ede2 Re-add pan level to config 2023-12-06 18:52:44 -05:00
Agent X
ba4ad874f4 Add first person mario head Y constants 2023-12-05 23:06:57 -05:00
Agent X
c32cf2054a Add mario_is_crouching(m) 2023-12-05 21:24:42 -05:00
Agent X
99e53b9f80 Add Free Camera C-Up option and sacrifice Pan Level 2023-12-05 16:57:10 -05:00
Agent X
87d4902f46 Revert "Use metatables to make gGlobalSoundSource readonly"
This reverts commit a905f317a7.
2023-12-04 17:23:53 -05:00
Agent X
a905f317a7 Use metatables to make gGlobalSoundSource readonly 2023-12-03 19:13:53 -05:00
Agent X
0481de1222 Add forceRoll field to first person camera 2023-12-02 19:54:40 -05:00
Agent X
22ac33d3f3 Make dev chat commands less dangerous
(Remove /lua commands)
2023-11-29 22:46:29 -05:00
Agent X
471a6c8c05 Expose first_person_check_cancels() to Lua 2023-11-27 11:14:36 -05:00
Isaac0-dev
547928ae16 some changes for rpi (#546)
disable coopnet on rpi until we can get some valid libraries compiled
2023-11-26 21:42:37 -05:00
MysterD
8d72c7eb76 Remove hook_exclamation_box() 2023-11-26 21:34:28 -05:00
PeachyPeach
8f4101cb7b Fix get_star_name retrieving garbage data 2023-11-26 21:31:17 -05:00
MysterD
b61574d2c6 Disable Waluigi animations for now 2023-11-26 21:31:17 -05:00
Agent X
5cb9e25090 Overhaul console logging 2023-11-26 16:49:32 -05:00
MysterD
fbd55651ad Lie about VERSION_TEXT for OMM backwards compatibility 2023-11-26 09:51:23 -05:00
MysterD
6113254650 Reran autogen 2023-11-24 19:50:56 -05:00
Sunk
e4c9dd9240 Fix exclamation boxes again (#540)
Hopefully for the last time for this method
2023-11-24 19:49:20 -05:00
Agent X
b24c1731d0 Add gGlobalSoundSource to Lua 2023-11-24 11:24:26 -05:00
Sunk
47ef0668ca Better sanity check exclamation box hook (#536)
Also makes the parent object of the spawned object the exclamation box for spawned stars to work properly
2023-11-23 10:02:37 -05:00
Agent X
cc9348c71c Fix compilation warnings 2023-11-21 17:44:36 -05:00
Sunk
a85c8dbbf8 Create hook_exclamation_box in place of set_exclamation_box_contents (#524)
* Revert set_exclamation_box_contents()

In favor of the hook

* Create `hook_exclamation_box`
2023-11-21 17:22:54 -05:00
Isaac0-dev
ea487fe342 actually fix extended pause menu + improve act/course replacement (#523) 2023-11-21 17:15:18 -05:00
Isaac0-dev
23193887db added HOOK_MIRROR_MARIO_RENDER to Lua (#514)
* added HOOK_MIRROR_MARIO_RENDER to Lua

Previously there was no way to interact with mirror Mario using the Lua api, so this fixes that.

* remove premature optimisation

* revert that
2023-11-21 17:00:35 -05:00
Agent X
72c58f722e Prevent some mod init related lua crashes 2023-11-17 19:55:20 -05:00
Agent X
d9a59aa0ed Merge branch 'main' of https://github.com/coop-deluxe/sm64coopdx-rebase 2023-11-17 18:32:14 -05:00
Blockyyy
c2c846f650 Expose lvl_set_current_level (#513)
* Expose Initiate_warp

exposed initiate_warp function
exposed WARP_NODE_ constants

* expose lvl_set_current_level

* remove initiate_warp
2023-11-17 18:29:37 -05:00
SharenTheCat
5b72836c15 Modify Mario's head and torso rotation outside of specific cases
Adds "m.marioBodyState.allowPartRotation", which when set to 1, will make "m.marioBodyState.headAngle" and "m.marioBodyStates.torsoAngle" actually change where Mario's head and torso face outside of very specific cases (like running, or being underwater).
2023-11-16 23:01:18 -03:00
Blockyyy
5d39741be1 Delete star flags (#501)
* Expose save_file_remove_star_flags

* new packet

added a new packet type and two new functions

* oops

* create packet_save_remove_flag.c

move the new network functions to a new file

* Switch u32 to u8

Switched courseStarsToRemove from u32
 to u8 for consistency

* fixed the function

-Fixed empty save file marked as existing
-Fixed SAVE_FILE_EXISTS flag being deleted
-Fixed removing ALL flags from the remote saves
2023-11-14 20:40:34 -05:00
eros71-dev
ff17fa4a67 Add ON_COLLIDE_LEVEL_BOUNDS hook
Called whenever Mario hits the level boundaries "wall"
2023-11-12 19:28:38 +01:00
Agent X
ce987ef3dd Add first person functions to Lua 2023-11-12 09:53:08 -05:00
Agent X
e79775aea4 Improve first person and add gFirstPersonCamera 2023-11-11 16:49:46 -05:00
Agent X
ae22eaac98 Add "-- deluxe:" field to mods 2023-11-11 14:16:27 -05:00
Agent X
281efe57fe Fix autogen convert constants 2023-11-11 12:35:32 -05:00
Agent X
802affd839 ENHANCE_LEVEL_TEXTURES and make all DynOS textures overridable in Lua 2023-11-11 12:15:32 -05:00
Agent X
140d50ebb2 Misc fixes and cleanup 2023-11-10 19:12:21 -05:00
David Joslin
c7edf85ad9 Fix crash in tox_box_move() 2023-11-08 19:55:28 -05:00
David Joslin
750b9a8730 Added bounds checking to gActiveMods.entries[] 2023-11-08 19:53:36 -05:00