|
SSBM Decomp
|
#include "grvenom.h"#include <platform.h>#include "gr/grcorneria.h"#include "gr/grdisplay.h"#include "gr/grmaterial.h"#include "gr/grzakogenerator.h"#include "gr/inlines.h"#include "gr/stage.h"#include "gr/types.h"#include "if/ifcoget.h"#include "if/ifstatus.h"#include "it/items/itarwinglaser.h"#include "lb/lb_00B0.h"#include "lb/lbaudio_ax.h"#include "lb/lbspdisplay.h"#include "mp/mplib.h"#include "pl/player.h"#include <baselib/aobj.h>#include <baselib/debug.h>#include <baselib/gobj.h>#include <baselib/gobjgxlink.h>#include <baselib/gobjproc.h>#include <baselib/lobj.h>#include <baselib/random.h>#include <baselib/sislib.h>Data Structures | |
| struct | grVe_Data |
| struct | grVenom_YakumonoParam |
| struct | grVe_Lighting |
| struct | grVe_GroundData |
| struct | VenomSpawnData |
| struct | grVe_AnimData |
| struct | grVe_AnimArg |
Variables | |
| static grVe_Data | grVe_803E5348 |
| static int | grVe_803E5380 [3] = { 0 } |
| StageCallbacks | grVe_StageCallbacks [16] |
| StageData | grVe_StageData |
| static struct grVenom_YakumonoParam * | yakumono_param |
| static u32 | grVe_804D6A34 |
| static s32 | grVe_804D6A38 |
| static s32 | grVe_804D6A3C |
| static s32 | grVe_804D6A40 |
| static int | grVe_803E5530 [53] |
| Per-state map animation ids, read via the stage data base pointer (base[state + 0x7A], see grVenom_802053B0); trailing entries are the zero/3/6 words observed in the reference object. | |
| static const GXColor | grVe_804DB7D8 = { 0, 0, 0, 0 } |
| grVenom_80204B88 Updates Venom stage lighting colors based on environment state. | |
| static const GXColor | grVe_804DB7DC = { 190, 10, 0, 0 } |
| static const GXColor | grVe_804DB7E0 = { 110, 60, 25, 0 } |
| static const GXColor | grVe_804DB7E4 = { 110, 90, 0, 0 } |
| static int | grVe_803E5644 [10] = { -1, -1, 1, 0, 2, 2, 4, 4, 5, 5 } |
| Per-state animation ids (cf. Corneria's grCn_803E214C). | |
| static int | grVe_803E566C [5] = { 0x0A, 0x0A, 0x0B, 0x0C, 0x0D } |
| Per-group map animation ids (cf. Corneria's grCn_803E217C). | |
| static int | grVe_803E5680 [5] = { 4, 4, 4, 4, 3 } |
| Joint id per Arwing group (cf. Corneria's grCn_803E2190). | |
| static int | grVe_803E56A0 [6] = { 1, 1, 1, 1, 1, 0 } |
| Per-group animation flags (cf. | |
| static const Vec3 | grVe_803B82D0 = { 0.0F, 0.0F, 0.0F } |
| static const Vec3 | grVe_803B82DC = { 0.0F, 0.0F, 0.0F } |
|
inlinestatic |
grVenom_8020362C
| void grVenom_8020362C | ( | void | ) |
| void grVenom_80203B14 | ( | bool | arg | ) |
|
inlinestatic |
| void grVenom_80203B18 | ( | void | ) |
Stage initialization function for Venom.
| void grVenom_80203DD0 | ( | void | ) |
| void grVenom_80203E80 | ( | void | ) |
| bool grVenom_80203EA4 | ( | void | ) |
| Ground_GObj * grVenom_80203EAC | ( | int | gobj_id | ) |
grVenom_80203EAC
| void grVenom_80203F98 | ( | Ground_GObj * | gobj | ) |
| bool grVenom_80203FC4 | ( | Ground_GObj * | arg | ) |
| void grVenom_80203FCC | ( | Ground_GObj * | arg | ) |
| void grVenom_80203FD0 | ( | Ground_GObj * | arg | ) |
| void grVenom_80203FD4 | ( | Ground_GObj * | gobj | ) |
| bool grVenom_802040A4 | ( | Ground_GObj * | arg | ) |
| void grVenom_802040AC | ( | Ground_GObj * | arg | ) |
| void grVenom_802040B0 | ( | Ground_GObj * | arg | ) |
| StKind Stage_80225194 | ( | void | ) |
| void fn_802040B4 | ( | Ground_GObj * | gobj | ) |
| void grVenom_802040F0 | ( | Ground_GObj * | gobj | ) |
grVenom_802040F0
| bool grVenom_8020427C | ( | Ground_GObj * | arg | ) |
| void grVenom_80204284 | ( | Ground_GObj * | gobj | ) |
| void grVenom_80204424 | ( | Ground_GObj * | arg | ) |
| void grVenom_80204428 | ( | Ground_GObj * | gobj | ) |
| bool grVenom_80204544 | ( | Ground_GObj * | arg | ) |
| void grVenom_8020454C | ( | Ground_GObj * | gobj | ) |
| void grVenom_80204B84 | ( | Ground_GObj * | arg | ) |
| void grVenom_80204B88 | ( | Ground_GObj * | gobj | ) |
| void grVenom_80204CE0 | ( | Ground_GObj * | arg | ) |
| bool grVenom_80204CE4 | ( | Ground_GObj * | arg | ) |
| void grVenom_80204CEC | ( | Ground_GObj * | gobj | ) |
| void grVenom_80204DB0 | ( | Ground_GObj * | gobj | ) |
| void grVenom_80204DD4 | ( | Ground_GObj * | gobj | ) |
grVenom_80204DD4 Unit: main/melee/gr/grvenom
| bool grVenom_80204EF4 | ( | Ground_GObj * | arg | ) |
| void grVenom_80204EFC | ( | Ground_GObj * | arg | ) |
| void grVenom_80204F1C | ( | Ground_GObj * | arg | ) |
| void grVenom_80204F20 | ( | Ground_GObj * | arg0 | ) |
| bool grVenom_802052D8 | ( | Ground_GObj * | arg | ) |
| void grVenom_802052E0 | ( | Ground_GObj * | gobj, |
| Vec3 * | pos ) |
| void grVenom_802053B0 | ( | Ground_GObj * | gobj | ) |
grVenom_802053B0
| void grVenom_802056AC | ( | Ground_GObj * | arg | ) |
| void grVenom_802056B0 | ( | Ground_GObj * | gobj | ) |
| bool grVenom_80205750 | ( | Ground_GObj * | arg | ) |
| void grVenom_80205758 | ( | Ground_GObj * | gobj | ) |
| void grVenom_80205AD0 | ( | Ground_GObj * | arg | ) |
| void grVenom_80205AD4 | ( | Ground_GObj * | gobj | ) |
| bool grVenom_80205DF0 | ( | Ground_GObj * | arg | ) |
| float Stage_GetBlastZoneBottomOffset | ( | void | ) |
grVenom_80205E84
| float Stage_GetBlastZoneLeftOffset | ( | void | ) |
| float Stage_GetBlastZoneRightOffset | ( | void | ) |
| float Stage_GetBlastZoneTopOffset | ( | void | ) |
named stGetPlyDeadUp according to an assert in ftcamera.c
|
inlinestatic |
Steps the anim-arg row/column words on the stage-data base pointer and reads through the struct field so the +0x2FC displacement lands on the load itself.
Evidence: the reference object computes the address with two adds on the base register and loads lwz rD, 0x2FC(rA); direct 2D array indexing re-associates to an lwzx indexed load instead.
| void grVenom_80205F30 | ( | Ground_GObj * | gobj | ) |
| void grVenom_80206870 | ( | Ground_GObj * | arg | ) |
| void grVenom_80206874 | ( | Ground_GObj * | gobj | ) |
| bool grVenom_80206B68 | ( | Ground_GObj * | arg | ) |
| void grVenom_80206B70 | ( | Ground_GObj * | arg | ) |
| void grVenom_80206B90 | ( | Ground_GObj * | arg | ) |
| void grVenom_80206B94 | ( | Ground_GObj * | gobj | ) |
| bool grVenom_80206BBC | ( | Ground_GObj * | arg | ) |
| void grVenom_80206BC4 | ( | Ground_GObj * | gobj | ) |
| void grVenom_80206BEC | ( | Ground_GObj * | arg | ) |
| bool grVenom_80206BF0 | ( | int | arg0 | ) |
| void grVenom_80206CB0 | ( | s32 | arg0 | ) |
| DynamicsDesc * grVenom_80206D74 | ( | enum_t | arg | ) |
|
static |
|
static |
| StageCallbacks grVe_StageCallbacks[16] |
| StageData grVe_StageData |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Per-state map animation ids, read via the stage data base pointer (base[state + 0x7A], see grVenom_802053B0); trailing entries are the zero/3/6 words observed in the reference object.
|
static |
grVenom_80204B88 Updates Venom stage lighting colors based on environment state.
|
static |
|
static |
|
static |
|
static |
Per-state animation ids (cf. Corneria's grCn_803E214C).
|
static |
Per-group map animation ids (cf. Corneria's grCn_803E217C).
|
static |
Joint id per Arwing group (cf. Corneria's grCn_803E2190).
|
static |
Per-group animation flags (cf.
Corneria's grCn_803E21B0); the trailing zero word is present in the reference object.
|
static |
|
static |