[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs switch_door.cxx,1.1,1.2
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs switch_door.cxx,1.1,1.2 |
Date: |
22 Jun 2002 22:06:20 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/worldobjs
In directory dark:/tmp/cvs-serv30270/src/worldobjs
Modified Files:
switch_door.cxx
Log Message:
some gfx changes
Index: switch_door.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/switch_door.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- switch_door.cxx 12 Jun 2002 19:03:10 -0000 1.1
+++ switch_door.cxx 22 Jun 2002 22:06:18 -0000 1.2
@@ -148,7 +148,7 @@
world->get_colmap ()->put (door_box, int(door_pos.x), int(door_pos.y),
GroundpieceData::GP_SOLID);
for (int i=0; i < door_height; i++)
world->get_colmap ()->put (door_tile_cmap,
- int(door_pos.x) + 1,
+ int(door_pos.x),
int(door_pos.y) + i * door_tile.get_height () +
door_box.get_height (),
GroundpieceData::GP_SOLID);
}
@@ -158,7 +158,7 @@
{
door_box.put_screen (int(door_pos.x) + x_of, int(door_pos.y) + y_of);
for (int i=0; i < current_door_height; i++)
- door_tile.put_screen (int(door_pos.x) + x_of + 1,
+ door_tile.put_screen (int(door_pos.x) + x_of,
int(door_pos.y) + y_of
+ i * door_tile.get_height ()
+ door_box.get_height ());
@@ -198,7 +198,7 @@
world->get_colmap ()->put (door_box, int(door_pos.x),
int(door_pos.y), GroundpieceData::GP_NOTHING);
for (int i=0; i < door_height; i++)
world->get_colmap ()->put (door_tile_cmap,
- int(door_pos.x) + 1,
+ int(door_pos.x),
int(door_pos.y) + i *
door_tile.get_height () + door_box.get_height (),
GroundpieceData::GP_NOTHING);
}
@@ -285,7 +285,7 @@
for (int i = 0; i < door_height; i++)
{
view->draw (door_tile,
- int(door_pos.x + 1),
+ int(door_pos.x),
int(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/worldobjs switch_door.cxx,1.1,1.2,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/data/levels stone11-grumbel.xml,NONE,1.1 stone12-grumbel.xml,NONE,1.1
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/data/data groundpieces-ground.scr,1.14,1.15 worldobjs.scr,1.8,1.9
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/data/levels stone11-grumbel.xml,NONE,1.1 stone12-grumbel.xml,NONE,1.1
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/data/data groundpieces-ground.scr,1.14,1.15 worldobjs.scr,1.8,1.9
- Index(es):