- /* Draw to the worldmap or a game message */
- // TODO: make this functions working
- void draw_worldmap_info(DrawingContext& context);
- void draw_message_info(DrawingContext& context, std::string title);
- void draw_endseq_panel(DrawingContext& context, Statistics* best_stats, Surface* backdrop); /**< draw panel shown during level's end sequence */
-
- /* Add / Set / Get points to/from one of the stats this can keep track of */
- void add_points(int stat, int points);
- void set_points(int stat, int points);
- int get_points(int stat);
+ /**
+ * serialize statistics object as squirrel table "statistics"
+ */
+ void serialize_to_squirrel(HSQUIRRELVM vm);