|
MTek-GDL 0.100.4-muffintrap
|
Global variables of screen settings. More...

Namespaces | |
| namespace | gdl::wii |
| Wii specific functions, structs and global variables. | |
Variables | |
| short | gdl::ScreenXres |
| short | gdl::ScreenYres |
| short | gdl::ScreenCenterX |
| short | gdl::ScreenCenterY |
| bool | gdl::ConsoleActive =false |
| float | gdl::Delta =1.f |
| Delta time between gdl::PrepDisplay() and gdl::Display() calls. | |
Global variables of screen settings.
Depending on the video mode and resolution, the screen resolution values may not tell the actual resolution that the console is running on. One such example is running in widescreen mode where gdl::ScreenXres would read 854 when the actual resolution is 640 due to the Wii not capable of handling a wide framebuffer and instead, widescreen is achieved through anamorphic means through the projection matrix.
In 4:3 or low-res mode, gdl::ScreenXres reads the true horizontal resolution.
To get the exact framebuffer resolution regardless of video mode, use the gdl::wii::rmode object.
| bool gdl::ConsoleActive =false |
Console active flag (true if screen is in text console mode).
| float gdl::Delta =1.f |
Delta time between gdl::PrepDisplay() and gdl::Display() calls.
Meant mostly for time based momentum control to achieve proper frameskipping. The value is a rough estimation of the time it took between a gdl::PrepDisplay() and gdl::Display() call plus the amount of time it took for the GX to finish graphics processing. Usually roughly 1.0f when the program is running at 60FPS (NTSC) and roughly 1.2f when the program is running at 50FPS (PAL).
| short gdl::ScreenCenterX |
Screen X center position.
| short gdl::ScreenCenterY |
Screen Y center position.
| short gdl::ScreenXres |
Screen X resolution.
| short gdl::ScreenYres |
Screen Y resolution.