From 6d792365aa85ea85ea2a6a89fc8dc1fa7f172a9f Mon Sep 17 00:00:00 2001 From: janwas Date: Tue, 22 Mar 2005 02:17:55 +0000 Subject: [PATCH] rough but functional loading progress bar support. numerous TODOs remaining - initial update instead of only after completing first job; fix GUI overdraw issue; decrease granularity (currently only 3 updates) This was SVN commit r2033. --- .../data/mods/official/gui/test/3_loading.xml | 12 ++++- .../gui/test/functions_pregame_load.js | 49 ++++++++++++----- source/graphics/GameView.cpp | 28 ++++++++++ source/graphics/GameView.h | 3 +- source/lib/lib.h | 11 ++++ source/main.cpp | 53 +++++++++++++++++-- source/ps/Game.cpp | 53 +++++++++++++------ source/ps/Game.h | 6 ++- source/ps/Loader.cpp | 10 ++-- source/ps/World.cpp | 27 ++++++++++ source/ps/World.h | 7 ++- source/simulation/Simulation.cpp | 29 ++++++++++ source/simulation/Simulation.h | 3 +- 13 files changed, 246 insertions(+), 45 deletions(-) diff --git a/binaries/data/mods/official/gui/test/3_loading.xml b/binaries/data/mods/official/gui/test/3_loading.xml index 6c1ad31089..7f5c278d74 100644 --- a/binaries/data/mods/official/gui/test/3_loading.xml +++ b/binaries/data/mods/official/gui/test/3_loading.xml @@ -36,8 +36,16 @@