22 #ifndef FIFE_UTIL_FIFE_STDINT_H
23 #define FIFE_UTIL_FIFE_STDINT_H
28 #if defined( WIN32 ) && defined( _MSC_VER )
30 typedef signed __int8 int8_t;
31 typedef unsigned __int8 uint8_t;
32 typedef signed __int16 int16_t;
33 typedef unsigned __int16 uint16_t;
34 typedef signed __int32 int32_t;
35 typedef unsigned __int32 uint32_t;
36 typedef signed __int64 int64_t;
37 typedef unsigned __int64 uint64_t;
52 #if SDL_BYTEORDER == SDL_BIG_ENDIAN
53 const uint32_t RMASK = 0xff000000;
54 const uint32_t GMASK = 0x00ff0000;
55 const uint32_t BMASK = 0x0000ff00;
56 const uint32_t AMASK = 0x000000ff;
58 const uint32_t RMASK = 0x000000ff;
59 const uint32_t GMASK = 0x0000ff00;
60 const uint32_t BMASK = 0x00ff0000;
61 const uint32_t AMASK = 0xff000000;
63 const uint32_t NULLMASK = 0x00000000;
credit to phoku for his NodeDisplay example which the visitor code is adapted from ( he coded the qua...