Wing Commander II
Reconstructed Win32 source (1996)
Toggle main menu visibility
Loading...
Searching...
No Matches
getmode.c
Go to the documentation of this file.
1
/*
2
* Queries the graphics mode.
3
*
4
* Retail object 0x45B7E0-0x45B80F (link order; see docs/ORDER.md).
5
*/
6
#include "
game.h
"
7
8
/* Function start: 0x45B7E0 */
9
short
QueryCurrentGraphicsMode
(
void
)
10
{
11
if
((
short
)
g_nSpacePaletteFadeMode
!= -1)
12
return
(
short
)
g_nSpacePaletteFadeMode
;
13
return
0x13;
14
}
QueryCurrentGraphicsMode
short QueryCurrentGraphicsMode(void)
Definition
getmode.c:9
game.h
Shared Win32 declarations, types and library interfaces.
g_nSpacePaletteFadeMode
short g_nSpacePaletteFadeMode
Definition
palalloc.c:8
src
getmode.c
Generated by
1.18.0