mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
**********************************************************
** Big Maps Projects code (incl. Multiplayer v1.5 ** ********************************************************** - Merged Big Maps Project code from BMP+MP trunk (Revision: 3340) o Complete SVN Revision history: https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP - Before THIS merge, I made a branch of the existing 1.13 source o SVN Branch: https://81.169.133.124/source/ja2/branches/JA2_rev.3336/src - Removed old VS 6.0 and VS 2003 project and solutions files, because compilation is broken long time ago - I will add VS 2010 projects and solution file in the next few days git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3341 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+6
-10
@@ -63,7 +63,6 @@
|
||||
|
||||
#include "VFS/vfs.h"
|
||||
#include "VFS/Tools/Log.h"
|
||||
|
||||
#define _UNICODE
|
||||
// Networking Stuff
|
||||
#ifdef NETWORKED
|
||||
@@ -121,7 +120,7 @@ void DisplayFrameRate( )
|
||||
{
|
||||
static UINT32 uiFPS = 0;
|
||||
static UINT32 uiFrameCount = 0;
|
||||
INT16 sMapPos;
|
||||
INT32 usMapPos;
|
||||
VIDEO_OVERLAY_DESC VideoOverlayDesc;
|
||||
|
||||
// Increment frame count
|
||||
@@ -166,7 +165,7 @@ void DisplayFrameRate( )
|
||||
UpdateVideoOverlay( &VideoOverlayDesc, giCounterPeriodOverlay, FALSE );
|
||||
|
||||
|
||||
if( GetMouseMapPos( &sMapPos) )
|
||||
if( GetMouseMapPos( &usMapPos) )
|
||||
{
|
||||
//gprintfdirty( 0, 315, L"(%d)",sMapPos);
|
||||
//mprintf( 0,315,L"(%d)",sMapPos);
|
||||
@@ -335,7 +334,6 @@ UINT32 ErrorScreenHandle(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// there is no need to create 100 % cpu load in this stage of the game
|
||||
Sleep(50);
|
||||
|
||||
@@ -461,7 +459,7 @@ UINT32 InitScreenHandle(void)
|
||||
fprintf_s (file_pointer , "%S\n" , str );
|
||||
fclose( file_pointer );
|
||||
#else
|
||||
logger << iniErrorMessage << CLog::endl;
|
||||
logger << iniErrorMessage << CLog::ENDL;
|
||||
#endif
|
||||
DisplayWrappedString( 10, y, 560, 2, FONT12ARIAL, FONT_RED, str, FONT_BLACK, TRUE, LEFT_JUSTIFIED );
|
||||
iniErrorMessages.pop();
|
||||
@@ -1084,7 +1082,6 @@ UINT32 EditScreenShutdown()
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
void PrintExceptionList()
|
||||
{
|
||||
UINT8* pDestBuf;
|
||||
@@ -1124,16 +1121,15 @@ void PrintExceptionList()
|
||||
SetFontForeground( FONT_YELLOW );
|
||||
SetFontShadow( 60 ); //60 is near black
|
||||
mprintf( 50, iStartY+(i*iDiffY) , L"File");
|
||||
mprintf( 100, iStartY+(i*iDiffY) , L": %s", it->file.c_wcs().c_str() );
|
||||
mprintf( 100, iStartY+(i*iDiffY) , L": %s", it->file.c_str() );
|
||||
|
||||
mprintf( 50, iStartY+(i*iDiffY)+14, L"Line");
|
||||
mprintf( 100, iStartY+(i*iDiffY)+14, L": %i", it->line );
|
||||
|
||||
mprintf( 50, iStartY+(i*iDiffY)+28, L"Function");
|
||||
mprintf( 100, iStartY+(i*iDiffY)+28, L": %s", it->function.c_wcs().c_str() );
|
||||
mprintf( 100, iStartY+(i*iDiffY)+28, L": %s", it->function.c_str() );
|
||||
|
||||
SetFontForeground( FONT_LTRED );
|
||||
DisplayWrappedString( 60, iStartY+(i*iDiffY) + 44, SCREEN_WIDTH - 100, 2, FONT12ARIAL, FONT_RED, const_cast<wchar_t*>(it->message.c_wcs().c_str()), FONT_BLACK, TRUE, LEFT_JUSTIFIED );
|
||||
DisplayWrappedString( 60, iStartY+(i*iDiffY) + 44, SCREEN_WIDTH - 100, 2, FONT12ARIAL, FONT_RED, const_cast<wchar_t*>(it->message.c_str()), FONT_BLACK, TRUE, LEFT_JUSTIFIED );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user