mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Widescreen UI patch (by Asdow).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9216 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
extern void InitializeTacticalStatusAtBattleStart();
|
||||
extern BOOLEAN gfDelayAutoResolveStart;
|
||||
extern BOOLEAN gfTransitionMapscreenToAutoResolve;
|
||||
extern UILayout_Map UI_MAP;
|
||||
|
||||
#ifdef JA2BETAVERSION
|
||||
extern BOOLEAN gfExitViewer;
|
||||
@@ -1052,8 +1053,8 @@ void DoTransitionFromMapscreenToPreBattleInterface()
|
||||
uiStartTime = GetJA2Clock();
|
||||
|
||||
GetScreenXYFromMapXY( gubPBSectorX, gubPBSectorY, &sStartLeft, &sStartTop );
|
||||
sStartLeft += MAP_GRID_X / 2;
|
||||
sStartTop += MAP_GRID_Y / 2;
|
||||
sStartLeft += UI_MAP.GridSize.iX / 2;
|
||||
sStartTop += UI_MAP.GridSize.iY / 2;
|
||||
sEndLeft = 131 + xResOffset;
|
||||
sEndTop = 180 + yResOffset;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user