mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-16 20:27:36 -04:00
Annotate all data with DUSK_GAME_DATA (#2214)
The hope of auto-importing data via lld MinGW + pseudo_reloc is now dead thanks to ARM64, so I just wrote a script to go annotate every exported data symbol in the game instead.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include "m_Do/m_Do_graphic.h"
|
||||
#include <cstring>
|
||||
|
||||
const daNpc_Uri_HIOParam daNpc_Uri_Param_c::m = {
|
||||
DUSK_GAME_DATA const daNpc_Uri_HIOParam daNpc_Uri_Param_c::m = {
|
||||
200.0f, // attention_offset
|
||||
-3.0f, // gravity
|
||||
1.0f, // scale
|
||||
@@ -190,7 +190,7 @@ static DUSK_CONSTEXPR daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenc
|
||||
{-1, 0, 0},
|
||||
};
|
||||
|
||||
const char* daNpc_Uri_c::mCutNameList[7] = {
|
||||
DUSK_GAME_DATA const char* daNpc_Uri_c::mCutNameList[7] = {
|
||||
"",
|
||||
"CONVERSATION",
|
||||
"START_CARRY_TUTORIAL",
|
||||
@@ -200,7 +200,7 @@ const char* daNpc_Uri_c::mCutNameList[7] = {
|
||||
"MEETING_AGAIN",
|
||||
};
|
||||
|
||||
daNpc_Uri_c::cutFunc DUSK_CONST daNpc_Uri_c::mCutList[7] = {
|
||||
DUSK_GAME_DATA daNpc_Uri_c::cutFunc DUSK_CONST daNpc_Uri_c::mCutList[7] = {
|
||||
NULL,
|
||||
&daNpc_Uri_c::cutConversation,
|
||||
&daNpc_Uri_c::cutStartCarryTutorial,
|
||||
|
||||
Reference in New Issue
Block a user