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 /** Deprecated. This was Example 017 Helloworld mobile for WinCE 6.
This example show Hello World for Windows mobile. But WinCE6 support has been removed for Irrlicht 1.9.
It compiles on other platform too. The only differences between the original If you still need that please use Irrlicht 1.8 or svn revision 5045 which was the last one to include it.
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. 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> #include <irrlicht.h>
...@@ -114,13 +115,8 @@ IrrlichtDevice *startup() ...@@ -114,13 +115,8 @@ IrrlichtDevice *startup()
// create device // create device
IrrlichtDevice *device = 0; IrrlichtDevice *device = 0;
#if defined (_IRR_USE_WINDOWS_CE_DEVICE_) // Use window mode on PC
// set to standard mobile fullscreen 240x320
device = createDevice(driverType, dimension2d<u32>(240, 320), 16, true );
#else
// on PC. use window mode
device = createDevice(driverType, dimension2d<u32>(240, 320), 16, false ); device = createDevice(driverType, dimension2d<u32>(240, 320), 16, false );
#endif
if ( 0 == device ) if ( 0 == device )
return 0; return 0;
...@@ -484,9 +480,7 @@ int example_helloworld() ...@@ -484,9 +480,7 @@ int example_helloworld()
} }
#if defined (_IRR_USE_WINDOWS_CE_DEVICE_) #if defined (_IRR_WINDOWS_)
#pragma comment(linker, "/subsystem:WINDOWSCE /ENTRY:main")
#elif defined (_IRR_WINDOWS_)
#pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup") #pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup")
#endif #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