19 lines
327 B
C
19 lines
327 B
C
#ifndef _GAME_H_INCLUDE_
|
|
#define _GAME_H_INCLUDE_
|
|
|
|
#include "world.h"
|
|
|
|
struct game {
|
|
int cat_dx, cat_dy;
|
|
int cat_x, cat_y;
|
|
int mouse_x, mouse_y;
|
|
int cat_dx_position, cat_dy_position;
|
|
char message[100];
|
|
};
|
|
|
|
void* init_game(void);
|
|
int game_event(struct event* event, void* game);
|
|
|
|
#endif
|
|
|