Fix Game match
This commit is contained in:
committed by
Timothy O'Barr
parent
02274c4e83
commit
074772af83
+1
-1
@@ -44,7 +44,7 @@ TOOLS_DIR = ROOT / "tools"
|
|||||||
CROSS = "mips-ps2-decompals-"
|
CROSS = "mips-ps2-decompals-"
|
||||||
|
|
||||||
COMPILER = "mwcps2-3.0b52-030722"
|
COMPILER = "mwcps2-3.0b52-030722"
|
||||||
COMPILER_FLAGS = "-O3,p -sym on -str readonly -cwd source"
|
COMPILER_FLAGS = "-O4,p -sym on -str readonly -cwd source -inline deferred"
|
||||||
|
|
||||||
PLATFORM = sys.platform == "darwin" and "macos" or "x86_64"
|
PLATFORM = sys.platform == "darwin" and "macos" or "x86_64"
|
||||||
WIBO = f"{TOOLS_DIR}/wibo-{PLATFORM}"
|
WIBO = f"{TOOLS_DIR}/wibo-{PLATFORM}"
|
||||||
|
|||||||
@@ -2,5 +2,6 @@
|
|||||||
#define FSFONT_H
|
#define FSFONT_H
|
||||||
|
|
||||||
signed int FsFontSetTexBuf(signed int id /* r2 */, void * pTexFileBuf /* r2 */);
|
signed int FsFontSetTexBuf(signed int id /* r2 */, void * pTexFileBuf /* r2 */);
|
||||||
|
signed int FsFontSetScale(float x /* r29 */, float y /* r29 */);
|
||||||
|
|
||||||
#endif // FSFONT_H
|
#endif // FSFONT_H
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
#ifndef FRONTEND_CARD_H
|
||||||
|
#define FRONTEND_CARD_H
|
||||||
|
|
||||||
|
void FECard_Action(float dt_ /* r20 */);
|
||||||
|
|
||||||
|
#endif // FRONTEND_CARD_H
|
||||||
@@ -1,4 +1,8 @@
|
|||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
|
#include "lib/FsFont.h"
|
||||||
|
#include "sfx/Sfx.h"
|
||||||
|
#include "sfx/SfxPostEffect.h"
|
||||||
|
#include "FrontEnd/FrontEnd_Card.h"
|
||||||
#include "Camera.h"
|
#include "Camera.h"
|
||||||
#include "Drama.h"
|
#include "Drama.h"
|
||||||
#include "DrawOT.h"
|
#include "DrawOT.h"
|
||||||
@@ -347,7 +351,7 @@ int GameLoop() {
|
|||||||
|
|
||||||
void *GetGameTexList() { return lpGameTexList; }
|
void *GetGameTexList() { return lpGameTexList; }
|
||||||
|
|
||||||
COLOR g_col = {127, 127, 127, 127};
|
// COLOR g_col = {127, 127, 127, 127};
|
||||||
|
|
||||||
static void DrawGamePause(void) {
|
static void DrawGamePause(void) {
|
||||||
u_short *lpMsg;
|
u_short *lpMsg;
|
||||||
@@ -370,7 +374,7 @@ static void DrawGamePause(void) {
|
|||||||
lpMdlPacketMem = MakeSpritePacketUseSpr((LPSP *)&SpData, lpMdlPacketMem);
|
lpMdlPacketMem = MakeSpritePacketUseSpr((LPSP *)&SpData, lpMdlPacketMem);
|
||||||
|
|
||||||
FontDrawBegin(0);
|
FontDrawBegin(0);
|
||||||
SetFontColor(g_col);
|
SetFontColor((COLOR){127, 127, 127, 127});
|
||||||
FsFontSetScale(1.5f, 1.5f);
|
FsFontSetScale(1.5f, 1.5f);
|
||||||
|
|
||||||
if ((lpMsg = (u_short *)KnMsgMng_GetMapNameMsg()) != NULL) {
|
if ((lpMsg = (u_short *)KnMsgMng_GetMapNameMsg()) != NULL) {
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
#ifndef SFX_H
|
||||||
|
#define SFX_H
|
||||||
|
|
||||||
|
void SFX_Action(float sec_ /* r20 */);
|
||||||
|
|
||||||
|
#endif // SFX_H
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
#ifndef SFXPOSTEFFECT_H
|
||||||
|
#define SFXPOSTEFFECT_H
|
||||||
|
|
||||||
|
signed int SfxPostEffect_Action(float sec_ /* r29 */);
|
||||||
|
|
||||||
|
#endif // SFXPOSTEFFECT_H
|
||||||
Reference in New Issue
Block a user