Revert "Constants fix"

This reverts commit 6659377cd4.
This commit is contained in:
Agent X 2025-04-17 18:27:36 -04:00
parent 3e4c5b862e
commit 6c7068f1ea
4 changed files with 1 additions and 4 deletions

View file

@ -66,7 +66,6 @@ include_constants = {
"src/audio/external.h": [ "SEQ_PLAYER", "DS_" ],
"src/pc/mods/mod_storage.h": [ "MAX_KEYS", "MAX_KEY_VALUE_LENGTH" ],
"include/PR/gbi.h": [
"G_IMMFIRST",
"^G_NOOP$",
"^G_SETOTHERMODE_H$",
"^G_SETOTHERMODE_L$",

View file

@ -1254,7 +1254,6 @@
- G_MOVEMEM
- G_VTX
- G_DL
- G_IMMFIRST
- G_TRI1
- G_POPMTX
- G_MOVEWORD

View file

@ -146,7 +146,7 @@ The lua functions sent to `hook_event()` will be automatically called by SM64 wh
| HOOK_MARIO_OVERRIDE_GEOMETRY_INPUTS | Called before running Mario's geometry input logic, return `false` to not run it. | [MarioState](../structs.md) m |
| HOOK_ON_INTERACTIONS | Called when the Mario interactions are processed | [MarioState](../structs.md#MarioState) mario |
| HOOK_ALLOW_FORCE_WATER_ACTION | Called when executing a non-water action while under the water's surface, or vice versa. Return `false` to prevent the player from being forced out of the action at the water's surface | [MarioState](../structs.md#MarioState) mario, `boolean` isInWaterAction |
| HOOK_BEFORE_WARP | Called before the local player warps. Return a table with `destLevel`, `destArea`, `destWarpNode`, and `arg` to override the warp | `integer` destLevel, `integer` destArea, `integer` destWarpNode, `integer` arg |
| HOOK_BEFORE_WARP | Called before the local player warps. Return a table with `destLevel`, `destArea`, `destAreaWarpNode`, and `arg` to override the warp | `integer` destLevel, `integer` destArea, `integer` destAreaWarpNode, `integer` arg |
### Parameters

View file

@ -1331,7 +1331,6 @@ char gSmluaConstants[] = ""
"G_MOVEMEM=3\n"
"G_VTX=4\n"
"G_DL=6\n"
"G_IMMFIRST=-65\n"
"G_TRI1=(G_IMMFIRST-0)\n"
"G_POPMTX=(G_IMMFIRST-2)\n"
"G_MOVEWORD=(G_IMMFIRST-3)\n"