maug
Quick and dirty C mini-augmentation library.
Loading...
Searching...
No Matches
Global Flags

Flags that may be present on RETROFLAT_STATE::retroflat_flags. More...

Collaboration diagram for Global Flags:

Macros

#define RETROFLAT_FLAGS_RUNNING   0x01
 Flag indicating that retroflat_loop() should continue executing.
 
#define RETROFLAT_FLAGS_UNLOCK_FPS   0x02
 Flag indicating FPS should not be capped.
 
#define RETROFLAT_FLAGS_KEY_REPEAT   0x04
 Flag indicating keyboard repeat is enabled.
 
#define RETROFLAT_FLAGS_SCREENSAVER   0x08
 Flag indicating the current application is running as a screensaver.
 
#define RETROFLAT_FLAGS_SCALE2X   0x10
 Only supported on some platforms: Attempt to scale screen by 2X.
 
#define RETROFLAT_FLAGS_WAIT_FOR_FPS   0x20
 Do not execute any more inter-frame loops until next frame.
 

Detailed Description

Flags that may be present on RETROFLAT_STATE::retroflat_flags.

Macro Definition Documentation

◆ RETROFLAT_FLAGS_KEY_REPEAT

#define RETROFLAT_FLAGS_KEY_REPEAT   0x04

Flag indicating keyboard repeat is enabled.

Warning
This flag should only be set inside retroflat!

◆ RETROFLAT_FLAGS_RUNNING

#define RETROFLAT_FLAGS_RUNNING   0x01

Flag indicating that retroflat_loop() should continue executing.

Warning
This flag is not used on all platforms! It should only be removed using retroflat_quit().

◆ RETROFLAT_FLAGS_SCREENSAVER

#define RETROFLAT_FLAGS_SCREENSAVER   0x08

Flag indicating the current application is running as a screensaver.

Warning
This flag should only be set inside retroflat!

◆ RETROFLAT_FLAGS_UNLOCK_FPS

#define RETROFLAT_FLAGS_UNLOCK_FPS   0x02

Flag indicating FPS should not be capped.

Warning
This flag should only be set inside retroflat!