[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/worldmap surface_drawable.cxx,1.3,1.4
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/worldmap surface_drawable.cxx,1.3,1.4 |
Date: |
1 Apr 2003 16:00:10 -0000 |
Update of /var/lib/cvs/Games/Pingus/src/worldmap
In directory dark:/tmp/cvs-serv19321/src/worldmap
Modified Files:
surface_drawable.cxx
Log Message:
- added 'fix' for tutorial_layer1 getting undisplayed at the wrong time
- fixed new not finished savegames overwriting finished old ones
Index: surface_drawable.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/worldmap/surface_drawable.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- surface_drawable.cxx 7 Mar 2003 00:09:00 -0000 1.3
+++ surface_drawable.cxx 1 Apr 2003 16:00:08 -0000 1.4
@@ -58,10 +58,15 @@
if (auto_uncover)
{
Vector pingus_pos =
WorldMapManager::instance()->get_worldmap()->get_pingus()->get_pos();
+ // Pingu is not over the surface
if (!(pingus_pos.x > pos.x && pingus_pos.x < pos.x +
surface.get_width()
&&
pingus_pos.y > pos.y && pingus_pos.y < pos.y +
surface.get_height()))
{
+ gc.draw(surface, pos);
+ }
+ else if (pingus_pos.z > pos.z + 1000)
+ { // FIXME: Hack for the 0.6.0 release/tutorial world remove later
gc.draw(surface, pos);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/worldmap surface_drawable.cxx,1.3,1.4,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src Makefile.static,1.16,1.17 global_event.cxx,1.8,1.9 pingus_main.cxx,1.61,1.62 pingus_menu.cxx,1.16,1.17 savegame.cxx,1.1,1.2 savegame.hxx,1.1,1.2 savegame_manager.cxx,1.2,1.3 savegame_manager.hxx,1.1,1.2 stat_manager.cxx,1.5,1.6
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src game_session.cxx,1.37,1.38 savegame_manager.cxx,1.3,1.4
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src Makefile.static,1.16,1.17 global_event.cxx,1.8,1.9 pingus_main.cxx,1.61,1.62 pingus_menu.cxx,1.16,1.17 savegame.cxx,1.1,1.2 savegame.hxx,1.1,1.2 savegame_manager.cxx,1.2,1.3 savegame_manager.hxx,1.1,1.2 stat_manager.cxx,1.5,1.6
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src game_session.cxx,1.37,1.38 savegame_manager.cxx,1.3,1.4
- Index(es):