changeset 15601 | 30ad3fd974f1 |
parent 15391 | 7a3d70c364fd |
15600:7d3877231b00 | 15601:30ad3fd974f1 |
---|---|
29 aia_Timer = 3; |
29 aia_Timer = 3; |
30 aia_attack = 4; |
30 aia_attack = 4; |
31 aia_Up = 5; |
31 aia_Up = 5; |
32 aia_Down = 6; |
32 aia_Down = 6; |
33 aia_Switch = 7; |
33 aia_Switch = 7; |
34 aia_Precise = 8; |
|
34 |
35 |
35 aia_Weapon = $8000; |
36 aia_Weapon = $8000; |
36 aia_WaitXL = $8001; |
37 aia_WaitXL = $8001; |
37 aia_WaitXR = $8002; |
38 aia_WaitXR = $8002; |
38 aia_LookLeft = $8003; |
39 aia_LookLeft = $8003; |
71 uses uAIMisc, uAI, uAmmos, uVariables, uCommands, uConsts, uUtils, uIO{$IFDEF TRACEAIACTIONS}, uConsole{$ENDIF}; |
72 uses uAIMisc, uAI, uAmmos, uVariables, uCommands, uConsts, uUtils, uIO{$IFDEF TRACEAIACTIONS}, uConsole{$ENDIF}; |
72 |
73 |
73 var PrevX: LongInt = 0; |
74 var PrevX: LongInt = 0; |
74 timedelta: Longword = 0; |
75 timedelta: Longword = 0; |
75 |
76 |
76 const ActionIdToStr: array[0..7] of string[16] = ( |
77 const ActionIdToStr: array[0..8] of string[16] = ( |
77 {aia_none} '', |
78 {aia_none} '', |
78 {aia_Left} 'left', |
79 {aia_Left} 'left', |
79 {aia_Right} 'right', |
80 {aia_Right} 'right', |
80 {aia_Timer} 'timer', |
81 {aia_Timer} 'timer', |
81 {aia_attack} 'attack', |
82 {aia_attack} 'attack', |
82 {aia_Up} 'up', |
83 {aia_Up} 'up', |
83 {aia_Down} 'down', |
84 {aia_Down} 'down', |
84 {aia_Switch} 'switch' |
85 {aia_Switch} 'switch', |
86 {aia_Precise} 'precise' |
|
85 ); |
87 ); |
86 |
88 |
87 {$IFDEF TRACEAIACTIONS} |
89 {$IFDEF TRACEAIACTIONS} |
88 const SpecActionIdToStr: array[$8000..$800C] of string[16] = ( |
90 const SpecActionIdToStr: array[$8000..$800C] of string[16] = ( |
89 {aia_Weapon} 'aia_Weapon', |
91 {aia_Weapon} 'aia_Weapon', |