#include "../SCOLBasic/SO3Std.h"#include <dxdiag.h>#include "DSETUP.H"#include <time.h>#include "../SCOLBasic/Cpuid.h"#include <scol.h>#include "../SCOLBasic/Version.h"#include "gl.h"#include "wglext.h"#include <shlobj.h>Go to the source code of this file.
Classes | |
| class | MKEYBOARD |
| class | MWIN |
Defines | |
| #define | INITGUID |
| utils libraries for SO3Engine | |
| #define | RETPUL(x, y) { for (int i=0;i<x-1;i++) MMpull(m); MMset(m,0,y); return 0; } |
| global functions declaration | |
Typedefs | |
| typedef UINT(CALLBACK * | PROCINTERNALGETWINDOWTEXT )(HWND, LPWSTR, int) |
Functions | |
| int | SCOLEventPhysics (mmachine m, WindowHandle hwnd, unsigned msg, UINT wParam, LONG lParam, int *ret) |
| void | deleteRessource () |
| 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 | createCollision (mmachine m) |
| SScene * | getSceneByName (string sceneName) |
| function to retrieve a scene by its name | |
| int | createOrRetrieveScolMaterialAndSendToVM (mmachine m, SScene *scene, SMaterial *mat) |
| function to retireve a material by name | |
| 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, WindowHandle windowHwnd) |
| int | SetFocusMWin (mmachine m, WindowHandle windowHwnd) |
| void _SO3_Export | SCOLloadExternalComponent (int(*scolLoadFunction)(mmachine, cbmachine)) |
Variables | |
| cbmachine | ww |
| Declaration of machine instance. | |
| mmachine | mm |
| SRoot * | scolRoot |
| Shared data. | |
| 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 |
| #define INITGUID |
| #define RETPUL | ( | x, | |||
| y | ) | { for (int i=0;i<x-1;i++) MMpull(m); MMset(m,0,y); return 0; } |
| typedef UINT(CALLBACK * PROCINTERNALGETWINDOWTEXT)(HWND, LPWSTR, int) |
| int bufferSetReflexes | ( | mmachine | m | ) |
| bool checkGroupExists | ( | std::string | group | ) |
function to check if an Ogre resource group exists
| groupeName | : groupName to check |
Definition at line 708 of file SO3SCOL.cpp.
| bool checkGroupProtected | ( | std::string | groupeName | ) |
function to check if an Ogre resource group is protected
| groupeName | : groupName to check |
Definition at line 727 of file SO3SCOL.cpp.
function to create a new scol animation object
| m | : current machine | |
| curAnim | : current animation | |
| curNode | : current Node |
Definition at line 276 of file SO3SCOL.cpp.
| int createAnimTrack | ( | mmachine | m, | |
| SAnimTrack * | curAnimTrack, | |||
| SAnim * | curAnim | |||
| ) |
function to create a new scol animationTrack object
| m | : current machine | |
| curAnimTrack | : current animationTrack | |
| curAnim | : current Animation |
Definition at line 298 of file SO3SCOL.cpp.
function to create a new scol body object
| m | : current machine | |
| curBody | : current body | |
| curNode | : current Node |
Definition at line 254 of file SO3SCOL.cpp.
function to create a new scol bone object
| m | : current machine | |
| curNode | : current Node | |
| curScene | : current Scene | |
| curFather | : current fther of the bone |
Definition at line 232 of file SO3SCOL.cpp.
| int createCollision | ( | mmachine | m | ) |
function to create a new scol material object
| m | : current machine | |
| curMaterial | : current material | |
| curScene | : current Scene |
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
| m | : current machine | |
| curMatID | : current material ID | |
| curScene | : current Scene |
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
| m | : current machine | |
| curMatPair | : current material Pair | |
| curScene | : current Scene |
Definition at line 386 of file SO3SCOL.cpp.
function to create a new scol object : SO3_OBJECT
| m | : current machine | |
| curNode | : current Node | |
| curScene | : current Scene |
Definition at line 206 of file SO3SCOL.cpp.
function to retireve a material by name
| scene | : current scene | |
| result | : resulting material | |
| testName | : name to check |
Definition at line 175 of file SO3SCOL.cpp.
function to create a new scol texture object
| m | : current machine | |
| curTexture | : current texture | |
| curScene | : current Scene |
Definition at line 342 of file SO3SCOL.cpp.
| void deleteRessource | ( | ) |
| SScene* getSceneByName | ( | string | sceneName | ) |
function to retrieve a scene by its name
| sceneName | : name to test |
Definition at line 161 of file SO3SCOL.cpp.
| int RetrieveMWin | ( | mmachine | m, | |
| WindowHandle | windowHwnd | |||
| ) |
| int SCOLEventPhysics | ( | mmachine | m, | |
| WindowHandle | hwnd, | |||
| unsigned | msg, | |||
| UINT | wParam, | |||
| LONG | lParam, | |||
| int * | ret | |||
| ) |
Definition at line 3105 of file SO3SCOL.cpp.
| int SetFocusMWin | ( | mmachine | m, | |
| WindowHandle | windowHwnd | |||
| ) |
| int SO3DestroyAnim | ( | mmachine | m, | |
| int | handle, | |||
| int | obj | |||
| ) |
| int SO3DestroyAnimTrack | ( | mmachine | m, | |
| int | handle, | |||
| int | obj | |||
| ) |
| int SO3DestroyMaterial | ( | mmachine | m, | |
| int | handle, | |||
| int | obj | |||
| ) |
| int SO3DestroyObject | ( | mmachine | m, | |
| int | handle, | |||
| int | obj | |||
| ) |
| int SO3DestroyOverlay | ( | mmachine | m, | |
| int | handle, | |||
| int | obj | |||
| ) |
| int SO3DestroyPhysicsBody | ( | mmachine | m, | |
| int | handle, | |||
| int | obj | |||
| ) |
| int SO3DestroyPhysicsMaterial | ( | mmachine | m, | |
| int | handle, | |||
| int | obj | |||
| ) |
| int SO3DestroyScene | ( | mmachine | m, | |
| int | handle, | |||
| int | obj | |||
| ) |
| int SO3DestroyTexture | ( | mmachine | m, | |
| int | handle, | |||
| int | obj | |||
| ) |
| int SO3DestroyViewport | ( | mmachine | m, | |
| int | handle, | |||
| int | obj | |||
| ) |
Definition at line 103 of file SO3SCOL.cpp.
Shared data.
Definition at line 120 of file SO3SCOL.cpp.
| int SO3ANIM |
Definition at line 83 of file SO3SCOL.cpp.
| int SO3ANIMTRACK |
Definition at line 84 of file SO3SCOL.cpp.
| int SO3BUFFER |
Definition at line 81 of file SO3SCOL.cpp.
| int SO3MATERIAL |
Definition at line 88 of file SO3SCOL.cpp.
| int SO3OBJTYPE |
Definition at line 82 of file SO3SCOL.cpp.
| int SO3PHYSICBODY |
Definition at line 90 of file SO3SCOL.cpp.
Definition at line 87 of file SO3SCOL.cpp.
Definition at line 86 of file SO3SCOL.cpp.
| int SO3SCENETYPE |
| int SO3TEXTURE |
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.
Declaration of machine instance.
Definition at line 102 of file SO3SCOL.cpp.
1.6.3