[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/editor groundpiece_window.cxx,1.11,1.
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/editor groundpiece_window.cxx,1.11,1.12 |
Date: |
30 Nov 2002 00:10:31 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/editor
In directory dark:/tmp/cvs-serv1343/editor
Modified Files:
groundpiece_window.cxx
Log Message:
- added some more options to the surfacebackground config dialog
- fixed bug with groundtype handling in the groundpiece dialog
Index: groundpiece_window.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/groundpiece_window.cxx,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- groundpiece_window.cxx 29 Nov 2002 00:17:05 -0000 1.11
+++ groundpiece_window.cxx 30 Nov 2002 00:10:29 -0000 1.12
@@ -21,6 +21,7 @@
#include "editor.hxx"
#include "object_manager.hxx"
#include "groundpiece_window.hxx"
+#include "../worldobjsdata/groundpiece_data.hxx"
#include "../editorobjs/groundpiece_obj.hxx"
/************************
@@ -73,7 +74,7 @@
void
GroundpieceWindow::read_data ()
{
- switch (data->gptype)
+ switch (data->data->gptype)
{
case Groundtype::GP_SOLID:
solid_radiobutton.set_checked(true);
@@ -99,16 +100,16 @@
if (EditorObj::get_editor()->get_object_manager()->has_object(data))
{
if (ground_radiobutton.is_checked())
- data->gptype = Groundtype::GP_GROUND;
+ data->data->gptype = Groundtype::GP_GROUND;
else if (transparent_radiobutton.is_checked())
- data->gptype = Groundtype::GP_TRANSPARENT;
+ data->data->gptype = Groundtype::GP_TRANSPARENT;
else if (solid_radiobutton.is_checked())
- data->gptype = Groundtype::GP_SOLID;
+ data->data->gptype = Groundtype::GP_SOLID;
else if (bridge_radiobutton.is_checked())
- data->gptype = Groundtype::GP_BRIDGE;
+ data->data->gptype = Groundtype::GP_BRIDGE;
else
{
- std::cout << "Unhandled" << std::endl;
+ std::cout << "GroundpieceWindow: Unhandled groundtype" << std::endl;
}
}
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/editor groundpiece_window.cxx,1.11,1.12,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editor level_resizer.cxx,NONE,1.1 level_resizer.hxx,NONE,1.1 Makefile.am,1.27,1.28 editor.cxx,1.40,1.41 editor_event.cxx,1.41,1.42 level_property_window.cxx,1.10,1.11 level_property_window.hxx,1.8,1.9 object_manager.cxx,1.37,1.38 object_manager.hxx,1.22,1.23 property_window.cxx,1.11,1.12 start_pos.hxx,1.9,1.10
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs groundpiece_obj.cxx,1.6,1.7 groundpiece_obj.hxx,1.3,1.4 surface_background_obj.cxx,1.4,1.5
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editor level_resizer.cxx,NONE,1.1 level_resizer.hxx,NONE,1.1 Makefile.am,1.27,1.28 editor.cxx,1.40,1.41 editor_event.cxx,1.41,1.42 level_property_window.cxx,1.10,1.11 level_property_window.hxx,1.8,1.9 object_manager.cxx,1.37,1.38 object_manager.hxx,1.22,1.23 property_window.cxx,1.11,1.12 start_pos.hxx,1.9,1.10
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs groundpiece_obj.cxx,1.6,1.7 groundpiece_obj.hxx,1.3,1.4 surface_background_obj.cxx,1.4,1.5
- Index(es):