Table, Component v2. Strings RC.

This commit is contained in:
oz committed 2020-11-04 16:22:52 +03:00
1 parent 5e94b5b513
commit 4157e79c83
9 files changed
+567 -19

No files matched your search

+17 -1
View File
@@ -3,4 +3,20 @@
int pinball::quickFlag = 0;
int pinball::render_background_bitmap = 0;
int pinball::render_background_bitmap = 0;
TTextBox* pinball::InfoTextBox;
TTextBox* pinball::MissTextBox;
char pinball::getRcBuffer[6 * 256];
int pinball::rc_string_slot = 0;
HINSTANCE pinball::hinst;
char* pinball::get_rc_string(int uID, int a2)
{
char* result = &getRcBuffer[256 * rc_string_slot];
if (!LoadStringA(hinst, uID, &getRcBuffer[256 * rc_string_slot], 255))
*result = 0;
if (++rc_string_slot >= 6)
rc_string_slot = 0;
return result;
}