source: trunk/orbital/orbital.cpp @ 1235

Last change on this file since 1235 was 1235, checked in by sam, 9 years ago

orbital: add a skeleton project for Orbital.

File size: 856 bytes
Line 
1//
2// Orbital
3//
4// Copyright: (c) 2012 Various People
5//
6
7#if defined HAVE_CONFIG_H
8#   include "config.h"
9#endif
10
11#if defined _WIN32
12#   include <direct.h>
13#endif
14
15#if USE_SDL && defined __APPLE__
16#   include <SDL_main.h>
17#endif
18
19#include "core.h"
20#include "debug/fps.h"
21
22using namespace std;
23using namespace lol;
24
25#include "orbital.h"
26
27Orbital::Orbital()
28{
29    ;
30}
31
32void Orbital::TickGame(float deltams)
33{
34    WorldEntity::TickGame(deltams);
35}
36
37void Orbital::TickDraw(float deltams)
38{
39    WorldEntity::TickDraw(deltams);
40}
41
42Orbital::~Orbital()
43{
44    ;
45}
46
47int main(int argc, char **argv)
48{
49    Application app("Orbital", ivec2(1280,720), 60.0f);
50
51#if defined _WIN32 && !defined _XBOX
52    _chdir(".."); /* Temporary Win32 hack */
53#endif
54
55    new DebugFps(2, 370);
56    new Orbital();
57    app.ShowPointer(false);
58    app.Run();
59
60    return EXIT_SUCCESS;
61}
62
Note: See TracBrowser for help on using the repository browser.