Commit f780af67 authored by cutealien's avatar cutealien

Deprecate example 17 for now as WinCE 6 support has been removed.

Keeping the source for now as it might be revived for Windows RT one day (let's hope for it ...).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5048 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 5a73679b
/** Example 017 Helloworld mobile
This example show Hello World for Windows mobile.
It compiles on other platform too. The only differences between the original
examples are. You need a GUI, because otherwise you can't quit the application.
You need a Filesystem, which is relative based to your executable.
/** Deprecated. This was Example 017 Helloworld mobile for WinCE 6.
But WinCE6 support has been removed for Irrlicht 1.9.
If you still need that please use Irrlicht 1.8 or svn revision 5045 which was the last one to include it.
Sources still kept for now as it compiles on other platform too. And we might use this example again
once we support Windows RT.
*/
#include <irrlicht.h>
......@@ -114,13 +115,8 @@ IrrlichtDevice *startup()
// create device
IrrlichtDevice *device = 0;
#if defined (_IRR_USE_WINDOWS_CE_DEVICE_)
// set to standard mobile fullscreen 240x320
device = createDevice(driverType, dimension2d<u32>(240, 320), 16, true );
#else
// on PC. use window mode
// Use window mode on PC
device = createDevice(driverType, dimension2d<u32>(240, 320), 16, false );
#endif
if ( 0 == device )
return 0;
......@@ -484,9 +480,7 @@ int example_helloworld()
}
#if defined (_IRR_USE_WINDOWS_CE_DEVICE_)
#pragma comment(linker, "/subsystem:WINDOWSCE /ENTRY:main")
#elif defined (_IRR_WINDOWS_)
#if defined (_IRR_WINDOWS_)
#pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup")
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment