SO3Engine
Classes | Functions | Variables
SO3SCOL.h File Reference

Go to the source code of this file.

Classes

class  MKEYBOARD
 
class  MWIN
 

Functions

int SCOLEventPhysics (mmachine m, ScolWindowHandle hwnd, unsigned int msg, UINT wParam, LONG lParam, int *ret)
 
void deleteRessource ()
 
int createObject (mmachine m, SNode *curNode, SScene *curScene)
 
int createTerrain (mmachine m, STerrain *terrain, SScene *curScene)
 
int createBone (mmachine m, SNode *curNode, SScene *curScene, SNode *curFather)
 
int createBody (mmachine m, SNode *curNode)
 
int createPhysicContraint (mmachine m, SPhysicContraint *joint)
 
int createAnim (mmachine m, SAnim *curAnim, SNode *curNode)
 
int createAnimTrack (mmachine m, SAnimTrack *curAnimTrack, SAnim *curAnim)
 
int createMaterial (mmachine m, SMaterial *curMaterial, SScene *curScene)
 
int createTexture (mmachine m, STexture *curTexture, SScene *curScene)
 
int createMaterialID (mmachine m, SMaterialID *curMatID, SScene *curScene)
 
int createMaterialPair (mmachine m, SMaterialPair *curMatPair, SScene *curScene)
 
int createCollision (mmachine m)
 
SScene * getSceneByName (string sceneName)
 function to retrieve a scene by its name
 
int createOrRetrieveScolMaterialAndSendToVM (mmachine m, SScene *scene, SMaterial *mat)
 
int SO3DestroyObject (mmachine m, int handle, int obj)
 
int SO3DestroyAnim (mmachine m, int handle, int obj)
 
int SO3DestroyAnimTrack (mmachine m, int handle, int obj)
 
int SO3DestroyScene (mmachine m, int handle, int obj)
 
int SO3DestroyViewport (mmachine m, int handle, int obj)
 
int SO3DestroyOverlay (mmachine m, int handle, int obj)
 
int SO3DestroyPhysicsMaterial (mmachine m, int handle, int obj)
 
int SO3DestroyPhysicsBody (mmachine m, int handle, int obj)
 
int SO3DestroyMaterial (mmachine m, int handle, int obj)
 
int SO3DestroyTexture (mmachine m, int handle, int obj)
 
bool checkGroupExists (std::string group)
 function to check if an Ogre resource group exists
 
bool checkGroupProtected (std::string groupeName)
 function to check if an Ogre resource group is protected
 
int bufferSetReflexes (mmachine m)
 
int RetrieveMWin (mmachine m, ScolWindowHandle windowHwnd)
 
int SetFocusMWin (mmachine m, ScolWindowHandle windowHwnd)
 
void _SO3_Export SCOLloadExternalComponent (int(*scolLoadFunction)(mmachine, cbmachine))
 

Variables

cbmachine ww
 Declaration of machine instance.
 
mmachine mm
 
SRoot * scolRoot
 Shared data.
 
int SO3SCENETYPE
 
int SO3BUFFER
 
int SO3OBJTYPE
 
int SO3TERRAINTYPE
 
int SO3ANIM
 
int SO3ANIMTRACK
 
int SO3VPTYPE
 
int SO3PHYSICSMATERIALTYPE
 
int SO3PHYSICSMATERIALPAIR
 
int SO3MATERIAL
 
int SO3TEXTURE
 
int SO3PHYSICBODY
 
int SO3PHYSICCONTRAINT
 
int SO3WIDGET
 

Function Documentation

◆ bufferSetReflexes()

int bufferSetReflexes ( mmachine  m)

◆ checkGroupExists()

bool checkGroupExists ( std::string  group)

function to check if an Ogre resource group exists

Parameters
groupeName: groupName to check
Returns
exist : true if group exists otherwise false

Definition at line 955 of file SO3SCOL.cpp.

◆ checkGroupProtected()

bool checkGroupProtected ( std::string  groupeName)

function to check if an Ogre resource group is protected

Parameters
groupeName: groupName to check
Returns
protect : true if group is protected otherwise false

Definition at line 974 of file SO3SCOL.cpp.

◆ createAnim()

int createAnim ( mmachine  m,
SAnim curAnim,
SNode curNode 
)

◆ createAnimTrack()

int createAnimTrack ( mmachine  m,
SAnimTrack curAnimTrack,
SAnim curAnim 
)

◆ createBody()

int createBody ( mmachine  m,
SNode curNode 
)

◆ createBone()

int createBone ( mmachine  m,
SNode curNode,
SScene curScene,
SNode curFather 
)

◆ createCollision()

int createCollision ( mmachine  m)

◆ createMaterial()

int createMaterial ( mmachine  m,
SMaterial curMaterial,
SScene curScene 
)

◆ createMaterialID()

int createMaterialID ( mmachine  m,
SMaterialID curMatID,
SScene curScene 
)

◆ createMaterialPair()

int createMaterialPair ( mmachine  m,
SMaterialPair curMatPair,
SScene curScene 
)

◆ createObject()

int createObject ( mmachine  m,
SNode curNode,
SScene curScene 
)

◆ createOrRetrieveScolMaterialAndSendToVM()

int createOrRetrieveScolMaterialAndSendToVM ( mmachine  m,
SScene scene,
SMaterial mat 
)

◆ createPhysicContraint()

int createPhysicContraint ( mmachine  m,
SPhysicContraint joint 
)

◆ createTerrain()

int createTerrain ( mmachine  m,
STerrain terrain,
SScene curScene 
)

◆ createTexture()

int createTexture ( mmachine  m,
STexture curTexture,
SScene curScene 
)

◆ deleteRessource()

void deleteRessource ( )

◆ getSceneByName()

SScene * getSceneByName ( string  sceneName)

function to retrieve a scene by its name

Retrieve direct X version

Parameters
sceneName: name to test
Returns
the scene found

Definition at line 238 of file SO3SCOL.cpp.

◆ RetrieveMWin()

int RetrieveMWin ( mmachine  m,
ScolWindowHandle  windowHwnd 
)

◆ SCOLEventPhysics()

int SCOLEventPhysics ( mmachine  m,
ScolWindowHandle  hwnd,
unsigned int  msg,
UINT  wParam,
LONG  lParam,
int *  ret 
)

◆ SCOLloadExternalComponent()

void _SO3_Export SCOLloadExternalComponent ( int(*)(mmachine, cbmachine)  scolLoadFunction)

Definition at line 5263 of file SO3SCOL.cpp.

◆ SetFocusMWin()

int SetFocusMWin ( mmachine  m,
ScolWindowHandle  windowHwnd 
)

◆ SO3DestroyAnim()

int SO3DestroyAnim ( mmachine  m,
int  handle,
int  obj 
)

◆ SO3DestroyAnimTrack()

int SO3DestroyAnimTrack ( mmachine  m,
int  handle,
int  obj 
)

◆ SO3DestroyMaterial()

int SO3DestroyMaterial ( mmachine  m,
int  handle,
int  obj 
)

◆ SO3DestroyObject()

int SO3DestroyObject ( mmachine  m,
int  handle,
int  obj 
)

◆ SO3DestroyOverlay()

int SO3DestroyOverlay ( mmachine  m,
int  handle,
int  obj 
)

◆ SO3DestroyPhysicsBody()

int SO3DestroyPhysicsBody ( mmachine  m,
int  handle,
int  obj 
)

◆ SO3DestroyPhysicsMaterial()

int SO3DestroyPhysicsMaterial ( mmachine  m,
int  handle,
int  obj 
)

◆ SO3DestroyScene()

int SO3DestroyScene ( mmachine  m,
int  handle,
int  obj 
)

◆ SO3DestroyTexture()

int SO3DestroyTexture ( mmachine  m,
int  handle,
int  obj 
)

◆ SO3DestroyViewport()

int SO3DestroyViewport ( mmachine  m,
int  handle,
int  obj 
)

Variable Documentation

◆ mm

mmachine mm
extern

Definition at line 109 of file SO3SCOL.cpp.

◆ scolRoot

SRoot* scolRoot
extern

Shared data.

Definition at line 186 of file SO3SCOL.cpp.

◆ SO3ANIM

int SO3ANIM
extern

Definition at line 92 of file SO3SCOL.cpp.

◆ SO3ANIMTRACK

int SO3ANIMTRACK
extern

Definition at line 93 of file SO3SCOL.cpp.

◆ SO3BUFFER

int SO3BUFFER
extern

Definition at line 89 of file SO3SCOL.cpp.

◆ SO3MATERIAL

int SO3MATERIAL
extern

Definition at line 97 of file SO3SCOL.cpp.

◆ SO3OBJTYPE

int SO3OBJTYPE
extern

Definition at line 90 of file SO3SCOL.cpp.

◆ SO3PHYSICBODY

int SO3PHYSICBODY
extern

Definition at line 99 of file SO3SCOL.cpp.

◆ SO3PHYSICCONTRAINT

int SO3PHYSICCONTRAINT
extern

Definition at line 100 of file SO3SCOL.cpp.

◆ SO3PHYSICSMATERIALPAIR

int SO3PHYSICSMATERIALPAIR
extern

Definition at line 96 of file SO3SCOL.cpp.

◆ SO3PHYSICSMATERIALTYPE

int SO3PHYSICSMATERIALTYPE
extern

Definition at line 95 of file SO3SCOL.cpp.

◆ SO3SCENETYPE

int SO3SCENETYPE
extern

Definition at line 88 of file SO3SCOL.cpp.

◆ SO3TERRAINTYPE

int SO3TERRAINTYPE
extern

Definition at line 91 of file SO3SCOL.cpp.

◆ SO3TEXTURE

int SO3TEXTURE
extern

Definition at line 98 of file SO3SCOL.cpp.

◆ SO3VPTYPE

int SO3VPTYPE
extern

Definition at line 94 of file SO3SCOL.cpp.

◆ SO3WIDGET

int SO3WIDGET
extern

Definition at line 101 of file SO3SCOL.cpp.

◆ ww

cbmachine ww
extern

Declaration of machine instance.

Declaration of machine instance.

Definition at line 108 of file SO3SCOL.cpp.