File: game.h

package info (click to toggle)
xtrojka 123-12
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 492 kB
  • ctags: 443
  • sloc: ansic: 3,087; makefile: 135; sh: 19
file content (34 lines) | stat: -rw-r--r-- 720 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 *	xtrojka (c) 1994,1995,1996 Maarten Los
 *
 *	#include "COPYRIGHT"	
 *
 *	created:	12.iii.1996
 *	modified:
 *
 *	header file for game.c
 */

#ifndef _game_h_
#define _game_h_

#include "xtrojka.h"

/*
 *	function prototypes
 */

void mainloop(void);
void resetgame(void);
void set_state(GAME_STATE);
void init_event_handlers(void);
void block_down_intr(Widget, XtIntervalId *);
void key_pressed_hlr(Widget, XtPointer, XKeyPressedEvent *, Boolean*);
void move_mainwindow_hlr(Widget, XtPointer, XConfigureEvent *, Boolean*);
void gameover_action(Widget, XtPointer, XEvent *, Boolean *);
void gameover(void);
void new_game(void);
void std_window_hlr(Widget, XtPointer, XAnyEvent*, Boolean *);

#endif /* _game_h_ */