Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/Samples/SkeletalAnimation/src/SkeletalAnimation.cpp @ 5

Last change on this file since 5 was 5, checked in by anonymous, 17 years ago

=hoffentlich gehts jetzt

File size: 1.2 KB
Line 
1/*
2-----------------------------------------------------------------------------
3This source file is part of OGRE
4    (Object-oriented Graphics Rendering Engine)
5For the latest info, see http://www.ogre3d.org/
6
7Copyright (c) 2000-2006 Torus Knot Software Ltd
8Also see acknowledgements in Readme.html
9
10You may use this sample code for anything you like, it is not covered by the
11LGPL like the rest of the engine.
12-----------------------------------------------------------------------------
13*/
14
15#include "SkeletalAnimation.h"
16
17#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
18#define WIN32_LEAN_AND_MEAN
19#include "windows.h"
20#endif
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
27INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
28#else
29int main(int argc, char **argv)
30#endif
31{
32    // Create application object
33    SkeletalApplication app;
34
35    try {
36        app.go();
37    } catch( Exception& e ) {
38#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
39        MessageBox( NULL, e.getFullDescription().c_str(), "An exception has occured!", MB_OK | MB_ICONERROR | MB_TASKMODAL);
40#else
41        std::cerr << "An exception has occured: " << e.getFullDescription();
42#endif
43    }
44
45
46    return 0;
47}
48
49#ifdef __cplusplus
50}
51#endif
Note: See TracBrowser for help on using the repository browser.