Commit graph

4744 commits

Author SHA1 Message Date
Agent X
68051b907b update CS [build]
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2025-05-17 21:25:46 -04:00
Prince Frizzy
258db1f6e7
Fix issue with texture filtering
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-05-17 17:37:29 -04:00
Isaac0-dev
16ab46aeea run autogen again to fix mods
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-05-17 11:04:50 +10:00
Prince Frizzy
02c9a4146b
More Optimizations (#792)
* Initial work on optimizations.

* Requested Changes Part 1

* Requested Changes Part 2

* Requested Changes Part 3

* Requested Changes Part 4

* Requested Changes Part 5

* Requested Changes Part 6

* Update deprecated.lua

---------

Co-authored-by: PeachyPeach <72323920+PeachyPeachSM64@users.noreply.github.com>
2025-05-16 20:27:49 -04:00
iZePlayz
8779070d4b
some german translation fixed (#809)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
* some german translation fixed

* fix

* fixed many more bad german translations

* oops
2025-05-16 13:02:03 -04:00
Emily♥
f4e6cd0894
Fix Eyerok pounding in multiplayer (#805)
* Fix Eyerok pounding in multiplayer

Eyerok now only enters the double pound state if ALL players stand on the pedestal rather than just one. Players standing on the pedestal will be ignored. I had to write a new function for this, I hope this is acceptable.

* Suggested changes

I didn't want to change the name of arg0 in eyerok_check_mario_relative_z because it was a vanilla function, but I suppose I can.
2025-05-16 19:01:10 +02:00
Baconator2558
e30e026e3e
Add actionArg to HOOK_BEFORE_SET_MARIO_ACTION (#810)
* Update mario.c

* Update smlua_hooks.h

* Update smlua_hooks.c

* Update hooks.md
2025-05-16 18:58:51 +02:00
Isaac0-dev
5cb2296710 make extract_display_lists.py consistent across platforms
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2025-05-10 13:30:06 +10:00
Isaac0-dev
dcc9090ac0 rename Area's unk04 to root and fix lookup error 2025-05-10 13:17:09 +10:00
Sunk
9e87ce10c0
Fix(?) frozen star cutscenes (#796) 2025-05-09 21:36:09 -04:00
ManIsCat2
10154b75d0
Fix packed normals (#797)
* Fix packed normals

* Clear packed normals on obj_sanitize_gfx

* Isaac review

* Peachy review
2025-05-09 19:17:26 -04:00
Agent X
2e7cc82c46 Attempt 3: libcoopnet w/ glibc 2.36 [build]
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2025-05-07 20:16:35 -04:00
PeachyPeach
966d7fc290
Bettercam refactor and cleanup (#788)
- `bettercamera` code refactoring, less spaghetti, more consistency
- removed unused parts and added comments to the most obscure ones
2025-05-08 08:52:06 +10:00
PeachyPeach
0d4fd39a00
Fix interactions again (#795) 2025-05-08 08:51:44 +10:00
Agent X
441fa36701 Attempt 2 to compile with lower glibc [build] 2025-05-07 18:12:18 -04:00
Agent X
8f182e1e03 Attempt to use Debian for Linux build (glibc) [build] 2025-05-07 18:00:57 -04:00
Beckowl
7472aa9b0a
Expose useful global graphnodes (#789)
* Add global node getters

* move pointer asterisk thing for consistency

* Run autogen

* Add geo prefix to new functions

* Run regen

* Rename functions

* run autogen

* Make viewport fields mutable

* Address code review comments
2025-05-07 17:09:08 -04:00
PeachyPeachSM64
19880356eb Revert "Fix INT_HIT_FROM_ABOVE/BELOW check (#751)"
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
This reverts commit d8e9cd8641.
2025-05-06 16:58:25 +02:00
EmeraldLockdown
c627cf7214
Update arm and intel coopnet libraries (#794)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-05-06 10:06:26 +10:00
Isaac0-dev
2362f67f4a the real fix for sdl joystick lag 2025-05-06 09:58:12 +10:00
Agent X
6d1f533113 Fully fix 1.3 script errors and other stuff [build]
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-05-04 21:48:03 -04:00
Isaac0-dev
6f6cbc3413
still need this
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-05-05 09:26:12 +10:00
Agent X
954af5bc0a this should fix SDL_Joystick lag [build] 2025-05-04 18:41:38 -04:00
Agent X
8fc78a07ee Adjust macOS build zip names 2025-05-04 17:00:50 -04:00
Agent X
d66efc4671 Fix THI black title screen glitch [build] 2025-05-04 16:45:43 -04:00
Agent X
3e1c04dbe7 Update Day Night Cycle DX to new v2.5
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-05-04 11:55:08 -04:00
Agent X
8ef8712237 Add gsSPLoadGeometryMode to DynOS
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-05-03 18:09:42 -04:00
xLuigiGamerx
bf8d6e4a1b
Updated Djoslin Toad to give him recolorable hair and updated CJes and VL-Tones Luigi's hud icons (#787)
* Added `xOffset` and `yOffset` to the `DjuiFont` struct to align the custom hud fonts

* Replaced `VL-Tones and CJes` CS pack with `The Originals` CS pack

* Removed the shading from the emblems and sideburns for `[CS] The Originals`

* Updated Djoslin0 Toad to give him recolorable hair and updated CJes and VL-Tones Luigi hud icons.
2025-05-03 20:59:28 +02:00
Sunk
0d2a91352d
Freecam improvements (#776)
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
* Freecam improvements

* Sound and HUD freecam improvements

Play the camera buzz if the camera is locked and the camera is attempted to be moved.
Made the camera icon show the current zoom state of free camera.

* Fix unused variable warning

* Have mouse look be affected by sensitivity
2025-05-03 17:50:20 +02:00
Baconator2558
f59d8ce53a
Update mario_step.c (#784)
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-05-02 13:31:23 -04:00
PeachyPeach
d94cf00eb9
Fix wrongly documented functions (#783)
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-05-02 16:34:43 +02:00
jayden
af6e0afbcf
change misleading switch case field label (#781) 2025-05-02 13:33:36 +02:00
Agent X
7568a8564f The old dynos warp hook params worked fine
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-05-01 21:37:44 -04:00
Agent X
ee7d694940 Fix HOOK_ON_WARP and document more functions (87.18%) 2025-05-01 20:26:04 -04:00
Agent X
7c33bbf2fa Fix star doors in rom hacks
Some checks failed
Build coop / build-ubuntu (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2025-04-30 18:49:03 -04:00
Blockyyy
a0f557bf68
fix HOOK_BEFORE_WARP (#753)
* fix HOOK_BEFORE_WARP

* actual fix and correct hooks.md

* reset arg, make WARP_ARG_EXIT_COURSE -1
2025-04-30 18:22:31 -04:00
Isaac0-dev
5c3ef3d419 fix mac compile
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-04-30 20:51:10 +10:00
Sunk
7b3d51d32b
Fix off setting for romhack camera (#775)
Some checks failed
Build coop / build-ubuntu (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
This fixes the bug where the camera is immediately centered onto the player, behind the player, in every course when romhack camera is turned off.
2025-04-27 23:26:27 -04:00
Sunk
d8e9cd8641
Fix INT_HIT_FROM_ABOVE/BELOW check (#751)
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-04-27 17:28:29 -04:00
PeachyPeach
507e6f6102
Fix autogen documentation (#769)
* Fix autogen documentation

* verbose
2025-04-27 17:24:29 -04:00
PeachyPeach
04ae492e8b
Fix obj_get_model_id_extended returning wrong model ids (#757) 2025-04-27 17:22:58 -04:00
Blockyyy
ea353af5c9
HOOK_ON_INSTANT_WARP (#747)
* make HOOK_ON_WARP trigger on instant warps

* oops

* HOOK_ON_INSTANT_WARP

* make the displacement a Vec3s, hooks.md

* fix hooks.md oversight

* get rid of this
2025-04-27 17:21:17 -04:00
Prince Frizzy
15d6f6ae07
Add some sanity checks to prevent bugs and exploits. (#767)
* Add some sanity checks to prevent bugs and exploits.

* Improve sanity check for Koopa Shell Riding.

* Sort and optimize MarioState structure.
2025-04-27 17:02:15 -04:00
PeachyPeachSM64
0e00fe7ad3 Revert "add a more accurate way to know the last active mod"
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
This reverts commit bff72db960.
2025-04-27 13:34:12 +02:00
PeachyPeachSM64
c36852356d Revert "quick fix (#764)"
This reverts commit cd0a17055e.
2025-04-27 13:33:59 +02:00
Agent X
6b5263d60e Whoops
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-04-27 00:35:55 -04:00
Agent X
bf85d9f9d5 Lay some groundwork for more documentation, fix compilation error, put backgrounds into enum 2025-04-26 23:29:21 -04:00
Agent X
5d5147cb0e Document more functions! (83%)
Some checks failed
Build coop / build-ubuntu (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2025-04-25 17:03:41 -04:00
ManIsCat2
29f9e7cfcb
Add G_PACKED_NORMALS Geo Mode from F3DEX3 (#768)
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
* Add new geometry mode

* Fix lua vertex colors not working
2025-04-25 15:07:31 -04:00
PeachyPeach
0f351e11fb
Gfx/Vtx improvements (#756)
Some checks failed
Build coop / build-windows (push) Has been cancelled
Build coop / build-ubuntu (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
- Renamed the `new` and `realloc` functions to `create` and `resize`
- Added `delete_all`
- Made Mod Data a class:
  - Allocation is now limited to prevent out-of-memory crashes: 1024 display lists of max size 2048 and 1024 vertex buffers of max size 4096 per mod
  - Added error codes to identify the cause of a failure (name not found, pointer not found, max size exceeded, item pool is full, ...)
2025-04-24 14:03:17 +10:00