mirror of
https://github.com/halpz/re3.git
synced 2025-06-27 03:06:17 +00:00
implemented splashes; fixed zones
This commit is contained in:
@ -37,7 +37,7 @@ CCredits::PrintCreditSpace(float space, uint32 &line)
|
||||
}
|
||||
|
||||
void
|
||||
CCredits::PrintCreditText(float scaleX, float scaleY, wchar_t *text, uint32 &lineoffset, float scrolloffset)
|
||||
CCredits::PrintCreditText(float scaleX, float scaleY, wchar *text, uint32 &lineoffset, float scrolloffset)
|
||||
{
|
||||
float start = SCREENH + 50.0f;
|
||||
float y = lineoffset + start - scrolloffset;
|
||||
|
@ -11,5 +11,5 @@ public:
|
||||
static bool AreCreditsDone(void) { return bCreditsGoing; }
|
||||
static void Render(void);
|
||||
static void PrintCreditSpace(float space, uint32 &line);
|
||||
static void PrintCreditText(float scaleX, float scaleY, wchar_t *text, uint32 &lineoffset, float scrolloffset);
|
||||
static void PrintCreditText(float scaleX, float scaleY, wchar *text, uint32 &lineoffset, float scrolloffset);
|
||||
};
|
||||
|
@ -78,7 +78,7 @@ CSprite2d::Delete(void)
|
||||
}
|
||||
|
||||
void
|
||||
CSprite2d::SetTexture(char *name)
|
||||
CSprite2d::SetTexture(const char *name)
|
||||
{
|
||||
Delete();
|
||||
if(name)
|
||||
@ -86,7 +86,7 @@ CSprite2d::SetTexture(char *name)
|
||||
}
|
||||
|
||||
void
|
||||
CSprite2d::SetTexture(char *name, char *mask)
|
||||
CSprite2d::SetTexture(const char *name, const char *mask)
|
||||
{
|
||||
Delete();
|
||||
if(name)
|
||||
@ -468,8 +468,8 @@ STARTPATCHES
|
||||
|
||||
InjectHook(0x51EA00, &CSprite2d::Delete, PATCH_JUMP);
|
||||
InjectHook(0x51F950, &CSprite2d::SetRenderState, PATCH_JUMP);
|
||||
InjectHook(0x51EA40, (void (CSprite2d::*)(char*))&CSprite2d::SetTexture, PATCH_JUMP);
|
||||
InjectHook(0x51EA70, (void (CSprite2d::*)(char*,char*))&CSprite2d::SetTexture, PATCH_JUMP);
|
||||
InjectHook(0x51EA40, (void (CSprite2d::*)(const char*))&CSprite2d::SetTexture, PATCH_JUMP);
|
||||
InjectHook(0x51EA70, (void (CSprite2d::*)(const char*,const char*))&CSprite2d::SetTexture, PATCH_JUMP);
|
||||
InjectHook(0x51EAA0, &CSprite2d::SetAddressing, PATCH_JUMP);
|
||||
|
||||
InjectHook(0x51EE90, (void (*)(const CRect&, C4, uint32))CSprite2d::SetVertices, PATCH_JUMP);
|
||||
|
@ -23,8 +23,8 @@ public:
|
||||
~CSprite2d(void) { Delete(); };
|
||||
void Delete(void);
|
||||
void SetRenderState(void);
|
||||
void SetTexture(char *name);
|
||||
void SetTexture(char *name, char *mask);
|
||||
void SetTexture(const char *name);
|
||||
void SetTexture(const char *name, const char *mask);
|
||||
void SetAddressing(RwTextureAddressMode addr);
|
||||
void Draw(float x, float y, float w, float h, const CRGBA &col);
|
||||
void Draw(const CRect &rect, const CRGBA &col);
|
||||
|
Reference in New Issue
Block a user