Merge branch 'cache_for_particles' into 'master'
Faster! This merge request consists of several independent commits which aim at making ToME4 faster: 1. Add cache for particles & shaders to avoid loadfile & loadstring in game; 2. Adjust the record of recent logs, making it faster and takes less space under extreme situation; 3. Add cache for ShowChatLog dialog, making the scrolling smoother; 4. Reduce the frequency of player's 'hit_warning' particle effects, which might spam too much (each damage number may create a particle effect). See merge request !749
No related branches found
No related tags found
Showing
- game/engines/default/engine/Particles.lua 15 additions, 2 deletionsgame/engines/default/engine/Particles.lua
- game/engines/default/engine/Savefile.lua 0 additions, 2 deletionsgame/engines/default/engine/Savefile.lua
- game/engines/default/engine/Shader.lua 24 additions, 5 deletionsgame/engines/default/engine/Shader.lua
- game/engines/default/engine/dialogs/ShowErrorStack.lua 0 additions, 1 deletiongame/engines/default/engine/dialogs/ShowErrorStack.lua
- game/loader/pre-init.lua 13 additions, 6 deletionsgame/loader/pre-init.lua
- game/modules/tome/class/Game.lua 0 additions, 1 deletiongame/modules/tome/class/Game.lua
- game/modules/tome/class/Player.lua 2 additions, 1 deletiongame/modules/tome/class/Player.lua
- game/modules/tome/dialogs/ShowChatLog.lua 11 additions, 2 deletionsgame/modules/tome/dialogs/ShowChatLog.lua
Loading
Please register or sign in to comment