SpaceBubble  v0.98
Macros | Functions | Variables
settings.h File Reference

The file contain the settings prototypes. More...

#include "general.h"

Go to the source code of this file.

Macros

#define MAX_NAME_SIZE   7
 

Functions

void loadSettingFile (char *filename)
 
void saveSettingFile (char *filename)
 

Variables

struct {
   char   name [MAX_NAME_SIZE]
 
   int   musicVolume
 
   int   effectVolume
 
   int   loopMusicTrack
 
settings
 

Detailed Description

The file contain the settings prototypes.

Author
wplaat

Copyright (C) 2008-2010 PlaatSoft

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Macro Definition Documentation

#define MAX_NAME_SIZE   7

Function Documentation

void loadSettingFile ( char *  filename)

Load Settings file

Parameters
filenameThe xml setting data

Load Settings file

Author
wplaat
Parameters
filenameThe xml setting data
void saveSettingFile ( char *  filename)

Save the setting xml file

Parameters
filenameThe setting filename.

Save the setting xml file

Author
wplaat
Parameters
filenameThe setting filename.

Variable Documentation

int effectVolume
int loopMusicTrack
int musicVolume
char name[MAX_NAME_SIZE]
struct { ... } settings