X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fworldmap.h;h=fa71bbce3b714d74249ae8a20dec5e026e131fda;hb=f00cab0c347263a82758e8c6799f28e80d6162f2;hp=0894d28d22d9954eb46a4bb36161f955fe7b708f;hpb=aeec9baba33ec63d2d0fdd97d961a53ec5c1541d;p=supertux.git diff --git a/src/worldmap.h b/src/worldmap.h index 0894d28d2..fa71bbce3 100644 --- a/src/worldmap.h +++ b/src/worldmap.h @@ -158,9 +158,8 @@ public: /** Check if this level should be vertically flipped */ bool vertical_flip; - /** Filename of the extro text to show once the level is - successfully completed */ - std::string extro_filename; + /** Script that is run when the level is successfully finished */ + std::string extro_script; /** Go to this world */ std::string next_worldmap; @@ -198,7 +197,7 @@ private: Vector offset; std::string savegame_file; - std::string intro_filename; + std::string intro_script; bool intro_displayed; void get_level_title(Level& level);