[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata rain_generator_data.cxx
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata rain_generator_data.cxx,1.2,1.3 snow_generator_data.cxx,1.2,1.3 snow_generator_data.hxx,1.1,1.2 |
Date: |
16 Sep 2002 17:17:19 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/worldobjsdata
In directory dark:/tmp/cvs-serv2381/worldobjsdata
Modified Files:
rain_generator_data.cxx snow_generator_data.cxx
snow_generator_data.hxx
Log Message:
fixed snow/rain in the editor
Index: rain_generator_data.cxx
===================================================================
RCS file:
/usr/local/cvsroot/Games/Pingus/src/worldobjsdata/rain_generator_data.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- rain_generator_data.cxx 16 Sep 2002 16:04:58 -0000 1.2
+++ rain_generator_data.cxx 16 Sep 2002 17:17:17 -0000 1.3
@@ -18,6 +18,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <fstream>
+#include "../editor/weather_obj.hxx"
#include "../worldobjs/rain_generator.hxx"
#include "rain_generator_data.hxx"
@@ -38,7 +39,7 @@
EditorObjLst
RainGeneratorData::create_EditorObj ()
{
- return EditorObjLst();
+ return EditorObjLst(1, new WeatherObj("rain-generator"));
}
} // namespace WorldObjsData
Index: snow_generator_data.cxx
===================================================================
RCS file:
/usr/local/cvsroot/Games/Pingus/src/worldobjsdata/snow_generator_data.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- snow_generator_data.cxx 16 Sep 2002 16:04:58 -0000 1.2
+++ snow_generator_data.cxx 16 Sep 2002 17:17:17 -0000 1.3
@@ -38,7 +38,7 @@
EditorObjLst
SnowGeneratorData::create_EditorObj ()
{
- return EditorObjLst();
+ return EditorObjLst(1, new WeatherObj("snow-generator"));
}
} // namespace WorldObjsData
Index: snow_generator_data.hxx
===================================================================
RCS file:
/usr/local/cvsroot/Games/Pingus/src/worldobjsdata/snow_generator_data.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- snow_generator_data.hxx 16 Sep 2002 15:47:36 -0000 1.1
+++ snow_generator_data.hxx 16 Sep 2002 17:17:17 -0000 1.2
@@ -20,6 +20,7 @@
#ifndef HEADER_PINGUS_SNOW_GENERATOR_DATA_HXX
#define HEADER_PINGUS_SNOW_GENERATOR_DATA_HXX
+#include "../editor/weather_obj.hxx"
#include "../libxmlfwd.hxx"
#include "../worldobj_data.hxx"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata rain_generator_data.cxx,1.2,1.3 snow_generator_data.cxx,1.2,1.3 snow_generator_data.hxx,1.1,1.2,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs snow_generator.cxx,1.2,1.3 snow_generator.hxx,1.2,1.3
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editor object_selector.cxx,1.19,1.20 weather_obj.cxx,1.9,1.10
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs snow_generator.cxx,1.2,1.3 snow_generator.hxx,1.2,1.3
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editor object_selector.cxx,1.19,1.20 weather_obj.cxx,1.9,1.10
- Index(es):