[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs switch_door_obj.cxx, 1.11,
From: |
Ingo Ruhnke |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs switch_door_obj.cxx, 1.11, 1.12 |
Date: |
Mon, 20 Oct 2003 21:28:57 +0200 |
Update of /var/lib/cvs/Games/Pingus/src/editorobjs
In directory dark:/tmp/cvs-serv7605/editorobjs
Modified Files:
switch_door_obj.cxx
Log Message:
misc stuff
Index: switch_door_obj.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/editorobjs/switch_door_obj.cxx,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- switch_door_obj.cxx 20 Oct 2003 13:33:43 -0000 1.11
+++ switch_door_obj.cxx 20 Oct 2003 19:28:55 -0000 1.12
@@ -90,7 +90,7 @@
{
char str[128];
snprintf(str, 128, "SwitchDoor - (%f %f %f)",
- data->door_pos.x, data->door_pos.y, data->door_pos.z);
+ data->door_pos.x, data->door_pos.y, data->door_pos.z);
return str;
}
@@ -100,16 +100,16 @@
view->draw_line(data->door_pos, data->switch_pos, 1.0, 0.0, 0.0);
view->draw(door_box,
- static_cast<int>(data->door_pos.x),
- static_cast<int>(data->door_pos.y));
+ Vector(static_cast<int>(data->door_pos.x),
+ static_cast<int>(data->door_pos.y)));
for (int i = 0; i < data->door_height; ++i)
{
view->draw(door_tile,
- static_cast<int>(data->door_pos.x),
- static_cast<int>(data->door_pos.y
- + (i * door_tile.get_height())
- + door_box.get_height()));
+ Vector(static_cast<int>(data->door_pos.x),
+ static_cast<int>(data->door_pos.y
+ + (i * door_tile.get_height())
+ + door_box.get_height())));
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/editorobjs switch_door_obj.cxx, 1.11, 1.12,
Ingo Ruhnke <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldmap dot_factory.cxx, 1.4, 1.5 drawable_factory.hxx, 1.2, 1.3 level_dot.cxx, 1.24, 1.25 level_dot.hxx, 1.10, 1.11 manager.cxx, 1.39, 1.40 path_graph.cxx, 1.22, 1.23 path_graph.hxx, 1.11, 1.12 pingus.hxx, 1.26, 1.27 sprite_drawable.hxx, 1.3, 1.4 surface_drawable.hxx, 1.6, 1.7 worldmap.hxx, 1.29, 1.30
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs exit.cxx, 1.9, 1.10 info_box.cxx, 1.23, 1.24 rain_generator.cxx, 1.12, 1.13 smasher.cxx, 1.21, 1.22 surface_background.cxx, 1.13, 1.14 switch_door.cxx, 1.27, 1.28
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldmap dot_factory.cxx, 1.4, 1.5 drawable_factory.hxx, 1.2, 1.3 level_dot.cxx, 1.24, 1.25 level_dot.hxx, 1.10, 1.11 manager.cxx, 1.39, 1.40 path_graph.cxx, 1.22, 1.23 path_graph.hxx, 1.11, 1.12 pingus.hxx, 1.26, 1.27 sprite_drawable.hxx, 1.3, 1.4 surface_drawable.hxx, 1.6, 1.7 worldmap.hxx, 1.29, 1.30
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs exit.cxx, 1.9, 1.10 info_box.cxx, 1.23, 1.24 rain_generator.cxx, 1.12, 1.13 smasher.cxx, 1.21, 1.22 surface_background.cxx, 1.13, 1.14 switch_door.cxx, 1.27, 1.28
- Index(es):