Project

General

Profile

Scol standard library package  0.3.1
Common and usefull functions for all Scol applications
base3derror.pkg File Reference

Scol 3D Library - 3D basic error. This package is a part of basic3d.pkg. More...

Functions

 b3d_erGetLastRes ()
 Get the last internal error returned by the error library.
 b3d_errGetLastMsg ()
 Get the last internal number error received by this library.
 b3d_errGetLastNum ()
 Get the last internal number error received by this library.
 b3d_errGetMaskDebug ()
 Get the "DEBUG" mask error.
 b3d_errGetMaskError ()
 Get the "ERROR" mask error.
 b3d_errGetMaskInfo ()
 Get the "INFO" mask error.
 b3d_errGetMaskNo ()
 Get the "EMPTY" mask error.
 b3d_errGetMaskOgre3D ()
 Get the OGRE3D mask error.
 b3d_errGetMaskWarn ()
 Get the "WARNING" mask error.
 b3d_errManager ()
 Get the error manager. The std::error API can be used with it.
 b3d_errorCBogre (szOgre, p)
 b3d_errprint (number, mask)
 b3d_errprintS (msg, mask)
 b3d_errSetMaskOgre3D (mask)
 Set the OGRE3D mask error.
 b3d_initerrormsg (err)

Variables

proto b3d_errorCBogre = fun [S STD_ERROR] I
proto b3d_errprint = fun [I I] I
var iLIB3D_ERR_3DVIEW_NIL = 1200
var iLIB3D_ERR_3DVIEWPORT_NIL = 1300
var iLIB3D_ERR_3DVIEWPORT_SET = 1301
var iLIB3D_ERR_BUFFER = 10
var iLIB3D_ERR_BUFFER_NIL = 11
var iLIB3D_ERR_BUFFER_SET = 12
var iLIB3D_ERR_CAM_FIRSTFOUND = 52
var iLIB3D_ERR_CAM_NIL = 53
var iLIB3D_ERR_CAM_NODEFAULT = 51
var iLIB3D_ERR_CAM_NOTORTHO = 55
var iLIB3D_ERR_CAM_SET = 54
var iLIB3D_ERR_CAM_SH_CREATE = 50
var iLIB3D_ERR_INIT = 1
var iLIB3D_ERR_INIT_ERR = 2
var iLIB3D_ERR_LIGHT_CR = 201
var iLIB3D_ERR_LIGHT_NIL = 202
var iLIB3D_ERR_LIGHT_SET = 200
var iLIB3D_ERR_MASK_DEBUG = 8
var iLIB3D_ERR_MASK_ERROR = 4
var iLIB3D_ERR_MASK_INFO = 1
var iLIB3D_ERR_MASK_OGRE3D = 0
var iLIB3D_ERR_MASK_WARN = 2
var iLIB3D_ERR_OBJ_DESTROY = 106
var iLIB3D_ERR_OBJ_LINK = 103
var iLIB3D_ERR_OBJ_NIL = 100
var iLIB3D_ERR_OBJ_ORIENT = 105
var iLIB3D_ERR_OBJ_POS = 101
var iLIB3D_ERR_OBJ_ROT = 102
var iLIB3D_ERR_OBJ_UKWN = 104
var iLIB3D_ERR_OK = 0
var iLIB3D_ERR_PHYSICS_NIL = 1100
var iLIB3D_ERR_RSC_GRP_CREATE = 40
var iLIB3D_ERR_RSC_NOTFOUND = 41
var iLIB3D_ERR_RSC_NOTLOADED = 42
var iLIB3D_ERR_SESSION_CREATE = 30
var iLIB3D_ERR_SESSION_NIL = 31
var iLIB3D_ERR_WINDOW = 20
var iLIB3D_ERR_WINNIL = 22
var iLIB3D_ERR_WINNOCHANGE = 23
var iLIB3D_ERR_WINSIZE = 21
var iLIB3D_ERRORENABLED = 1
var iLIB3D_LOGHARDFILE = 1
var iLIB3D_LOGTEMPFILE = 0
var iLIB3D_MISC_ARG_BAD = 1002
var iLIB3D_MISC_ARG_NIL = 1000
var iLIB3D_MISC_LOG_OGRE = 1001
var iLIB3D_OBJ_ALREADY_DESTROYED = 1003
typeof Lib3d_error = STD_ERROR
var Lib3d_errorLastMsg = ""
var Lib3d_errorLastNum = 0
var Lib3d_errorLastRes = 0
var szLIB3D_ERR_3DVIEW_NIL = "The given 3D View object is nil"
var szLIB3D_ERR_3DVIEWPORT_NIL = "The given 3D Viewport object is nil"
var szLIB3D_ERR_3DVIEWPORT_SET = "Unable to modify a parameter to the given Viewport object."
var szLIB3D_ERR_BUFFER = "Unable to create the buffer correctly"
var szLIB3D_ERR_BUFFER_NIL = "The buffer object is nil"
var szLIB3D_ERR_BUFFER_SET = "Unable to set a parameter for the given buffer object"
var szLIB3D_ERR_CAM_FIRSTFOUND = "Set to the first camera found"
var szLIB3D_ERR_CAM_NIL = "The given camera is nil"
var szLIB3D_ERR_CAM_NODEFAULT = "No default camera is stored"
var szLIB3D_ERR_CAM_NOTORTHO = "The camera mode is not ORTHOGRAPHIC"
var szLIB3D_ERR_CAM_SET = "Unable to perform this camera operation"
var szLIB3D_ERR_CAM_SH_CREATE = "The shell camera object has not been correctly created"
var szLIB3D_ERR_INIT = "An error occurs during the initialization"
var szLIB3D_ERR_INIT_ERR = "An error occurs during the error initialization"
var szLIB3D_ERR_LIGHT_CR = "Unable to create a new light"
var szLIB3D_ERR_LIGHT_NIL = "The given 3d light is nil"
var szLIB3D_ERR_LIGHT_SET = "Unable to perform a light operation"
var szLIB3D_ERR_OBJ_DESTROY = "Unable to destroy the 3d object"
var szLIB3D_ERR_OBJ_LINK = "Unable to link an 3d object"
var szLIB3D_ERR_OBJ_NIL = "The given 3d object is nil"
var szLIB3D_ERR_OBJ_ORIENT = "Unable to set the new orientation"
var szLIB3D_ERR_OBJ_POS = "Unable to set the pos of an 3d object"
var szLIB3D_ERR_OBJ_ROT = "Unable to set the rotate of an 3d object"
var szLIB3D_ERR_OBJ_UKWN = "The 3d object is not found"
var szLIB3D_ERR_OK = "Successfull"
var szLIB3D_ERR_PHYSICS_NIL = "The given physics object is nil"
var szLIB3D_ERR_RSC_GRP_CREATE = "Cannot create the asked resource group"
var szLIB3D_ERR_RSC_NOTFOUND = "A 3d resource is unavailable"
var szLIB3D_ERR_RSC_NOTLOADED = "A 3d resource can not be loaded"
var szLIB3D_ERR_SESSION_CREATE = "The session object has not been correctly created"
var szLIB3D_ERR_SESSION_NIL = "The given session object is nil"
var szLIB3D_ERR_WINDOW = "The window object has not been correctly created"
var szLIB3D_ERR_WINNIL = "The window object has an invalid size"
var szLIB3D_ERR_WINNOCHANGE = "No change applied to the 3d window"
var szLIB3D_ERR_WINSIZE = "The window object has an invalid size"
var szLIB3D_MISC_ARG_BAD = "A provided argument is bad or incorrect."
var szLIB3D_MISC_ARG_NIL = "A given argument is nil"
var szLIB3D_MISC_LOG_OGRE = "Ogre error message can not be sent in this error manager."
var szLIB3D_OBJ_ALREADY_DESTROYED = "The given object is already destroyed or not created yet."

Detailed Description

Scol 3D Library - 3D basic error. This package is a part of basic3d.pkg.

Author
Scol team
Version
0.1