File: goal.h

package info (click to toggle)
ale-clone 1.15pre16.3-1
  • links: PTS
  • area: contrib
  • in suites: potato
  • size: 2,432 kB
  • ctags: 3,217
  • sloc: ansic: 37,483; sh: 1,105; makefile: 343
file content (40 lines) | stat: -rw-r--r-- 1,012 bytes parent folder | download
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
35
36
37
38
39
40
/*
**	A clone of a famous game.
*/
/**@name goal.h		-	The game goal headerfile. */
/*
**	(c) Copyright 1999 by Lutz Sammer
**
**	$Id: goal.h,v 1.2 1999/06/19 22:21:57 root Exp $
*/

#ifndef __GOAL_H__
#define __GOAL_H__

//@{

/*----------------------------------------------------------------------------
--	Declarations
----------------------------------------------------------------------------*/

/**
**	All possible game goals.
*/
enum _game_goal_ {
    GoalLastSideWins,			/// the last player with units wins
};

/*----------------------------------------------------------------------------
--	Variables
----------------------------------------------------------------------------*/

/*----------------------------------------------------------------------------
--	Functions
----------------------------------------------------------------------------*/

global void SetGlobalGoal(int goal);	/// set global game goal
global void CheckGoals(void);		/// test if goals reached

//@}

#endif	// !__GOAL_H__