mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Constants fix
This commit is contained in:
parent
7c7993f634
commit
6659377cd4
4 changed files with 4 additions and 1 deletions
|
|
@ -66,6 +66,7 @@ include_constants = {
|
||||||
"src/audio/external.h": [ "SEQ_PLAYER", "DS_" ],
|
"src/audio/external.h": [ "SEQ_PLAYER", "DS_" ],
|
||||||
"src/pc/mods/mod_storage.h": [ "MAX_KEYS", "MAX_KEY_VALUE_LENGTH" ],
|
"src/pc/mods/mod_storage.h": [ "MAX_KEYS", "MAX_KEY_VALUE_LENGTH" ],
|
||||||
"include/PR/gbi.h": [
|
"include/PR/gbi.h": [
|
||||||
|
"G_IMMFIRST",
|
||||||
"^G_NOOP$",
|
"^G_NOOP$",
|
||||||
"^G_SETOTHERMODE_H$",
|
"^G_SETOTHERMODE_H$",
|
||||||
"^G_SETOTHERMODE_L$",
|
"^G_SETOTHERMODE_L$",
|
||||||
|
|
|
||||||
|
|
@ -1254,6 +1254,7 @@
|
||||||
- G_MOVEMEM
|
- G_MOVEMEM
|
||||||
- G_VTX
|
- G_VTX
|
||||||
- G_DL
|
- G_DL
|
||||||
|
- G_IMMFIRST
|
||||||
- G_TRI1
|
- G_TRI1
|
||||||
- G_POPMTX
|
- G_POPMTX
|
||||||
- G_MOVEWORD
|
- G_MOVEWORD
|
||||||
|
|
|
||||||
|
|
@ -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_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_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_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`, `destAreaWarpNode`, and `arg` to override the warp | `integer` destLevel, `integer` destArea, `integer` destAreaWarpNode, `integer` arg |
|
| 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 |
|
||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1331,6 +1331,7 @@ char gSmluaConstants[] = ""
|
||||||
"G_MOVEMEM=3\n"
|
"G_MOVEMEM=3\n"
|
||||||
"G_VTX=4\n"
|
"G_VTX=4\n"
|
||||||
"G_DL=6\n"
|
"G_DL=6\n"
|
||||||
|
"G_IMMFIRST=-65\n"
|
||||||
"G_TRI1=(G_IMMFIRST-0)\n"
|
"G_TRI1=(G_IMMFIRST-0)\n"
|
||||||
"G_POPMTX=(G_IMMFIRST-2)\n"
|
"G_POPMTX=(G_IMMFIRST-2)\n"
|
||||||
"G_MOVEWORD=(G_IMMFIRST-3)\n"
|
"G_MOVEWORD=(G_IMMFIRST-3)\n"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue