| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- #ifndef TYPE_DEFINE_H
- #define TYPE_DEFINE_H
- #include <OgrePlatform.h>
- #include <OgreString.h>
- typedef Ogre::uint8 u8;
- typedef Ogre::uint16 u16;
- typedef Ogre::uint32 u32;
- typedef Ogre::int8 s8;
- typedef Ogre::int16 s16;
- typedef Ogre::int32 s32;
- #define BEGIN_QGEARS namespace QGears {
- #define END_QGEARS }
- namespace QGears
- {
- typedef Ogre::uchar uchar;
- typedef Ogre::uint8 uint8;
- typedef Ogre::uint16 uint16;
- typedef Ogre::uint32 uint32;
- typedef Ogre::int8 sint8;
- typedef Ogre::int16 sint16;
- typedef Ogre::int32 sint32;
- typedef Ogre::String String;
- struct ColorComponents
- {
- uint8 blue;
- uint8 green;
- uint8 red;
- uint8 alpha;
- };
- union ColorA8R8G8B8
- {
- ColorComponents comp;
- uint32 all;
- };
- struct Pixel
- {
- sint16 x;
- sint16 y;
- };
- extern const String EXT_MATERIAL;
- extern const String EXT_MESH;
- extern const String EXT_SKELETON;
- extern const String EXT_CONFIG;
- extern const String EXT_LOG;
- extern const String EXT_P;
- extern const String EXT_PLY;
- extern const String EXT_RSD;
- extern const String EXT_TIM;
- extern const String EXT_TEX;
- extern const String EXT_BACKGROUND;
- extern const String EXT_CAMERA_MATRIX;
- extern const String EXT_MODEL_LIST;
- extern const String EXT_PALETTE;
- extern const String EXT_WALKMESH;
- }
- #endif // TYPE_DEFINE_H
|