mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
- extended item info on tool tip
- new strings for item info in English/German/Russian - German translation updated - screen shots are not overwritten anymore - bug fix: climbing on roof with 'j' caused CTD - reinforcements in Omerta allowed on insane difficulty git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@125 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1841,7 +1841,12 @@ void RefreshScreen(void *DummyVariable)
|
||||
// Ok now that temp surface has contents of backbuffer, copy temp surface to disk
|
||||
//
|
||||
|
||||
sprintf((char *) FileName, "SCREEN%03d.TGA", guiPrintFrameBufferIndex++);
|
||||
do
|
||||
{
|
||||
sprintf((char *) FileName, "SCREEN%03d.TGA", guiPrintFrameBufferIndex++);
|
||||
}
|
||||
while( (_access( (const char *)FileName, 0 )) != -1 );
|
||||
|
||||
if ((OutputFile = fopen((const char *) FileName, "wb")) != NULL)
|
||||
{
|
||||
fprintf(OutputFile, "%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c", 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, LOBYTE(SCREEN_WIDTH), HIBYTE(SCREEN_WIDTH), LOBYTE(SCREEN_HEIGHT), HIBYTE(SCREEN_HEIGHT), 0x10, 0);
|
||||
|
||||
Reference in New Issue
Block a user