Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
textureError.h
00001 /* Error codes of the "texture" library */
00002 
00003 #ifndef _TEXTURE_ERROR_H
00004 #define _TEXTURE_ERROR_H
00005 
00006 #define TexErrNum(mod,num)   ((((mod) & 0xFFFF) << 16) | ((num) & 0xFFFF))
00007 
00008 #define error(a) (a)
00009         
00010 #define Cf_TextureId  521
00011 
00012 #define CF_OK 1
00013         
00014 /* Allocation problems */
00015 #define ERR_TX_CREATION_IMAGE   TexErrNum(Cf_TextureId, 00)
00016 #define ERR_TX_CREATION_VECTEUR   TexErrNum(Cf_TextureId, 01)
00017 
00018 /* Invalid parameters */
00019 #define ERR_TX_BAD_NEIGHBOORS   TexErrNum(Cf_TextureId, 10)
00020 #define ERR_TX_BAD_TRANSLATION    TexErrNum(Cf_TextureId, 11)
00021 #define ERR_TX_DECODAGE_IMAGE   TexErrNum(Cf_TextureId, 12)
00022 #define ERR_TX_DECODAGE_VECTEUR   TexErrNum(Cf_TextureId, 13)
00023 
00024 /* Misc errors */
00025 #define ERR_TX_CAS_IMPOSSIBLE   TexErrNum(Cf_TextureId, 98)
00026 #define ERR_TX_FCT_NON_IMPLEMENTEE  TexErrNum(Cf_TextureId, 99)
00027 
00028 #endif  /* _TEXTURE_ERROR_H */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:29 for Jafar by doxygen 1.7.6.1
LAAS-CNRS