X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fobject%2Fendsequence_fireworks.cpp;h=34e7a003b242a5f404c32a80c93308e829c3617f;hb=08813a74da6ac1fd045a105e4e8105f1d7f716f0;hp=7cd940f084e8d9910069febe506741fefad47542;hpb=f406067af6cbeb0a638078fe1d386d092583909c;p=supertux.git diff --git a/src/object/endsequence_fireworks.cpp b/src/object/endsequence_fireworks.cpp index 7cd940f08..34e7a003b 100644 --- a/src/object/endsequence_fireworks.cpp +++ b/src/object/endsequence_fireworks.cpp @@ -1,12 +1,10 @@ -// $Id$ -// // SuperTux - End Sequence: Tux walks right // Copyright (C) 2007 Christoph Sommer // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -14,18 +12,16 @@ // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// along with this program. If not, see . + +#include "object/endsequence_fireworks.hpp" -#include -#include "endsequence_fireworks.hpp" -#include "sector.hpp" -#include "mainloop.hpp" -#include "object/player.hpp" #include "object/fireworks.hpp" +#include "supertux/mainloop.hpp" +#include "supertux/sector.hpp" EndSequenceFireworks::EndSequenceFireworks() -: EndSequence() + : EndSequence() { } @@ -42,7 +38,7 @@ void EndSequenceFireworks::starting() { EndSequence::starting(); - endsequence_timer.start(7.3f * main_loop->get_speed()); + endsequence_timer.start(7.3f * g_main_loop->get_speed()); Sector::current()->add_object(new Fireworks()); } @@ -64,3 +60,5 @@ EndSequenceFireworks::stopping() { EndSequence::stopping(); } + +/* EOF */