CRM32Pro SDK  v5.22
List of all members | Public Attributes
CRM32Pro_Main::sConfig Struct Reference

Main config struct.
You can manually fill it or using CRM32Pro.LoadConfig() loading an external XML. More...

Detailed Description

Main config struct.
You can manually fill it or using CRM32Pro.LoadConfig() loading an external XML.

Public Attributes

int AudioBuffer
 Mixing buffer size. By default and a common and good value is 4096.
 
Uint8 AudioEnable
 0 to disable or 1 to enable sound system. By default is 0.
 
int AudioFormat
 AUDIO_S8 to 8bits or AUDIO_S16 to 16bits sound resolution. By default is AUDIO_S8.
 
int AudioFreq
 Frequency in Hz (11025,22050,44100). By default is 11025.
 
int AudioMode
 1 for mono, 2 for stereo, 4 for surround and 6 for surround with center and lfe.
 
Uint8 AudioMusicVol
 Music volume. By default is 128.
 
Uint8 AudioSoundVol
 Sound volume. By default is 128.
 
char bMTFriendly
 MultiTasking Friendly flag.When it is enabled, it will give execution flow to OS scheduler for at less the given ms each Render Frame. By default is disabled.
 
SDL_Surface * Icon
 Pointer to surface to assign it as icon. By default is NULL.
 
char * Title
 Title or name of your application. It is usually used as window title. By default is "CRM32Pro SDK Application".
 
Uint8 VideoAccel
 See definition of ACCEL_xx. By default is ACCEL_SOFTWARE.
 
Uint8 VideoBPP
 Bits Per Pixel, you can choose 8,16 or 32. By default is 0 to auto-choose the best setting.
 
Uint16 VideoHeight
 Video screen height. By default is 480.
 
Uint8 VideoRenderer
 See definition of RENDER_xx. By default is RENDER_DEFAULT.
 
Uint16 VideoWidth
 Video screen width. By default is 640.
 
Uint8 VideoWindow
 0 for fullscreen. 1 for window mode. 2 for window mode without frame. By default is 1.
 

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