Wip: Adding main.c, added several needed headers

This commit is contained in:
2026-07-31 20:20:06 -05:00
committed by Timothy O'Barr
parent b05669a395
commit ffc89ca6d5
16 changed files with 520 additions and 5630 deletions
+7
View File
@@ -0,0 +1,7 @@
#ifndef CLOTH_SIMULATOR_H
#define CLOTH_SIMULATOR_H
int CsMngInit();
int CsMngInitialize();
#endif // CLOTH_SIMULATOR_H
+11
View File
@@ -0,0 +1,11 @@
#ifndef DRAW_H
#define DRAW_H
void DrawClearImage();
void DrawInit();
void DrawSetClearColor(int * col);
#endif // DRAW_H
+7
View File
@@ -0,0 +1,7 @@
#ifndef FADE_H
#define FADE_H
void InitFadeControl();
#endif // FADE_H
+8
View File
@@ -0,0 +1,8 @@
#ifndef FILE_H
#define FILE_H
void InitFileRead();
void InitFileSystem();
#endif // FILE_H
+7
View File
@@ -0,0 +1,7 @@
#ifndef FONT_H
#define FONT_H
void FontInit();
#endif // FONT_H
+10
View File
@@ -0,0 +1,10 @@
#ifndef GAME_H
#define GAME_H
int GameLoop();
void InitGameData();
void InitGameDataAfterLoad();
#endif // GAME_H
+10
View File
@@ -0,0 +1,10 @@
#ifndef LOAD_H
#define LOAD_H
void FreeLoadingTexture();
void FreeMiniGameData();
void FreePrevGameLoop();
void FreePrevTitleLoop();
#endif // LOAD_H
+300 -13
View File
@@ -1,27 +1,314 @@
#include "Main.h"
#include "ClothSimulator.h"
#include "Draw.h"
#include "Fade.h"
#include "File.h"
#include "Font.h"
#include "Game.h"
#include "Load.h"
#include "Scene.h"
#include "Script.h"
#include "TexEffect.h"
#include "Title.h"
#include "common.h"
#include "ee/eekernel.h"
#include "typedefs.h"
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Main", SetGoToEndingFade);
void SetGoToEndingFade(void) {
SetFadeMng(1, (sceVu0IVECTOR){0}, 30, NULL, SetGoToEndingFlag, 0, 0);
SND_RemoveSound();
}
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Main", CheckGoToEndingFlag);
int CheckGoToEndingFlag(void) { return GoToEndingFlag; }
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Main", SetGoToEndingFlag);
void SetGoToEndingFlag(void) { GoToEndingFlag = 1; }
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Main", SetGoToTitleFade);
void SetGoToTitleFade(void) {
SetFadeMng(10, (sceVu0IVECTOR){0}, 30, NULL, SetGoToTitleFlag, 0, 0);
GameSt.Pause = 0;
SND_RemoveSound();
}
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Main", CheckGoToTitleFlag);
int CheckGoToTitleFlag(void) { return GoToTitleFlag; }
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Main", SetGoToTitleFlag);
void SetGoToTitleFlag(void) { GoToTitleFlag = 1; }
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Main", SetKeyConfig);
void SetKeyConfig(unsigned char Type /* r2 */) { GameSt.KeyConfType = Type; }
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Main", InitGameSt);
static void InitGameSt(signed int argc /* r18 */, char **argv /* r17 */) {
int i;
sceCdCLOCK rtc;
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Main", SifLoadModule);
memset(&GameSt, 0, sizeof(GameSt));
GameSt.DepthTest = 0;
GameSt.ShadowTest = 1;
GameSt.AmbRate = 1.0f;
GameSt.GameLevel = 1;
GameSt.LastLanguage = 1;
GameSt.VoiceLanguage = 1;
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Main", ClearTime);
SetPadVibFlag(1);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Main", GetTime);
for (i = 0; i < argc; i++) {
if (strcmp(argv[i], "xxxxxxxx") == 0) {
SetPadVibFlag(0);
}
}
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Main", Timer0Handler);
GameSt.KeyConfType = 0;
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Main", main);
sceCdReadClock(&rtc);
srand(rtc.second);
}
void SifLoadModule(void) {
char acStack_80[128];
char acStack_100[128];
char acStack_180[128];
char acStack_200[128];
char acStack_280[128];
char acStack_300[128];
char acStack_380[128];
char acStack_400[128];
char acStack_480[128];
char acStack_500[128];
char acStack_580[128];
char acStack_600[128];
char acStack_680[128];
char acStack_700[128];
memset(acStack_80, 0, 0x80);
sprintf(acStack_80, "%s%s", GetRootPath(), "iop\\sio2man.irx;1");
StringCorrectPath4Disc(acStack_80, 1);
if (sceSifLoadModule(acStack_80, 0, "") < 0) {
exit(0);
}
memset(acStack_100, 0, 0x80);
sprintf(acStack_100, "%s%s", GetRootPath(), "iop\\padman.irx;1");
StringCorrectPath4Disc(acStack_100, 1);
if (sceSifLoadModule(acStack_100, 0, "") < 0) {
exit(0);
}
memset(acStack_180, 0, 0x80);
sprintf(acStack_180, "%s%s", GetRootPath(), "iop\\libsd.irx;1");
StringCorrectPath4Disc(acStack_180, 1);
if (sceSifLoadModule(acStack_180, 0, "") < 0) {
exit(0);
}
memset(acStack_200, 0, 0x80);
sprintf(acStack_200, "%s%s", GetRootPath(), "iop\\sdrdrv.irx;1");
StringCorrectPath4Disc(acStack_200, 1);
if (sceSifLoadModule(acStack_200, 0, "") < 0) {
exit(0);
}
memset(acStack_280, 0, 0x80);
sprintf(acStack_280, "%s%s", GetRootPath(), "iop\\cdvdstm.irx;1");
StringCorrectPath4Disc(acStack_280, 1);
if (sceSifLoadModule(acStack_280, 0, "") < 0) {
exit(0);
}
memset(acStack_300, 0, 0x80);
sprintf(acStack_300, "%s%s", GetRootPath(), "iop\\modmidi.irx;1");
StringCorrectPath4Disc(acStack_300, 1);
if (sceSifLoadModule(acStack_300, 0, "") < 0) {
exit(0);
}
memset(acStack_380, 0, 0x80);
sprintf(acStack_380, "%s%s", GetRootPath(), "iop\\modhsyn.irx;1");
StringCorrectPath4Disc(acStack_380, 1);
if (sceSifLoadModule(acStack_380, 0, "") < 0) {
exit(0);
}
memset(acStack_400, 0, 0x80);
sprintf(acStack_400, "%s%s", GetRootPath(), "iop\\mcman.irx;1");
StringCorrectPath4Disc(acStack_400, 1);
if (sceSifLoadModule(acStack_400, 0, "") < 0) {
exit(0);
}
memset(acStack_480, 0, 0x80);
sprintf(acStack_480, "%s%s", GetRootPath(), "iop\\mcserv.irx;1");
StringCorrectPath4Disc(acStack_480, 1);
if (sceSifLoadModule(acStack_480, 0, "") < 0) {
exit(0);
}
memset(acStack_500, 0, 0x80);
sprintf(acStack_500, "%s%s", GetRootPath(), "iop\\modsein.irx;1");
StringCorrectPath4Disc(acStack_500, 1);
if (sceSifLoadModule(acStack_500, 0, "") < 0) {
exit(0);
}
memset(acStack_580, 0, 0x80);
sprintf(acStack_580, "%s%s", GetRootPath(), "iop\\fssd.irx;1");
StringCorrectPath4Disc(acStack_580, 1);
if (sceSifLoadModule(acStack_580, 0, "") < 0) {
exit(0);
}
memset(acStack_600, 0, 0x80);
sprintf(acStack_600, "%s%s", GetRootPath(), "iop\\fssdsyth.irx;1");
StringCorrectPath4Disc(acStack_600, 1);
if (sceSifLoadModule(acStack_600, 0, "") < 0) {
exit(0);
}
memset(acStack_680, 0, 0x80);
sprintf(acStack_680, "%s%s", GetRootPath(), "iop\\fsmfstrm.irx;1");
StringCorrectPath4Disc(acStack_680, 1);
if (sceSifLoadModule(acStack_680, 0, "") < 0) {
exit(0);
}
memset(acStack_700, 0, 0x80);
sprintf(acStack_700, "%s%s", GetRootPath(), "iop\\fssdivag.irx;1");
StringCorrectPath4Disc(acStack_700, 1);
if (sceSifLoadModule(acStack_700, 0, "") < 0) {
exit(0);
}
}
void ClearTime(void) {
*REG_RCNT0_COUNT = 0;
gTime = 0;
return;
}
volatile int GetTime(void) {
return *(volatile int *)REG_RCNT0_COUNT + gTime * 60000;
}
void Timer0Handler(void) {
gTime += 1;
*REG_RCNT0_MODE |= 0x400;
}
static inline void WaitIop(void) {
char sp50[0x80];
memset(&sp50, 0, sizeof(sp50));
sprintf(sp50, "xxxxxxxx1", "xxxxxxxx2");
StringCorrectPath4Disc(sp50, 1);
while (!sceSifRebootIop(sp50))
;
while (!sceSifSyncIop())
;
}
int main(int argc /* r19 */, char **argv /* r18 */) {
/* anonymous block */ //{
// Range: 0x13AB40 -> 0x13AF58
int LoopRet; // r17, s1
int FirstRead; // r16, s0
unsigned char MovieId; // r2, v0
int i; // v0
//}
LoopRet = 0;
MemInit();
InitFileSystem();
WaitIop();
InitFileSystem();
ChangeThreadPriority(GetThreadId(), 0x40);
ReadRootPath(argv[0]);
sceDmaReset(1);
sceVpu0Reset();
sceDevVif0Reset();
DrawInit();
Vu1Init();
Vu1SendProg();
DrawClearImage();
SifLoadModule();
InitGameSt(argc, argv);
InitPad();
InitFileRead();
InitMemoryCard();
ResetMdlPacketMem();
InitTexMng();
SetAllBindInfo();
SND_Init();
InitMultiStm();
InitVagStm();
SND_InitLoad();
*REG_RCNT0_MODE = 0x1c1;
*REG_RCNT0_TARGET = 60000;
AddIntcHandler(9, Timer0Handler, -1);
EnableIntc(9);
gTime = 0;
InitPcrtc();
InitMdlMng();
{
char spD0[0x10] = {};
DrawSetClearColor((int *)spD0);
}
FontInit(0);
SFX_Initialize();
TmpMenuMng_Init(&g_TmpMenuMng);
InitFadeControl();
InitSceneLoad();
KnMsgMng_Initialize();
KnMsgMng_Init();
InitSavePointID();
KnMenuMng_Initialize();
KnMenuMng_Init(0xC);
Menu_TD_Init();
CsMngInitialize();
CsMngInit();
SND_SecLoadCommon();
while (1) {
GameSt.SystemCounter = 0;
GoToTitleFlag = 0;
GoToEndingFlag = 0;
LoadTitleTexture();
SetInitLoadScene(argc, argv);
ClearEventFlag();
ItemMng_Clear();
LoadPrevTitleLoop(argc, argv);
TitleLoop(LoopRet == 3);
FreeTitleTexture();
do {
if (GameSt.GameMode == 4) {
InitGameData();
LoadMiniGameData(argc, argv);
LoadLoadingTexture();
LoadingLoop();
FreeLoadingTexture();
InitMiniGameData();
ResetMiniGameData();
MiniGameLoop();
FreeMiniGameData();
LoopRet = 1;
break;
}
FirstRead = 0;
InitGameData();
GameSt.sceneNo = lpSceneLoad->scene_id;
LoadPrevGameLoop(argc, argv);
while (1) {
InitBloodStain();
LoadLoadingTexture();
LoadSceneData(GameSt.sceneNo, GameSt.PlayerId);
LoadingLoop();
FreeLoadingTexture();
if (!FirstRead) {
FirstRead = TRUE;
InitGameDataAfterLoad();
}
ResetGameData();
LoopRet = GameLoop();
FreeSceneData();
ResetMdlPacketMem();
if (LoopRet != 0) {
break;
}
MovieId = GetLoadMovieId();
if (MovieId != 0) {
SetKuonMovie((MovieId & 0xFF) - 1);
ClearLoadMovieId();
}
}
FreePrevGameLoop();
} while (LoopRet != 1 && LoopRet != 3);
if (LoopRet == 3) {
SetKuonMovie(GameSt.PlayerId + 1);
}
FreePrevTitleLoop();
}
}
+17
View File
@@ -0,0 +1,17 @@
#ifndef MAIN_H
#define MAIN_H
void SetGoToEndingFade();
int CheckGoToEndingFlag();
void SetGoToEndingFlag();
void SetGoToTitleFade();
int CheckGoToTitleFlag();
void SetGoToTitleFlag();
void SetKeyConfig(unsigned char Type);
void SifLoadModule();
void ClearTime();
volatile int GetTime();
void Timer0Handler();
int main(int argc, char **argv);
#endif // MAIN_H
+2 -2
View File
@@ -1,8 +1,8 @@
#include "common.h"
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Scene", ClearLoadMovieId);
void ClearLoadMovieId() {}
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Scene", GetLoadMovieId);
unsigned char GetLoadMovieId() { return 0; }
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Scene", SetLoadMovieId);
+9
View File
@@ -0,0 +1,9 @@
#ifndef SCENE_H
#define SCENE_H
unsigned char GetLoadMovieId();
void ClearLoadMovieId();
void FreeSceneData();
#endif // SCENE_H
+109 -55
View File
@@ -4,7 +4,7 @@ INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", GetScriptMdlMng);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SetScriptDirect);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", ClearEventFlag);
void ClearEventFlag() {}
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SetEventFlag8);
@@ -22,75 +22,100 @@ INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_CheckMenuTD);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetPadVib);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_CheckItemMenuOpen);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_CheckItemMenuOpen);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_GetGameLevel);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetMenuTD);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetScriptHeartBeat);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetScriptHeartBeat);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetMovieLoad);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetFrontEndDraw);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetFrontEndDraw);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetSceneLoad);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetSugorokuFlag);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetSugorokuFlag);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_GetRiddleResult);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_GetRiddleResult);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetRiddle);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetEventMassSpiderEnd);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetEventMassSpiderEnd);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetEventMassSpiderStartCorpse);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetEventMassSpiderStartCorpse);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetEventMassSpiderStartRoom);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetEventMassSpiderStartRoom);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_StopSe);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetSe3DUseModel);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetSe3DUseModel);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetSe3DUsePoint);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetSe3DUsePoint);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetSe2D);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetObjPointLightOff_Ex);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetObjPointLightOff_Ex);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetObjPointLightOn_Ex);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetObjPointLightOn_Ex);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_FreeObjFollowMode);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_FreeObjFollowMode);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetObjFollowMe);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetObjFollowMe);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetCaveFaceStart);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetCaveFaceStart);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetObjTalkEnd);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetObjTalkStart2);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetObjTalkStart2);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetObjTalkStart);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetObjTalkStart);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_CheckObjMovePath);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_CheckObjMovePath);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_FreeObjMovePath);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_FreeObjMovePath);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetObjMovePathDirect);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetObjMovePathDirect);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetObjPointLightOff);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetObjPointLightOff);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetObjPointLightOn);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetObjPointLightOn);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_FadeOutSceneLoad);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_FadeOutSceneLoad);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_FadeOutInScreen);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_FadeOutInScreen);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_FadeOutScreen);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_FadeInScreen);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_CheckPlayVagStm);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_CheckPlayVagStm);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_FadeOutVagStm);
@@ -106,7 +131,8 @@ INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_GenerateBugs);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_GenerateSfx);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetMapSfxErase);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetMapSfxErase);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_AddItemNum);
@@ -116,47 +142,62 @@ INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_GetItem2);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_GetItem);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_CheckPeepManual);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_CheckPeepManual);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_StopPeepCamera);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_StopPeepCamera);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetPeepCamera);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetScreenDizzy);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetScreenDizzy);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetScreenSway);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetPhantomBlast);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetPhantomBlast);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetLoadCamReserve);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetLoadCamReserve);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetCamPathDirect);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetCamPathDirect);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetCamModeFreeTarget);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetCamModeFreeTarget);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_GetNowCamIndex);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_GetNowCamIndex);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetCamModeFree);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetCamModeFree);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetCamModePath);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetCamModePath);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_CheckDrama);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_StartDrama);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SendMessageVoiceWithMdlAnim);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SendMessageVoiceWithMdlAnim);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SendMessageVoice);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SendMessageVoice);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SendMessageWithMdlAnim);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SendMessageWithMdlAnim);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_GetMessageSelectId);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_GetMessageSelectId);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_CheckMessage);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SendMessage);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetMyNormalMode);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetMyNormalMode);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetMyMukade);
@@ -166,7 +207,8 @@ INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetMyCrouch);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetMyEquip);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_AddMySpiritNum);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_AddMySpiritNum);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetMyPlace);
@@ -174,27 +216,33 @@ INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_MyControlOn);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_MyControlOff);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_CheckEneRebirth);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_CheckEneRebirth);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetEneRebirthTimes);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetEneRebirthTimes);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetEneHpRate);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetEneDisableSearch);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetEneDisableSearch);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetEneStop);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetEneOutLogic);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetEneOutLogic);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetEneInLogic);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_EneAppearOutLogic);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_EneAppearOutLogic);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_CheckEneDead);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_EneAppear);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_StabilizeModelCloth);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_StabilizeModelCloth);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_CheckModelUse);
@@ -206,19 +254,25 @@ INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetModelFade);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetModelErase);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetModelHitOff);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetModelHitOff);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_DeleteModel);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetAnimLastFrame);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_SetAnimLastFrame);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_ChangeAnimation);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_ChangeAnimation);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_CheckEnterRectangleByCtrlId);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_CheckEnterRectangleByCtrlId);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_CheckEnterRectangle);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_CheckEnterRectangle);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_CheckEnterCircle);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script",
SCR_CheckEnterCircle);
INCLUDE_ASM("config/asm/nonmatchings/cs4/Seimei/src/Script", SCR_SetGoToEnding);
+9
View File
@@ -0,0 +1,9 @@
#ifndef SCRIPT_H
#define SCRIPT_H
void ClearEventFlag();
#endif // SCRIPT_H
+7
View File
@@ -0,0 +1,7 @@
#ifndef TEXEFFECT_H
#define TEXEFFECT_H
void InitBloodStain();
#endif // TEXEFFECT_H
+7
View File
@@ -0,0 +1,7 @@
#ifndef TITLE_H
#define TITLE_H
void FreeTitleTexture();
#endif // TITLE_H