mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +00:00
Make GraphNode flags mutable from lua again
This commit is contained in:
parent
2083242b66
commit
2eb2b8c18f
3 changed files with 11 additions and 11 deletions
|
@ -100,7 +100,7 @@ override_field_immutable = {
|
|||
"Painting": [ "id", "imageCount", "textureType", "textureWidth", "textureHeight" ],
|
||||
"SpawnInfo": [ "syncID", "next", "unk18" ],
|
||||
"CustomLevelInfo": [ "next" ],
|
||||
"GraphNode": [ "*" ],
|
||||
"GraphNode": [ "children", "next", "parent", "prev", "type" ],
|
||||
"GraphNodeObject": [ "*" ],
|
||||
"ObjectWarpNode": [ "next "],
|
||||
"Animation": [ "length" ],
|
||||
|
|
|
@ -811,8 +811,8 @@
|
|||
| Field | Type | Access |
|
||||
| ----- | ---- | ------ |
|
||||
| children | [GraphNode](structs.md#GraphNode) | read-only |
|
||||
| extraFlags | `integer` | read-only |
|
||||
| flags | `integer` | read-only |
|
||||
| extraFlags | `integer` | |
|
||||
| flags | `integer` | |
|
||||
| next | [GraphNode](structs.md#GraphNode) | read-only |
|
||||
| parent | [GraphNode](structs.md#GraphNode) | read-only |
|
||||
| prev | [GraphNode](structs.md#GraphNode) | read-only |
|
||||
|
|
|
@ -632,14 +632,14 @@ static struct LuaObjectField sGlobalTexturesFields[LUA_GLOBAL_TEXTURES_FIELD_COU
|
|||
|
||||
#define LUA_GRAPH_NODE_FIELD_COUNT 7
|
||||
static struct LuaObjectField sGraphNodeFields[LUA_GRAPH_NODE_FIELD_COUNT] = {
|
||||
{ "children", LVT_COBJECT_P, offsetof(struct GraphNode, children), true, LOT_GRAPHNODE },
|
||||
{ "extraFlags", LVT_U8, offsetof(struct GraphNode, extraFlags), true, LOT_NONE },
|
||||
{ "flags", LVT_S16, offsetof(struct GraphNode, flags), true, LOT_NONE },
|
||||
// { "georef", LVT_???, offsetof(struct GraphNode, georef), true, LOT_??? }, <--- UNIMPLEMENTED
|
||||
{ "next", LVT_COBJECT_P, offsetof(struct GraphNode, next), true, LOT_GRAPHNODE },
|
||||
{ "parent", LVT_COBJECT_P, offsetof(struct GraphNode, parent), true, LOT_GRAPHNODE },
|
||||
{ "prev", LVT_COBJECT_P, offsetof(struct GraphNode, prev), true, LOT_GRAPHNODE },
|
||||
{ "type", LVT_S16, offsetof(struct GraphNode, type), true, LOT_NONE },
|
||||
{ "children", LVT_COBJECT_P, offsetof(struct GraphNode, children), true, LOT_GRAPHNODE },
|
||||
{ "extraFlags", LVT_U8, offsetof(struct GraphNode, extraFlags), false, LOT_NONE },
|
||||
{ "flags", LVT_S16, offsetof(struct GraphNode, flags), false, LOT_NONE },
|
||||
// { "georef", LVT_???, offsetof(struct GraphNode, georef), true, LOT_??? }, <--- UNIMPLEMENTED
|
||||
{ "next", LVT_COBJECT_P, offsetof(struct GraphNode, next), true, LOT_GRAPHNODE },
|
||||
{ "parent", LVT_COBJECT_P, offsetof(struct GraphNode, parent), true, LOT_GRAPHNODE },
|
||||
{ "prev", LVT_COBJECT_P, offsetof(struct GraphNode, prev), true, LOT_GRAPHNODE },
|
||||
{ "type", LVT_S16, offsetof(struct GraphNode, type), true, LOT_NONE },
|
||||
};
|
||||
|
||||
#define LUA_GRAPH_NODE_OBJECT_FIELD_COUNT 26
|
||||
|
|
Loading…
Reference in a new issue