mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
- updated most of the editor screens to the high resolution. Editor should now work with high resolution.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@600 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// WANNE: EDITOR: done
|
||||
#ifdef PRECOMPILEDHEADERS
|
||||
#include "Editor All.h"
|
||||
#else
|
||||
@@ -34,11 +35,11 @@ void CreateMessageBox( UINT16 *wzString )
|
||||
INT16 sStartX, sStartY;
|
||||
|
||||
sPixLen = StringPixLength ( wzString, (UINT16)gpLargeFontType1 ) + 10;
|
||||
if ( sPixLen > 600 )
|
||||
sPixLen = 600;
|
||||
if ( sPixLen > iScreenWidthOffset + 600 )
|
||||
sPixLen = iScreenWidthOffset + 600;
|
||||
|
||||
sStartX = (640 - sPixLen) / 2;
|
||||
sStartY = (480 - 96) / 2;
|
||||
sStartX = (SCREEN_WIDTH - sPixLen) / 2;
|
||||
sStartY = ((SCREEN_HEIGHT - 96) / 2);
|
||||
|
||||
gfMessageBoxResult = FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user