diff options
author | truelight <truelight@openttd.org> | 2004-08-20 09:32:32 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-08-20 09:32:32 +0000 |
commit | 788ace088d8b3ba2afd77a8b21b532abc40d9eba (patch) | |
tree | 493248c0850e836b9a0d35c0fdddf9673b2a01b3 /variables.h | |
parent | 80b1e25b6ce190a773ab9fe50927a983c8f2d038 (diff) | |
download | openttd-788ace088d8b3ba2afd77a8b21b532abc40d9eba.tar.xz |
(svn r85) -Add: initial commit of new AI (enable in Patch menu)
-Add: generalised A* Algorithm
-Add: generalised queues (Fifo, Stack, InsSort, BinaryHeap)
Diffstat (limited to 'variables.h')
-rw-r--r-- | variables.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |