#include "video/color.hpp"
#include "video/surface_ptr.hpp"
-namespace lisp { class Writer; }
namespace lisp { class Lisp; }
class DrawingContext;
*/
void unserialize_from_squirrel(HSQUIRRELVM vm);
- void draw_worldmap_info(DrawingContext& context); /**< draw worldmap stat HUD */
+ void draw_worldmap_info(DrawingContext& context, float target_time); /**< draw worldmap stat HUD */
void draw_endseq_panel(DrawingContext& context, Statistics* best_stats, SurfacePtr backdrop); /**< draw panel shown during level's end sequence */
void zero(); /**< Set stats to zero */
bool completed(const Statistics& stats, const float target_time); /* Check if stats match total stats */
void declare_invalid(); /**< marks statistics as invalid for their entire lifetime (e.g. after cheating). Invalid statistics will not be merged or drawn. */
-
+
static std::string coins_to_string(int coins, int total_coins);
static std::string frags_to_string(int badguys, int total_badguys);
static std::string time_to_string(float time);