- HAM 5: Bugfixes

o Fixed a few positions for the sector inventory in widescreen resolution
o TODO: The file "Map Screen Interface Map Inventory.cpp" needs to be adjusted (The "xResOffset" needs to be added to the x-positions of the images) for widescreen resolutions

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5187 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2012-04-11 11:21:04 +00:00
parent af8c9bc391
commit 864d9acb27
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -4767,13 +4767,13 @@ UINT32 MapScreenHandle(void)
// HEADROCK HAM 5: New pathing arrows may replace the above eventually, but for now a separate variable will do.
VObjectDesc.fCreateFlags=VOBJECT_CREATE_FROMFILE;
if (iResolution == 0)
if (iResolution >= _640x480 && iResolution < _800x600)
FilenameForBPP("INTERFACE\\map_pathing_arrows_640.sti", VObjectDesc.ImageFile);
else if (iResolution == 1)
else if (iResolution < _1024x768)
FilenameForBPP("INTERFACE\\map_pathing_arrows_800.sti", VObjectDesc.ImageFile);
else if (iResolution == 2)
else
FilenameForBPP("INTERFACE\\map_pathing_arrows_1024.sti", VObjectDesc.ImageFile);
CHECKF(AddVideoObject(&VObjectDesc, &guiMapPathingArrows));
VObjectDesc.fCreateFlags=VOBJECT_CREATE_FROMFILE;