Lugre Namespace Reference

ogre font utils, work in progress More...


Classes

class  cBeamFilterComplex
class  cBeamFilterComplex_L
class  cBitMask_L
class  BorderColourClipPaneOverlayElementFactory
class  cCamera_L
class  ColourClipPaneOverlayElementFactory
class  ColourClipTextOverlayElementFactory
class  cCompassOverlayElementFactory
class  cFIFO_L
class  cGfx2D_L
class  cRadialGrid
class  cRadar
class  cTargetMarker
class  SceneNodeVisitor
class  OrientationPositionScale
 stores orientation, position and scale to calculate derived position ... More...
class  SceneNodeVisitorSubmeshCollector
class  cGfx3D_L
class  cImage_L
class  cLugreLuaBind_Ogre_MovableObject
class  cLugreLuaBind_Ogre_Renderable
class  cLugreLuaBind_Ogre_Resource
class  cLugreLuaBind_Ogre_Node
class  cLugreLuaBind_Ogre_Light
class  cLugreLuaBind_Ogre_SceneManager
class  cLugreLuaBind_Ogre_Frustum
class  cLugreLuaBind_Ogre_Camera
class  cLugreLuaBind_Ogre_SceneNode
class  cLugreLuaBind_Ogre_VertexData
class  cLugreLuaBind_Ogre_IndexData
class  cLugreLuaBind_Ogre_Skeleton
class  cLugreLuaBind_Ogre_Bone
class  cLugreLuaBind_Ogre_Animation
class  cLugreLuaBind_Ogre_Mesh
class  cLugreLuaBind_Ogre_SubMesh
class  cLugreLuaBind_Ogre_Entity
class  cLugreLuaBind_Ogre_AnimationTrack
class  cLugreLuaBind_Ogre_NodeAnimationTrack
class  cLugreLuaBind_Ogre_AnimationState
class  cLugreLuaBind_Ogre_KeyFrame
class  cLugreLuaBind_Ogre_NumericKeyFrame
class  cLugreLuaBind_Ogre_TransformKeyFrame
class  cLugreLuaBind_Ogre_VertexMorphKeyFrame
class  cLugreLuaBind_Ogre_VertexPoseKeyFrame
class  cLugreLuaBind_Ogre_Image
class  cLugreLuaBind_Ogre_Texture
class  cLugreLuaBind_Ogre_RenderOperation
class  cLugreLuaBind_Ogre_VertexDeclaration
class  cMaterial_L
class  cConnection_L
class  cNetListener_L
class  cUDP_ReceiveSocket_L
class  cUDP_SendSocket_L
class  cMyOISListener
class  cRandom_L
class  cRenderTexture_L
class  cRobRenderableOverlayElementFactory
class  SortedOverlayContainerElementFactory
class  cSoundSource_L
class  cSoundSystem_L
class  cRenderGroup2D_L
class  cRenderManager2D_L
class  cSpriteList_L
class  cRobRenderable2D_L
class  cTexAtlas_L
class  cThread_NetRequestImpl
class  cThread_LoadFileImpl
class  cThread_NetRequest_L
class  cThread_LoadFile_L
class  cRobRenderable
class  cRobMovable
class  cLugreLuaBind_cRobMovable
class  cLugreLuaBind_cRobRenderable
class  cViewport_L
class  cDialog_L
class  cWidget_L
class  cBeamFilter
class  cBeamPoint
class  cBeam
class  cSimpleBeam
class  cBitMask
 a 2d bitmask for pixel exact mousepicking, e.g. for gui stuff in iris2 More...
class  cBorderColourClipPaneOverlay
class  CCPBorderRenderable
class  cCamera
 mainly for lua bind More...
class  cColourClipPaneOverlay
class  cColourClipTextOverlay
class  cCompassOverlay
class  cFastBatch
class  cFIFO
 TODO : endian stuff for float, double, int, or general for 2,4,8 bytes of consecutive data ?? More...
class  FindBasePaths
class  cGame
class  cGfx2D
 client only More...
class  cGfx3D
class  cImage
 just a wrapper for lua binding More...
class  cInputListener
class  cInput
 Listener pattern for callbacks. More...
class  cLuaBind
class  cLuaBindDirectQuickWrapHelper
 helper class for macro LUABIND_QUICKWRAP More...
class  cLuaBindDirectBase
class  cLuaBindDirect
class  cLuaBindDirectOgreHelper
class  LuaCallbackFunction
class  cBufferedVertexData
class  cBufferedMesh
class  cBufferedSubMesh
class  cMeshLoader
class  MeshShape
 used for polygon exact ray-intersection More...
class  cNet
class  cConnection
class  cBroadcast
class  cNetListener
class  cUDP_ReceiveSocket
 udp is connection-less, so this works a bit different than the other net stuff More...
class  cUDP_SendSocket
 udp is connection-less, so this works a bit different than the other net stuff More...
class  cOgreFontHelper
class  cOgreUserObjectWrapper
 used for mousepicking, can be added to an entity and other MovableObject More...
class  cOgreWrapper
class  cProfiler
class  cRandom
class  cRenderTexture
 mainly for lua bind More...
class  cRobRenderOp
class  cRobSimpleRenderable
class  cRobRenderableOverlay
class  cScriptingPlugin
class  cScripting
class  cShell
 handles lowlevel stuff, like random, timing More...
class  cListenable
class  cISmartPtr
 common interface to avoid template problems in cSmartPointable More...
class  cSmartPtr
class  cSmartPointable
 cSmartPointable is cListenable for death event More...
class  cListener
class  cSortedOverlayContainer
class  cSoundSource
 a sound source (no 3d, just omi) playing something More...
class  cSoundSystem
class  cRenderGroup2D
 used for building a hierarchy, for clip-rect intersection calc and for ordering More...
class  cSpriteList
class  cRobRenderable2D
class  cRenderManager2D
 interface to ogre, usually only one per scenemanager (e.g. one main, and maybe seperate ones for rtt) More...
class  cTexAtlas
 util for generating a texture atlas on the fly More...
class  cThread_NetRequest
class  cThread_LoadFile
class  cTimer
class  cViewport
 mainly for lua bind More...
class  cDialogManager
 singleton, dialog factory and central dialog list More...
class  cDialog
 a dialog is the root group for widgets, only dialogs have a non-hierarchical z-ordering and can be brought to the front More...
class  cWidget

Typedefs

typedef std::list
< Ogre::ParticleSystem * > 
ParticleSystemList
 particle system reuse stuff
typedef std::list
< Ogre::ParticleSystem * >
::iterator 
ParticleSystemListIterator
typedef unsigned int uint32
typedef unsigned short uint16
typedef unsigned char uint8
typedef unsigned long long uint64
typedef int int32
typedef short int16
typedef char int8
typedef long long int64

