Main Page | Alphabetical List | Data Structures | File List | Globals

read_config.c File Reference

functions (sources) to read mugen.cfg and system.def More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "allegro.h"
#include "read_config.h"
#include "global.h"
#include "2xsai.h"
#include "config.h"
#include "macros.h"
#include "logger.h"

Functions

int convert_mugen_driver (char *a_driver)
int read_arguments (int argc, char *argv[], Game_variables variables)
 function to apply args
int read_config (Game_variables variables, Player_variables *player_array)
 function to read config file function that read config file (kof91.cfg or mugen.cfg) and the store it in a config_struct
int apply_config (config a_config)
 function that apply the config read in Mugen's config file
int set_default_config (Game_variables variables)
int set_default_keys (Player_variables *player_array, int player)
int save_config (Game_variables variables, Player_variables *player_array)
char * remove_quotes (char *a_string)
 function to remove quotes from options in menu screen
int music_type (char *music_filename)
 function to convert a music filename extension to an integer support by the engine
int read_system (Game_variables variables)
 main function that read system.def


Detailed Description

functions (sources) to read mugen.cfg and system.def


Function Documentation

int apply_config config  a_config  ) 
 

function that apply the config read in Mugen's config file

Use the config_struct as defined in the global_add.h

int read_system Game_variables  variables  ) 
 

main function that read system.def

Select screen infos


Generated on Thu Jan 13 14:13:05 2005 for KOF91 by  doxygen 1.3.9.1