TWINE: converted to char array

This commit is contained in:
Martin Gerhardy 2020-10-21 21:34:32 +02:00 committed by Eugene Sandulenko
parent 5a80f0f0ac
commit cc716125f5
2 changed files with 3 additions and 3 deletions

View File

@ -165,7 +165,7 @@ void MenuOptions::drawSelectableCharacters() {
}
// 0001F18C
void MenuOptions::drawPlayerName(int32 centerx, int32 top, int8 * /*playerName*/, int32 type) {
void MenuOptions::drawPlayerName(int32 centerx, int32 top, const char * /*playerName*/, int32 type) {
/*
int v4; // ebp@0
int v6; // [sp+0h] [bp-14h]@0

View File

@ -34,7 +34,7 @@ private:
int32 enterPlayerName(int32 textIdx);
void drawSelectableCharacters();
void drawPlayerName(int32 centerx, int32 top, int8 *playerName, int32 type);
void drawPlayerName(int32 centerx, int32 top, const char *playerName, int32 type);
void drawSelectableCharacter(int32 x, int32 y, int32 arg);
void showCredits();
void newGame();
@ -44,7 +44,7 @@ public:
int32 canShowCredits = 0;
int8 playerName[256] = "";
char playerName[256] = "";
int8 enterPlayerNameVar1 = 0;
int32 enterPlayerNameVar2 = 0;