00001 #ifndef IRRDATA_H 00002 #define IRRDATA_H 00003 00004 #include <irrlicht.h> 00005 00006 typedef irr::core::dimension2d<irr::s32> PixelSize; 00007 typedef irr::core::position2d<irr::s32> IrrPos; 00008 00009 struct pixels { 00010 int width; 00011 int height; 00012 }; //possible future use in 2D objects when specifying the properties of an object draw 00013 00014 struct IrrObj { 00015 int eventid; 00016 int objectid; 00017 }; 00018 00019 struct _mouse { 00020 int x; 00021 int y; 00022 }; 00023 00024 #endif
1.5.4