mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
- 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user