Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

score.h File Reference

Definitions relating to scorekeepers in Xconq. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  a_scorekeeper
 Scorekeeper Data. More...


Defines

#define for_all_scorekeepers(sk)   for ((sk) = scorekeepers; (sk) != NULL; (sk) = (sk)->next)
 Iteration over all scorekeepers.

#define keeping_score()   (numscorekeepers > 0)
#define recording_scores()   (0)

Typedefs

typedef a_scorekeeper Scorekeeper
 Scorekeeper Data.


Functions

void init_scorekeepers (void)
Scorekeepercreate_scorekeeper (void)
Scorekeeperfind_scorekeeper (int id)
void init_scores (void)
void check_pre_turn_scores (void)
void check_post_turn_scores (void)
void check_post_action_scores (void)
void check_post_event_scores (void)
void run_scorekeeper (Side *side, Scorekeeper *sk)
Objeval_sk_form (Side *side, Scorekeeper *sk, Obj *form)
Objsum_uprop (Side *side, Obj *form)
int point_value (Unit *unit)
int side_point_value (Side *side)
int alliance_point_value (Side *side)
int has_allies (Side *side)
Objeval_sk_test (Side *side, Scorekeeper *sk, Obj *form)
void side_wins (Side *side, int why)
void side_loses (Side *side, Side *side2, int why)
void all_sides_draw (void)
void record_into_scorefile (void)
char * get_scores (Side *side)

Variables

Scorekeeperscorekeepers
 Scorekeeper list.

int numscorekeepers
 Number of scorekeepers.

int numscores
 Number of scores.

int any_post_action_scores
 Any post action scores? ???

int any_post_event_scores
 Any Post event scores? ???


Detailed Description

Definitions relating to scorekeepers in Xconq.


Define Documentation

#define for_all_scorekeepers sk   )     for ((sk) = scorekeepers; (sk) != NULL; (sk) = (sk)->next)
 

Iteration over all scorekeepers.

walk through list of scorekeepers.

Parameters:
sk is interation varible of pointer to scorekeeper.

 
#define keeping_score  )     (numscorekeepers > 0)
 

 
#define recording_scores  )     (0)
 


Typedef Documentation

typedef struct a_scorekeeper Scorekeeper
 

Scorekeeper Data.


Function Documentation

void all_sides_draw void   ) 
 

int alliance_point_value Side side  ) 
 

void check_post_action_scores void   ) 
 

void check_post_event_scores void   ) 
 

void check_post_turn_scores void   ) 
 

void check_pre_turn_scores void   ) 
 

Scorekeeper* create_scorekeeper void   ) 
 

Obj* eval_sk_form Side side,
Scorekeeper sk,
Obj form
 

Obj* eval_sk_test Side side,
Scorekeeper sk,
Obj form
 

Scorekeeper* find_scorekeeper int  id  ) 
 

char* get_scores Side side  ) 
 

int has_allies Side side  ) 
 

void init_scorekeepers void   ) 
 

void init_scores void   ) 
 

int point_value Unit unit  ) 
 

void record_into_scorefile void   ) 
 

void run_scorekeeper Side side,
Scorekeeper sk
 

void side_loses Side side,
Side side2,
int  why
 

int side_point_value Side side  ) 
 

void side_wins Side side,
int  why
 

Obj* sum_uprop Side side,
Obj form
 


Variable Documentation

int any_post_action_scores
 

Any post action scores? ???

int any_post_event_scores
 

Any Post event scores? ???

int numscorekeepers
 

Number of scorekeepers.

int numscores
 

Number of scores.

Scorekeeper* scorekeepers
 

Scorekeeper list.


Generated on Sat Sep 17 10:29:30 2005 for XconqKernel by doxygen 1.3.6