X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fobject%2Fendsequence_walkright.cpp;h=4dafb39fca2158d94454313be9c2be1f7d2ebf20;hb=08813a74da6ac1fd045a105e4e8105f1d7f716f0;hp=32f529e9aee3766fbcfe68c12db02f78f8bbb139;hpb=f406067af6cbeb0a638078fe1d386d092583909c;p=supertux.git diff --git a/src/object/endsequence_walkright.cpp b/src/object/endsequence_walkright.cpp index 32f529e9a..4dafb39fc 100644 --- a/src/object/endsequence_walkright.cpp +++ b/src/object/endsequence_walkright.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,17 +12,15 @@ // 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 -#include "endsequence_walkright.hpp" -#include "sector.hpp" -#include "mainloop.hpp" +#include "object/endsequence_walkright.hpp" #include "object/player.hpp" +#include "supertux/mainloop.hpp" +#include "supertux/sector.hpp" EndSequenceWalkRight::EndSequenceWalkRight() -: EndSequence() + : EndSequence() { } @@ -42,7 +38,7 @@ EndSequenceWalkRight::starting() { EndSequence::starting(); last_x_pos = -1; - endsequence_timer.start(7.3f * main_loop->get_speed()); + endsequence_timer.start(7.3f * g_main_loop->get_speed()); } void @@ -68,3 +64,5 @@ EndSequenceWalkRight::stopping() { EndSequence::stopping(); } + +/* EOF */