fixed PRINTSCREEN key for WINDOWS
This commit is contained in:
parent
a58dc03bab
commit
184a7e133a
|
@ -216,11 +216,7 @@ extern char * key_text[256];
|
||||||
#define KEY_LEFT 0xCB
|
#define KEY_LEFT 0xCB
|
||||||
#define KEY_RIGHT 0xCD
|
#define KEY_RIGHT 0xCD
|
||||||
|
|
||||||
#ifdef _WIN32 // ZICO - make KEY_ALTED + KEY_P act as PRINTSCREEN in windows
|
|
||||||
#define KEY_PRINT_SCREEN KEY_ALTED + KEY_P
|
|
||||||
#else
|
|
||||||
#define KEY_PRINT_SCREEN 0xB7
|
#define KEY_PRINT_SCREEN 0xB7
|
||||||
#endif
|
|
||||||
|
|
||||||
#define KEY_PAUSE 0x61
|
#define KEY_PAUSE 0x61
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ D2X-Rebirth Changelog
|
||||||
20070122
|
20070122
|
||||||
--------
|
--------
|
||||||
SConstruct, arch/linux/ipx_udp.c, arch/ogl/gr.c, arch/ogl/ogl.c, arch/win32/init.c, arch/win32/ipx_udp.c, include/pstypes.h: cfile/cfile.c: special WINDOWS fixes and cleanups, corrected automated UDP broadcast
|
SConstruct, arch/linux/ipx_udp.c, arch/ogl/gr.c, arch/ogl/ogl.c, arch/win32/init.c, arch/win32/ipx_udp.c, include/pstypes.h: cfile/cfile.c: special WINDOWS fixes and cleanups, corrected automated UDP broadcast
|
||||||
|
arch/include/key.h, main/game.c: fixed PRINTSCREEN key for WINDOWS
|
||||||
|
|
||||||
20070120
|
20070120
|
||||||
--------
|
--------
|
||||||
|
|
|
@ -1531,11 +1531,7 @@ void show_help()
|
||||||
#endif
|
#endif
|
||||||
m[nitems].type = NM_TYPE_TEXT; m[nitems++].text = "ALT-F9/F10\t change screen size"; // ZICO - we changed keys - old: TXT_HELP_MINUSPLUS;
|
m[nitems].type = NM_TYPE_TEXT; m[nitems++].text = "ALT-F9/F10\t change screen size"; // ZICO - we changed keys - old: TXT_HELP_MINUSPLUS;
|
||||||
#ifndef MACINTOSH
|
#ifndef MACINTOSH
|
||||||
#ifdef _WIN32
|
|
||||||
m[nitems].type = NM_TYPE_TEXT; m[nitems++].text = "ALT+P\t save screen shot"; // ZICO - make show ALT+P for windows
|
|
||||||
#else
|
|
||||||
m[nitems].type = NM_TYPE_TEXT; m[nitems++].text = TXT_HELP_PRTSCN;
|
m[nitems].type = NM_TYPE_TEXT; m[nitems++].text = TXT_HELP_PRTSCN;
|
||||||
#endif
|
|
||||||
#else
|
#else
|
||||||
m[nitems].type = NM_TYPE_TEXT; m[nitems++].text = "printscrn (F13)\t save screen shot";
|
m[nitems].type = NM_TYPE_TEXT; m[nitems++].text = "printscrn (F13)\t save screen shot";
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue