New and simplified combat rules.

To activate, define SIMPLE_COMBAT in your settings.h
This commit is contained in:
Enno Rehling 2006-04-10 21:13:22 +00:00
parent 5e57e78818
commit 50b94b730d
2 changed files with 1197 additions and 1156 deletions

File diff suppressed because it is too large Load Diff

View File

@ -44,7 +44,9 @@ extern "C" {
struct bfaction * next;
struct side * sides;
struct faction *faction;
#ifndef SIMPLE_COMBAT
int lastturn; /* last time this struct faction was involved in combat */
#endif
boolean attacker;
} bfaction;
@ -174,7 +176,9 @@ extern "C" {
struct item * items; /* items they take */
#endif
} run;
#ifndef SIMPLE_COMBAT
int action_counter; /* number of active actions the struct unit did in the fight */
#endif
#ifdef SHOW_KILLS
int kills;
int hits;