ConfigFile Struct Reference

#include <main.h>


Data Fields

char Language [10]
char LanguageCD [10]
char FlagDisplayText [3]
char FlagKeepVoice [3]
int WaveVolume
int VoiceVolume
int MusicVolume
int CDVolume
int LineVolume
int MasterVolume
int Version
int LanguageId
int LanguageCDId
int FullScreen
int NoSound
int UseCD
int UseHQSnd
int UseMP3
int FLAwide
int UseFLAPCX
int UseAVI
int CrossFade
int Quit
int Fps
int Debug
int UseAutoSaving
int ShadowMode


Detailed Description

Configuration file structure

Used in the engine to load/use certain parts of code according with this settings. Check lba.cfg file for valid values for each settings.
All the settings with (*) means they are new and only exist in this engine.

Definition at line 55 of file main.h.


Field Documentation

Language name

Definition at line 58 of file main.h.

Referenced by init_configurations().

Language CD name

Definition at line 60 of file main.h.

Referenced by init_configurations().

Enable/Disable game dialogues

Definition at line 62 of file main.h.

Referenced by init_configurations().

Save voice files on hard disk

Definition at line 64 of file main.h.

Referenced by init_configurations().

Wave volume

Definition at line 66 of file main.h.

Referenced by draw_button_gfx(), init_configurations(), play_fla_sample(), and process_menu().

Chacters voices volume

Definition at line 68 of file main.h.

Referenced by init_configurations().

Music volume

Definition at line 70 of file main.h.

Referenced by draw_button_gfx(), init_configurations(), play_midi_music(), play_track_music_mp3(), and process_menu().

CD volume

Definition at line 72 of file main.h.

Referenced by draw_button_gfx(), init_configurations(), and process_menu().

Line-In volume

Definition at line 74 of file main.h.

Referenced by draw_button_gfx(), init_configurations(), and process_menu().

Main volume controller

Definition at line 76 of file main.h.

Referenced by draw_button_gfx(), init_configurations(), and process_menu().

*Game version

Definition at line 78 of file main.h.

Referenced by init_configurations(), and init_engine().

Language Identification according with Language setting.

Definition at line 80 of file main.h.

Referenced by init_dialogue_bank().

Language Identification according with Language setting.

Definition at line 82 of file main.h.

Referenced by show_game_options().

To allow fullscreen or window mode.

Definition at line 84 of file main.h.

Referenced by init_configurations(), and toggle_fullscreen().

To run the game without sound

Definition at line 86 of file main.h.

Referenced by init_cdrom(), init_configurations(), play_fla_sample(), play_midi_music(), play_track_music(), stop_midi_music(), stop_sample(), and stop_track_music().

If you want to use the LBA CD or not

Definition at line 88 of file main.h.

Referenced by init_cdrom(), init_configurations(), play_track_music(), stop_track_music(), and stop_track_music_cd().

If you want to use high quality sounds

Definition at line 90 of file main.h.

Referenced by init_configurations(), play_midi_music(), play_track_music(), sdl_initialize(), and stop_track_music().

If you want to use MP3 or OGG files. UseHQSnd must be set

Definition at line 92 of file main.h.

Referenced by init_configurations(), and play_track_music_mp3().

To keep FLA movies aspect ratio or to strech it to fullscreen like in the original game

Definition at line 95 of file main.h.

Referenced by init_configurations(), and scale_fla_2x().

To use FLA PCX images instead of FLA movies

Definition at line 97 of file main.h.

Referenced by init_configurations().

Use command format movies like AVIs instead of FLA movies

Definition at line 99 of file main.h.

Referenced by init_configurations(), play_midi_music(), and play_movie().

Use cross fade effect while changing images, or be as the original

Definition at line 101 of file main.h.

Referenced by fade_in(), fade_out(), init_configurations(), and play_fla_movie().

Flag to quit the game

Definition at line 103 of file main.h.

Referenced by main_menu(), and show_giveup_menu().

Flag used to keep the game frames per second

Definition at line 105 of file main.h.

Referenced by game_engine_loop(), giveup_menu(), init_configurations(), and main_menu().

Use original autosaving system or save when you want

Definition at line 109 of file main.h.

Referenced by giveup_menu(), and init_configurations().

Shadow mode type

Definition at line 111 of file main.h.

Referenced by process_actors_drawlist().


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

Generated on Thu Sep 18 14:14:49 2008 for Prequengine by  doxygen 1.5.5