X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fobject%2Fcomet_particle_system.hpp;h=94902c2de379b3fc0577cea9aff6884209d83278;hb=1240eda3ac57e6607b206e3c9cf7feb65c3be620;hp=f627a053393058e6c07d3feda55726e5a13ba5cc;hpb=cee739d4820fb000a217996ffadc74bc58ed582a;p=supertux.git diff --git a/src/object/comet_particle_system.hpp b/src/object/comet_particle_system.hpp index f627a0533..94902c2de 100644 --- a/src/object/comet_particle_system.hpp +++ b/src/object/comet_particle_system.hpp @@ -1,5 +1,5 @@ // SuperTux -// Copyright (C) 2009 Ingo Ruhnke +// Copyright (C) 2009 Ingo Ruhnke // // 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 @@ -20,6 +20,8 @@ #include #include "object/particlesystem_interactive.hpp" +#include "video/surface_ptr.hpp" +#include "video/drawing_request.hpp" /* LAYER_BACKGROUND1 */ class CometParticleSystem : public ParticleSystem_Interactive { @@ -46,7 +48,7 @@ private: {} }; - std::auto_ptr cometimages[2]; + SurfacePtr cometimages[2]; private: CometParticleSystem(const CometParticleSystem&);