share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
changeset 12310 a2049a645e29
parent 12287 faf1b93422ba
child 12327 8ab7572e074b
equal deleted inserted replaced
12309:6b34067a6344 12310:a2049a645e29
   575   sprAmRubber, sprAmGirder, sprTargetBee, sprIceTexture, sprHHTelepMask,
   575   sprAmRubber, sprAmGirder, sprTargetBee, sprIceTexture, sprHHTelepMask,
   576   sprAMAmmos, sprAMAmmosBW, sprAMSlot, sprAMCorners, sprTurnsLeft, sprBotlevels,
   576   sprAMAmmos, sprAMAmmosBW, sprAMSlot, sprAMCorners, sprTurnsLeft, sprBotlevels,
   577   sprSpeechCorner, sprSpeechEdge, sprSpeechTail, sprThoughtCorner, sprThoughtEdge, sprThoughtTail,
   577   sprSpeechCorner, sprSpeechEdge, sprSpeechTail, sprThoughtCorner, sprThoughtEdge, sprThoughtTail,
   578   sprShoutCorner, sprShoutEdge, sprShoutTail, sprCustom1, sprCustom2, }
   578   sprShoutCorner, sprShoutEdge, sprShoutTail, sprCustom1, sprCustom2, }
   579 
   579 
   580  local reducedSpriteIDArrayFrames = {
   580  -- Set in onGameInit
   581   4, 8, 1, 1, 1,
   581  local reducedSpriteIDArrayFrames
   582   57, 57, 3, 4, 8, 1,
       
   583   1, 1, 1, 1, 1, 1,
       
   584   1, 1, 1, 1, 1,
       
   585  }
       
   586 
   582 
   587  local reducedSpriteTextArray = {
   583  local reducedSpriteTextArray = {
   588   "sprAmRubber", "sprAmGirder", "sprTargetBee", "sprIceTexture", "sprHHTelepMask",
   584   "sprAmRubber", "sprAmGirder", "sprTargetBee", "sprIceTexture", "sprHHTelepMask",
   589   "sprAMAmmos", "sprAMAmmosBW", "sprAMSlot",  "sprAMCorners", "sprTurnsLeft", "sprBotlevels",
   585   "sprAMAmmos", "sprAMAmmosBW", "sprAMSlot",  "sprAMCorners", "sprTurnsLeft", "sprBotlevels",
   590   "sprSpeechCorner", "sprSpeechEdge", "sprSpeechTail", "sprThoughtCorner", "sprThoughtEdge", "sprThoughtTail",
   586   "sprSpeechCorner", "sprSpeechEdge", "sprSpeechTail", "sprThoughtCorner", "sprThoughtEdge", "sprThoughtTail",
  3365 		else
  3361 		else
  3366 			gameFlagList[i][2] = false
  3362 			gameFlagList[i][2] = false
  3367 		end
  3363 		end
  3368 	end
  3364 	end
  3369 
  3365 
       
  3366 	reducedSpriteIDArrayFrames = {
       
  3367 		4, 8, 1, 1, 1,
       
  3368 		AmmoTypeMax, AmmoTypeMax, 3, 4, 8, 1,
       
  3369 		1, 1, 1, 1, 1, 1,
       
  3370 		1, 1, 1, 1, 1,
       
  3371 	}
       
  3372 
  3370 	Explosives = 0
  3373 	Explosives = 0
  3371 	MinesNum = 0
  3374 	MinesNum = 0
  3372 
  3375 
  3373 	EnableGameFlags(gfInfAttack, gfDisableWind)
  3376 	EnableGameFlags(gfInfAttack, gfDisableWind)
  3374 
  3377