Bugfixes an der define-Aufraeumarbeit

This commit is contained in:
Enno Rehling 2004-09-11 20:25:49 +00:00
parent bcca725608
commit d5be6ec902
3 changed files with 6 additions and 2 deletions

View File

@ -31,6 +31,7 @@ CCFLAGS += -Wwrite-strings
if $(HOST) = "hamunaptra" { if $(HOST) = "hamunaptra" {
XMLHDRS = /homes2/info-f/enno/software/hamunaptra/include/libxml2 ; XMLHDRS = /homes2/info-f/enno/software/hamunaptra/include/libxml2 ;
C++FLAGS += -DHAVE_LUABIND_B7 ;
} else { } else {
XMLHDRS = /usr/include/libxml2 ; XMLHDRS = /usr/include/libxml2 ;
} }

View File

@ -68,7 +68,6 @@
#define dbgprintf(a) fprintf a; #define dbgprintf(a) fprintf a;
static FILE *bdebug; static FILE *bdebug;
#define SHOW_KILLS
#undef DELAYED_OFFENSE /* non-guarding factions cannot attack after moving */ #undef DELAYED_OFFENSE /* non-guarding factions cannot attack after moving */
#define TACTICS_RANDOM 5 /* define this as 1 to deactivate */ #define TACTICS_RANDOM 5 /* define this as 1 to deactivate */

View File

@ -17,6 +17,11 @@
extern "C" { extern "C" {
#endif #endif
#define SHOW_KILLS
#undef SMALL_BATTLE_MESSAGES
#undef FIXED_OPPONENTS
#undef NO_RUNNING
/** more defines **/ /** more defines **/
#define FS_ENEMY 1 #define FS_ENEMY 1
#define FS_HELP 2 #define FS_HELP 2
@ -165,7 +170,6 @@ extern "C" {
int last_action : 4; /* In welcher Runde haben wir zuletzt etwas getan */ int last_action : 4; /* In welcher Runde haben wir zuletzt etwas getan */
struct weapon * missile; /* missile weapon */ struct weapon * missile; /* missile weapon */
struct weapon * melee; /* melee weapon */ struct weapon * melee; /* melee weapon */
#undef FIXED_OPPONENTS
#ifdef FIXED_OPPONENTS #ifdef FIXED_OPPONENTS
struct troop opponent; /* default opponent */ struct troop opponent; /* default opponent */
#endif #endif