mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-26 08:15:44 +00:00
Fixed credits not working
This commit is contained in:
parent
80b85a417c
commit
6d61f678e2
2 changed files with 6 additions and 1 deletions
|
@ -493,6 +493,11 @@ CCredits::Render(void)
|
||||||
bCreditsGoing = false;
|
bCreditsGoing = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CCredits::AreCreditsDone(void)
|
||||||
|
{
|
||||||
|
return !bCreditsGoing;
|
||||||
|
}
|
||||||
|
|
||||||
STARTPATCHES
|
STARTPATCHES
|
||||||
InjectHook(0x4FE7A0, CCredits::Init, PATCH_JUMP);
|
InjectHook(0x4FE7A0, CCredits::Init, PATCH_JUMP);
|
||||||
InjectHook(0x4FE760, CCredits::Start, PATCH_JUMP);
|
InjectHook(0x4FE760, CCredits::Start, PATCH_JUMP);
|
||||||
|
|
|
@ -8,7 +8,7 @@ public:
|
||||||
static void Init(void);
|
static void Init(void);
|
||||||
static void Start(void);
|
static void Start(void);
|
||||||
static void Stop(void);
|
static void Stop(void);
|
||||||
static bool AreCreditsDone(void) { return bCreditsGoing; }
|
static bool AreCreditsDone(void);
|
||||||
static void Render(void);
|
static void Render(void);
|
||||||
static void PrintCreditSpace(float space, uint32 &line);
|
static void PrintCreditSpace(float space, uint32 &line);
|
||||||
static void PrintCreditText(float scaleX, float scaleY, wchar *text, uint32 &lineoffset, float scrolloffset);
|
static void PrintCreditText(float scaleX, float scaleY, wchar *text, uint32 &lineoffset, float scrolloffset);
|
||||||
|
|
Loading…
Reference in a new issue