Enumerations

enum  eLugreMessageBoxResult {
  kLugreMessageBoxResult_Ok = 1, kLugreMessageBoxResult_Yes = 1, kLugreMessageBoxResult_No = 0, kLugreMessageBoxResult_Cancel = -1,
  kLugreMessageBoxResult_BoxNotImplemented = -2, kLugreMessageBoxResult_Unknown = -3
}
enum  eLugreMessageBoxType { kLugreMessageBoxType_Ok, kLugreMessageBoxType_OkCancel, kLugreMessageBoxType_YesNo, kLugreMessageBoxType_YesNoCancel }

Functions

void Beam_LuaRegister (void *L)
 lua binding
cColourClipPaneOverlay::Vertex Interpolate (const cColourClipPaneOverlay::Vertex &a, const cColourClipPaneOverlay::Vertex &b, const float t)
Lugre::eLugreMessageBoxResult LugreMessageBox (Lugre::eLugreMessageBoxType iType, std::string sTitle, std::string sText)
bool OpenBrowser (std::string sURL)
void LugreWin32InitOFN (OPENFILENAME &ofn, std::string sInitialDir, std::string sFilter, std::string sTitle)
bool FileOpenDialog (const std::string &sInitialDir, const std::string &sFilePattern, const std::string &sTitle, std::string &sFilePath)
bool FileSaveDialog (const std::string &sInitialDir, const std::string &sFilePattern, const std::string &sTitle, std::string &sFilePath)
void LuaRegisterFIFO (lua_State *L)
 lua binding
const char * GetMacDefaultResourcesDir ()
void DisplayErrorMessage (const char *szMsg)
 defined in main.cpp, OS-specific
void EnDisableParticleSystemEmitters (Ogre::ParticleSystem *p, const bool enabled=true)
void FreeOldUnusedParticleSystems (const unsigned int limit)
 destroy unused particle system from cache until the given limit is reached
void PushUnusedParticleSystem (Ogre::ParticleSystem *p)
 adds an unused and detatched particle system to the unused cache, this removes the particles and stops all emitters
void ClearUnusedParticleSystemCache ()
Ogre::ParticleSystem * PopFromUnusedParticleSystems (const Ogre::String sName)
void VisitSceneNode (const SceneNode *node, SceneNodeVisitor *visitor)
int LugreImage_CreateFromOgreImage (lua_State *L, Ogre::Image *pImg)
bool MySubImage (Ogre::Image &pImageSrc, Ogre::Image &pImageDst, int iOffsetX, int iOffsetY, int iNewWidth, int iNewHeight)
void PrintOgreExceptionAndTipps (Ogre::Exception &e)
void InitKeyMapOIS ()
void LuaRegister_LuaBinds_Ogre (lua_State *L)
 lua binding
void LuaXML_FillNode (lua_State *L, int iTableIndex, TiXmlNode *pParent)
void LuaXML_ParseNode (lua_State *L, TiXmlNode *pNode)
static int LuaXML_ParseFile (lua_State *L)
static int LuaXML_ParseString (lua_State *L)
static int LuaXML_SaveFile (lua_State *L)
 for lua LuaXML_SaveFile (sFileName,xmltable)
void RegisterLuaXML (lua_State *L)
 register parser functions to lua
bool Lugre_IsMainThread ()
void PrintExceptionTipps (std::string sDescr)
void DisplayNotice (const char *szMsg)
 defined in main.cpp, OS-specific
void MySignalHandler (int a)
 called on segfault
void MySignalHandlerAbort (int a)
 called on abort/assert
void MyCrash (const char *szMessage)
 defined in lugre_main.cpp, print message, stacktrace (lua and c) and exit
void PrintLuaStackTrace ()
 defined in scripting.cpp
void PrintLuaStackTrace (const char *filename)
void MyCrash (const char *szMessage, const char *szFile, unsigned int iLine, const char *szFunction)
 defined in lugre_main.cpp, print message, stacktrace (lua and c) and exit
void MyShowError (const char *szMessage, const char *szFile, unsigned int iLine, const char *szFunction)
 defined in lugre_main.cpp, print message, stacktrace (lua and c) and NO exit
void MyShowError (const char *szMessage)
 defined in lugre_main.cpp, print message, stacktrace (lua and c) and NO exit
void Lugre_SetCrashText (const char *szCrashText)
void Lugre_ShowWin32Console ()
char ** Lugre_ParseWinCommandLine (int &argc)
std::string GetLugreLuaPath ()
std::string GetMainWorkingDir ()
void Lugre_Run (int argc, char *argv[])
void Material_LuaRegister (void *L)
cBufferedMeshGetBufferedMesh (const char *szMeshName)
 get buffer from ram, loads mesh if neccessary
void MeshLoader_LoadFile (const char *szFilePath, cBufferedMesh *pDest)
void UnloadMeshShape (const char *szMeshName)
bool IntersectRayTriangle (const Vector3 &ray_origin, const Vector3 &ray_dir, const Vector3 &a, const Vector3 &b, const Vector3 &c, float *pfHitDist, float *pfABC)
void closesocket (int socket)
void LuaRegisterNet (lua_State *L)
 lua binding
void lugre_loadOgrePlugins_linux (Ogre::Root *pRoot, const Ogre::String &pluginsfile, const char *szPluginDir)
void OgreForceCloseFullscreen ()
 warning, evil hack, since this is not really supported by ogre
std::string macBundlePath ()
void MacSetupResources (std::string mResourcePath)
 Method which will define the source of resources (other than current folder).
const char * GetDefaultWorkingDir ()
void OgreWrapperSetCustomSceneMgrType (std::string sCustomSceneMgrType)
void OgreWrapperSetEnableUnicode (bool bState)
void ProfileDumpCallCount ()
 defined in profile.cpp, only does something if PROFILE_CALLCOUNT is enabled
void RobWriteCol (Real *w, const Ogre::ColourValue &c, RenderSystem *pRenderSys)
 implemented like ManualObject::copyTempVertexToBuffer
void explodestr (const char *separator, const char *str, std::vector< std::string > &res)
 also known as split, explode("#","abc#def#ghi",res) pushes "abc","def","ghi" onto res
bool charmatchrange (const char c, const char *r)
int cinrange (const char *str, const char *range)
int coutrange (const char *str, const char *range)
unsigned int stringhash (const char *str)
std::string addslashes (const char *str)
std::string pathgetdir (const std::string &path)
std::string pathgetfile (const std::string &path)
std::string pathgetext (const std::string &path)
char pathgetdirslash (const std::string &path)
char pathgetwindrive (const std::string &path)
bool pathisabsolute (const std::string &path)
std::string pathadd (const std::string &base, std::string &add)
bool pathissubpath (const std::string &base, std::string &path)
void printdebug (const char *szCategory, const char *szFormat="",...)
 defined in scripting.cpp
