2016-09-28 09:50:35 +00:00
|
|
|
#include "renderer.hpp"
|
|
|
|
|
|
|
|
#include "glclasses.hpp"
|
|
|
|
|
|
|
|
#include "game.hpp"
|
|
|
|
|
|
|
|
#include "state/trace.hpp"
|
|
|
|
#include "state/object.hpp"
|
|
|
|
#include "state/missile.hpp"
|
|
|
|
#include "state/player.hpp"
|
|
|
|
#include "state/planet.hpp"
|
|
|
|
#include "state/ship.hpp"
|
|
|
|
#include "state/explosion.hpp"
|
|
|
|
|
2016-09-28 11:00:40 +00:00
|
|
|
class PolygonModel;
|
|
|
|
|
2016-09-28 09:50:35 +00:00
|
|
|
namespace endofthejedi {
|
|
|
|
|
2016-09-28 11:00:40 +00:00
|
|
|
class RendererPolygon3d : public Renderer {
|
2016-09-28 09:50:35 +00:00
|
|
|
private:
|
|
|
|
protected:
|
|
|
|
public:
|
|
|
|
void setup();
|
|
|
|
void render(const game::State *state) override;
|
|
|
|
|
2016-09-28 11:00:40 +00:00
|
|
|
private:
|
|
|
|
std::vector<PolygonModel*> m_models;
|
|
|
|
};
|
2016-09-28 09:50:35 +00:00
|
|
|
}
|