Skip to content

Commit

Permalink
Fix the bug that Edit control cannot be displayed transparently (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
secsome authored Sep 9, 2022
1 parent 4886007 commit fd477cf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/spawner/load_spawn.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ void __thiscall More_Alliances_Crap(void* house, void *other, bool maybe)

void Init_Random();
void Init_Network();
void InitCommonDialogStuff();
void InitUIColorShifts();
void Game_LoadPCXFiles();
void Load_Sides_Stuff();
void __fastcall GScreenClass__Do_Blit(char a1, void *surface, int32_t a3);
Expand Down Expand Up @@ -327,6 +329,8 @@ signed int Initialize_Spawn()

Load_Sides_Stuff();

InitCommonDialogStuff();
InitUIColorShifts();
Game_LoadPCXFiles();

GameMode = Set_Game_Mode(INIClass__GetInt(&INIClass_SPAWN, "Settings", "GameMode", 1)); // correct
Expand Down
4 changes: 4 additions & 0 deletions src/spawner/load_spawn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ void __thiscall More_Alliances_Crap(void* house, void *other, bool maybe)

void Init_Random();
void Init_Network();
void InitCommonDialogStuff();
void InitUIColorShifts();
void Game_LoadPCXFiles();
void Load_Sides_Stuff();
void __fastcall GScreenClass__Do_Blit(char a1, void *surface, int32_t a3);
Expand Down Expand Up @@ -327,6 +329,8 @@ signed int Initialize_Spawn()

Load_Sides_Stuff();

InitCommonDialogStuff();
InitUIColorShifts();
Game_LoadPCXFiles();

GameMode = Set_Game_Mode(INIClass__GetInt(&INIClass_SPAWN, "Settings", "GameMode", 1)); // correct
Expand Down
2 changes: 2 additions & 0 deletions sym.asm
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ setcglob 0x00A8B23C, GameMode
setcglob 0x008871E0, RulesData

setcglob 0x0061f210, Game_LoadPCXFiles
setcglob 0x00600560, InitCommonDialogStuff
setcglob 0x0061F190, InitUIColorShifts
setcglob 0x0052F620, Parse_Command_Line

;CCHyper 18.06.2015
Expand Down

0 comments on commit fd477cf

Please sign in to comment.