static int l_TRACEBACK (lua_State *L)
int PCallWithErrFuncWrapper (lua_State *L, int narg, int nret)
void LuaErrorHandler (lua_State *L, const char *fmt,...)
struct luaL_reg make_luaL_reg (const char *name, lua_CFunction func)
void LuaRegister_VertexBuffer (lua_State *L)
 lua binding
void rob_dirlist (const char *path, std::vector< std::string > &res, const bool bDirs, const bool bFiles)
int rob_mkdir (const char *path, int perm)
int rob_rmdir (const char *path)
cSoundSystemCreateSoundSystem (const char *name, const int frequency)
void RectAdd (Ogre::Rectangle &a, const float l, const float t, const float r, const float b)
void RectAdd (Ogre::Rectangle &a, const Ogre::Rectangle &b)
void RectAddWithOffset (Ogre::Rectangle &a, const Ogre::Rectangle &b, const Ogre::Vector3 &off)
void RectSetWithOffset (Ogre::Rectangle &a, const Ogre::Rectangle &b, const Ogre::Vector3 &off)
Ogre::Rectangle MakeRectLTRB (const float left, const float top, const float right, const float bottom)
Ogre::Rectangle OffsetRect (const Ogre::Rectangle &rIn, const Ogre::Vector3 &vAdd)
int MyThreadSleepMilliSeconds (int iSleepTimeMilliSeconds)
void LuaRegisterThreading (lua_State *L)
std::string GetFileContent (const std::string &filename)
Ogre::Vector3 luaSFZ_checkVector3 (lua_State *L, const size_t index)
Ogre::ColourValue luaSFZ_checkColour3 (lua_State *L, size_t &index)
Ogre::ColourValue luaSFZ_checkColour4 (lua_State *L, const int index)
bool IntersectRayTriangle (const Ogre::Vector3 &ray_origin, const Ogre::Vector3 &ray_dir, const Ogre::Vector3 &a, const Ogre::Vector3 &b, const Ogre::Vector3 &c, float *pfHitDist=0, float *pfABC=0)
int mystricmp (const char *str1, const char *str2)
 defined in lugre_shell.cpp
float myround (const float x)
 defined in lugre_shell.cpp
template<typename T1, typename T2>
T1 myabs (T1 a)
template<typename T1, typename T2>
T1 mymax (T1 a, T2 b)
template<typename T1, typename T2>
T1 mymin (T1 a, T2 b)
template<typename T1>
T1 mysquare (T1 a)
std::string strprintf (const char *szFormat,...)
bool StringContains (std::string sHaystack, std::string sNeedle)
std::string strprintvf (const char *szFormat, void *arglist)
std::string strtoupper (const char *str)
std::string strtoupper (const std::string &sStr)
std::string strtolower (const char *str)
std::string strtolower (const std::string &sStr)

Variables

int giGfx2DFrameCounter = 0
ParticleSystemList glUnusedParticleSystem
const bool kGfx3DReuseParticleSystem = true
size_t giLastMeshID = 0
size_t giLastBillboardID = 0
size_t giLastRibbonID = 0
Ogre::PixelFormat iPreparedFormat = Ogre::PF_BYTE_RGBA
Ogre::uchar * pPreparedBuf = 0
unsigned int iPreparedWidth = 0
unsigned int iPreparedHeight = 0
unsigned int iPreparedBufferSize = 0
unsigned int iPreparedRowSize = 0
std::map< unsigned int,
unsigned char > 
gKeyMapOIS
std::map< unsigned char,
unsigned int > 
gKeyMapOISInv
std::string sLuaMainPath
 see lugre_main.cpp
std::string sLugreLuaPath
 see lugre_main.cpp
std::string sMainWorkingDir
std::string sCrashText
bool gbCustomWin32ConsoleOpen = false
bool gbLugreStarted = false
bool gbCrashHandlerRunning = false
std::map< std::string,
cBufferedMesh * > 
gBufferedMeshCache
bool gMeshBuffer_PrintStacktraceOnLoad = false
std::map< std::string,
MeshShape * > 
gMeshShapeCache
fd_set sSelectSet_Read
fd_set sSelectSet_Write
fd_set sSelectSet_Except
int gLastWinLeft = 0
int gLastWinTop = 0
std::string sLugreOgreBaseDir
std::string sLugreOgrePluginDir
Ogre::LogManager * gLogMan = 0
std::string gsCustomSceneMgrType
bool gOgreWrapperEnableUnicode = false
std::vector< void * > gCallStack
std::vector< void * > gHistory
bool gDoInit = true
char gRobStringBuffer [kRobStringBufferSize] = ""
const char * directory_dividers = "\\/:"
cSpriteListgpLastOpenedSpriteList = 0
cRobRenderable2DgpLastOpenedRobRenderable2D = 0
cRobRenderOpgpLastOpenedRobRenderable2D_Op = 0


Detailed Description

ogre font utils, work in progress

Typedef Documentation

typedef short Lugre::int16

Definition at line 110 of file lugre_platform.h.

typedef int Lugre::int32

Definition at line 109 of file lugre_platform.h.

typedef long long Lugre::int64

Definition at line 115 of file lugre_platform.h.

typedef char Lugre::int8

Definition at line 111 of file lugre_platform.h.

typedef std::list< Ogre::ParticleSystem * > Lugre::ParticleSystemList

particle system reuse stuff

Definition at line 42 of file lugre_gfx3D.cpp.

typedef std::list< Ogre::ParticleSystem * >::iterator Lugre::ParticleSystemListIterator

Definition at line 43 of file lugre_gfx3D.cpp.

typedef unsigned short Lugre::uint16

Definition at line 99 of file lugre_platform.h.

typedef unsigned int Lugre::uint32

Definition at line 98 of file lugre_platform.h.

typedef unsigned long long Lugre::uint64

Definition at line 105 of file lugre_platform.h.

typedef unsigned char Lugre::uint8

Definition at line 100 of file lugre_platform.h.


Enumeration Type Documentation

Enumerator:
kLugreMessageBoxResult_Ok 
kLugreMessageBoxResult_Yes 
kLugreMessageBoxResult_No 
kLugreMessageBoxResult_Cancel 
kLugreMessageBoxResult_BoxNotImplemented 
kLugreMessageBoxResult_Unknown 

Definition at line 30 of file lugre_commondialog.h.

Enumerator:
kLugreMessageBoxType_Ok 
kLugreMessageBoxType_OkCancel 
kLugreMessageBoxType_YesNo 
kLugreMessageBoxType_YesNoCancel 

