Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

prop_helpers.h

Go to the documentation of this file.
00001 // ----------------------------------------------------------------------- //
00002 //
00003 // MODULE  : prop_helpers.h
00004 //
00005 // PURPOSE : Prop Helper Functions - Declaration
00006 //
00007 // CREATED : 04/07/01
00008 //
00009 // (c) 2001 LithTech, Inc.  All Rights Reserved
00010 //
00011 // ----------------------------------------------------------------------- //
00012 
00013 // Engine includes
00014 #include <ltbasetypes.h>
00015 
00016 LTRESULT
00017 g_ReadPropString(const char*pPropName, char *pOut, const uint32 nStrLen,
00018                  const char *pDefault);
00019 
00020 LTRESULT
00021 g_ReadPropVector(const char*pPropName, LTVector3f &vOut,
00022                  const LTVector3f &vDefault);
00023 
00024 LTRESULT
00025 g_ReadPropColor(const char*pPropName, LTVector3f &vOut,
00026                  const LTVector3f &vDefault);
00027 
00028 LTRESULT
00029 g_ReadPropRotation(const char*pPropName, LTOrientation &rOut,
00030                  const LTOrientation &rDefault);
00031 
00032 LTRESULT
00033 g_ReadPropFloat(const char*pPropName, float &fOut,
00034                  const float fDefault);
00035 
00036 LTRESULT
00037 g_ReadPropInt32(const char*pPropName, int32 &iOut,
00038                  const int32 iDefault);
00039 
00040 LTRESULT
00041 g_ReadPropUInt32(const char*pPropName, uint32 &nOut,
00042                 const uint32 nDefault);
00043 
00044 LTRESULT
00045 g_ReadPropUInt8(const char*pPropName, uint8 &nOut,
00046                  const uint8 nDefault);
00047 
00048 LTRESULT
00049 g_ReadPropBool(const char*pPropName, bool &bOut,
00050                  const bool bDefault);
00051 
00052 LTRESULT
00053 g_ReadPropFlag(const char*pPropName, uint32 &nOut, const uint32 nFlag,
00054                const bool bDefault);
00055 
00056 LTRESULT
00057 g_ReadPropTypeString(const char*pPropName, uint16 &nOut,
00058                      const uint16 nDefault);

Generated on Mon Mar 4 08:42:23 2002 for Aria by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002