hedgewars/uVariables.pas
changeset 15267 22f2fd8a3d2c
parent 15220 ceb289e8a582
child 15283 c4fd2813b127
child 15299 3bf780084c86
equal deleted inserted replaced
15266:b58f98bbc120 15267:22f2fd8a3d2c
   277     LuaEndTurnRequested: boolean;
   277     LuaEndTurnRequested: boolean;
   278     LuaNoEndTurnTaunts: boolean;
   278     LuaNoEndTurnTaunts: boolean;
   279 
   279 
   280     // whether Lua requested to pause the clock
   280     // whether Lua requested to pause the clock
   281     LuaClockPaused: boolean;
   281     LuaClockPaused: boolean;
       
   282 
       
   283     // whether /lua command was used
       
   284     LuaCmdUsed: boolean;
   282 
   285 
   283     MaskedSounds : array[TSound] of boolean;
   286     MaskedSounds : array[TSound] of boolean;
   284 
   287 
   285     LastVoice : TVoice;
   288     LastVoice : TVoice;
   286 
   289 
  3005     LuaTemplateNumber:= 0;
  3008     LuaTemplateNumber:= 0;
  3006 
  3009 
  3007     LuaEndTurnRequested:= false;
  3010     LuaEndTurnRequested:= false;
  3008     LuaNoEndTurnTaunts:= false;
  3011     LuaNoEndTurnTaunts:= false;
  3009 
  3012 
       
  3013     LuaCmdUsed:= false;
       
  3014 
  3010     for t:= Low(TSound) to High(TSound) do
  3015     for t:= Low(TSound) to High(TSound) do
  3011         MaskedSounds[t]:= false;
  3016         MaskedSounds[t]:= false;
  3012 
  3017 
  3013     for a:= Low(TAmmoStrId) to High(TAmmoStrId) do
  3018     for a:= Low(TAmmoStrId) to High(TAmmoStrId) do
  3014         trluaammoe[a]:= true;
  3019         trluaammoe[a]:= true;