[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/worldmap manager.cxx,1.7,1.8 manager.
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/worldmap manager.cxx,1.7,1.8 manager.hxx,1.7,1.8 worldmap.cxx,1.6,1.7 worldmap.hxx,1.6,1.7 |
Date: |
5 Sep 2002 12:24:04 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/worldmap
In directory dark:/tmp/cvs-serv30676/worldmap
Modified Files:
manager.cxx manager.hxx worldmap.cxx worldmap.hxx
Log Message:
- added GC to Screen and subclasses of it
Index: manager.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldmap/manager.cxx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- manager.cxx 3 Aug 2002 09:59:23 -0000 1.7
+++ manager.cxx 5 Sep 2002 12:24:02 -0000 1.8
@@ -107,9 +107,9 @@
}
void
-WorldMapManager::WorldMapComponent::draw ()
+WorldMapManager::WorldMapComponent::draw (GraphicContext& gc)
{
- WorldMapManager::instance ()->worldmap->draw ();
+ WorldMapManager::instance ()->worldmap->draw (gc);
}
void
Index: manager.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldmap/manager.hxx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- manager.hxx 23 Aug 2002 15:49:57 -0000 1.7
+++ manager.hxx 5 Sep 2002 12:24:02 -0000 1.8
@@ -47,7 +47,7 @@
void on_primary_button_press (int x, int y);
- void draw ();
+ void draw (GraphicContext& gc);
void update (float delta);
bool is_at (int, int) { return true; }
Index: worldmap.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldmap/worldmap.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- worldmap.cxx 3 Aug 2002 09:59:23 -0000 1.6
+++ worldmap.cxx 5 Sep 2002 12:24:02 -0000 1.7
@@ -233,7 +233,7 @@
}
void
-WorldMap::draw ()
+WorldMap::draw (GraphicContext& gc)
{
CL_Vector offset = get_offset ();
Index: worldmap.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldmap/worldmap.hxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- worldmap.hxx 23 Aug 2002 15:49:57 -0000 1.6
+++ worldmap.hxx 5 Sep 2002 12:24:02 -0000 1.7
@@ -22,6 +22,7 @@
#include "stat.hxx"
+class GraphicContext;
class CL_Key;
class CL_Font;
class CL_InputDevice;
@@ -89,7 +90,7 @@
void enable_button_events ();
/** Draw the world worldmap */
- void draw ();
+ void draw (GraphicContext& gc);
/** Returns true if the worldmap is finished and the
PingusWorldMapManager can quit */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/worldmap manager.cxx,1.7,1.8 manager.hxx,1.7,1.8 worldmap.cxx,1.6,1.7 worldmap.hxx,1.6,1.7,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editor editor.hxx,1.13,1.14
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/gui component.hxx,1.9,1.10 gui_manager.cxx,1.11,1.12 gui_manager.hxx,1.9,1.10
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editor editor.hxx,1.13,1.14
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/gui component.hxx,1.9,1.10 gui_manager.cxx,1.11,1.12 gui_manager.hxx,1.9,1.10
- Index(es):