X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Funstable_tile.cpp;h=9f22448c1867b817146ddd3c7f8a40b61d27e0ca;hb=ddc3b7ef2077567d368e244a292b41187311e8e3;hp=eabbd2dbb4ccf6a58f81e8975304251bea9a77f7;hpb=20f975e6fefc179e110cff27d424ec231b8d3801;p=supertux.git diff --git a/src/object/unstable_tile.cpp b/src/object/unstable_tile.cpp index eabbd2dbb..9f22448c1 100644 --- a/src/object/unstable_tile.cpp +++ b/src/object/unstable_tile.cpp @@ -1,3 +1,23 @@ +// $Id$ +// +// SuperTux +// Copyright (C) 2005 Matthias Braun +// +// 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 distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// 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. + #include #include "unstable_tile.h" @@ -6,11 +26,11 @@ #include "player.h" #include "sector.h" #include "resources.h" -#include "special/sprite_manager.h" -#include "special/sprite.h" +#include "sprite/sprite_manager.h" +#include "sprite/sprite.h" -static const float CRACKTIME = 1; -static const float FALLTIME = 1.5; +static const float CRACKTIME = 0.3; +static const float FALLTIME = 0.8; UnstableTile::UnstableTile(const lisp::Lisp& lisp) : hit(false), falling(false)