bloboland

diff src/renderer.h @ 1:cfe68befb7cc

some progress
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 15 Dec 2012 23:43:03 +0200
parents
children a39c301cdcce
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/renderer.h	Sat Dec 15 23:43:03 2012 +0200
     1.3 @@ -0,0 +1,23 @@
     1.4 +#ifndef RENDERER_H_
     1.5 +#define RENDERER_H_
     1.6 +
     1.7 +#include "shaders.h"
     1.8 +#include "texture.h"
     1.9 +#include "level.h"
    1.10 +
    1.11 +class Renderer {
    1.12 +private:
    1.13 +	mutable Texture3D *leveltex;
    1.14 +	SdrProg *sdrprog;
    1.15 +
    1.16 +public:
    1.17 +	Renderer();
    1.18 +	~Renderer();
    1.19 +
    1.20 +	bool init();
    1.21 +	void shutdown();
    1.22 +
    1.23 +	void render(const Level *lvl) const;
    1.24 +};
    1.25 +
    1.26 +#endif	// RENDERER_H_