hedgewars/uConsole.pas
changeset 2428 6800f8aa0184
parent 2379 d62b1f224982
child 2578 ec8e69b23097
equal deleted inserted replaced
2427:241e3bb6a146 2428:6800f8aa0184
   242 RegisterVariable('casefreq', vtLongInt, @cCaseFactor    , false);
   242 RegisterVariable('casefreq', vtLongInt, @cCaseFactor    , false);
   243 RegisterVariable('sd_turns', vtLongInt, @cSuddenDTurns  , false);
   243 RegisterVariable('sd_turns', vtLongInt, @cSuddenDTurns  , false);
   244 RegisterVariable('damagepct', vtLongInt, @cDamagePercent, false);
   244 RegisterVariable('damagepct', vtLongInt, @cDamagePercent, false);
   245 RegisterVariable('landadds', vtLongInt, @cLandAdditions , false);
   245 RegisterVariable('landadds', vtLongInt, @cLandAdditions , false);
   246 RegisterVariable('gmflags' , vtLongInt, @GameFlags      , false);
   246 RegisterVariable('gmflags' , vtLongInt, @GameFlags      , false);
       
   247 RegisterVariable('trflags' , vtLongInt, @TrainingFlags  , false);
   247 RegisterVariable('turntime', vtLongInt, @cHedgehogTurnTime, false);
   248 RegisterVariable('turntime', vtLongInt, @cHedgehogTurnTime, false);
   248 RegisterVariable('minestime', vtLongInt, @cMinesTime, false);
   249 RegisterVariable('minestime', vtLongInt, @cMinesTime, false);
   249 RegisterVariable('fort'    , vtCommand, @chFort         , false);
   250 RegisterVariable('fort'    , vtCommand, @chFort         , false);
   250 RegisterVariable('voicepack',vtCommand, @chVoicepack    , false);
   251 RegisterVariable('voicepack',vtCommand, @chVoicepack    , false);
   251 RegisterVariable('grave'   , vtCommand, @chGrave        , false);
   252 RegisterVariable('grave'   , vtCommand, @chGrave        , false);
   295 RegisterVariable('-volup'  , vtCommand, @chVol_m        , true );
   296 RegisterVariable('-volup'  , vtCommand, @chVol_m        , true );
   296 RegisterVariable('+voldown', vtCommand, @chVol_m        , true );
   297 RegisterVariable('+voldown', vtCommand, @chVol_m        , true );
   297 RegisterVariable('-voldown', vtCommand, @chVol_p        , true );
   298 RegisterVariable('-voldown', vtCommand, @chVol_p        , true );
   298 RegisterVariable('findhh'  , vtCommand, @chFindhh       , true );
   299 RegisterVariable('findhh'  , vtCommand, @chFindhh       , true );
   299 RegisterVariable('pause'   , vtCommand, @chPause        , true );
   300 RegisterVariable('pause'   , vtCommand, @chPause        , true );
       
   301 RegisterVariable('+cur_u'   , vtCommand, @chCurU_p      , true );
       
   302 RegisterVariable('-cur_u'   , vtCommand, @chCurU_m      , true );
       
   303 RegisterVariable('+cur_d'   , vtCommand, @chCurD_p      , true );
       
   304 RegisterVariable('-cur_d'   , vtCommand, @chCurD_m      , true );
       
   305 RegisterVariable('+cur_l'   , vtCommand, @chCurL_p      , true );
       
   306 RegisterVariable('-cur_l'   , vtCommand, @chCurL_m      , true );
       
   307 RegisterVariable('+cur_r'   , vtCommand, @chCurR_p      , true );
       
   308 RegisterVariable('-cur_r'   , vtCommand, @chCurR_m      , true );
   300 
   309 
   301 finalization
   310 finalization
   302 FreeVariablesList
   311 FreeVariablesList
   303 
   312 
   304 end.
   313 end.