finals fets. Credits fets. Personatge secret fet

This commit is contained in:
2016-02-23 13:56:22 +01:00
parent 2d617c017f
commit 2a553b64e6
8 changed files with 79 additions and 23 deletions

View File

@@ -10,10 +10,7 @@ ModuleGame::ModuleGame( Info* info ) {
this->info = info;
//this->info->num_piramide = 6;
//this->info->diners = 200;
this->gfx = JD8_LoadSurface( "frames.gif" );
this->gfx = JD8_LoadSurface( this->info->pepe_activat ? "frames2.gif" : "frames.gif" );
JG_SetUpdateTicks(10);
this->sam = new Prota( this->gfx, this->info );
@@ -58,7 +55,7 @@ int ModuleGame::Go() {
JS_PlayMusic(-1);
}
JD8_FadeToPal( JD8_LoadPalette( "frames.gif" ) );
JD8_FadeToPal( JD8_LoadPalette(this->info->pepe_activat ? "frames2.gif" : "frames.gif") );
while (this->final == 0 && !JG_Quitting()) {