X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Finfoblock.hpp;h=21e2ae4c537f3234ecd1839c02da247606fd3ac8;hb=ae7bd4f460fdd93934fc0abc9589758a49309bda;hp=f67b81a290eb1b28c0be8364ad319399aabbfe8b;hpb=437271e241e198dc05dfff8d3bcb2c2d8c33fde3;p=supertux.git diff --git a/src/object/infoblock.hpp b/src/object/infoblock.hpp index f67b81a29..21e2ae4c5 100644 --- a/src/object/infoblock.hpp +++ b/src/object/infoblock.hpp @@ -42,12 +42,11 @@ protected: //bool stopped; float shown_pct; /**< Value in the range of 0..1, depending on how much of the infobox is currently shown */ float dest_pct; /**< With each call to update(), shown_pct will slowly transition to this value */ - std::auto_ptr infoBox; Player* get_nearest_player(); -private: - float slowdown_scroll; + std::vector lines; /**< lines of text (or images) to display */ + float lines_height; }; #endif