[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/editor editor_event.cxx,1.35,1.36
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/editor editor_event.cxx,1.35,1.36 |
Date: |
17 Sep 2002 21:45:58 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/editor
In directory dark:/tmp/cvs-serv7007/editor
Modified Files:
editor_event.cxx
Log Message:
- some small bugfixes
- removed the useless limitation to multiple of tile_size mapsize
Index: editor_event.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/editor_event.cxx,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- editor_event.cxx 15 Sep 2002 15:30:21 -0000 1.35
+++ editor_event.cxx 17 Sep 2002 21:45:56 -0000 1.36
@@ -282,13 +282,6 @@
if (sscanf(tmp_str.c_str(), "%d", &twidth) == 1)
{
- if ((twidth % tile_size) != 0)
- {
- twidth += (tile_size - (twidth % tile_size));
- pwarn << "EditorEvent: Width not a multiple of "
- << tile_size << ", fixing width to " << twidth
- << std::endl;
- }
object_manager->width = twidth;
}
@@ -297,14 +290,6 @@
if (sscanf(tmp_str.c_str(), "%d", &theight) == 1)
{
- if ((theight % tile_size) != 0)
- {
- theight += (tile_size - (theight % tile_size));
- pwarn << "EditorEvent: Height not a multiple of "
- << tile_size << ", fixing height to " << theight
- << std::endl;
- }
-
object_manager->height = theight;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/editor editor_event.cxx,1.35,1.36,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata info_box_data.cxx,1.4,1.5
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src game_session.cxx,1.9,1.10 hotspot.cxx,1.4,1.5 hotspot.hxx,1.4,1.5 spot_map.cxx,1.17,1.18
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata info_box_data.cxx,1.4,1.5
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src game_session.cxx,1.9,1.10 hotspot.cxx,1.4,1.5 hotspot.hxx,1.4,1.5 spot_map.cxx,1.17,1.18
- Index(es):