SO3Engine/SCOLPack/SCOLResources.cpp File Reference

#include "SO3SCOL.h"
#include "../SO3Material/SO3Material.h"
#include "../SO3Material/SO3Texture.h"
#include "../SO3SceneGraph/SO3Scene.h"

Go to the source code of this file.

Defines

#define NBRESOURCESPKG   7

Functions

int SO3AddResourceLocationURL (mmachine m)
 Main include.
int SO3AddResourceLocationZIP (mmachine m)
 SO3AddResourceLocationZIP : Add resource zip in Ogre resource manager
Deprecated
int SO3GroupCreate (mmachine m)
 SO3GroupCreate : Create a new resource group.
int SO3GroupList (mmachine m)
 SO3GroupList : Return a list of declared group.
int SO3GroupDelete (mmachine m)
 SO3GroupDelete : Delete a resource group.
int SO3GroupReload (mmachine m)
 SO3GroupReload : Reload a resource group.
int SO3AddResourceLocationDirectory (mmachine m)
 SO3AddResourceLocationDirectory :This function add resource location directory in a group
Deprecated
int SCOLloadResources (mmachine m, cbmachine w)
 Load the SO3Engine Resources function.
int SCOLfreeResources ()
 free the SO3Engine Viewport function

Variables

char * RESOURCESname [NBRESOURCESPKG]
int(* RESOURCESFunc [NBRESOURCESPKG])(mmachine m)
int RESOURCESnarg [NBRESOURCESPKG]
char * RESOURCESType [NBRESOURCESPKG]

Define Documentation

#define NBRESOURCESPKG   7

Nb of Scol functions or types

Definition at line 573 of file SCOLResources.cpp.


Function Documentation

int SCOLfreeResources (  ) 

free the SO3Engine Viewport function

Parameters:
m : The VM

Definition at line 651 of file SCOLResources.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.


Variable Documentation

int(* RESOURCESFunc[NBRESOURCESPKG])(mmachine m)
Initial value:

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

Definition at line 594 of file SCOLResources.cpp.

char* RESOURCESname[NBRESOURCESPKG]
Initial value:
 
{
        "SO3GroupCreate",
  "SO3GroupDelete",
  "SO3GroupReload",
        "SO3GroupList",
        "SO3AddResourceLocationURL",
        "SO3AddResourceLocationZIP",
        "SO3AddResourceLocationDirectory"
}

Scol function names

Definition at line 579 of file SCOLResources.cpp.

int RESOURCESnarg[NBRESOURCESPKG]
Initial value:
 
{
        2,                                          
        2,                                          
  2,                                          
  1,                                          
        2,                                          
        2,                                          
        2                                           
}

Nb of arguments of each scol function

Definition at line 609 of file SCOLResources.cpp.

char* RESOURCESType[NBRESOURCESPKG]
Initial value:
{
        "fun [SO3_SCENE S] I",                                                    
        "fun [SO3_SCENE S] I",                                                          
  "fun [SO3_SCENE S] I",                                                          
  "fun [SO3_SCENE] [S r1]",                                                     
  "fun [S S] I",                                                                                        
        "fun [S P] I",                                                                                          
        "fun [S S] I"                                                                                             
}

Prototypes of the scol functions

Definition at line 624 of file SCOLResources.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