Irrlicht3d.org
::
Blog
|
About Me
|
Twitter
Add comment for
Irrlicht 1.4 released
Posted by:
Enter the missing letter in: "?nternational"
Text:
[quote][b]NightVisio[/b] wrote: You should more care about engine portability. For example if I want to make a port for nintendo DS of your engine, I need to write some APIs, etc. I think you should use sth like this: namespace Platform { enum Platform_t { PSP, XBOX, WIN32, WIN64, LINUX32, LINUX64, MACOS, NINTENDO_DS /* <...> */ }; } and after: IIrrlichtDevice* createDevice( Platform::Platform_t platform, <...> ) { if ( platform == Platform::WIN32 ) return new Win32Device(<...>); else if ( platform == Platoform::LINUX32 ) return new Linux32Device(<...>); /* <..> */ } IMHO.[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons