SO3Engine/SCOLPack/SO3SCOL.cpp File Reference

#include "SO3SCOL.h"
#include "../SO3Animation/SO3Anim.h"
#include "../SO3Animation/SO3AnimTrack.h"
#include "../SO3Material/SO3Compositor.h"
#include "../SO3Material/SO3Material.h"
#include "../SO3Material/SO3Texture.h"
#include "../SO3PhysicGraph/SO3Body.h"
#include "../SO3PhysicGraph/SO3MaterialID.h"
#include "../SO3PhysicGraph/SO3MaterialPair.h"
#include "../SO3Renderer/SO3FlashWidget.h"
#include "../SO3Renderer/SO3Root.h"
#include "../SO3Renderer/SO3Viewport.h"
#include "../SO3Renderer/SO3WidgetManager.h"
#include "../SO3Renderer/SO3Window.h"
#include "../SO3SceneGraph/SO3Camera.h"
#include "../SO3SceneGraph/SO3Light.h"
#include "../SO3SceneGraph/SO3NodeScol.h"
#include "../SO3SceneGraph/SO3Scene.h"
#include "../SO3SceneGraph/SO3Bone.h"
#include "../SO3SceneGraph/SO3Skeleton.h"

Go to the source code of this file.

Defines

#define HASH_SIZE   256
#define NbSO3EnginePKG   155

Typedefs

typedef UINT(CALLBACK * PROCINTERNALGETWINDOWTEXT )(HWND, LPWSTR, int)

Functions

std::string GetDirectxVersion ()
SScenegetSceneByName (string sceneName)
 function to retrieve a scene by its name
int createOrRetrieveScolMaterialAndSendToVM (mmachine m, SScene *scene, SMaterial *material)
 function to retireve a material by name
int createObject (mmachine m, SNode *curNode, SScene *curScene)
 function to create a new scol object : SO3_OBJECT
int createBone (mmachine m, SNode *curNode, SScene *curScene, SNode *curFather)
 function to create a new scol bone object
int createBody (mmachine m, SNode *curNode)
 function to create a new scol body object
int createAnim (mmachine m, SAnim *curAnim, SNode *curNode)
 function to create a new scol animation object
int createAnimTrack (mmachine m, SAnimTrack *curAnimTrack, SAnim *curAnim)
 function to create a new scol animationTrack object
int createMaterial (mmachine m, SMaterial *curMaterial, SScene *curScene)
 function to create a new scol material object
int createTexture (mmachine m, STexture *curTexture, SScene *curScene)
 function to create a new scol texture object
int createMaterialID (mmachine m, SMaterialID *curMatID, SScene *curScene)
 function to create a new scol Material ID object
int createMaterialPair (mmachine m, SMaterialPair *curMatPair, SScene *curScene)
 function to create a new scol Material Pair object
int destroyObject (mmachine m, int handle, int obj)
 function to destroy an SO3_OBJECT in scol
int destroyAnim (mmachine m, int handle, int obj)
 function to destroy an SO3_ANIM in scol
int destroyAnimTrack (mmachine m, int handle, int obj)
 function to destroy an SO3_ANIMTRACK in scol
int destroyPhysicsBody (mmachine m, int handle, int obj)
 function to destroy an SO3_PHYSICBODY in scol
int destroyPhysicsMaterialPair (mmachine m, int handle, int obj)
 function to destroy an SO3_MATERIALPAIR in scol
int destroyScene (mmachine m, int handle, int obj)
 function to destroy an SO3_SCENE in scol
int destroyViewport (mmachine m, int handle, int obj)
 function to destroy an SO3_VIEWPORT in scol
int destroyBufferOgre (mmachine m, int handle, int obj)
 function to destroy an SO3_BUFFER in scol
int destroyWidget (mmachine m, int handle, int obj)
 function to destroy an SO3_WIDGET in scol
int destroyPhysicsMaterial (mmachine m, int handle, int obj)
 function to destroy an SO3_MATERIALID in scol
