Update 01.01.2021

RoccoZero

Active member
Staff member
Administrator
Developer
Apr 30, 2022
887
79
28
Update

* Reworked class RendererManager

GameFileStream
  • Fixed Crash ~GameFileStream()
  • Fixed Crash void Dispose()

RendererManager
  • Added bool HasTexture(string textureKey)
  • Added bool HasTexture(string textureKey, TextureMode textureMode)
  • Added bool LoadTexture(AbilityId abilityId, AbilityTextureMode abilityTextureMode)
  • Added bool LoadTexture(HeroId heroId)
  • Added bool LoadTexture(HeroId heroId, UnitTextureMode unitTextureMode)
  • Added bool LoadTexture(string unitName, UnitTextureMode unitTextureMode)
  • Added bool LoadTexture(string textureKey)
  • Added bool LoadTexture(string textureKey, TargetResources target)
  • Added bool LoadTexture(string textureKey, string fileName, TargetResources target)
  • Added bool LoadTexture(string textureKey, TextureMode textureMode)
  • Added bool LoadTexture(string textureKey, string file)
  • Added bool LoadTexture(string textureKey, Stream stream)
  • Added bool LoadTexture(string textureKey, byte[] buffer)
  • Added void DrawTexture(string textureKey, RectangleF rect, TextureMode textureMode)
  • Added void DrawTexture(string textureKey, RectangleF rect, TextureMode textureMode, float opacity)
  • Added void DrawTexture(string textureKey, RectangleF rect, TextureMode textureMode, bool loadTexture)
  • Added void DrawTexture(string textureKey, RectangleF rect, TextureMode textureMode, bool loadTexture, float opacity)