make sure Menu_pcx_name gets loaded correctly if resolution is lowres
This commit is contained in:
parent
0e65fa0cac
commit
121602b660
|
@ -1,5 +1,9 @@
|
|||
D2X-Rebirth Changelog
|
||||
|
||||
20070205
|
||||
--------
|
||||
main/menu.h: make sure Menu_pcx_name gets loaded correctly if resolution is lowres
|
||||
|
||||
20070202
|
||||
--------
|
||||
main/gauges.c: corrected Y alignment of hud_show_homing_warning
|
||||
|
|
|
@ -28,17 +28,10 @@ extern void d2x_options_menu();
|
|||
|
||||
extern int MenuHires;
|
||||
|
||||
#ifdef RELEASE // read only from hog file
|
||||
#define MENU_PCX_MAC_SHARE ("\x01menub.pcx")
|
||||
#define MENU_PCX_SHAREWARE ("\x01menud.pcx")
|
||||
#define MENU_PCX_OEM (MenuHires?"\x01menuob.pcx":"\x01menuo.pcx")
|
||||
#define MENU_PCX_FULL (MenuHires?"\x01menub.pcx":"\x01menu.pcx")
|
||||
#else
|
||||
#define MENU_PCX_MAC_SHARE ("menub.pcx")
|
||||
#define MENU_PCX_SHAREWARE ("menud.pcx")
|
||||
#define MENU_PCX_OEM (MenuHires?"menuob.pcx":"menuo.pcx")
|
||||
#define MENU_PCX_FULL (MenuHires?"menub.pcx":"menu.pcx")
|
||||
#endif
|
||||
|
||||
// name of background bitmap
|
||||
#define Menu_pcx_name (cfexist(MENU_PCX_FULL)?MENU_PCX_FULL:(cfexist(MENU_PCX_OEM)?MENU_PCX_OEM:cfexist(MENU_PCX_SHAREWARE)?MENU_PCX_SHAREWARE:MENU_PCX_MAC_SHARE))
|
||||
|
|
Loading…
Reference in a new issue