Added ability to define a 'target time' for levels which is taken into consideration...
authorLMH <lmh.0013@gmail.com>
Fri, 6 Sep 2013 03:22:38 +0000 (17:22 -1000)
committerTobias Markus <tobbi@mozilla-uk.org>
Sat, 26 Oct 2013 16:45:21 +0000 (18:45 +0200)
commitb9837ef7e25376054c435876c03db3696b429bb2
tree9375c8af885e2179fe81cec320ae2007fb1b5c62
parentb355dd0f7b2f2c741ae25d46363c9fd570c496f7
Added ability to define a 'target time' for levels which is taken into consideration when marking a level 'perfect'.
As a proof of principle, Icy Island levels prior to the underground sequence have been assigned arbitrary but attainable target times.  However, this feature probably should only be used with great care in the main game (if at all).  Statistics still need to be modified to display the target time if defined, otherwise it will be confusing to players trying for perfet stats.
23 files changed:
data/levels/world1/01 - Welcome to Antarctica.stl
data/levels/world1/02 - The Journey Begins.stl
data/levels/world1/03 - Via Nostalgica.stl
data/levels/world1/04 - Tobgle Road.stl
data/levels/world1/05 - The Somewhat Smaller Bath.stl
data/levels/world1/06 - The Frosted Fields.stl
data/levels/world1/07 - Oh No More Snowballs.stl
data/levels/world1/08 - Stone Cold.stl
data/levels/world1/09 - Grumbels Sense of Snow.stl
data/levels/world1/10 - 23rd Airborne.stl
data/levels/world1/11 - Night Chill.stl
data/levels/world1/12 - Into the Stars.stl
data/levels/world1/13 - Above the Arctic Skies.stl
data/levels/world1/14 - Entrance to the Cave.stl
data/levels/world1/Fork_in_the_Road.stl
src/supertux/level.cpp
src/supertux/level.hpp
src/supertux/statistics.cpp
src/supertux/statistics.hpp
src/worldmap/level.cpp
src/worldmap/level.hpp
src/worldmap/worldmap.cpp
src/worldmap/worldmap.hpp