Definition at line 38 of file lugre_commondialog.h.


Function Documentation

std::string Lugre::addslashes ( const char *  str  ) 

Definition at line 100 of file lugre_robstring.cpp.

References PROFILE.

void Lugre::Beam_LuaRegister ( void *  L  ) 

lua binding

Definition at line 63 of file lugre_beam_L.cpp.

Referenced by RegisterLua_Ogre_Classes().

bool Lugre::charmatchrange ( const char  c,
const char *  r 
)

Definition at line 58 of file lugre_robstring.cpp.

References PROFILE.

Referenced by cinrange(), and coutrange().

int Lugre::cinrange ( const char *  str,
const char *  range 
)

Definition at line 71 of file lugre_robstring.cpp.

References charmatchrange(), and PROFILE.

void Lugre::ClearUnusedParticleSystemCache (  ) 

Definition at line 75 of file lugre_gfx3D.cpp.

References glUnusedParticleSystem.

Referenced by l_ReloadParticleTemplate().

void Lugre::closesocket ( int  socket  ) 

int Lugre::coutrange ( const char *  str,
const char *  range 
)

Definition at line 78 of file lugre_robstring.cpp.

References charmatchrange(), and PROFILE.

cSoundSystem * Lugre::CreateSoundSystem ( const char *  name,
const int  frequency 
)

creates a specific sound system or 0 if not present frequency: ie. 22050 possible names are: fmod, openal

Definition at line 20 of file lugre_sound.cpp.

Referenced by Lugre::cSoundSystem_L::CreateSoundSystem().

void Lugre::DisplayErrorMessage ( const char *  szMsg  ) 

void Lugre::DisplayNotice ( const char *  szMsg  ) 

defined in main.cpp, OS-specific

Definition at line 67 of file lugre_main.cpp.

Referenced by l_DisplayNotice().

void Lugre::EnDisableParticleSystemEmitters ( Ogre::ParticleSystem *  p,
const bool  enabled = true 
)

Definition at line 33 of file lugre_gfx3D.cpp.

Referenced by PopFromUnusedParticleSystems(), and PushUnusedParticleSystem().

void Lugre::explodestr ( const char *  separator,
const char *  str,
std::vector< std::string > &  res 
)

also known as split, explode("#","abc#def#ghi",res) pushes "abc","def","ghi" onto res

Definition at line 34 of file lugre_robstring.cpp.

References assert, and PROFILE.

Referenced by l_Client_GetMemoryUsage().

bool Lugre::FileOpenDialog ( const std::string &  sInitialDir,
const std::string &  sFilePattern,
const std::string &  sTitle,
std::string &  sFilePath 
)

Definition at line 125 of file lugre_commondialog.cpp.

References LugreWin32InitOFN().

Referenced by l_FileOpenDialog().

bool Lugre::FileSaveDialog ( const std::string &  sInitialDir,
const std::string &  sFilePattern,
const std::string &  sTitle,
std::string &  sFilePath 
)

Definition at line 133 of file lugre_commondialog.cpp.

References LugreWin32InitOFN().

Referenced by l_FileSaveDialog().

void Lugre::FreeOldUnusedParticleSystems ( const unsigned int  limit  ) 

destroy unused particle system from cache until the given limit is reached

Definition at line 50 of file lugre_gfx3D.cpp.

References assert, Lugre::cOgreWrapper::GetSingleton(), glUnusedParticleSystem, and Lugre::cOgreWrapper::mSceneMgr.

Referenced by l_FreeOldUnusedParticleSystems().

cBufferedMesh * Lugre::GetBufferedMesh ( const char *  szMeshName  ) 

get buffer from ram, loads mesh if neccessary

Definition at line 22 of file lugre_meshbuffer.cpp.

References gBufferedMeshCache, gMeshBuffer_PrintStacktraceOnLoad, PrintLuaStackTrace(), and Lugre::cBufferedMesh::SetFromMesh().

Referenced by cBufferedMesh_L::GetMeshBuffer().

const char* Lugre::GetDefaultWorkingDir (  ) 

Definition at line 299 of file lugre_ogrewrapper.cpp.

References macBundlePath(), and strprintf().

std::string Lugre::GetFileContent ( const std::string &  filename  ) 

Definition at line 15 of file lugre_utils.cpp.

References PROFILE.

Referenced by l_Client_GetMemoryUsage().

std::string Lugre::GetLugreLuaPath (  ) 

Definition at line 227 of file lugre_main.cpp.

References sLugreLuaPath.

Referenced by l_GetLugreLuaPath().

const char* Lugre::GetMacDefaultResourcesDir (  ) 

Definition at line 80 of file lugre_findpath.cpp.

References macBundlePath(), and strprintf().

Referenced by Lugre::FindBasePaths::FindBasePaths().

std::string Lugre::GetMainWorkingDir (  ) 

Definition at line 230 of file lugre_main.cpp.

References sMainWorkingDir.

Referenced by l_GetMainWorkingDir().

void Lugre::InitKeyMapOIS (  ) 

Definition at line 264 of file lugre_input.cpp.

