ok so i am writing an engine which will compile on windows and linux.
it seems the input dimension2d<> needs to be a u32 or linux and a s32 on windows.
i was just wondering what the difference between u32 and s32.
portable engine question
portable engine question
Confined is a 3D Action RPG Game in development. http://confined.coderzilla.net
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=29130
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=29130
weird cause i gotta do this to get it to compile on both
Code: Select all
#ifdef _MSC_VER
device =
createDevice( video::EDT_OPENGL, core::dimension2d<s32>(800, 600), 32,
false, false, false, 0);
#else
device =
createDevice( video::EDT_OPENGL, core::dimension2d<u32>(800, 600), 32,
false, false, false, 0);
#endif
Confined is a 3D Action RPG Game in development. http://confined.coderzilla.net
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=29130
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=29130
oh thanks hybrid.
guess i gotta go back to 1.5 on linux
guess i gotta go back to 1.5 on linux
Confined is a 3D Action RPG Game in development. http://confined.coderzilla.net
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=29130
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=29130