Fix most warnings.
[runemen.git] / src / ai.h
blobfa5023376c6b51ce7ec39f35e2c92995b76a308a
1 #ifndef _RUNE_AI_H
2 #define _RUNE_AI_H
4 #define ALLOW_DIAGONALS
6 extern void unit_think(int id);
8 #define MAX_DESIRES 9
9 #define DESIRE_NONE 0
10 #define DESIRE_RUNE 1
11 #define DESIRE_GOLD 2
12 #define DESIRE_POWER 3
13 #define DESIRE_LOVE 4
14 #define DESIRE_PROTECT 5
15 #define DESIRE_DESTROY 6
16 #define DESIRE_KILLALL 7
17 #define DESIRE_HELPALL 8
19 #define MAX_STRATEGIES 5
20 #define STRAT_NONE 0
21 #define STRAT_WORK 1
22 #define STRAT_HUNT 2
23 #define STRAT_KILL 2
24 #define STRAT_HEAL 3
25 #define STRAT_HIDE 4
27 #define MAX_TACTICS 10
28 #define TACT_NONE 0
29 #define TACT_MINE 1
30 #define TACT_BUILD 2
31 #define TACT_REPAIR 3
32 #define TACT_TRAIN 4
33 #define TACT_BUY 5
34 #define TACT_CHARM 6
35 #define TACT_ATTACK 7
36 #define TACT_HIDE 8
37 #define TACT_RUN 9
39 #endif