00001
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
00015 #define ERR_TX_CREATION_IMAGE TexErrNum(Cf_TextureId, 00)
00016 #define ERR_TX_CREATION_VECTEUR TexErrNum(Cf_TextureId, 01)
00017
00018
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
00025 #define ERR_TX_CAS_IMPOSSIBLE TexErrNum(Cf_TextureId, 98)
00026 #define ERR_TX_FCT_NON_IMPLEMENTEE TexErrNum(Cf_TextureId, 99)
00027
00028 #endif