Fixed PRShot feature which was accidentially broken while implementation of OpenGL ES support

This commit is contained in:
zicodxx 2011-02-15 14:44:00 +01:00
parent 7481e1c0fc
commit 05d98af43f
2 changed files with 8 additions and 4 deletions

View file

@ -1,5 +1,9 @@
D1X-Rebirth Changelog
20110215
--------
main/gamecntl.c: Fixed PRShot feature which was accidentially broken while implementation of OpenGL ES support
20110214
--------
d1x.ini, include/args.h, main/ai.c, main/ai.h, main/automap.c, main/cntrlcen.c, main/collide.c, main/config.c, main/config.h, main/fvi.c, main/game.c, main/game.h, main/gamecntl.c, main/gamerend.c, main/gameseq.c, main/gameseq.h, main/gauges.c, main/inferno.c, main/kconfig.c, main/laser.c, main/menu.c, main/multi.c, main/net_ipx.c, main/net_udp.c, main/physics.c, main/player.h, main/render.c, main/state.c, main/titles.c, main/titles.h, misc/args.c: Moved all these unsorted global cheat variables to a handy structure; Simplified reading of the cheats without trying to make it complicated so no one finds them (everyone can get the source); Removed one or two cheats which carry more garbage than they are worth; Added replacement for the bittersweet cheat; Made FPS Counter an option of Graphics menu

View file

@ -424,8 +424,8 @@ int HandleDemoKey(int key)
render_frame(0);
gr_set_curfont(MEDIUM2_FONT);
gr_printf(SWIDTH-FSPACX(92),SHEIGHT-LINE_SPACING,"DXX-Rebirth\n");
save_screen_shot(0);
gr_flip();
save_screen_shot(0);
}
else
{
@ -433,9 +433,9 @@ int HandleDemoKey(int key)
old_state = Newdemo_show_percentage;
Newdemo_show_percentage = 0;
game_render_frame_mono(0);
save_screen_shot(0);
if (GameArg.DbgUseDoubleBuffer)
gr_flip();
save_screen_shot(0);
Newdemo_show_percentage = old_state;
}
break;
@ -515,15 +515,15 @@ int HandleSystemKey(int key)
render_frame(0);
gr_set_curfont(MEDIUM2_FONT);
gr_printf(SWIDTH-FSPACX(92),SHEIGHT-LINE_SPACING,"DXX-Rebirth\n");
save_screen_shot(0);
gr_flip();
save_screen_shot(0);
}
else
{
game_render_frame_mono(0);
save_screen_shot(0);
if(GameArg.DbgUseDoubleBuffer)
gr_flip();
save_screen_shot(0);
}
break;
}