2004-09-19 17:02:16 +00:00
|
|
|
|
|
|
|
#ifndef __FG_RENDERER_HXX
|
|
|
|
#define __FG_RENDERER_HXX 1
|
|
|
|
|
|
|
|
#include <simgear/screen/extensions.hxx>
|
|
|
|
#include <simgear/scene/sky/sky.hxx>
|
|
|
|
|
|
|
|
#define FG_ENABLE_MULTIPASS_CLOUDS 1
|
|
|
|
|
|
|
|
class SGSky;
|
|
|
|
extern SGSky *thesky;
|
|
|
|
|
|
|
|
extern glPointParameterfProc glPointParameterfPtr;
|
|
|
|
extern glPointParameterfvProc glPointParameterfvPtr;
|
|
|
|
extern bool glPointParameterIsSupported;
|
|
|
|
|
|
|
|
|
|
|
|
class FGRenderer {
|
|
|
|
|
|
|
|
public:
|
|
|
|
FGRenderer() {}
|
|
|
|
~FGRenderer() {}
|
|
|
|
|
|
|
|
void init();
|
2004-09-20 13:21:51 +00:00
|
|
|
static void update();
|
|
|
|
static void resize(int width, int height );
|
2004-09-19 17:02:16 +00:00
|
|
|
|
|
|
|
void screendump();
|
|
|
|
void build_states();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|