source: trunk/orbital/orbital.h @ 1492

Last change on this file since 1492 was 1492, checked in by touky, 9 years ago

Added Lolnament (Working Title) V0.1a in Orbital, for quick tests purposes.

File size: 1.1 KB
Line 
1//
2// Orbital
3//
4// Copyright: (c) 2009-2012 Cédric Lecacheur <jordx@free.fr>
5//            (c) 2009-2012 Benjamin Huet <huet.benjamin@gmail.com>
6//            (c) 2012 Sam Hocevar <sam@hocevar.net>
7//
8
9#if !defined __ORBITAL_H__
10#define __ORBITAL_H__
11
12#include "mesh.h"
13#include "particlesystem.h"
14#include "gun.h"
15#include "starfield.h"
16#include "tank.h"
17#include "snake.h"
18#include "player.h"
19#include "Lolnament.h"
20
21class Orbital : public WorldEntity
22{
23public:
24    Orbital(bool editor = false);
25    virtual ~Orbital();
26
27    char const *GetName() { return "<orbital>"; }
28
29protected:
30    virtual void TickGame(float seconds);
31    virtual void TickDraw(float seconds);
32
33private:
34    Mesh m;
35    float m_auto_cam_timer;
36    vec3 m_angular_velocity;
37
38    ParticleSystem *m_particlesystem;
39    StarField *m_small_stars, *m_large_stars;
40    Camera *m_camera;
41    Array<Player *> m_players;
42    Array<Tank *> m_tanks;
43    Array<Snake *> m_snakes;
44        Lolnament* m_Lolnament;
45
46    /* Editor stuff */
47    mat4 m_model;
48    Stick *m_stick;
49    float m_angle, m_zoom;
50
51    bool m_ready, m_editor;
52};
53
54#endif // __ORBITAL_H__
55
Note: See TracBrowser for help on using the repository browser.