[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs thunderstorm_background_ob
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs thunderstorm_background_obj.cxx,NONE,1.1 thunderstorm_background_obj.hxx,NONE,1.1 Makefile.am,1.8,1.9 |
Date: |
18 Sep 2002 15:00:39 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/editorobjs
In directory dark:/tmp/cvs-serv16342/editorobjs
Modified Files:
Makefile.am
Added Files:
thunderstorm_background_obj.cxx
thunderstorm_background_obj.hxx
Log Message:
removed last background
--- NEW FILE: thunderstorm_background_obj.cxx ---
// $Id: thunderstorm_background_obj.cxx,v 1.1 2002/09/18 15:00:37 torangan Exp
$
//
// Pingus - A free Lemmings clone
// Copyright (C) 2000 Ingo Ruhnke <address@hidden>
//
// 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 "../worldobjsdata/thunderstorm_background_data.hxx"
#include "thunderstorm_background_obj.hxx"
namespace EditorObjs {
ThunderstormBackgroundObj::ThunderstormBackgroundObj
(WorldObjsData::ThunderstormBackgroundData* data_)
: SpriteEditorObj ("Stars/starfield_icon", "game", &data->pos),
data(new WorldObjsData::ThunderstormBackgroundData(*data_))
{
data->pos = CL_Vector(-128.0f, 0.0f);
}
ThunderstormBackgroundObj::~ThunderstormBackgroundObj ()
{
delete data;
}
void
ThunderstormBackgroundObj::write_xml (std::ostream& xml)
{
data->write_xml(xml);
}
EditorObj*
ThunderstormBackgroundObj::duplicate ()
{
return new ThunderstormBackgroundObj(data);
}
std::string
ThunderstormBackgroundObj::status_line ()
{
return "ThunderstormBackground";
}
} // namespace EditorObjs
/* EOF */
--- NEW FILE: thunderstorm_background_obj.hxx ---
// $Id: thunderstorm_background_obj.hxx,v 1.1 2002/09/18 15:00:37 torangan Exp
$
//
// Pingus - A free Lemmings clone
// Copyright (C) 2000 Ingo Ruhnke <address@hidden>
//
// 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.
#ifndef HEADER_PINGUS_EDITOROBJS_THUNDERSTORM_BACKGROUND_OBJ_HXX
#define HEADER_PINGUS_EDITOROBJS_THUNDERSTORM_BACKGROUND_OBJ_HXX
#include "../editor/sprite_editorobj.hxx"
namespace WorldObjsData {
class ThunderstormBackgroundData;
}
namespace EditorObjs {
class ThunderstormBackgroundObj : public SpriteEditorObj
{
private:
WorldObjsData::ThunderstormBackgroundData* const data;
public:
ThunderstormBackgroundObj (WorldObjsData::ThunderstormBackgroundData* data_);
~ThunderstormBackgroundObj ();
void write_xml (std::ostream& xml);
EditorObj* duplicate ();
std::string status_line ();
private:
ThunderstormBackgroundObj (const ThunderstormBackgroundObj&);
ThunderstormBackgroundObj operator= (const ThunderstormBackgroundObj&);
};
} // namespace EditorObjs
#endif
/* EOF */
Index: Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/Makefile.am,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Makefile.am 16 Sep 2002 20:52:22 -0000 1.8
+++ Makefile.am 18 Sep 2002 15:00:37 -0000 1.9
@@ -18,23 +18,24 @@
noinst_LIBRARIES = libpingus_editorobjs.a
libpingus_editorobjs_a_SOURCES = \
- bumper_obj.cxx bumper_obj.hxx \
- conveyor_belt_obj.cxx conveyer_belt_obj.hxx \
- fake_exit_obj.cxx fake_exit_obj.hxx \
- guillotine_obj.cxx guillotine_obj.hxx \
- hammer_obj.cxx hammer_obj.hxx \
- ice_block_obj.cxx ice_block_obj.hxx \
- info_box_obj.cxx info_box_obj.hxx \
- laser_exit_obj.cxx laser_exit_obj.hxx \
- prefab_obj.hxx prefab_obj.cxx \
- smasher_obj.cxx smasher_obj.hxx \
- solid_color_background_obj.cxx solid_color_background_obj.hxx \
- spike_obj.cxx spike_obj.hxx \
- starfield_background_obj.cxx starfield_background_obj.hxx \
- surface_background_obj.cxx surface_background_obj.hxx \
- switch_door_obj.cxx switch_door_obj.hxx \
- switch_door_switch_obj.cxx switch_door_switch_obj.hxx \
- teleporter_obj.cxx teleporter_obj.hxx \
- teleporter_target_obj.cxx teleporter_target_obj.cxx
+ bumper_obj.cxx bumper_obj.hxx \
+ conveyor_belt_obj.cxx conveyer_belt_obj.hxx \
+ fake_exit_obj.cxx fake_exit_obj.hxx \
+ guillotine_obj.cxx guillotine_obj.hxx \
+ hammer_obj.cxx hammer_obj.hxx \
+ ice_block_obj.cxx ice_block_obj.hxx \
+ info_box_obj.cxx info_box_obj.hxx \
+ laser_exit_obj.cxx laser_exit_obj.hxx \
+ prefab_obj.hxx prefab_obj.cxx \
+ smasher_obj.cxx smasher_obj.hxx \
+ solid_color_background_obj.cxx solid_color_background_obj.hxx \
+ spike_obj.cxx spike_obj.hxx \
+ starfield_background_obj.cxx starfield_background_obj.hxx \
+ surface_background_obj.cxx surface_background_obj.hxx \
+ switch_door_obj.cxx switch_door_obj.hxx \
+ switch_door_switch_obj.cxx switch_door_switch_obj.hxx \
+ teleporter_obj.cxx teleporter_obj.hxx \
+ teleporter_target_obj.cxx teleporter_target_obj.cxx \
+ thunderstorm_background_obj.cxx thunderstorm_background_obj.hxx
# EOF #
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/editorobjs thunderstorm_background_obj.cxx,NONE,1.1 thunderstorm_background_obj.hxx,NONE,1.1 Makefile.am,1.8,1.9,
torangan <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata thunderstorm_background_data.cxx,NONE,1.1 thunderstorm_background_data.hxx,NONE,1.1 Makefile.am,1.11,1.12
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs thunderstorm_background.cxx,NONE,1.1 thunderstorm_background.hxx,NONE,1.1 Makefile.am,1.12,1.13
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata thunderstorm_background_data.cxx,NONE,1.1 thunderstorm_background_data.hxx,NONE,1.1 Makefile.am,1.11,1.12
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs thunderstorm_background.cxx,NONE,1.1 thunderstorm_background.hxx,NONE,1.1 Makefile.am,1.12,1.13
- Index(es):