int destroyMaterial (mmachine m, int handle, int obj)
 function to destroy an SO3_MATERIAL in scol
int destroyTexture (mmachine m, int handle, int obj)
 function to destroy an SO3_TEXTURE in scol
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
SRoot::RenderSystem setRenderer ()
 function to defines SO3Engine renderer (depends of key word in usm.ini)
std::string getFSAA ()
 function to defines Multisampling level
void CALLBACK mainLoopTimerProc (HWND hwnd, UINT uMsg, UINT idEvent, DWORD dwTime)
bool initSO3 (WindowHandle windowHandle)
 function which init the SO3Engine
int createSO3Buffer (mmachine m, WindowHandle curWin, int w, int h, std::string name)
 function to create SO3Buffer (Ogre surface on scol window)
string GetOSVersion ()
 function to retrieve OS informations
int SO3BufferCreate (mmachine m)
 SO3BufferCreate : This function create a new SO3_BUFFER Object.
int SO3BufferSetProperties (mmachine m)
 SO3BufferSetProperties : This function defines properties of a SO3_BUFFER Object.
int SO3BufferSetStereoVision (mmachine m)
 SO3BufferSetStereoVision : This function defines stereo vision mode on a SO3_BUFFER Object.
int SO3BufferGetStereoVisionProperties (mmachine m)
 SO3BufferGetStereoVisionProperties : Get stereo vision properties.
int SO3GetAPIVersion (mmachine m)
 SO3GetAPIVersion : Get the SO3 plugin API version.
int SO3GetGeneralInfo (mmachine m)
 SO3GetGeneralInfo : Get general informations about the user system.
int SO3GetFullscreenVideoMode (mmachine m)
 SO3GetFullscreenVideoMode : Get fullscreen video mode supported by user.
int SO3GetMultisamplingMode (mmachine m)
 SO3GetMultisamplingMode : Get multi sampling mode supported by user.
int SO3BufferGetFSAA (mmachine m)
 SO3BufferGetFSAA : Get multi sampling mode setted.
int SO3GetRendererInfo (mmachine m)
 SO3GetRendererInfo : get rendering informations DEPRECATED FUNCTION Prototype: fun [] [S S].
int SO3GetRendererList (mmachine m)
 SO3GetRendererList : get renderers list DEPRECATED FUNCTION Prototype: fun [] [S r1].
int SO3GetActiveRenderer (mmachine m)
 SO3GetActiveRenderer : get active renderer DEPRECATED FUNCTION Prototype: fun [] S.
int SO3BufferGetAverageFPS (mmachine m)
 SO3BufferGetAverageFPS : get the average FPS.
int SO3BufferGetBestFPS (mmachine m)
 SO3BufferGetBestFPS : get the best FPS.
int SO3BufferGetWorstFPS (mmachine m)
 SO3BufferGetWorstFPS : get the worst FPS.
int SO3BufferGetBestFrametime (mmachine m)
 SO3BufferGetBestFrametime : get the best frametime.
int SO3BufferGetWorstFrametime (mmachine m)
 SO3BufferGetWorstFrametime : get the worst frametime.
int SO3BufferGetTriangleCount (mmachine m)
 SO3BufferGetTriangleCount : get the number of triangle displayed in a SO3_BUFFER.
int SO3BufferGetBatchCount (mmachine m)
 SO3BufferGetBatchCount : get the batch count displayed in a SO3_BUFFER.
int SO3OverlayCreate (mmachine m)
 SO3OverlayCreate : Create an SO3_OVERLAY DEPRECATED Prototype: fun [Chn S] SO3_OVERLAY.
int SO3DebugDisplayProperties (mmachine m)
 SO3DebugDisplayProperties : Create an overlay to print debug text.
int SO3DebugSetText (mmachine m)
 SO3DebugSetText : Set Debug Text on a Viewport.
int SO3DebugSetEnable (mmachine m)
 SO3DebugSetEnable : Set Debug Text enable/disable on a Viewport.
