19 lines
353 B
C
19 lines
353 B
C
#ifndef _GAME_H_INCLUDE_
|
|
#define _GAME_H_INCLUDE_
|
|
#include "world.h"
|
|
|
|
#define MOUSE_COUNT 5
|
|
|
|
struct game {
|
|
int catx;
|
|
int caty;
|
|
int mousex[MOUSE_COUNT];
|
|
int mousey[MOUSE_COUNT];
|
|
int mouse_state[MOUSE_COUNT]; // 0 = alive, 1 = eaten
|
|
char message[100];
|
|
};
|
|
|
|
void* init_game();
|
|
int game_event(struct event* event, void* game);
|
|
|
|
#endif |