216 |
216 |
217 {$INCLUDE CCHandlers.inc} |
217 {$INCLUDE CCHandlers.inc} |
218 |
218 |
219 initialization |
219 initialization |
220 InitConsole; |
220 InitConsole; |
221 RegisterVariable('quit' , vtCommand, @chQuit , true ); |
|
222 RegisterVariable('proto' , vtCommand, @chCheckProto , true ); |
221 RegisterVariable('proto' , vtCommand, @chCheckProto , true ); |
223 RegisterVariable('capture' , vtCommand, @chCapture , true ); |
222 RegisterVariable('capture' , vtCommand, @chCapture , true ); |
224 RegisterVariable('rotmask' , vtCommand, @chRotateMask , true ); |
223 RegisterVariable('rotmask' , vtCommand, @chRotateMask , true ); |
225 RegisterVariable('addteam' , vtCommand, @chAddTeam , false); |
224 RegisterVariable('addteam' , vtCommand, @chAddTeam , false); |
226 RegisterVariable('addtrig' , vtCommand, @chAddTrigger , false); |
225 RegisterVariable('addtrig' , vtCommand, @chAddTrigger , false); |
237 RegisterVariable('grave' , vtCommand, @chGrave , false); |
236 RegisterVariable('grave' , vtCommand, @chGrave , false); |
238 RegisterVariable('bind' , vtCommand, @chBind , true ); |
237 RegisterVariable('bind' , vtCommand, @chBind , true ); |
239 RegisterVariable('addhh' , vtCommand, @chAddHH , false); |
238 RegisterVariable('addhh' , vtCommand, @chAddHH , false); |
240 RegisterVariable('hhcoords', vtCommand, @chSetHHCoords , false); |
239 RegisterVariable('hhcoords', vtCommand, @chSetHHCoords , false); |
241 RegisterVariable('ammstore', vtCommand, @chAddAmmoStore , false); |
240 RegisterVariable('ammstore', vtCommand, @chAddAmmoStore , false); |
|
241 RegisterVariable('quit' , vtCommand, @chQuit , true ); |
|
242 RegisterVariable('confirm' , vtCommand, @chConfirm , true ); |
242 RegisterVariable('+speedup', vtCommand, @chSpeedup_p , true ); |
243 RegisterVariable('+speedup', vtCommand, @chSpeedup_p , true ); |
243 RegisterVariable('-speedup', vtCommand, @chSpeedup_m , true ); |
244 RegisterVariable('-speedup', vtCommand, @chSpeedup_m , true ); |
244 RegisterVariable('skip' , vtCommand, @chSkip , false); |
245 RegisterVariable('skip' , vtCommand, @chSkip , false); |
245 RegisterVariable('history' , vtCommand, @chHistory , true ); |
246 RegisterVariable('history' , vtCommand, @chHistory , true ); |
246 RegisterVariable('chat' , vtCommand, @chChat , true ); |
247 RegisterVariable('chat' , vtCommand, @chChat , true ); |