int SO3DebugGetEnable (mmachine m)
 SO3DebugGetEnable : Get the debug overlay state on a buffer.
int SO3DestroyBuffer (mmachine m)
 SO3DestroyBuffer : Scol function to destroy a SO3_BUFFER.
int SO3BufferUpdate (mmachine m)
 SO3BufferUpdate : function to update a SO3_BUFFER.
int SO3BufferGetLastMouseInfos (mmachine m)
 SO3BufferGetLastMouseInfos : get Last raycast info of a given render window.
int SO3CbBufferPreRender (mmachine m)
 SO3CbBufferPreRender : defines callback for pre render event.
int SO3CbBufferPostRender (mmachine m)
 SO3CbBufferPostRender : defines callback for post render event.
int getBufferPreRenderEvent (mmachine m, WindowHandle h, unsigned msg, UINT id, LONG param, int *ret)
int getBufferPostRenderEvent (mmachine m, WindowHandle h, unsigned msg, UINT id, LONG param, int *ret)
int SCOLloadMaths (mmachine m, cbmachine w)
 Load the SO3Engine Mathematical functions.
int SCOLloadResources (mmachine m, cbmachine w)
 Load the SO3Engine Resources function.
int SCOLloadViewport (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
int SCOLloadLight (mmachine m, cbmachine w)
 Load the SO3Engine Lights function.
int SCOLloadCamera (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
int SCOLloadAnim (mmachine m, cbmachine w)
int SCOLloadBapFap (mmachine m, cbmachine w)
 Load the SO3Engine Bap Fap function.
int SCOLloadObject (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
int SCOLloadScene (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
int SCOLloadMaterial (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
int SCOLloadPhysics (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
int SCOLloadParticle (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
int SCOLloadFlashControl (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
int SCOLloadBitmapWidget (mmachine m, cbmachine w)
 Load the SO3Engine Bitmap widget function.
int SCOLloadObjWindowWidget (mmachine m, cbmachine w)
 Load the SO3Engine ObjWindow widget function.
int SCOLloadBone (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
int SCOLloadEntity (mmachine m, cbmachine w)
 Load the SO3Engine Entity function.
int SCOLloadDynamicCubeMap (mmachine m, cbmachine w)
 Load the SO3Engine DynamicCubeMap function.
int SCOLloadDynamicReflectionMap (mmachine m, cbmachine w)
 Load the SO3Engine DynamicReflectionMap function.
int SCOLloadWidget (mmachine m, cbmachine w)
 Load the SO3Engine Widgets function.
int SCOLloadLogs (mmachine m, cbmachine w)
 Load the SO3Engine Logs function.
int SCOLloadEnvironment (mmachine m, cbmachine w)
 Load the SO3Engine Environment functions.
int SCOLfreeWidget ()
 free the SO3Engine Viewport function
int SCOLfreeLogs ()
 free the SO3Engine Logs function
int SCOLfreeEnvironment ()
 free the SO3Engine environment functions
int loadingSO3EngineMachine (mmachine m)
 Load the SO3Engine.
 __declspec (dllexport) int ScolLoadPlugin(mmachine m
 Starting point of the DLL.
 MMechostr (MSKDEBUG," > Start loading Plugin SO3Engine dll\n")
void SCOLloadExternalComponent (int(*scolLoadFunction)(mmachine, cbmachine))

Variables

int SO3SCENETYPE
 Main include.
int SO3BUFFER
int SO3OBJTYPE
int SO3ANIM
int SO3ANIMTRACK
int SO3VPTYPE
int SO3PHYSICSMATERIALTYPE
int SO3PHYSICSMATERIALPAIR
int SO3MATERIAL
int SO3TEXTURE
int SO3PHYSICBODY
int SO3WIDGET
WindowHandle hwndScol = (WindowHandle)SCgetExtra("hscol")
 Scol main windows.
int mainTimerId
 Main render loop timer ID.
bool bShutdownRequested
 Needed to ignore last pending global timer loop messages after shutdown;.
cbmachine ww = w
 Scol machine declaration for MM macros.
mmachine mm = m
HGLRC mainglrc = NULL
HDC mainhdc = NULL
WindowHandle mainhwnd = NULL
bool arbMultisampleSupported = false
int mainBPP = 0
int mainPIXELFORMAT = 0
int maxSamples = 0
int Multi_Pass = 2
PFNWGLCHOOSEPIXELFORMATARBPROC wglChoosePixelFormatARB
SRootscolRoot = NULL
 Shared data.
int SCENE_PRE_RENDER_EVENT
 Scol CallBack declaration.
int SCENE_POST_RENDER_EVENT
int BUFFER_PRE_RENDER_EVENT
int BUFFER_POST_RENDER_EVENT
char * SO3EngineName [NbSO3EnginePKG]
int(* SO3EngineFunc [NbSO3EnginePKG])(mmachine m)
int SO3EngineNArg [NbSO3EnginePKG]
char * SO3EngineType [NbSO3EnginePKG]
cbmachine w int k = 0

Define Documentation

#define HASH_SIZE   256

Definition at line 104 of file SO3SCOL.cpp.

#define NbSO3EnginePKG   155

Nb of Scol functions or types

Definition at line 2654 of file SO3SCOL.cpp.


Typedef Documentation

typedef UINT(CALLBACK * PROCINTERNALGETWINDOWTEXT)(HWND, LPWSTR, int)

Definition at line 107 of file SO3SCOL.cpp.


Function Documentation

__declspec ( dllexport   ) 

Starting point of the DLL.

Ending point of the DLL.

Parameters:
m :
w :

Definition at line 3083 of file SO3SCOL.cpp.

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 708 of file SO3SCOL.cpp.

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 727 of file SO3SCOL.cpp.

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

function to create a new scol animation object

Parameters:
m : current machine
curAnim : current animation
curNode : current Node
Returns:
SO3_ANIM : Animation Object if success, NIL otherwise

Definition at line 276 of file SO3SCOL.cpp.

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

function to create a new scol animationTrack object

Parameters:
m : current machine
curAnimTrack : current animationTrack
curAnim : current Animation
Returns:
SO3_ANIMTRACK : animationTrack Object if success, NIL otherwise

Definition at line 298 of file SO3SCOL.cpp.

int createBody ( mmachine  m,
SNode curNode 
)

function to create a new scol body object

Parameters:
m : current machine
curBody : current body
curNode : current Node
Returns:
SO3_PHYSICBODY : Body Object if success, NIL otherwise

Definition at line 254 of file SO3SCOL.cpp.

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

function to create a new scol bone object

Parameters:
m : current machine
curNode : current Node
curScene : current Scene
curFather : current fther of the bone
Returns:
SO3_OBJECT : Object if success, NIL otherwise

Definition at line 232 of file SO3SCOL.cpp.

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

function to create a new scol material object

Parameters:
m : current machine
curMaterial : current material
curScene : current Scene
Returns:
SO3_MATERIAL : Material Object if success, NIL otherwise

Definition at line 320 of file SO3SCOL.cpp.

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

function to create a new scol Material ID object

Parameters:
m : current machine
curMatID : current material ID
curScene : current Scene
Returns:
SO3_MATERIALID : Material ID Object if success, NIL otherwise

Definition at line 364 of file SO3SCOL.cpp.

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

function to create a new scol Material Pair object

Parameters:
m : current machine
curMatPair : current material Pair
curScene : current Scene
Returns:
SO3_MATERIALPAIR : Material PAIR Object if success, NIL otherwise

Definition at line 386 of file SO3SCOL.cpp.

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

function to create a new scol object : SO3_OBJECT

Parameters:
m : current machine
curNode : current Node
curScene : current Scene
Returns:
SO3_OBJECT : Object if success, NIL otherwise

Definition at line 206 of file SO3SCOL.cpp.

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

function to retireve a material by name

Parameters:
scene : current scene
result : resulting material
testName : name to check
Returns:
ret : true if success false otherwise

Definition at line 175 of file SO3SCOL.cpp.

int createSO3Buffer ( mmachine  m,
WindowHandle  curWin,
int  w,
int  h,
std::string  name 
)

function to create SO3Buffer (Ogre surface on scol window)

Parameters:
m : current machine
curWin : scol window for Ogre buffer
w : window's weigh
h : window's height
name : name of the window
Returns:
0 if success

Definition at line 1072 of file SO3SCOL.cpp.

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

function to create a new scol texture object

Parameters:
m : current machine
curTexture : current texture
curScene : current Scene
Returns:
SO3_TEXTURE : Texture Object if success, NIL otherwise

Definition at line 342 of file SO3SCOL.cpp.

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

function to destroy an SO3_ANIM in scol

Parameters:
m : current machine
handle : given handle
obj : given SO3_ANIM
Returns:
0 if success

Definition at line 453 of file SO3SCOL.cpp.

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

function to destroy an SO3_ANIMTRACK in scol

Parameters:
m : current machine
handle : given handle
obj : given SO3_ANIMTRACK
Returns:
0 if success

Definition at line 479 of file SO3SCOL.cpp.

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

function to destroy an SO3_BUFFER in scol

Parameters:
m : current machine
handle : given handle
obj : given SO3_BUFFER
Returns:
0 if success

Definition at line 594 of file SO3SCOL.cpp.

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

function to destroy an SO3_MATERIAL in scol

Parameters:
m : current machine
handle : given handle
obj : given SO3_MATERIAL
Returns:
0 if success

Definition at line 664 of file SO3SCOL.cpp.

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

function to destroy an SO3_OBJECT in scol

Parameters:
m : current machine
handle : given handle
obj : given SO3_OBJECT
Returns:
0 if success

Definition at line 408 of file SO3SCOL.cpp.

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

function to destroy an SO3_PHYSICBODY in scol

Parameters:
m : current machine
handle : given handle
obj : given SO3_PHYSICBODY
Returns:
0 if success

Definition at line 502 of file SO3SCOL.cpp.

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

function to destroy an SO3_MATERIALID in scol

Parameters:
m : current machine
handle : given handle
obj : given SO3_MATERIALID
Returns:
0 if success

Definition at line 642 of file SO3SCOL.cpp.

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

function to destroy an SO3_MATERIALPAIR in scol

Parameters:
m : current machine
handle : given handle
obj : given SO3_MATERIALPAIR
Returns:
0 if success

Definition at line 525 of file SO3SCOL.cpp.

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

function to destroy an SO3_SCENE in scol

Parameters:
m : current machine
handle : given handle
obj : given SO3_SCENE
Returns:
0 if success

Definition at line 548 of file SO3SCOL.cpp.

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

function to destroy an SO3_TEXTURE in scol

Parameters:
m : current machine
handle : given handle
obj : given SO3_TEXTURE
Returns:
0 if success

Definition at line 687 of file SO3SCOL.cpp.

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

function to destroy an SO3_VIEWPORT in scol

Parameters:
m : current machine
handle : given handle
obj : given SO3_VIEWPORT
Returns:
0 if success

Definition at line 571 of file SO3SCOL.cpp.

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

function to destroy an SO3_WIDGET in scol

Parameters:
m : current machine
handle : given handle
obj : given SO3_SO3Widget
Returns:
0 if success

Definition at line 617 of file SO3SCOL.cpp.

int getBufferPostRenderEvent ( mmachine  m,
WindowHandle  h,
unsigned  msg,
UINT  id,
LONG  param,
int *  ret 
)

Definition at line 2601 of file SO3SCOL.cpp.

int getBufferPreRenderEvent ( mmachine  m,
WindowHandle  h,
unsigned  msg,
UINT  id,
LONG  param,
int *  ret 
)

Definition at line 2586 of file SO3SCOL.cpp.

std::string GetDirectxVersion (  ) 

Retrieve direct X version

Definition at line 132 of file SO3SCOL.cpp.

std::string getFSAA (  ) 

function to defines Multisampling level

Returns:
FSAA : value for multisampling

Definition at line 879 of file SO3SCOL.cpp.

string GetOSVersion (  ) 

function to retrieve OS informations

Returns:
result : OS version

Definition at line 1114 of file SO3SCOL.cpp.

SScene* getSceneByName ( string  sceneName  ) 

function to retrieve a scene by its name

Parameters:
sceneName : name to test
Returns:
the scene found

Definition at line 161 of file SO3SCOL.cpp.

bool initSO3 ( WindowHandle  windowHandle  ) 

function which init the SO3Engine

Returns:
true if success otherwise false

SCOL Partition Manipulation Warning : Setting the AddResource with booleen to false

Definition at line 988 of file SO3SCOL.cpp.

int loadingSO3EngineMachine ( mmachine  m  ) 

Load the SO3Engine.

Parameters:
m : The VM

Definition at line 2980 of file SO3SCOL.cpp.

void CALLBACK mainLoopTimerProc ( HWND  hwnd,
UINT  uMsg,
UINT  idEvent,
DWORD  dwTime 
)

Definition at line 977 of file SO3SCOL.cpp.

MMechostr ( MSKDEBUG  ,
,
Start loading Plugin SO3Engine dll\n"   
)
int SCOLfreeEnvironment (  ) 

free the SO3Engine environment functions

Parameters:
m : The VM

Definition at line 3161 of file SCOLEnvironment.cpp.

int SCOLfreeLogs (  ) 

free the SO3Engine Logs function

Parameters:
m : The VM

Definition at line 308 of file SCOLLog.cpp.

int SCOLfreeWidget (  ) 

free the SO3Engine Viewport function

Parameters:
m : The VM

Definition at line 2070 of file SCOLWidget.cpp.

int SCOLloadAnim ( mmachine  m,
cbmachine  w 
)

Definition at line 2874 of file SCOLAnim.cpp.

int SCOLloadBapFap ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Bap Fap function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 893 of file SCOLBAPFAP.cpp.

int SCOLloadBitmapWidget ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Bitmap widget function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 525 of file SCOLBitmapWidget.cpp.

int SCOLloadBone ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 307 of file SCOLBones.cpp.

int SCOLloadCamera ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 1356 of file SCOLCamera.cpp.

int SCOLloadDynamicCubeMap ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine DynamicCubeMap function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 539 of file SCOLDynamicCubeMap.cpp.

int SCOLloadDynamicReflectionMap ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine DynamicReflectionMap function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 509 of file SCOLDynamicReflectionMap.cpp.

int SCOLloadEntity ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Entity function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 601 of file SCOLEntity.cpp.

int SCOLloadEnvironment ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Environment functions.

Parameters:
m : The VM
w : The Callback VM

Definition at line 3152 of file SCOLEnvironment.cpp.

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

Definition at line 3105 of file SO3SCOL.cpp.

int SCOLloadFlashControl ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 843 of file SCOLFlashControl.cpp.

int SCOLloadLight ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Lights function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 1109 of file SCOLLight.cpp.

int SCOLloadLogs ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Logs function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 291 of file SCOLLog.cpp.

int SCOLloadMaterial ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 2991 of file SCOLMaterial.cpp.

int SCOLloadMaths ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Mathematical functions.

Scol load pkg Functions

Parameters:
m : The VM
w : The Callback VM

Definition at line 2635 of file SCOLMaths.cpp.

int SCOLloadObject ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 3906 of file SCOLObject.cpp.

int SCOLloadObjWindowWidget ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine ObjWindow widget function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 446 of file SCOLObjWindowWidget.cpp.

int SCOLloadParticle ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 526 of file SCOLParticle.cpp.

int SCOLloadPhysics ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 5006 of file SCOLPhysics.cpp.

int SCOLloadResources ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Resources function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 641 of file SCOLResources.cpp.

int SCOLloadScene ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 4623 of file SCOLScene.cpp.

int SCOLloadViewport ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 1469 of file SCOLViewport.cpp.

int SCOLloadWidget ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Widgets function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 2035 of file SCOLWidget.cpp.

SRoot::RenderSystem setRenderer (  ) 

function to defines SO3Engine renderer (depends of key word in usm.ini)

Returns:
renderer : OGLRenderer if renderer is OpenGL otherwise DXRenderer

Definition at line 747 of file SO3SCOL.cpp.


Variable Documentation

Definition at line 111 of file SO3SCOL.cpp.

Needed to ignore last pending global timer loop messages after shutdown;.

Definition at line 99 of file SO3SCOL.cpp.

Definition at line 127 of file SO3SCOL.cpp.

Definition at line 126 of file SO3SCOL.cpp.

hwndScol = (WindowHandle)SCgetExtra("hscol")

Scol main windows.

Scol main windows.

global declarations

Definition at line 3029 of file SO3SCOL.cpp.

cbmachine w int k = 0

Definition at line 3023 of file SO3SCOL.cpp.

int mainBPP = 0

Definition at line 112 of file SO3SCOL.cpp.

HGLRC mainglrc = NULL

Definition at line 108 of file SO3SCOL.cpp.

HDC mainhdc = NULL

Definition at line 109 of file SO3SCOL.cpp.

WindowHandle mainhwnd = NULL

Definition at line 110 of file SO3SCOL.cpp.

int mainPIXELFORMAT = 0

Definition at line 113 of file SO3SCOL.cpp.

Main render loop timer ID.

Definition at line 97 of file SO3SCOL.cpp.

int maxSamples = 0

Definition at line 114 of file SO3SCOL.cpp.

mm = m

Definition at line 103 of file SO3SCOL.cpp.

int Multi_Pass = 2

Definition at line 115 of file SO3SCOL.cpp.

Definition at line 124 of file SO3SCOL.cpp.

Scol CallBack declaration.

main include

Definition at line 123 of file SO3SCOL.cpp.

SRoot* scolRoot = NULL

Shared data.

Definition at line 120 of file SO3SCOL.cpp.

int SO3ANIM

Definition at line 83 of file SO3SCOL.cpp.

Definition at line 84 of file SO3SCOL.cpp.

int SO3BUFFER

Definition at line 81 of file SO3SCOL.cpp.

int(* SO3EngineFunc[NbSO3EnginePKG])(mmachine m)

Pointers to C functions that manipulate the VM for each scol function previously defined

Definition at line 2739 of file SO3SCOL.cpp.

char* SO3EngineName[NbSO3EnginePKG]

Scol function names

Definition at line 2660 of file SO3SCOL.cpp.

int SO3EngineNArg[NbSO3EnginePKG]

Nb of arguments of each scol function

Definition at line 2818 of file SO3SCOL.cpp.

char* SO3EngineType[NbSO3EnginePKG]

Prototypes of the scol functions

Definition at line 2898 of file SO3SCOL.cpp.

Definition at line 88 of file SO3SCOL.cpp.

Definition at line 82 of file SO3SCOL.cpp.

Definition at line 90 of file SO3SCOL.cpp.

Definition at line 87 of file SO3SCOL.cpp.

Definition at line 86 of file SO3SCOL.cpp.

Main include.

main include

Scol obj types

Definition at line 80 of file SO3SCOL.cpp.

Definition at line 89 of file SO3SCOL.cpp.

int SO3VPTYPE

Definition at line 85 of file SO3SCOL.cpp.

int SO3WIDGET

Definition at line 91 of file SO3SCOL.cpp.

PFNWGLCHOOSEPIXELFORMATARBPROC wglChoosePixelFormatARB

Definition at line 117 of file SO3SCOL.cpp.

ww = w

Scol machine declaration for MM macros.

Declaration of machine instance.

Definition at line 102 of file SO3SCOL.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Oct 31 14:42:32 2011 for SO3Engine by  doxygen 1.6.3