Another TODO
This commit is contained in:
parent
0df697d5ee
commit
d1dc861bc3
1 changed files with 3 additions and 2 deletions
|
@ -247,13 +247,14 @@ BOOL StartCreditScript(void)
|
||||||
|
|
||||||
// Read data
|
// Read data
|
||||||
fread(Credit.pData, 1, Credit.size, fp);
|
fread(Credit.pData, 1, Credit.size, fp);
|
||||||
EncryptionBinaryData2((unsigned char*)Credit.pData, Credit.size);
|
|
||||||
|
|
||||||
#ifdef FIX_MAJOR_BUGS
|
#ifdef FIX_MAJOR_BUGS
|
||||||
// The original game forgot to close the file
|
// The original game forgot to close the file
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
EncryptionBinaryData2((unsigned char*)Credit.pData, Credit.size);
|
||||||
|
|
||||||
// Reset credits
|
// Reset credits
|
||||||
Credit.offset = 0;
|
Credit.offset = 0;
|
||||||
Credit.wait = 0;
|
Credit.wait = 0;
|
||||||
|
@ -263,7 +264,7 @@ BOOL StartCreditScript(void)
|
||||||
|
|
||||||
// Modify cliprect
|
// Modify cliprect
|
||||||
grcGame.left = WINDOW_WIDTH / 2;
|
grcGame.left = WINDOW_WIDTH / 2;
|
||||||
#if WINDOW_WIDTH != 320 || WINDOW_HEIGHT != 240
|
#if WINDOW_WIDTH != 320 || WINDOW_HEIGHT != 240 // TODO - Move to CSE2EX
|
||||||
// These three are non-vanilla: for wide/tallscreen support
|
// These three are non-vanilla: for wide/tallscreen support
|
||||||
grcGame.right = ((WINDOW_WIDTH - 320) / 2) + 320;
|
grcGame.right = ((WINDOW_WIDTH - 320) / 2) + 320;
|
||||||
grcGame.top = (WINDOW_HEIGHT - 240) / 2;
|
grcGame.top = (WINDOW_HEIGHT - 240) / 2;
|
||||||
|
|
Loading…
Add table
Reference in a new issue