maug
Quick and dirty C mini-augmentation library.
Loading...
Searching...
No Matches
RETROFLAT_ARGS Struct Reference

Struct containing configuration values for a RetroFlat program. More...

#include <retroflt.h>

Data Fields

uint8_t flags
char * title
 Title to set for the main program Window if applicable on the target platform.
char * assets_path
 Relative path under which bitmap assets are stored.
char * config_path
 Relative path of local config file (if not using registry).
int screen_w
 Desired screen or window width in pixels.
int screen_h
 Desired screen or window height in pixels.
int screen_x
 Desired window X position in pixels.
int screen_y
 Desired window Y position in pixels.
int screen_scale
int screen_colors
 Desired colors (2, 4, or 16, for now). \TODO Implement command-line argument for this. Currently it's just used so platforms without a CLI (i.e. consoles) can force their native colors.
int joystick_id
struct RETROFLAT_PLATFORM_ARGS platform
struct RETROFLAT_SOUND_ARGS sound

(Note that these are not member symbols.)

#define RETROSND_ARGS_FLAG_LIST_DEVS   0x01

Detailed Description

Struct containing configuration values for a RetroFlat program.

Field Documentation

◆ screen_h

int RETROFLAT_ARGS::screen_h

Desired screen or window height in pixels.

This is also used by retroflat_init_platform() on consoles to force a native resolution.

◆ screen_w

int RETROFLAT_ARGS::screen_w

Desired screen or window width in pixels.

This is also used by retroflat_init_platform() on consoles to force a native resolution.


The documentation for this struct was generated from the following file: