- 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:
Wanne
2006-10-12 10:26:25 +00:00
parent 02f666c2d8
commit 10817d380e
28 changed files with 773 additions and 696 deletions
+5 -4
View File
@@ -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;