X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Finfoblock.cpp;h=475d7d34ac0182b88cf9a27e4c4afdf9c2d8d654;hb=1cda2772a8bd261ef8746e13e10d5d8abbe741d6;hp=9b9e5ae5192974d8fb581ca0cc2c27e922b11e0f;hpb=08813a74da6ac1fd045a105e4e8105f1d7f716f0;p=supertux.git diff --git a/src/object/infoblock.cpp b/src/object/infoblock.cpp index 9b9e5ae51..475d7d34a 100644 --- a/src/object/infoblock.cpp +++ b/src/object/infoblock.cpp @@ -20,6 +20,7 @@ #include "sprite/sprite_manager.hpp" #include "supertux/object_factory.hpp" #include "supertux/sector.hpp" +#include "supertux/info_box_line.hpp" #include "util/reader.hpp" #include "video/drawing_context.hpp" @@ -32,8 +33,11 @@ const float HEIGHT = 200; InfoBlock::InfoBlock(const Reader& lisp) : Block(sprite_manager->create("images/objects/bonus_block/infoblock.sprite")), + message(), shown_pct(0), - dest_pct(0) + dest_pct(0), + lines(), + lines_height() { Vector pos; lisp.get("x", pos.x);