DRAGONS: Make MSVC happier with minigames

This commit is contained in:
Eugene Sandulenko 2020-05-10 13:10:24 +02:00
parent b07bce9c33
commit ad39319544
2 changed files with 10 additions and 10 deletions

View File

@ -56,7 +56,7 @@ void Minigame1::run() {
uint16 auStack1008 [200];
DragonINI *originalFlickerIniID;
uint16 local_25c;
uint16 local_25a;
uint16 local_25a = 0;
uint16 catFieldE_scaleMaybe;
uint16 hitCounter;
uint16 local_254;
@ -66,12 +66,12 @@ void Minigame1::run() {
uint16 local_242;
uint16 local_240;
uint16 local_23e;
short local_23c;
short local_23c = 0;
short local_23a;
short local_238;
short gameState;
uint16 local_234;
short local_232;
uint16 local_234 = 0;
short local_232 = 0;
uint16 local_22e;
uint16 local_22c;
Actor *targetActorIdTbl [5];

View File

@ -52,8 +52,8 @@ void Minigame5::run() {
DragonINI*local_78;
//uint16 local_76;
uint16 local_74;
uint16 local_72;
uint16 bombScale;
uint16 local_72 = 0;
uint16 bombScale = DRAGONS_ENGINE_SPRITE_100_PERCENT_SCALE;
Actor *bombActor;
Actor *flickerActor;
Actor *pusherActor;
@ -61,10 +61,10 @@ void Minigame5::run() {
uint16 local_66;
Actor *wheelsActor;
uint16 local_62;
uint16 local_60;
uint16 local_5e;
short local_5c;
short local_5a;
uint16 local_60 = 0;
uint16 local_5e = 0;
short local_5c = 0;
short local_5a = 0;
uint16 currentState;
short local_50;
Actor *local_4e;