mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-17 17:00:29 +02:00
Skirmish AI and start locations now work correctly. Enabled debug keys.
This commit is contained in:
+26
-26
@@ -497,32 +497,32 @@ KeyNumType GadgetClass::Input(void)
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef CHEAT_KEYS
|
||||
if (key == KN_K && !Debug_Map && (Debug_Flag || Debug_Playtest)) {
|
||||
/*
|
||||
** time to create a screen shot using the PCX code (if it works)
|
||||
*/
|
||||
if (!Debug_MotionCapture) {
|
||||
GraphicBufferClass temp_page( SeenBuff.Get_Width(),
|
||||
SeenBuff.Get_Height(),
|
||||
NULL,
|
||||
SeenBuff.Get_Width() * SeenBuff.Get_Height());
|
||||
CDFileClass file;
|
||||
char filename[30];
|
||||
|
||||
// Hide_Mouse();
|
||||
SeenBuff.Blit(temp_page);
|
||||
// Show_Mouse();
|
||||
for (int lp = 0; lp < 99; lp ++) {
|
||||
sprintf(filename, "scrsht%02d.pcx", lp);
|
||||
file.Set_Name(filename);
|
||||
if (!file.Is_Available()) break;
|
||||
}
|
||||
|
||||
file.Cache(200000);
|
||||
Write_PCX_File(file, temp_page, & GamePalette);
|
||||
Sound_Effect(VOC_BEEP);
|
||||
}
|
||||
}
|
||||
//if (key == KN_K && !Debug_Map && (Debug_Flag || Debug_Playtest)) {
|
||||
// /*
|
||||
// ** time to create a screen shot using the PCX code (if it works)
|
||||
// */
|
||||
// if (!Debug_MotionCapture) {
|
||||
// GraphicBufferClass temp_page( SeenBuff.Get_Width(),
|
||||
// SeenBuff.Get_Height(),
|
||||
// NULL,
|
||||
// SeenBuff.Get_Width() * SeenBuff.Get_Height());
|
||||
// CDFileClass file;
|
||||
// char filename[30];
|
||||
//
|
||||
// // Hide_Mouse();
|
||||
// SeenBuff.Blit(temp_page);
|
||||
// // Show_Mouse();
|
||||
// for (int lp = 0; lp < 99; lp ++) {
|
||||
// sprintf(filename, "scrsht%02d.pcx", lp);
|
||||
// file.Set_Name(filename);
|
||||
// if (!file.Is_Available()) break;
|
||||
// }
|
||||
//
|
||||
// file.Cache(200000);
|
||||
// Write_PCX_File(file, temp_page, & GamePalette);
|
||||
// Sound_Effect(VOC_BEEP);
|
||||
// }
|
||||
//}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user