OptionsScorched.h File Reference

#include <common/OptionsGame.h>

Go to the source code of this file.

Classes

class  OptionsScorched

Defines

#define __INCLUDE_OptionsScorchedh_INCLUDE__
#define GENERIC_GETTER(x)
#define OPTIONSTRING_GETTER(x)   const char *get##x() GENERIC_GETTER(x)
#define OPTIONINT_GETTER(x)   int get##x() GENERIC_GETTER(x)
#define OPTIONENUM_GETTER(x)   OptionEntryEnum get##x() GENERIC_GETTER(x)
#define OPTIONSTRINGENUM_GETTER(x)   const char *get##x() GENERIC_GETTER(x)
#define OPTIONBOOL_GETTER(x)   bool get##x() GENERIC_GETTER(x)
#define OPTIONFLOAT_GETTER(x)   bool get##x() GENERIC_GETTER(x)
#define OPTIONVECTOR_GETTER(x)   bool get##x() GENERIC_GETTER(x)


Define Documentation

#define __INCLUDE_OptionsScorchedh_INCLUDE__

Definition at line 22 of file OptionsScorched.h.

#define GENERIC_GETTER ( x   ) 

Value:

{ \
        if (levelOptions_.get##x##Entry().isChangedValue()) return levelOptions_.get##x(); \
        else return mainOptions_.get##x(); \
        };

Definition at line 26 of file OptionsScorched.h.

#define OPTIONBOOL_GETTER ( x   )     bool get##x() GENERIC_GETTER(x)

Definition at line 36 of file OptionsScorched.h.

#define OPTIONENUM_GETTER ( x   )     OptionEntryEnum get##x() GENERIC_GETTER(x)

Definition at line 34 of file OptionsScorched.h.

#define OPTIONFLOAT_GETTER ( x   )     bool get##x() GENERIC_GETTER(x)

Definition at line 37 of file OptionsScorched.h.

#define OPTIONINT_GETTER ( x   )     int get##x() GENERIC_GETTER(x)

Definition at line 33 of file OptionsScorched.h.

#define OPTIONSTRING_GETTER ( x   )     const char *get##x() GENERIC_GETTER(x)

Definition at line 32 of file OptionsScorched.h.

#define OPTIONSTRINGENUM_GETTER ( x   )     const char *get##x() GENERIC_GETTER(x)

Definition at line 35 of file OptionsScorched.h.

#define OPTIONVECTOR_GETTER ( x   )     bool get##x() GENERIC_GETTER(x)

Definition at line 38 of file OptionsScorched.h.


Generated on Mon Feb 16 15:14:57 2009 for Scorched3D by  doxygen 1.5.3