References ADD_gKeyMapOIS, Lugre::cInput::kkey_0, Lugre::cInput::kkey_1, Lugre::cInput::kkey_2, Lugre::cInput::kkey_3, Lugre::cInput::kkey_4, Lugre::cInput::kkey_5, Lugre::cInput::kkey_6, Lugre::cInput::kkey_7, Lugre::cInput::kkey_8, Lugre::cInput::kkey_9, Lugre::cInput::kkey_a, Lugre::cInput::kkey_b, Lugre::cInput::kkey_back, Lugre::cInput::kkey_c, Lugre::cInput::kkey_capslock, Lugre::cInput::kkey_d, Lugre::cInput::kkey_del, Lugre::cInput::kkey_down, Lugre::cInput::kkey_e, Lugre::cInput::kkey_end, Lugre::cInput::kkey_escape, Lugre::cInput::kkey_f, Lugre::cInput::kkey_f1, Lugre::cInput::kkey_f10, Lugre::cInput::kkey_f11, Lugre::cInput::kkey_f12, Lugre::cInput::kkey_f13, Lugre::cInput::kkey_f14, Lugre::cInput::kkey_f15, Lugre::cInput::kkey_f2, Lugre::cInput::kkey_f3, Lugre::cInput::kkey_f4, Lugre::cInput::kkey_f5, Lugre::cInput::kkey_f6, Lugre::cInput::kkey_f7, Lugre::cInput::kkey_f8, Lugre::cInput::kkey_f9, Lugre::cInput::kkey_g, Lugre::cInput::kkey_greater, Lugre::cInput::kkey_h, Lugre::cInput::kkey_home, Lugre::cInput::kkey_i, Lugre::cInput::kkey_ins, Lugre::cInput::kkey_j, Lugre::cInput::kkey_k, Lugre::cInput::kkey_komma, Lugre::cInput::kkey_l, Lugre::cInput::kkey_lalt, Lugre::cInput::kkey_lcontrol, Lugre::cInput::kkey_left, Lugre::cInput::kkey_lshift, Lugre::cInput::kkey_lwin, Lugre::cInput::kkey_m, Lugre::cInput::kkey_menu, Lugre::cInput::kkey_minus, Lugre::cInput::kkey_n, Lugre::cInput::kkey_next, Lugre::cInput::kkey_np_add, Lugre::cInput::kkey_np_enter, Lugre::cInput::kkey_np_komma, Lugre::cInput::kkey_np_mult, Lugre::cInput::kkey_np_sub, Lugre::cInput::kkey_numlock, Lugre::cInput::kkey_numpad0, Lugre::cInput::kkey_numpad1, Lugre::cInput::kkey_numpad2, Lugre::cInput::kkey_numpad3, Lugre::cInput::kkey_numpad4, Lugre::cInput::kkey_numpad5, Lugre::cInput::kkey_numpad6, Lugre::cInput::kkey_numpad7, Lugre::cInput::kkey_numpad8, Lugre::cInput::kkey_numpad9, Lugre::cInput::kkey_o, Lugre::cInput::kkey_p, Lugre::cInput::kkey_pause, Lugre::cInput::kkey_point, Lugre::cInput::kkey_prior, Lugre::cInput::kkey_q, Lugre::cInput::kkey_r, Lugre::cInput::kkey_ralt, Lugre::cInput::kkey_rcontrol, Lugre::cInput::kkey_return, Lugre::cInput::kkey_right, Lugre::cInput::kkey_rshift, Lugre::cInput::kkey_rwin, Lugre::cInput::kkey_s, Lugre::cInput::kkey_screen, Lugre::cInput::kkey_scroll, Lugre::cInput::kkey_space, Lugre::cInput::kkey_t, Lugre::cInput::kkey_tab, Lugre::cInput::kkey_u, Lugre::cInput::kkey_up, Lugre::cInput::kkey_v, Lugre::cInput::kkey_w, Lugre::cInput::kkey_x, Lugre::cInput::kkey_y, Lugre::cInput::kkey_z, and PROFILE.

Referenced by Lugre::cInput::cInput().

cColourClipPaneOverlay::Vertex Lugre::Interpolate ( const cColourClipPaneOverlay::Vertex &  a,
const cColourClipPaneOverlay::Vertex &  b,
const float  t 
)

bool Lugre::IntersectRayTriangle ( const Ogre::Vector3 &  ray_origin,
const Ogre::Vector3 &  ray_dir,
const Ogre::Vector3 &  a,
const Ogre::Vector3 &  b,
const Ogre::Vector3 &  c,
float *  pfHitDist = 0,
float *  pfABC = 0 
)

bool Lugre::IntersectRayTriangle ( const Vector3 &  ray_origin,
const Vector3 &  ray_dir,
const Vector3 &  a,
const Vector3 &  b,
const Vector3 &  c,
float *  pfHitDist,
float *  pfABC 
)

pfHitDist is a pointer to ONE float, that will receive the distance of the hit pfABC is a pointer to THREE floats, that will receive the "edge-factors" or whatever you call it, can be used to find the texcoords of the hit The point of intersection is P = origin + (*pfHitDist)*direction = pfABC[0]*a + pfABC[1]*b + pfABC[2]*c

Definition at line 59 of file lugre_meshshape.cpp.

Referenced by Lugre::cOgreWrapper::RayAABBQuery(), Lugre::MeshShape::RayIntersect(), and Lugre::cBufferedMesh::RayPick().

static int Lugre::l_TRACEBACK ( lua_State *  L  )  [static]

Definition at line 142 of file lugre_scripting.cpp.

References LEVELS1, LEVELS2, and PROFILE.

Referenced by Lugre::cScripting::InitLugreLuaEnvironment().

void Lugre::LuaErrorHandler ( lua_State *  L,
const char *  fmt,
  ... 
)

void Lugre::LuaRegister_LuaBinds_Ogre ( lua_State *  L  ) 

lua binding

Definition at line 1960 of file lugre_luabinds_ogre.cpp.

References LUABIND_QUICKWRAP_STATIC, and PROFILE.

Referenced by RegisterLua_General_Classes().

void Lugre::LuaRegister_VertexBuffer ( lua_State *  L  ) 

lua binding

Definition at line 232 of file lugre_vertexbuffer_L.cpp.

References PROFILE.

Referenced by RegisterLua_General_Classes().

void Lugre::LuaRegisterFIFO ( lua_State *  L  ) 

lua binding

Definition at line 591 of file lugre_fifo_L.cpp.

References PROFILE.

Referenced by RegisterLua_General_Classes().

void Lugre::LuaRegisterNet ( lua_State *  L  ) 

lua binding

Definition at line 302 of file lugre_net_L.cpp.

References PROFILE.

Referenced by RegisterLua_General_Classes().

void Lugre::LuaRegisterThreading ( lua_State *  L  ) 

Ogre::ColourValue Lugre::luaSFZ_checkColour3 ( lua_State *  L,
size_t &  index 
) [inline]

Definition at line 534 of file lugre_luabind.h.

References PROFILE.

Referenced by Lugre::cGfx3D_L::SetTargetTracker().

Ogre::ColourValue Lugre::luaSFZ_checkColour4 ( lua_State *  L,
const int  index 
) [inline]

Ogre::Vector3 Lugre::luaSFZ_checkVector3 ( lua_State *  L,
const size_t  index 
) [inline]

void Lugre::LuaXML_FillNode ( lua_State *  L,
int  iTableIndex,
TiXmlNode pParent 
)

Produces an XMLTree like : <paragraph justify="centered">first childboldanother child</paragraph>

{name="paragraph", attr={justify="centered"}, "first child", {name="b", "bold", n=1} "another child", n=3 }

LuaXML_SaveFile("bla.xml",LuaXML_ParseFile(filepath)[1])

for k,child in ipairs(node) do .. end -- iterate over all childs node[1] -- first child node.attr.bla -- attribute access

comments and other definitions are ignored

Definition at line 70 of file lugre_luaxml.cpp.

References TiXmlNode::LinkEndChild(), PROFILE, and TiXmlElement::SetAttribute().

Referenced by LuaXML_SaveFile().

static int Lugre::LuaXML_ParseFile ( lua_State *  L  )  [static]

