mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 13:35:12 +00:00
Update lua docs
This commit is contained in:
parent
6f8714c764
commit
3436d6d26f
4 changed files with 7 additions and 3 deletions
|
@ -735,7 +735,8 @@
|
||||||
| CT_LUIGI | 1 |
|
| CT_LUIGI | 1 |
|
||||||
| CT_TOAD | 2 |
|
| CT_TOAD | 2 |
|
||||||
| CT_WALUIGI | 3 |
|
| CT_WALUIGI | 3 |
|
||||||
| CT_MAX | 4 |
|
| CT_WARIO | 4 |
|
||||||
|
| CT_MAX | 5 |
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
|
|
@ -213,6 +213,7 @@
|
||||||
| soundYahoo | integer | read-only |
|
| soundYahoo | integer | read-only |
|
||||||
| soundYahooWahaYippee | integer | read-only |
|
| soundYahooWahaYippee | integer | read-only |
|
||||||
| soundYawning | integer | read-only |
|
| soundYawning | integer | read-only |
|
||||||
|
| torsoRotMult | number | read-only |
|
||||||
| type | integer | read-only |
|
| type | integer | read-only |
|
||||||
|
|
||||||
[:arrow_up_small:](#)
|
[:arrow_up_small:](#)
|
||||||
|
|
|
@ -95,7 +95,7 @@ static struct LuaObjectField sCameraTriggerFields[LUA_CAMERA_TRIGGER_FIELD_COUNT
|
||||||
// { "event", LVT_???, offsetof(struct CameraTrigger, event), false, LOT_??? }, <--- UNIMPLEMENTED
|
// { "event", LVT_???, offsetof(struct CameraTrigger, event), false, LOT_??? }, <--- UNIMPLEMENTED
|
||||||
};
|
};
|
||||||
|
|
||||||
#define LUA_CHARACTER_FIELD_COUNT 56
|
#define LUA_CHARACTER_FIELD_COUNT 57
|
||||||
static struct LuaObjectField sCharacterFields[LUA_CHARACTER_FIELD_COUNT] = {
|
static struct LuaObjectField sCharacterFields[LUA_CHARACTER_FIELD_COUNT] = {
|
||||||
{ "animOffsetEnabled", LVT_U8, offsetof(struct Character, animOffsetEnabled), true, LOT_NONE },
|
{ "animOffsetEnabled", LVT_U8, offsetof(struct Character, animOffsetEnabled), true, LOT_NONE },
|
||||||
{ "animOffsetFeet", LVT_F32, offsetof(struct Character, animOffsetFeet), true, LOT_NONE },
|
{ "animOffsetFeet", LVT_F32, offsetof(struct Character, animOffsetFeet), true, LOT_NONE },
|
||||||
|
@ -156,6 +156,7 @@ static struct LuaObjectField sCharacterFields[LUA_CHARACTER_FIELD_COUNT] = {
|
||||||
{ "soundYahoo", LVT_S32, offsetof(struct Character, soundYahoo), true, LOT_NONE },
|
{ "soundYahoo", LVT_S32, offsetof(struct Character, soundYahoo), true, LOT_NONE },
|
||||||
{ "soundYahooWahaYippee", LVT_S32, offsetof(struct Character, soundYahooWahaYippee), true, LOT_NONE },
|
{ "soundYahooWahaYippee", LVT_S32, offsetof(struct Character, soundYahooWahaYippee), true, LOT_NONE },
|
||||||
{ "soundYawning", LVT_S32, offsetof(struct Character, soundYawning), true, LOT_NONE },
|
{ "soundYawning", LVT_S32, offsetof(struct Character, soundYawning), true, LOT_NONE },
|
||||||
|
{ "torsoRotMult", LVT_F32, offsetof(struct Character, torsoRotMult), true, LOT_NONE },
|
||||||
{ "type", LVT_S32, offsetof(struct Character, type), true, LOT_NONE },
|
{ "type", LVT_S32, offsetof(struct Character, type), true, LOT_NONE },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -773,7 +773,8 @@ char gSmluaConstants[] = ""
|
||||||
"CT_LUIGI = 1\n"
|
"CT_LUIGI = 1\n"
|
||||||
"CT_TOAD = 2\n"
|
"CT_TOAD = 2\n"
|
||||||
"CT_WALUIGI = 3\n"
|
"CT_WALUIGI = 3\n"
|
||||||
"CT_MAX = 4\n"
|
"CT_WARIO = 4\n"
|
||||||
|
"CT_MAX = 5\n"
|
||||||
"CHAR_SOUND_YAH_WAH_HOO = 0\n"
|
"CHAR_SOUND_YAH_WAH_HOO = 0\n"
|
||||||
"CHAR_SOUND_HOOHOO = 1\n"
|
"CHAR_SOUND_HOOHOO = 1\n"
|
||||||
"CHAR_SOUND_YAHOO = 2\n"
|
"CHAR_SOUND_YAHOO = 2\n"
|
||||||
|
|
Loading…
Reference in a new issue