-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathempire-user_move.ads
45 lines (39 loc) · 1.92 KB
/
empire-user_move.ads
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package Empire.User_Move is
procedure User_Move;
private
procedure Ask_User (Obj : in Piece_Info_P);
procedure Awake (Obj : in Piece_Info_P; Awoken : out Boolean);
procedure Piece_Move (Obj : in Piece_Info_P);
procedure Move_Armyattack (Obj : in Piece_Info_P);
procedure Move_Dir (Obj : in Piece_Info_P);
procedure Move_Explore (Obj : in Piece_Info_P);
procedure Move_Fill (Obj : in Piece_Info_P);
procedure Move_Land (Obj : in Piece_Info_P);
procedure Move_Path (Obj : in Piece_Info_P);
procedure Move_Random (Obj : in Piece_Info_P);
procedure Move_Repair (Obj : in Piece_Info_P);
procedure Move_Transport (Obj : in Piece_Info_P);
procedure Move_Army_To_City (Obj : in Piece_Info_P; Loc : in Location_T);
procedure Move_To_Dest (Obj : in Piece_Info_P; Dest : in Location_T);
procedure Reset_Func (Obj : in Piece_Info_P);
procedure User_Obj_Func
(Obj : in Piece_Info_P;
Func : in Function_T;
Ptypes : in Acceptable_Piece_Array :=
(SATELLITE => False, others => True);
Dest_If_Move_To_Dest : Location_T := 0);
procedure User_Build (Loc : in Location_T);
procedure User_Cancel_Auto;
procedure User_Dir (Obj : in Piece_Info_P; Dir : in Direction_T);
procedure User_Dir_Ground (Obj : in Piece_Info_P; Loc : in Location_T);
procedure User_Dir_Aircraft (Obj : in Piece_Info_P; Loc : in Location_T);
procedure User_Dir_Ship (Obj : in Piece_Info_P; Loc : in Location_T);
procedure User_Set_City_Func (loc : in Location_T);
procedure User_Set_Dir (Obj : in Piece_Info_P);
procedure User_Skip (Obj : in Piece_Info_P);
-- when choosing a refuel location, we bias against carriers, as they may
-- move or fill up while we are en route. This amount is how much shorter
-- than a city range a carrier range has to be to be considered better. XXX
-- untested, may need tweaking
Carrier_Bias : constant Integer := 4;
end Empire.User_Move;