nuclear@0: #include "opengl.h" nuclear@0: #include "part.h" nuclear@0: nuclear@0: Part *cur_part, *game_part, *menu_part; nuclear@0: nuclear@0: Part::~Part() nuclear@0: { nuclear@0: current_time = 0; nuclear@0: } nuclear@0: nuclear@0: void Part::update(unsigned long msec) nuclear@0: { nuclear@0: current_time = msec; nuclear@0: } nuclear@0: nuclear@0: void Part::reshape(int x, int y) nuclear@0: { nuclear@0: glViewport(0, 0, x, y); nuclear@0: } nuclear@0: nuclear@0: void Part::key(int key, bool pressed) {} nuclear@0: void Part::mouse_button(int bn, bool pressed) {} nuclear@0: void Part::mouse_motion(int x, int y) {} nuclear@0: void Part::spaceball_motion(int x, int y, int z, int rx, int ry, int rz) {} nuclear@0: void Part::spaceball_button(int bn, bool pressed) {}