Definition at line 207 of file lugre_luaxml.cpp.

References TiXmlDocument::LoadFile(), LuaXML_ParseNode(), and PROFILE.

Referenced by RegisterLuaXML().

void Lugre::LuaXML_ParseNode ( lua_State *  L,
TiXmlNode pNode 
)

static int Lugre::LuaXML_ParseString ( lua_State *  L  )  [static]

Definition at line 216 of file lugre_luaxml.cpp.

References LuaXML_ParseNode(), TiXmlDocument::Parse(), PROFILE, and TIXML_DEFAULT_ENCODING.

Referenced by RegisterLuaXML().

static int Lugre::LuaXML_SaveFile ( lua_State *  L  )  [static]

for lua LuaXML_SaveFile (sFileName,xmltable)

Definition at line 226 of file lugre_luaxml.cpp.

References LuaXML_FillNode(), PROFILE, and TiXmlDocument::SaveFile().

Referenced by RegisterLuaXML().

bool Lugre::Lugre_IsMainThread (  ) 

Definition at line 46 of file lugre_main.cpp.

Referenced by MyCrash(), MyShowError(), PrintLuaStackTrace(), and ProfileDumpCallCount().

void Lugre::lugre_loadOgrePlugins_linux ( Ogre::Root *  pRoot,
const Ogre::String &  pluginsfile,
const char *  szPluginDir 
)

char ** Lugre::Lugre_ParseWinCommandLine ( int &  argc  ) 

Definition at line 190 of file lugre_main.cpp.

Referenced by main().

void Lugre::Lugre_Run ( int  argc,
char *  argv[] 
)

void Lugre::Lugre_SetCrashText ( const char *  szCrashText  ) 

Definition at line 141 of file lugre_main.cpp.

References sCrashText.

Referenced by main().

void Lugre::Lugre_ShowWin32Console (  ) 

Definition at line 143 of file lugre_main.cpp.

References gbCustomWin32ConsoleOpen.

Referenced by main().

int Lugre::LugreImage_CreateFromOgreImage ( lua_State *  L,
Ogre::Image *  pImg 
)

Definition at line 35 of file lugre_image_L.cpp.

References Lugre::cImage::cImage(), and PROFILE.

Referenced by Lugre::cLugreLuaBind_Ogre_Image::RegisterMethods().

eLugreMessageBoxResult Lugre::LugreMessageBox ( Lugre::eLugreMessageBoxType  iType,
std::string  sTitle,
std::string  sText 
)

void Lugre::LugreWin32InitOFN ( OPENFILENAME &  ofn,
std::string  sInitialDir,
std::string  sFilter,
std::string  sTitle 
)

Definition at line 77 of file lugre_commondialog.cpp.

References kWIN32_OFN_BUFFER_SIZE.

Referenced by FileOpenDialog(), and FileSaveDialog().

std::string Lugre::macBundlePath (  ) 

void Lugre::MacSetupResources ( std::string  mResourcePath  ) 

Method which will define the source of resources (other than current folder).

Definition at line 266 of file lugre_ogrewrapper.cpp.

References macBundlePath().

Referenced by Lugre::cOgreWrapper::Init().

struct luaL_reg Lugre::make_luaL_reg ( const char *  name,
lua_CFunction  func 
) [read]

Ogre::Rectangle Lugre::MakeRectLTRB ( const float  left,
const float  top,
const float  right,
const float  bottom 
) [inline]

Definition at line 46 of file lugre_spritelist.cpp.

Referenced by OffsetRect().

void Lugre::Material_LuaRegister ( void *  L  ) 

Definition at line 498 of file lugre_material_L.cpp.

References Lugre::cMaterial_L::LuaRegister().

Referenced by RegisterLua_Ogre_Classes().

void Lugre::MeshLoader_LoadFile ( const char *  szFilePath,
cBufferedMesh *  pDest 
)

template<typename T1, typename T2>
T1 Lugre::myabs ( T1  a  )  [inline]

Definition at line 52 of file lugre_prefix.h.

void Lugre::MyCrash ( const char *  szMessage,
const char *  szFile,
unsigned int  iLine,
const char *  szFunction 
)

defined in lugre_main.cpp, print message, stacktrace (lua and c) and exit

Definition at line 99 of file lugre_main.cpp.

References MyCrash(), and strprintf().

void Lugre::MyCrash ( const char *  szMessage  ) 

defined in lugre_main.cpp, print message, stacktrace (lua and c) and exit

Definition at line 103 of file lugre_main.cpp.

References Lugre_IsMainThread(), and MyShowError().

Referenced by Lugre::cScripting::Init(), Lugre::cScripting::InitLugreLuaEnvironment(), LuaErrorHandler(), Lugre_Run(), MyCrash(), MySignalHandler(), and MySignalHandlerAbort().

template<typename T1, typename T2>
T1 Lugre::mymax ( T1  a,
T2  b 
) [inline]

template<typename T1, typename T2>
T1 Lugre::mymin ( T1  a,
T2  b 
) [inline]

float Lugre::myround ( const float  x  ) 

void Lugre::MyShowError ( const char *  szMessage  ) 

defined in lugre_main.cpp, print message, stacktrace (lua and c) and NO exit

Definition at line 113 of file lugre_main.cpp.

References DisplayErrorMessage(), Lugre_IsMainThread(), PrintLuaStackTrace(), PROFILE_PRINT_STACKTRACE, PROFILE_PRINT_STACKTRACE_TOFILE, and sCrashText.

void Lugre::MyShowError ( const char *  szMessage,
const char *  szFile,
unsigned int  iLine,
const char *  szFunction 
)

defined in lugre_main.cpp, print message, stacktrace (lua and c) and NO exit

Definition at line 109 of file lugre_main.cpp.

References strprintf().

Referenced by MyCrash().

void Lugre::MySignalHandler ( int  a  ) 

called on segfault

Definition at line 85 of file lugre_main.cpp.

References gbCrashHandlerRunning, and MyCrash().

Referenced by Lugre_Run().

void Lugre::MySignalHandlerAbort ( int  a  ) 

called on abort/assert

Definition at line 92 of file lugre_main.cpp.

References gbCrashHandlerRunning, and MyCrash().

Referenced by Lugre_Run().

template<typename T1>
T1 Lugre::mysquare ( T1  a  )  [inline]

Definition at line 55 of file lugre_prefix.h.

Referenced by cLocation_L::IntersectSphere().

int Lugre::mystricmp ( const char *  str1,
const char *  str2 
)

defined in lugre_shell.cpp

Referenced by Lugre::cInput::GetNamedKey().

bool Lugre::MySubImage ( Ogre::Image &  pImageSrc,
Ogre::Image &  pImageDst,
int  iOffsetX,
int  iOffsetY,
int  iNewWidth,
int  iNewHeight 
)

int Lugre::MyThreadSleepMilliSeconds ( int  iSleepTimeMilliSeconds  ) 

Definition at line 123 of file lugre_thread_L.cpp.

Ogre::Rectangle Lugre::OffsetRect ( const Ogre::Rectangle &  rIn,
const Ogre::Vector3 &  vAdd 
) [inline]

Definition at line 55 of file lugre_spritelist.cpp.

References MakeRectLTRB().

Referenced by Lugre::cRenderGroup2D::UpdateClip().

void Lugre::OgreForceCloseFullscreen (  ) 

void Lugre::OgreWrapperSetCustomSceneMgrType ( std::string  sCustomSceneMgrType  ) 

Definition at line 315 of file lugre_ogrewrapper.cpp.

References gsCustomSceneMgrType.

Referenced by l_OgreWrapperSetCustomSceneMgrType().

void Lugre::OgreWrapperSetEnableUnicode ( bool  bState  ) 

Definition at line 316 of file lugre_ogrewrapper.cpp.

References gOgreWrapperEnableUnicode.

Referenced by l_OgreWrapperSetEnableUnicode().

bool Lugre::OpenBrowser ( std::string  sURL  ) 

Definition at line 53 of file lugre_commondialog.cpp.

Referenced by l_OpenBrowser().

std::string Lugre::pathadd ( const std::string &  base,
std::string &  add 
)

std::string Lugre::pathgetdir ( const std::string &  path  ) 

Definition at line 119 of file lugre_robstring.cpp.

References directory_dividers, and PROFILE.

Referenced by pathadd().

char Lugre::pathgetdirslash ( const std::string &  path  ) 

Definition at line 137 of file lugre_robstring.cpp.

References directory_dividers, and PROFILE.

Referenced by pathadd().

std::string Lugre::pathgetext ( const std::string &  path  ) 

Definition at line 129 of file lugre_robstring.cpp.

References pathgetfile(), and PROFILE.

std::string Lugre::pathgetfile ( const std::string &  path  ) 

Definition at line 124 of file lugre_robstring.cpp.

References directory_dividers, and PROFILE.

Referenced by pathgetext().

char Lugre::pathgetwindrive ( const std::string &  path  ) 

Definition at line 144 of file lugre_robstring.cpp.

References PROFILE.

Referenced by pathisabsolute().

bool Lugre::pathisabsolute ( const std::string &  path  ) 

Definition at line 151 of file lugre_robstring.cpp.

References directory_dividers, pathgetwindrive(), and PROFILE.

Referenced by pathadd().

bool Lugre::pathissubpath ( const std::string &  base,
std::string &  path 
)

Definition at line 183 of file lugre_robstring.cpp.

References directory_dividers, and PROFILE.

int Lugre::PCallWithErrFuncWrapper ( lua_State *  L,
int  narg,
int  nret 
)

also adds a traceback to the error message in case of an error, better than a plain lua_call nret=-1 for unlimited don't use directly, used by LuaCall

Definition at line 200 of file lugre_scripting.cpp.

References PROFILE.

Referenced by Lugre::cLuaBind< Lugre::cBufferedMesh >::CreateUData(), Lugre::cScripting::LuaCall(), Lugre::cLuaBind< Lugre::cBufferedMesh >::LuaRegister(), and Lugre::LuaCallbackFunction::SimpleCall().

Ogre::ParticleSystem* Lugre::PopFromUnusedParticleSystems ( const Ogre::String  sName  ) 

try to find a reusable particle system for the given template/script name, returns 0 if there isnt any reenabled the emitters

Definition at line 81 of file lugre_gfx3D.cpp.

References EnDisableParticleSystemEmitters(), glUnusedParticleSystem, and kGfx3DReuseParticleSystem.

Referenced by Lugre::cGfx3D::SetParticleSystem().

void Lugre::printdebug ( const char *  szCategory,
const char *  szFormat,
  ... 
)

void Lugre::PrintExceptionTipps ( std::string  sDescr  ) 

void Lugre::PrintLuaStackTrace ( const char *  filename  ) 

void Lugre::PrintLuaStackTrace (  ) 

defined in scripting.cpp

Definition at line 94 of file lugre_scripting.cpp.

References Lugre::cScripting::GetSingletonPtr(), Lugre::cScripting::LuaCall(), Lugre_IsMainThread(), and PROFILE.

Referenced by GetBufferedMesh(), and MyShowError().

void Lugre::PrintOgreExceptionAndTipps ( Ogre::Exception &  e  ) 

void Lugre::ProfileDumpCallCount (  ) 

defined in profile.cpp, only does something if PROFILE_CALLCOUNT is enabled

Definition at line 140 of file lugre_profile.cpp.

References Lugre_IsMainThread().

Referenced by l_ProfileDumpCallCount().

void Lugre::PushUnusedParticleSystem ( Ogre::ParticleSystem *  p  ) 

adds an unused and detatched particle system to the unused cache, this removes the particles and stops all emitters

Definition at line 61 of file lugre_gfx3D.cpp.

References EnDisableParticleSystemEmitters(), Lugre::cOgreWrapper::GetSingleton(), glUnusedParticleSystem, kGfx3DReuseParticleSystem, and Lugre::cOgreWrapper::mSceneMgr.

Referenced by Lugre::cGfx3D::Clear().

void Lugre::RectAdd ( Ogre::Rectangle &  a,
const Ogre::Rectangle &  b 
) [inline]

Definition at line 35 of file lugre_spritelist.cpp.

References RectAdd().

void Lugre::RectAdd ( Ogre::Rectangle &  a,
const float  l,
const float  t,
const float  r,
const float  b 
) [inline]

Definition at line 28 of file lugre_spritelist.cpp.

References mymax(), and mymin().

Referenced by RectAdd(), and RectAddWithOffset().

void Lugre::RectAddWithOffset ( Ogre::Rectangle &  a,
const Ogre::Rectangle &  b,
const Ogre::Vector3 &  off 
) [inline]

Definition at line 36 of file lugre_spritelist.cpp.

References RectAdd().

void Lugre::RectSetWithOffset ( Ogre::Rectangle &  a,
const Ogre::Rectangle &  b,
const Ogre::Vector3 &  off 
) [inline]

Definition at line 39 of file lugre_spritelist.cpp.

void Lugre::RegisterLuaXML ( lua_State *  L  ) 

register parser functions to lua

Definition at line 234 of file lugre_luaxml.cpp.

References LuaXML_ParseFile(), LuaXML_ParseString(), and LuaXML_SaveFile().

Referenced by RegisterLua_General_Classes().

void Lugre::rob_dirlist ( const char *  path,
std::vector< std::string > &  res,
const bool  bDirs,
const bool  bFiles 
)

Referenced by l_dirlist().

int Lugre::rob_mkdir ( const char *  path,
int  perm 
)

Referenced by l_mkdir().

int Lugre::rob_rmdir ( const char *  path  ) 

Referenced by l_rmdir().

void Lugre::RobWriteCol ( Real *  w,
const Ogre::ColourValue &  c,
RenderSystem *  pRenderSys 
) [inline]

implemented like ManualObject::copyTempVertexToBuffer

Definition at line 270 of file lugre_robrenderable.cpp.

References PROFILE.

Referenced by Lugre::cRobRenderOp::Vertex().

bool Lugre::StringContains ( std::string  sHaystack,
std::string  sNeedle 
) [inline]

Definition at line 54 of file lugre_robstring.h.

unsigned int Lugre::stringhash ( const char *  str  ) 

Definition at line 91 of file lugre_robstring.cpp.

References PROFILE.

std::string Lugre::strprintf ( const char *  szFormat,
  ... 
) [inline]

std::string Lugre::strprintvf ( const char *  szFormat,
void *  arglist 
)

std::string Lugre::strtolower ( const std::string &  sStr  )  [inline]

Definition at line 94 of file lugre_robstring.h.

References PROFILEH.

std::string Lugre::strtolower ( const char *  str  )  [inline]

Definition at line 86 of file lugre_robstring.h.

References PROFILEH.

std::string Lugre::strtoupper ( const std::string &  sStr  )  [inline]

Definition at line 78 of file lugre_robstring.h.

References PROFILEH.

std::string Lugre::strtoupper ( const char *  str  )  [inline]

Definition at line 70 of file lugre_robstring.h.

References PROFILEH.

void Lugre::UnloadMeshShape ( const char *  szMeshName  ) 

Definition at line 13 of file lugre_meshshape.cpp.

References gMeshShapeCache.

Referenced by l_UnloadMeshName().

void Lugre::VisitSceneNode ( const SceneNode *  node,
SceneNodeVisitor *  visitor 
)

Definition at line 350 of file lugre_gfx3D.cpp.

References Lugre::SceneNodeVisitor::Visit().

Referenced by Lugre::cGfx3D::CreateMergedMesh().


Variable Documentation

const char* Lugre::directory_dividers = "\\/:"

Definition at line 83 of file lugre_main.cpp.

Referenced by MySignalHandler(), and MySignalHandlerAbort().

Definition at line 52 of file lugre_main.cpp.

Referenced by Lugre_Run(), and Lugre_ShowWin32Console().

bool Lugre::gbLugreStarted = false

Definition at line 53 of file lugre_main.cpp.

Referenced by Lugre_Run(), and Lugre::cScripting::RegisterPlugin().

std::map<std::string,cBufferedMesh*> Lugre::gBufferedMeshCache

Definition at line 17 of file lugre_meshbuffer.cpp.

Referenced by GetBufferedMesh().

std::vector<void*> Lugre::gCallStack

Definition at line 11 of file lugre_profile.cpp.

bool Lugre::gDoInit = true

Definition at line 13 of file lugre_profile.cpp.

std::vector<void*> Lugre::gHistory

Definition at line 12 of file lugre_profile.cpp.

Definition at line 61 of file lugre_gfx2D.cpp.

Referenced by Lugre::cGfx2D::PrepareFrame(), and Lugre::cGfx2D::PrepareFrameStep().

Definition at line 988 of file lugre_gfx3D.cpp.

Referenced by Lugre::cGfx3D::SetBillboard().

size_t Lugre::giLastMeshID = 0

Definition at line 689 of file lugre_gfx3D.cpp.

Referenced by Lugre::cGfx3D::SetMesh().

Definition at line 999 of file lugre_gfx3D.cpp.

Referenced by Lugre::cGfx3D::SetTrail().

std::map<unsigned int,unsigned char> Lugre::gKeyMapOIS

Definition at line 250 of file lugre_input.cpp.

Referenced by Lugre::cInput::KeyConvertOIS().

std::map<unsigned char,unsigned int> Lugre::gKeyMapOISInv

Definition at line 251 of file lugre_input.cpp.

Referenced by Lugre::cInput::KeyConvertOISInv().

Ogre::LogManager* Lugre::gLogMan = 0

Definition at line 140 of file lugre_ogrewrapper.cpp.

Referenced by Lugre::cOgreWrapper::Init().

Definition at line 19 of file lugre_meshbuffer.cpp.

Referenced by GetBufferedMesh(), and RegisterLua_General_GlobalFunctions().

std::map<std::string,MeshShape*> Lugre::gMeshShapeCache

Definition at line 11 of file lugre_meshshape.cpp.

Referenced by Lugre::MeshShape::GetMeshShape(), and UnloadMeshShape().

Definition at line 16 of file lugre_robstring.cpp.

Referenced by LuaErrorHandler(), printdebug(), and strprintf().

unsigned int Lugre::iPreparedBufferSize = 0

Definition at line 31 of file lugre_image_L.cpp.

Referenced by Lugre::cImage_L::PrepareImage().

Ogre::PixelFormat Lugre::iPreparedFormat = Ogre::PF_BYTE_RGBA

unsigned int Lugre::iPreparedHeight = 0

unsigned int Lugre::iPreparedRowSize = 0

unsigned int Lugre::iPreparedWidth = 0

Definition at line 47 of file lugre_gfx3D.cpp.

Referenced by PopFromUnusedParticleSystems(), and PushUnusedParticleSystem().

Ogre::uchar* Lugre::pPreparedBuf = 0

std::string Lugre::sCrashText

Definition at line 40 of file lugre_main.cpp.

Referenced by Lugre_SetCrashText(), and MyShowError().

std::string Lugre::sLuaMainPath

std::string Lugre::sLugreLuaPath

Definition at line 128 of file lugre_ogrewrapper.cpp.

Referenced by Lugre::cOgreWrapper::Init().

Definition at line 129 of file lugre_ogrewrapper.cpp.

Referenced by Lugre::cOgreWrapper::Init(), and OgreForceCloseFullscreen().

Definition at line 39 of file lugre_main.cpp.

Referenced by GetMainWorkingDir(), and Lugre_Run().

Definition at line 32 of file lugre_net.cpp.

Referenced by Lugre::cUDP_ReceiveSocket::Receive(), and Lugre::cNet::Step().

Definition at line 30 of file lugre_net.cpp.

Referenced by Lugre::cUDP_ReceiveSocket::Receive(), and Lugre::cNet::Step().


Generated on Tue Feb 7 06:00:16 2012 for cpp by  doxygen 1.5.6