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) |
| cBufferedMesh * | GetBufferedMesh (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) |
| cSoundSystem * | CreateSoundSystem (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 = "\\/:" |
| cSpriteList * | gpLastOpenedSpriteList = 0 |
| cRobRenderable2D * | gpLastOpenedRobRenderable2D = 0 |
| cRobRenderOp * | gpLastOpenedRobRenderable2D_Op = 0 |
| 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 |
| 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.
| kLugreMessageBoxResult_Ok | |
| kLugreMessageBoxResult_Yes | |
| kLugreMessageBoxResult_No | |
| kLugreMessageBoxResult_Cancel | |
| kLugreMessageBoxResult_BoxNotImplemented | |
| kLugreMessageBoxResult_Unknown |
Definition at line 30 of file lugre_commondialog.h.
| kLugreMessageBoxType_Ok | |
| kLugreMessageBoxType_OkCancel | |
| kLugreMessageBoxType_YesNo | |
| kLugreMessageBoxType_YesNoCancel |
Definition at line 38 of file lugre_commondialog.h.
| std::string Lugre::addslashes | ( | const char * | str | ) |
| 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 | |||
| ) |
| void Lugre::ClearUnusedParticleSystemCache | ( | ) |
Definition at line 75 of file lugre_gfx3D.cpp.
References glUnusedParticleSystem.
Referenced by l_ReloadParticleTemplate().
| void Lugre::closesocket | ( | int | socket | ) |
Definition at line 38 of file lugre_net.cpp.
Referenced by Lugre::cConnection::Close(), Lugre::cNet::CloseSocket(), Lugre::cNet::Listen(), Lugre::cNetListener::~cNetListener(), Lugre::cUDP_ReceiveSocket::~cUDP_ReceiveSocket(), and Lugre::cUDP_SendSocket::~cUDP_SendSocket().
| int Lugre::coutrange | ( | const char * | str, | |
| const char * | range | |||
| ) |
| 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 | ) |
defined in main.cpp, OS-specific
Definition at line 75 of file lugre_main.cpp.
Referenced by Lugre::cOgreWrapper::CreateOgreWindow(), Lugre::cScripting::Init(), l_Crash(), l_CrashSegFault(), l_FatalErrorMessage(), and MyShowError().
| 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 | ( | ) |
| 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 | |||
| ) |
Definition at line 43 of file lugre_ColourClipPaneOverlay.cpp.
References Lugre::cColourClipPaneOverlay::Vertex::col, Lugre::cColourClipPaneOverlay::Vertex::u, Lugre::cColourClipPaneOverlay::Vertex::v, Lugre::cColourClipPaneOverlay::Vertex::x, and Lugre::cColourClipPaneOverlay::Vertex::y.
Referenced by Lugre::cColourClipPaneOverlay::VertexRect::Pick().
| 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 | |||
| ) |
Referenced by FIFO_RayPickTri(), l_TriangleRayPick(), and l_TriangleRayPickEx().
| 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, | |||
| ... | ||||
| ) |
Definition at line 222 of file lugre_scripting.cpp.
References gRobStringBuffer, kRobStringBufferSize, MyCrash(), and PROFILE.
Referenced by Lugre::cLuaBind< Lugre::cBufferedMesh >::CreateUData(), Lugre::cScripting::LuaCall(), Lugre::cLuaBind< Lugre::cBufferedMesh >::LuaRegister(), and Lugre::LuaCallbackFunction::SimpleCall().
| 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 | ) |
Definition at line 350 of file lugre_thread_L.cpp.
References Lugre::cThread_LoadFile::LuaRegister(), and Lugre::cThread_NetRequest::LuaRegister().
Referenced by RegisterLua_General_Classes().
| 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] |
Definition at line 555 of file lugre_luabind.h.
References PROFILE.
Referenced by Lugre::cGfx2D_L::SetColour(), Lugre::cGfx2D_L::SetColours(), and Lugre::cGfx2D_L::SetPartColours().
| Ogre::Vector3 Lugre::luaSFZ_checkVector3 | ( | lua_State * | L, | |
| const size_t | index | |||
| ) | [inline] |
Definition at line 529 of file lugre_luabind.h.
References PROFILE.
Referenced by cLocation_L::IntersectSphere(), Lugre::cGfx3D_L::SetBillboard(), Lugre::cGfx3D_L::SetTrail(), and Lugre::cGfx3D_L::SetWireBoundingBoxMinMax().
| 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 | |||
| ) |
Definition at line 147 of file lugre_luaxml.cpp.
References TiXmlNode::COMMENT, TiXmlNode::DECLARATION, TiXmlNode::DOCUMENT, TiXmlNode::ELEMENT, TiXmlElement::FirstAttribute(), TiXmlNode::FirstChild(), TiXmlAttribute::Name(), TiXmlAttribute::Next(), TiXmlNode::NextSibling(), PROFILE, TiXmlNode::TEXT, TiXmlNode::ToElement(), TiXmlNode::Type(), TiXmlNode::UNKNOWN, TiXmlAttribute::Value(), and TiXmlNode::Value().
Referenced by LuaXML_ParseFile(), and LuaXML_ParseString().
| 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 | |||
| ) |
Definition at line 175 of file lugre_ogrewrapper.cpp.
References PrintOgreExceptionAndTipps().
Referenced by Lugre::cOgreWrapper::Init(), and OgreForceCloseFullscreen().
| char ** Lugre::Lugre_ParseWinCommandLine | ( | int & | argc | ) |
| void Lugre::Lugre_Run | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 234 of file lugre_main.cpp.
References Lugre::cShell::DeInit(), gbCustomWin32ConsoleOpen, gbLugreStarted, Lugre::FindBasePaths::getLugreLuaPath(), Lugre::FindBasePaths::getMainLuaPath(), Lugre::FindBasePaths::getMainWorkingDir(), Lugre::cGame::GetSingleton(), Lugre::cShell::GetSingleton(), Lugre::cShell::Init(), MyCrash(), MySignalHandler(), MySignalHandlerAbort(), PrintExceptionTipps(), PrintOgreExceptionAndTipps(), PROFILE, Lugre::cGame::Run(), sLuaMainPath, sLugreLuaPath, and sMainWorkingDir.
Referenced by main().
| void Lugre::Lugre_SetCrashText | ( | const char * | szCrashText | ) |
| 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 | |||
| ) |
Definition at line 23 of file lugre_commondialog.cpp.
References kLugreMessageBoxResult_Cancel, kLugreMessageBoxResult_No, kLugreMessageBoxResult_Ok, kLugreMessageBoxResult_Unknown, kLugreMessageBoxResult_Yes, kLugreMessageBoxType_Ok, kLugreMessageBoxType_OkCancel, kLugreMessageBoxType_YesNo, and kLugreMessageBoxType_YesNoCancel.
Referenced by l_LugreMessageBox().
| 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 | ( | ) |
Definition at line 244 of file lugre_ogrewrapper.cpp.
References assert.
Referenced by GetDefaultWorkingDir(), GetMacDefaultResourcesDir(), Lugre::cOgreWrapper::Init(), and MacSetupResources().
| 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] |
Definition at line 244 of file lugre_scripting.cpp.
Referenced by Lugre::cLuaBind< Lugre::cBufferedMesh >::LuaRegister().
| Ogre::Rectangle Lugre::MakeRectLTRB | ( | const float | left, | |
| const float | top, | |||
| const float | right, | |||
| const float | bottom | |||
| ) | [inline] |
| 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 | |||
| ) |
Definition at line 37 of file lugre_meshloader.cpp.
References Lugre::cMeshLoader::importMesh().
Referenced by cBufferedMesh_L::LoadMeshBufferFromFile().
| 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().
| T1 Lugre::mymax | ( | T1 | a, | |
| T2 | b | |||
| ) | [inline] |
Definition at line 53 of file lugre_prefix.h.
Referenced by Lugre::cRenderGroup2D::_BoundsAddRect(), Lugre::cTexAtlas::AddImage(), Lugre::cRobRenderOp::AddToMesh(), Lugre::cFastBatch::Build(), Lugre::cTexAtlas::FillRect(), Lugre::cOgreFontHelper::GetTextBounds(), Lugre::cOgreWrapper::ImageBlit(), cLocation_L::Intersect2DRect(), l_MeshSetBounds(), Lugre::cMyOISListener::mouseMoved(), Lugre::cThread_LoadFileImpl::operator()(), Lugre::cGfx2D::PrepareFrameStep(), Lugre::MeshShape::RayIntersect(), RectAdd(), Lugre::cLugreLuaBind_Ogre_IndexData::RegisterMethods(), Lugre::cLugreLuaBind_Ogre_VertexData::RegisterMethods(), Lugre::cBufferedMesh::SetFromMesh(), Lugre::cSpriteList_L::SpriteList_SetSprite(), Lugre::cSpriteList_L::SpriteList_SetSpriteEx(), TransformSubMeshTexCoords(), Lugre::cBufferedSubMesh::TransformTexCoords(), Lugre::cBeam::UpdateBeamBounds(), and Lugre::cSpriteList::cSprite::WriteGeometryClipped().
| T1 Lugre::mymin | ( | T1 | a, | |
| T2 | b | |||
| ) | [inline] |
Definition at line 54 of file lugre_prefix.h.
Referenced by Lugre::cRenderGroup2D::_BoundsAddRect(), Lugre::cTexAtlas::AddImage(), Lugre::cTexAtlas::FillRect(), Lugre::cOgreWrapper::ImageBlit(), l_MeshSetBounds(), Lugre::cMyOISListener::mouseMoved(), Lugre::cThread_LoadFileImpl::operator()(), Lugre::cGfx2D::PrepareFrameStep(), Lugre::cFIFO::PushFilledString(), RectAdd(), Lugre::cLugreLuaBind_Ogre_IndexData::RegisterMethods(), Lugre::cLugreLuaBind_Ogre_VertexData::RegisterMethods(), TransformSubMeshTexCoords(), Lugre::cBufferedSubMesh::TransformTexCoords(), and Lugre::cSpriteList::cSprite::WriteGeometryClipped().
| 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().
| T1 Lugre::mysquare | ( | T1 | a | ) | [inline] |
| int Lugre::mystricmp | ( | const char * | str1, | |
| const char * | str2 | |||
| ) |
| bool Lugre::MySubImage | ( | Ogre::Image & | pImageSrc, | |
| Ogre::Image & | pImageDst, | |||
| int | iOffsetX, | |||
| int | iOffsetY, | |||
| int | iNewWidth, | |||
| int | iNewHeight | |||
| ) |
Definition at line 38 of file lugre_image_L.cpp.
Referenced by Lugre::cLugreLuaBind_Ogre_Image::RegisterMethods(), and Lugre::cImage_L::SubImage().
| 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 | ( | ) |
warning, evil hack, since this is not really supported by ogre
Definition at line 219 of file lugre_ogrewrapper.cpp.
References Lugre::cOgreWrapper::GetSingleton(), lugre_loadOgrePlugins_linux(), Lugre::cOgreWrapper::mCamera, Lugre::cOgreWrapper::mInputManager, Lugre::cOgreWrapper::mJoy, Lugre::cOgreWrapper::mKeyboard, Lugre::cOgreWrapper::mMouse, Lugre::cOgreWrapper::mRoot, Lugre::cOgreWrapper::mSceneMgr, Lugre::cOgreWrapper::mViewport, Lugre::cOgreWrapper::mWindow, PATH_PLUGIN_CFG, PATH_PLUGIN_CFG_TEMPLATE, and sLugreOgrePluginDir.
Referenced by l_Client_ShowOgreConfig().
| 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 | ) |
| std::string Lugre::pathadd | ( | const std::string & | base, | |
| std::string & | add | |||
| ) |
Definition at line 156 of file lugre_robstring.cpp.
References directory_dividers, pathgetdir(), pathgetdirslash(), pathisabsolute(), and PROFILE.
| 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 | ) |
| 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 | |||
| ) |
| 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, | |||
| ... | ||||
| ) |
defined in scripting.cpp
Definition at line 64 of file lugre_scripting.cpp.
References Lugre::cScripting::GetSingletonPtr(), gRobStringBuffer, kRobStringBufferSize, Lugre::cScripting::LuaCall(), and PROFILE.
Referenced by Lugre::cGfx3D::SetText(), and Lugre::cGfx2D::SetText().
| void Lugre::PrintExceptionTipps | ( | std::string | sDescr | ) |
Definition at line 65 of file lugre_scripting.ogre.cpp.
References Lugre::cScripting::GetSingletonPtr(), and Lugre::cScripting::LuaCall().
Referenced by Lugre_Run(), and PrintOgreExceptionAndTipps().
| void Lugre::PrintLuaStackTrace | ( | const char * | filename | ) |
Definition at line 104 of file lugre_scripting.cpp.
References Lugre::cScripting::GetSingletonPtr(), Lugre::cScripting::LuaCall(), Lugre_IsMainThread(), and PROFILE.
| 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 | ) |
Definition at line 215 of file lugre_main.cpp.
References PrintExceptionTipps().
Referenced by l_InitOgre(), l_OgreCreateWindow(), lugre_loadOgrePlugins_linux(), Lugre_Run(), and Lugre::cImage_L::SaveAsFile().
| 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] |
| 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] |
| 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 | ) |
| std::string Lugre::strprintf | ( | const char * | szFormat, | |
| ... | ||||
| ) | [inline] |
Definition at line 44 of file lugre_robstring.h.
References gRobStringBuffer, kRobStringBufferSize, and PROFILEH.
Referenced by Lugre::cOgreWrapper::CreateOgreWindow(), Lugre::FindBasePaths::FindBasePaths(), GetDefaultWorkingDir(), Lugre::FindBasePaths::getLugreLuaPath(), GetMacDefaultResourcesDir(), Lugre::cLuaBind< Lugre::cBufferedMesh >::GetSingletonPtr(), Lugre::cOgreWrapper::GetUniqueName(), Lugre::cTargetMarker::GetUniqueName(), Lugre::cGfx2D::GetUniqueName(), Lugre::cScripting::InitLugreLuaEnvironment(), l_Client_TakeGridScreenshot(), l_GetRandomHexString(), MyCrash(), MyShowError(), Lugre::cLuaBindDirect< Ogre::VertexDeclaration >::RegisterBaseClass(), Lugre::cGfx3D::SetBillboard(), Lugre::cGfx3D::SetMesh(), Lugre::cGfx3D::SetTrail(), and Lugre::cOgreWrapper::TakeScreenshot().
| std::string Lugre::strprintvf | ( | const char * | szFormat, | |
| void * | arglist | |||
| ) |
| std::string Lugre::strtolower | ( | const std::string & | sStr | ) | [inline] |
| std::string Lugre::strtolower | ( | const char * | str | ) | [inline] |
| std::string Lugre::strtoupper | ( | const std::string & | sStr | ) | [inline] |
| std::string Lugre::strtoupper | ( | const char * | str | ) | [inline] |
| 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().
| const char* Lugre::directory_dividers = "\\/:" |
Definition at line 116 of file lugre_robstring.cpp.
Referenced by pathadd(), pathgetdir(), pathgetdirslash(), pathgetfile(), pathisabsolute(), and pathissubpath().
| bool Lugre::gbCrashHandlerRunning = false |
Definition at line 83 of file lugre_main.cpp.
Referenced by MySignalHandler(), and MySignalHandlerAbort().
| bool Lugre::gbCustomWin32ConsoleOpen = false |
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 |
| 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.
| int Lugre::giGfx2DFrameCounter = 0 |
Definition at line 61 of file lugre_gfx2D.cpp.
Referenced by Lugre::cGfx2D::PrepareFrame(), and Lugre::cGfx2D::PrepareFrameStep().
| size_t Lugre::giLastBillboardID = 0 |
| size_t Lugre::giLastMeshID = 0 |
| size_t Lugre::giLastRibbonID = 0 |
| std::map<unsigned int,unsigned char> Lugre::gKeyMapOIS |
| std::map<unsigned char,unsigned int> Lugre::gKeyMapOISInv |
| int Lugre::gLastWinLeft = 0 |
Definition at line 47 of file lugre_ogrewrapper.cpp.
Referenced by Lugre::cOgreWrapper::CreateOgreWindow(), and Lugre::cMyOISListener::mouseMoved().
| int Lugre::gLastWinTop = 0 |
Definition at line 48 of file lugre_ogrewrapper.cpp.
Referenced by Lugre::cOgreWrapper::CreateOgreWindow(), and Lugre::cMyOISListener::mouseMoved().
| Ogre::LogManager* Lugre::gLogMan = 0 |
Definition at line 45 of file lugre_gfx3D.cpp.
Referenced by ClearUnusedParticleSystemCache(), FreeOldUnusedParticleSystems(), PopFromUnusedParticleSystems(), and PushUnusedParticleSystem().
| bool Lugre::gMeshBuffer_PrintStacktraceOnLoad = false |
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().
| bool Lugre::gOgreWrapperEnableUnicode = false |
Definition at line 312 of file lugre_ogrewrapper.cpp.
Referenced by Lugre::cOgreWrapper::CreateOgreWindow(), and OgreWrapperSetEnableUnicode().
Definition at line 459 of file lugre_spritelist_L.cpp.
Referenced by Lugre::cRobRenderable2D_L::Destroy(), Lugre::cRobRenderable2D_L::RobRenderable2D_Close(), and Lugre::cRobRenderable2D_L::RobRenderable2D_Open().
Definition at line 460 of file lugre_spritelist_L.cpp.
Referenced by Lugre::cRobRenderable2D_L::Destroy(), Lugre::cRobRenderable2D_L::RobRenderable2D_Close(), Lugre::cRobRenderable2D_L::RobRenderable2D_Index(), Lugre::cRobRenderable2D_L::RobRenderable2D_Index2(), Lugre::cRobRenderable2D_L::RobRenderable2D_Index3(), Lugre::cRobRenderable2D_L::RobRenderable2D_Open(), Lugre::cRobRenderable2D_L::RobRenderable2D_SkipIndices(), Lugre::cRobRenderable2D_L::RobRenderable2D_SkipVertices(), and Lugre::cRobRenderable2D_L::RobRenderable2D_Vertex().
Definition at line 279 of file lugre_spritelist_L.cpp.
Referenced by Lugre::cSpriteList_L::Destroy(), Lugre::cSpriteList_L::SpriteList_Close(), Lugre::cSpriteList_L::SpriteList_Open(), Lugre::cSpriteList_L::SpriteList_SetSprite(), Lugre::cSpriteList_L::SpriteList_SetSpriteEx(), and Lugre::cSpriteList_L::SpriteList_SetSpritePos().
| char Lugre::gRobStringBuffer = "" |
Definition at line 16 of file lugre_robstring.cpp.
Referenced by LuaErrorHandler(), printdebug(), and strprintf().
| std::string Lugre::gsCustomSceneMgrType |
Definition at line 311 of file lugre_ogrewrapper.cpp.
Referenced by Lugre::cOgreWrapper::CreateOgreWindow(), and OgreWrapperSetCustomSceneMgrType().
| unsigned int Lugre::iPreparedBufferSize = 0 |
| Ogre::PixelFormat Lugre::iPreparedFormat = Ogre::PF_BYTE_RGBA |
Definition at line 27 of file lugre_image_L.cpp.
Referenced by Lugre::cImage_L::CreatePreparedImage(), Lugre::cImage_L::PrepareImage(), and Lugre::cImage_L::SetPixelInPreparedImage().
| unsigned int Lugre::iPreparedHeight = 0 |
Definition at line 30 of file lugre_image_L.cpp.
Referenced by Lugre::cImage_L::CreatePreparedImage(), Lugre::cImage_L::PrepareImage(), and Lugre::cImage_L::SetPixelInPreparedImage().
| unsigned int Lugre::iPreparedRowSize = 0 |
Definition at line 32 of file lugre_image_L.cpp.
Referenced by Lugre::cImage_L::PrepareImage(), and Lugre::cImage_L::SetPixelInPreparedImage().
| unsigned int Lugre::iPreparedWidth = 0 |
Definition at line 29 of file lugre_image_L.cpp.
Referenced by Lugre::cImage_L::CreatePreparedImage(), Lugre::cImage_L::PrepareImage(), and Lugre::cImage_L::SetPixelInPreparedImage().
| const bool Lugre::kGfx3DReuseParticleSystem = true |
Definition at line 47 of file lugre_gfx3D.cpp.
Referenced by PopFromUnusedParticleSystems(), and PushUnusedParticleSystem().
| Ogre::uchar* Lugre::pPreparedBuf = 0 |
Definition at line 28 of file lugre_image_L.cpp.
Referenced by Lugre::cImage_L::CreatePreparedImage(), Lugre::cImage_L::PrepareImage(), and Lugre::cImage_L::SetPixelInPreparedImage().
| std::string Lugre::sCrashText |
Definition at line 40 of file lugre_main.cpp.
Referenced by Lugre_SetCrashText(), and MyShowError().
| std::string Lugre::sLuaMainPath |
see lugre_main.cpp
Definition at line 37 of file lugre_main.cpp.
Referenced by Lugre::cScripting::Init(), Lugre::cScripting::InitLugreLuaEnvironment(), and Lugre_Run().
| std::string Lugre::sLugreLuaPath |
see lugre_main.cpp
Definition at line 38 of file lugre_main.cpp.
Referenced by GetLugreLuaPath(), Lugre::cScripting::InitLugreLuaEnvironment(), and Lugre_Run().
| std::string Lugre::sLugreOgreBaseDir |
| std::string Lugre::sLugreOgrePluginDir |
Definition at line 129 of file lugre_ogrewrapper.cpp.
Referenced by Lugre::cOgreWrapper::Init(), and OgreForceCloseFullscreen().
| std::string Lugre::sMainWorkingDir |
| fd_set Lugre::sSelectSet_Except |
Definition at line 32 of file lugre_net.cpp.
Referenced by Lugre::cUDP_ReceiveSocket::Receive(), and Lugre::cNet::Step().
| fd_set Lugre::sSelectSet_Read |
Definition at line 30 of file lugre_net.cpp.
Referenced by Lugre::cUDP_ReceiveSocket::Receive(), and Lugre::cNet::Step().
| fd_set Lugre::sSelectSet_Write |
Definition at line 31 of file lugre_net.cpp.
Referenced by Lugre::cUDP_ReceiveSocket::Receive(), Lugre::cBroadcast::Step(), and Lugre::cNet::Step().
1.5.6