Din's Legacy patch 0.903

Author: From Steam
Date: Thu, 30 Mar 2023
Din's Legacy Game Banner
Genre: Action, Indie, RPG
Developer: Soldak Entertainment
Release Date: Wed, 28 Aug 2019
This patch optimizes a bunch of things (test scene ~32% faster), adds a model for the tower entrance, and fixes a bunch of smaller issues.

0.903 change list:


  • now cull minimap blips better (test went from 57.7 to 65.4 fps, 13.3%)
  • removed an extra height calculation in GraphicsSystem::shouldCullModel (test went from 64.3 to 67.9 fps, 5.6%)
  • removed lightIndexes being a local array in renderSurface (test went from 54.3 to 56.7 fps, 4.4%)
  • culled some more minimap blips better (test went from 69.2 to 71.5 fps, 3.3%)
  • made getTileObject caching work better (test went from 57.8 to 58.9 fps, 1.9%)
  • cache model matrix instead of just angle (test went from 78.4 to 79.8 fps, 1.8%)
  • changed a couple dynamic_cast to static_cast (test went from 79.0 to 80.3 fps, 1.6%)
  • no longer cull each surface separately (now per entity) (test went from 48.3 to 49.0 fps, 1.5%)
  • sped up surface culling in calculateShadowMappingLightFov (test went from 70.9 to 71.8 fps, 1.3%)
  • now some ResourceHandles marked as temporary and they don't go through add/remove user (test went from 78.4 to 79.4 fps, 1.3%)
  • cull shadows a little better (test went from 77.2 to 78.1 fps, 1.2%)
  • no longer calculate getNumberOfAchievementsForBonus except when it changes (test went from 77.0 to 77.8 fps, 1.0%)
  • optimized bindTexture slightly (test went from 79.4 to 80.0 fps, 0.8%)
  • cull tiles a little better now (test went from 71.4 to 71.9 fps, 0.7% - also simplifies code a bit)
  • sped up getting instigatorQuestDatabaseEntry (test went from 55.4 to 55.8 fps, 0.7%)
  • no longer add lights from models (old feature) (test went from 78.9 to 79.4 fps, 0.6%)
  • sped up a bunch of getDatabaseEntry calls in CovenantBase (didn't test speed, too erratic)
  • added tower model
  • changed setUseTextureAlpha to correctly be per texture unit
  • fixed a problem getting unique skills without their mutations during full mutations (hella/Procura)
  • fixed Diplomacy scenario sometimes picking invalid clans (Dragonface)
  • changed lvl on selected entity ui to eff lvl to show it is the effect level, not the real level of the monster (Dragonface)
  • added real level and effective level numbers on effect level highlight text (Dragonface)
  • fixed a contention issue in AreaResource::getTileObject
  • added tag_chest to healthstone so effects target a reasonable place
  • fixed missing QuestNewNpcAnnouncement translation (Dragonface)
  • fixed bad wording in replacement unique quest text (Dragonface)
  • changed setProgramEnvParameter4fv vector parm to const
  • cleaned up LightingSystem::getLightData
  • cleaned up generate2dGeometry a little (one text goes through)

Write your comment!