mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-07-05 22:16:53 +00:00
[voice chat] fix autogen config
This commit is contained in:
parent
cbd04bd47f
commit
70beea634e
5 changed files with 1 additions and 25 deletions
|
|
@ -335,7 +335,7 @@ structs_whitelist = { "__name__": "structs_whitelist",
|
|||
"src/game/player_palette.h": [ "PlayerPalette" ],
|
||||
"src/game/ingame_menu.h" : [ "DialogEntry" ],
|
||||
"include/PR/gbi.h": [ "Gfx", "^Vtx$" ],
|
||||
"src/pc/voice_chat.h": [ "VoicePlayer" ],
|
||||
"src/pc/voice_chat.h": [ "^VoicePlayer$" ],
|
||||
}
|
||||
|
||||
# For each file, do not expose these structs
|
||||
|
|
|
|||
|
|
@ -2267,9 +2267,6 @@
|
|||
--- @field public clientMutedState VoiceChatMuteState
|
||||
--- @field public playerMutedState VoiceChatMuteState
|
||||
|
||||
--- @class VoicePlayerInternal
|
||||
--- @field public buffer VoiceBuffer
|
||||
|
||||
--- @class Vtx
|
||||
--- @field public x number
|
||||
--- @field public y number
|
||||
|
|
|
|||
|
|
@ -95,7 +95,6 @@
|
|||
- [Vec4i](#Vec4i)
|
||||
- [Vec4s](#Vec4s)
|
||||
- [VoicePlayer](#VoicePlayer)
|
||||
- [VoicePlayerInternal](#VoicePlayerInternal)
|
||||
- [Vtx](#Vtx)
|
||||
- [WallCollisionData](#WallCollisionData)
|
||||
- [WarpNode](#WarpNode)
|
||||
|
|
@ -3116,16 +3115,6 @@
|
|||
|
||||
<br />
|
||||
|
||||
## [VoicePlayerInternal](#VoicePlayerInternal)
|
||||
|
||||
| Field | Type | Access |
|
||||
| ----- | ---- | ------ |
|
||||
| buffer | [VoiceBuffer](structs.md#VoiceBuffer) | read-only |
|
||||
|
||||
[:arrow_up_small:](#)
|
||||
|
||||
<br />
|
||||
|
||||
## [Vtx](#Vtx)
|
||||
|
||||
| Field | Type | Access |
|
||||
|
|
|
|||
|
|
@ -2636,13 +2636,6 @@ static struct LuaObjectField sVoicePlayerFields[LUA_VOICE_PLAYER_FIELD_COUNT] =
|
|||
{ "volume", LVT_U32, offsetof(struct VoicePlayer, volume), false, LOT_NONE },
|
||||
};
|
||||
|
||||
#define LUA_VOICE_PLAYER_INTERNAL_FIELD_COUNT 1
|
||||
static struct LuaObjectField sVoicePlayerInternalFields[LUA_VOICE_PLAYER_INTERNAL_FIELD_COUNT] = {
|
||||
{ "buffer", LVT_COBJECT, offsetof(struct VoicePlayerInternal, buffer), true, LOT_VOICEBUFFER },
|
||||
// { "decoder", LVT_???, offsetof(struct VoicePlayerInternal, decoder), false, LOT_??? }, <--- UNIMPLEMENTED
|
||||
// { "encoder", LVT_???, offsetof(struct VoicePlayerInternal, encoder), false, LOT_??? }, <--- UNIMPLEMENTED
|
||||
};
|
||||
|
||||
#define LUA_VTX_FIELD_COUNT 13
|
||||
static struct LuaObjectField sVtxFields[LUA_VTX_FIELD_COUNT] = {
|
||||
{ "a", LVT_U8, offsetof(Vtx_L, a), false, LOT_NONE },
|
||||
|
|
@ -2793,7 +2786,6 @@ struct LuaObjectTable sLuaObjectAutogenTable[LOT_AUTOGEN_MAX - LOT_AUTOGEN_MIN]
|
|||
{ LOT_SURFACE, sSurfaceFields, LUA_SURFACE_FIELD_COUNT },
|
||||
{ LOT_TEXTUREINFO, sTextureInfoFields, LUA_TEXTURE_INFO_FIELD_COUNT },
|
||||
{ LOT_VOICEPLAYER, sVoicePlayerFields, LUA_VOICE_PLAYER_FIELD_COUNT },
|
||||
{ LOT_VOICEPLAYERINTERNAL, sVoicePlayerInternalFields, LUA_VOICE_PLAYER_INTERNAL_FIELD_COUNT },
|
||||
{ LOT_VTX, sVtxFields, LUA_VTX_FIELD_COUNT },
|
||||
{ LOT_WALLCOLLISIONDATA, sWallCollisionDataFields, LUA_WALL_COLLISION_DATA_FIELD_COUNT },
|
||||
{ LOT_WARPNODE, sWarpNodeFields, LUA_WARP_NODE_FIELD_COUNT },
|
||||
|
|
@ -2901,7 +2893,6 @@ const char *sLuaLotNames[] = {
|
|||
[LOT_SURFACE] = "Surface",
|
||||
[LOT_TEXTUREINFO] = "TextureInfo",
|
||||
[LOT_VOICEPLAYER] = "VoicePlayer",
|
||||
[LOT_VOICEPLAYERINTERNAL] = "VoicePlayerInternal",
|
||||
[LOT_VTX] = "Vtx",
|
||||
[LOT_WALLCOLLISIONDATA] = "WallCollisionData",
|
||||
[LOT_WARPNODE] = "WarpNode",
|
||||
|
|
|
|||
|
|
@ -106,7 +106,6 @@ enum LuaObjectAutogenType {
|
|||
LOT_SURFACE,
|
||||
LOT_TEXTUREINFO,
|
||||
LOT_VOICEPLAYER,
|
||||
LOT_VOICEPLAYERINTERNAL,
|
||||
LOT_VTX,
|
||||
LOT_WALLCOLLISIONDATA,
|
||||
LOT_WARPNODE,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue