// File : Titlescr.c // Author : John Wojcik ( QuietBloke ) // Created : October 2000 // Desc : Displays the main title screen. // // History : // Date Author Description // -------- --------------- ---------------------------------------- // 12/11/00 QuietBloke Title sceen was only checking input from player two // Sorry guys. This is now fixed to check EITHER player. #include #include #include "fw.h" #include "pad.h" #include "Dogfight.h" #include "TitleScr.h" void ShowTitleScreen ( void ) { int DogFightCostume; int DogFightActor[8]; int padd; int DogFightSpeed[8]; int DogFightYPos[8]; int DogFightXPos[8]; int finished = 0; int currentLetter; fwActorReset (); fwAnimateReset (); DogFightCostume = fwCostumeAdd ( TEXTURE_DOGFIGHT, 2, 4 ); DogFightActor[0] = fwActorAdd ( DogFightCostume ); fwActorSetScale ( DogFightActor[0], 4096<<1 ); fwActorSetOnStage ( DogFightActor[0], ON_STAGE ); DogFightActor[1] = fwActorAdd ( DogFightCostume+1 ); fwActorSetScale ( DogFightActor[1], 4096<<1 ); fwActorSetOnStage ( DogFightActor[1], ON_STAGE ); DogFightActor[2] = fwActorAdd ( DogFightCostume+2 ); fwActorSetScale ( DogFightActor[2], 4096<<1 ); fwActorSetOnStage ( DogFightActor[2], ON_STAGE ); DogFightActor[3] = fwActorAdd ( DogFightCostume+3 ); fwActorSetScale ( DogFightActor[3], 4096<<1 ); fwActorSetOnStage ( DogFightActor[3], ON_STAGE ); DogFightActor[4] = fwActorAdd ( DogFightCostume+4 ); fwActorSetScale ( DogFightActor[4], 4096<<1 ); fwActorSetOnStage ( DogFightActor[4], ON_STAGE ); DogFightActor[5] = fwActorAdd ( DogFightCostume+2 ); fwActorSetScale ( DogFightActor[5], 4096<<1 ); fwActorSetOnStage ( DogFightActor[5], ON_STAGE ); DogFightActor[6] = fwActorAdd ( DogFightCostume+5 ); fwActorSetScale ( DogFightActor[6], 4096<<1 ); fwActorSetOnStage ( DogFightActor[6], ON_STAGE ); DogFightActor[7] = fwActorAdd ( DogFightCostume+6 ); fwActorSetScale ( DogFightActor[7], 4096<<1 ); fwActorSetOnStage ( DogFightActor[7], ON_STAGE ); // Set up the initial position of the letters DogFightSpeed[0] = 0; DogFightYPos[0] = -50<= (250<