From 788ace088d8b3ba2afd77a8b21b532abc40d9eba Mon Sep 17 00:00:00 2001 From: truelight Date: Fri, 20 Aug 2004 09:32:32 +0000 Subject: (svn r85) -Add: initial commit of new AI (enable in Patch menu) -Add: generalised A* Algorithm -Add: generalised queues (Fifo, Stack, InsSort, BinaryHeap) --- variables.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'variables.h') diff --git a/variables.h b/variables.h index bbb0ded43..2073979e9 100644 --- a/variables.h +++ b/variables.h @@ -155,6 +155,7 @@ typedef struct Patches { byte wait_twoway_signal; //waitingtime in days before a twoway signal byte drag_signals_density; // many signals density + bool ainew_active; // Is the new AI active? } Patches; VARDEF Patches _patches; @@ -225,7 +226,7 @@ VARDEF uint32 _network_detected_serverport; // UDP Broadcast detected server-por VARDEF uint32 _sync_seed_1, _sync_seed_2; -VARDEF bool _is_ai_player; // current player is an AI player? +VARDEF bool _is_ai_player; // current player is an AI player? - Can be removed if new AI is done VARDEF bool _do_autosave; VARDEF int _autosave_ctr; @@ -431,6 +432,7 @@ VARDEF bool _ignore_wrong_grf; VARDEF int _debug_spritecache_level; VARDEF int _debug_misc_level; VARDEF int _debug_grf_level; +VARDEF int _debug_ai_level; void CDECL debug(const char *s, ...); #ifdef NO_DEBUG_MESSAGES -- cgit v1.2.3-54-g00ecf