Initial commit
This commit is contained in:
commit
d6c7f1ae87
95 changed files with 31975 additions and 0 deletions
24
src/menu.h
Normal file
24
src/menu.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#ifndef _MENU_H_
|
||||
#define _MENU_H_
|
||||
|
||||
class Menu {
|
||||
public:
|
||||
Menu();
|
||||
static int init();
|
||||
|
||||
int show();
|
||||
private:
|
||||
void togglePlayer(int p);
|
||||
void drawPlayer(int p);
|
||||
void update();
|
||||
|
||||
int width, height;
|
||||
float anim[4];
|
||||
float startanim;
|
||||
bool canstart;
|
||||
static const float ANIMLEN;
|
||||
static GLuint keys[4];
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue