trick/trick_sims/ODE/models/DrawStuff/DrawStuff.hh

36 lines
659 B
C++
Raw Normal View History

/*
PURPOSE:
(Create the ODE world)
LIBRARY DEPENDENCY:
((DrawStuff.cpp))
*/
#ifndef DRAWSTUFF_HH
#define DRAWSTUFF_HH
#include <vector>
#include <drawstuff/drawstuff.h>
#include "DrawStuffObject.hh"
class DrawStuff {
public:
dsFunctions fn; // ** draw stuff function pointer structure
int window_width ;
int window_height ;
DrawStuff() ;
static void start() ;
static void step(int) ;
static void command(int) ;
int draw() ;
int shutdown() ;
static void add_object(DrawStuffObject * dso) ;
static std::vector<DrawStuffObject *> objects ;
} ;
#endif