HomeWildfire Games

Complain if an RMS tries to revert the loading progress.

Description

Complain if an RMS tries to revert the loading progress.
Also increase estimated mapgen time, refs rP9220, rP9096.

Differential Revision: https://code.wildfiregames.com/D1341
Proposed By: Vladislav in D1340

Event Timeline

Why without review?

/ps/trunk/source/graphics/MapReader.cpp
179

Why 20000? What's a difference for a player?

elexis added inline comments.Mar 1 2018, 3:24 PM
/ps/trunk/source/graphics/MapReader.cpp
179

This is the estimated time for the map generation time.
It started out as 2 seconds, then 5 seconds, but in reality our map scripts consume at least 15 seconds, often 30 seconds, sometimes 2-3 minutes if a large mapsize was selected or an inefficient loop somewhere (alpine valleys *cough*).

So I primarily changed this because the value is lying badly. But if the loading screen progress works as it should (i.e. all RegMemFun estimated times being considered), then it would mean that the player sees a slightly more accurate progress.