LandscapeDefn.cpp File Reference

#include <landscapedef/LandscapeDefn.h>
#include <landscapedef/LandscapeDefinitions.h>
#include <common/Defines.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>

Go to the source code of this file.

Functions

static
LandscapeDefnType
fetchTankStartDefnType (const char *type)
static
LandscapeDefnType
fetchHeightMapDefnType (const char *type)
static
LandscapeDefnType
fetchRoofMapDefnType (const char *type)
static bool parseMinMax (XMLNode *parent, const char *name, fixed &min, fixed &max)
static bool parseMinMaxInt (XMLNode *parent, const char *name, int &min, int &max)


Function Documentation

static LandscapeDefnType* fetchHeightMapDefnType ( const char *  type  )  [static]

Definition at line 35 of file LandscapeDefn.cpp.

References S3D::dialogMessage(), S3D::formatStringBuffer(), and LangStringUtil::strcmp().

Referenced by LandscapeDefn::readXML(), and LandscapeDefnRoofCavern::readXML().

static LandscapeDefnType* fetchRoofMapDefnType ( const char *  type  )  [static]

Definition at line 43 of file LandscapeDefn.cpp.

References S3D::dialogMessage(), S3D::formatStringBuffer(), and LangStringUtil::strcmp().

Referenced by LandscapeDefn::readXML().

static LandscapeDefnType* fetchTankStartDefnType ( const char *  type  )  [static]

Definition at line 28 of file LandscapeDefn.cpp.

References S3D::dialogMessage(), S3D::formatStringBuffer(), and LangStringUtil::strcmp().

Referenced by LandscapeDefn::readXML().

static bool parseMinMax ( XMLNode parent,
const char *  name,
fixed min,
fixed max 
) [static]

Definition at line 51 of file LandscapeDefn.cpp.

References XMLNode::failChildren(), and XMLNode::getNamedChild().

Referenced by LandscapeDefnHeightMapGenerate::readXML(), and LandscapeDefnStartHeight::readXML().

static bool parseMinMaxInt ( XMLNode parent,
const char *  name,
int &  min,
int &  max 
) [static]

Definition at line 61 of file LandscapeDefn.cpp.

References XMLNode::failChildren(), and XMLNode::getNamedChild().

Referenced by LandscapeDefnHeightMapGenerate::readXML().


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