libcrtxy option constants and functions
[The CRT X-Y library (libcrtxy)]


Data Structures

struct  XY_options
 XY_options - libcrtxy structure containing runtime options (rendering level, screen size, etc. More...

Defines

#define XY_INIT_LIB_CONFIG_FILE_GLOBAL   CONFDIR "/libcrtxy.conf"
 Where system-wide (global) config file lives.
#define XY_INIT_LIB_CONFIG_FILE_LOCAL   ".libcrtxyrc"
 Where user's (local) config file lives.

Enumerations

enum  XY_opt_fullscreen {
  XY_OPT_WINDOWED,
  XY_OPT_FULLSCREEN_REQUEST,
  XY_OPT_FULLSCREEN_REQUIRED
}
 XY_opt_fullscreen - libcrtxy display settings for options.fullscreen. More...
enum  XY_opt_alpha {
  XY_OPT_ALPHA_BLEND,
  XY_OPT_ALPHA_FAKE,
  XY_OPT_ALPHA_OFF
}
 XY_opt_alpha - libcrtxy alpha-blending settings for options.alpha. More...
enum  XY_opt_scaling {
  XY_OPT_SCALE_BEST,
  XY_OPT_SCALE_FAST
}
 XY_opt_scaling - libcrtxy bitmap scaling quality settings for options.scaling. More...

Define Documentation

#define XY_INIT_LIB_CONFIG_FILE_GLOBAL   CONFDIR "/libcrtxy.conf"

Where system-wide (global) config file lives.

Todo:
Make config locations configurable at build (FIXME)

#define XY_INIT_LIB_CONFIG_FILE_LOCAL   ".libcrtxyrc"

Where user's (local) config file lives.

Todo:
Make config locations configurable at build (FIXME)


Enumeration Type Documentation

XY_opt_fullscreen - libcrtxy display settings for options.fullscreen.

Enumerator:
XY_OPT_WINDOWED  Display in a window.
XY_OPT_FULLSCREEN_REQUEST  Fullscreen; fall back to window.
XY_OPT_FULLSCREEN_REQUIRED  Fullscreen; abort if we cannot.

XY_opt_alpha - libcrtxy alpha-blending settings for options.alpha.

Enumerator:
XY_OPT_ALPHA_BLEND  Combine current pixel with new pixel.
XY_OPT_ALPHA_FAKE  Combine background color with new pixel.
XY_OPT_ALPHA_OFF  Just draw new pixel.

XY_opt_scaling - libcrtxy bitmap scaling quality settings for options.scaling.

Enumerator:
XY_OPT_SCALE_BEST  Blend to smooth any stretching.
XY_OPT_SCALE_FAST  Stretch pixels with no blending.


Generated on Tue Sep 2 23:45:36 2008 for libcrtxy by  doxygen 1.5.5