MTek-GDL 0.100.4-muffintrap
Loading...
Searching...
No Matches
mgdl-wii-globals-internal.h
1
8#ifndef _GDL_WII_GLOBALS_INT_H
9#define _GDL_WII_GLOBALS_INT_H
10
11#include "mgdl/wii/mgdl-wii-config.h"
12#include "mgdl/wii/mgdl-wii-types.h"
13
14
15namespace gdl {
16
19
20namespace wii {
21
23 extern void *gp_fifo;
24
26 extern void *FB[2];
27
29 extern void *conFB;
30
32 extern GXRModeObj *conRMode;
34 extern void *UpscaleBuff;
36 extern GXTexObj UpscaleTexObj;
38 extern short ActiveFB;
39
41 extern bool AutoFlush;
43 extern bool TexAllocMode;
44
46 extern bool DoExitSequence;
48 extern float DoExitCount;
50 extern bool ExitType;
51
53 extern bool LowResolutionMode;
55 extern bool ProgressiveMode;
57 extern bool WidescreenMode;
59 extern bool OpenGXMode;
60
62 extern bool ScreenCapIssued;
64 extern char* ScreenCapFileName;
67
69 extern InputPollFunc* PollKeyboardCallback;
70
71 // Sound system variables
72 #if GDL_NO_AUDIO == FALSE
73
75 extern const char *LastMusicFile;
76
78 extern float UserMusicVolume;
79
81 extern float MasterMusicVolume;
82
84 extern float MasterSfxVolume;
85
86 #endif // GDL_NO_AUDIO
87
88}
89
90}
91
92
93#endif // _GDL_WII_GLOBALS_INT_H
ImageCapFunc * ScreenCapFunc
Screen capture function pointer (set by the Image Handling Module)
Definition wii-globals.cpp:54
InputPollFunc * PollKeyboardCallback
Keyboard poll function callback (set by the keyboard portion of the Input Module)
Definition wii-globals.cpp:56
float DoExitCount
Exit sequence counter (for power off/reset).
Definition wii-globals.cpp:46
bool DoExitSequence
Exit sequence flag (for built-in power off/reset handling).
Definition wii-globals.cpp:45
void * gp_fifo
Pointer to GP FIFO buffer where GP commands are stored and sent to the GP.
Definition wii-globals.cpp:26
bool AutoFlush
Automatic texture flush flag (for gdl::Texture::PokePixel()).
Definition wii-globals.cpp:37
bool ProgressiveMode
Progressive scan mode flag.
float UserMusicVolume
User music volume.
Definition wii-globals.cpp:62
float MasterMusicVolume
Master music volume.
Definition wii-globals.cpp:63
short ActiveFB
Active framebuffer page index.
Definition wii-globals.cpp:30
bool OpenGXMode
OpenGX is used flag.
Definition wii-globals.cpp:39
char * ScreenCapFileName
Screen capture file name (set by the Image Handling Module)
Definition wii-globals.cpp:53
bool ScreenCapIssued
Screen capture issue flag (set by the Image Handling Module)
Definition wii-globals.cpp:52
bool LowResolutionMode
Low-resolution mode flag.
Definition wii-globals.cpp:34
const char * LastMusicFile
Pointer to string of last music file played.
Definition wii-globals.cpp:60
void * conFB
Console screen framebuffer.
Definition wii-globals.cpp:29
bool TexAllocMode
Allocation mode for texture and image classes.
Definition wii-globals.cpp:38
void * FB[2]
K1 pointers to the display framebuffers, pixel format is in YUV2 format.
Definition wii-globals.cpp:27
GXTexObj UpscaleTexObj
Texture object for the upscale buffer.
Definition wii-globals.cpp:32
bool ExitType
Exit type (0: Power off, 1: Soft Reset back to Homebrew Channel).
Definition wii-globals.cpp:47
bool WidescreenMode
Widescreen mode flag.
Definition wii-globals.cpp:36
GXRModeObj * conRMode
Console rmode settings.
Definition wii-globals.cpp:28
void * UpscaleBuff
Pointer for upscale texture buffer for upscaling 240p to a 480p framebuffer (since progressive scan o...
Definition wii-globals.cpp:31
float MasterSfxVolume
Master sounds volume.
Definition wii-globals.cpp:64
Library namespace.
Definition wii-globals.cpp:12
void(* ErrorCallback)(const char *message)
For the error callback.
Definition mgdl-wii-types.h:32
gdl::ErrorCallback ErrorCB
Error messaging callback pointer.
Definition wii-globals.cpp:21
bool() ImageCapFunc(const char *fileName)
For the internal screen image capture function pointer.
Definition mgdl-wii-types.h:35