mirror of
https://github.com/zeldaret/ss
synced 2026-08-14 12:33:43 -04:00
d_a_npc sinit :)
This commit is contained in:
@@ -197,6 +197,8 @@ private:
|
||||
/* 0x4FC */ u8 field_0x4FC[0x684 - 0x4FC];
|
||||
/* 0x684 */ u8 field_0x684;
|
||||
/* 0x685 */ u8 field_0x685[0x6E4 - 0x685];
|
||||
|
||||
static fLiMgBa_c NPC_ACTOR_LIST;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
+20
-8
@@ -1,26 +1,34 @@
|
||||
#include "d/a/npc/d_a_npc.h"
|
||||
|
||||
#include "f/f_list_mg.h"
|
||||
#include "nw4r/ut/ut_Color.h"
|
||||
#include "s/s_StateID.hpp"
|
||||
#include "sized_string.h"
|
||||
|
||||
fLiMgBa_c NPC_ACTOR_LIST;
|
||||
fLiMgBa_c dAcNpc_c::NPC_ACTOR_LIST;
|
||||
|
||||
STATE_VIRTUAL_DEFINE(dAcNpc_c, Wait);
|
||||
STATE_VIRTUAL_DEFINE(dAcNpc_c, Demo);
|
||||
|
||||
extern nw4r::ut::Color sColors[] = {
|
||||
static const nw4r::ut::Color sColors0[] = {
|
||||
nw4r::ut::Color(0xEF, 0x30, 0x27, 0xFF),
|
||||
nw4r::ut::Color(0, 0, 0, 0xFF),
|
||||
nw4r::ut::Color(0xEF, 0x30, 0x27, 0),
|
||||
nw4r::ut::Color(0xFF, 0xFF, 0xFF, 0),
|
||||
nw4r::ut::Color(0x00, 0x00, 0x00, 0xFF),
|
||||
nw4r::ut::Color(0xEF, 0x30, 0x27, 0x00),
|
||||
};
|
||||
static const nw4r::ut::Color sColors1[] = {
|
||||
nw4r::ut::Color(0xFF, 0xFF, 0xFF, 0x00),
|
||||
nw4r::ut::Color(0xFE, 0xF8, 0x9D, 0xFF),
|
||||
nw4r::ut::Color(0x88, 0x63, 0x36, 0x80),
|
||||
};
|
||||
static const nw4r::ut::Color sColors2[] = {
|
||||
nw4r::ut::Color(0x4F, 0x46, 0x33, 0xFF),
|
||||
nw4r::ut::Color(0xD8, 0xC5, 0x8D, 0xFF),
|
||||
nw4r::ut::Color(0x95, 0x69, 0x3B, 0xFF),
|
||||
nw4r::ut::Color(0x50, 0x46, 0x32, 0),
|
||||
nw4r::ut::Color(0xD8, 0xC5, 0x8D, 0),
|
||||
nw4r::ut::Color(0x96, 0x69, 0x3C, 0),
|
||||
};
|
||||
static const nw4r::ut::Color sColors3[] = {
|
||||
nw4r::ut::Color(0x50, 0x46, 0x32, 0x00),
|
||||
nw4r::ut::Color(0xD8, 0xC5, 0x8D, 0x00),
|
||||
nw4r::ut::Color(0x96, 0x69, 0x3C, 0x00),
|
||||
};
|
||||
|
||||
SizedString<128> sNpcStr1;
|
||||
@@ -29,3 +37,7 @@ SizedString<128> sNpcStr3;
|
||||
SizedString<128> sNpcStr4;
|
||||
|
||||
dAcNpc_c::dAcNpc_c() : mStateMgr(*this, sStateID::null), mActorListEntry(this) {}
|
||||
|
||||
dAcNpc_c::~dAcNpc_c() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user