pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/worldmap pingus.cxx,1.31,1.32 worldm


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/worldmap pingus.cxx,1.31,1.32 worldmap.cxx,1.44,1.45
Date: 13 Apr 2003 22:00:57 -0000

Update of /var/lib/cvs/Games/Pingus/src/worldmap
In directory dark:/tmp/cvs-serv7733/worldmap

Modified Files:
        pingus.cxx worldmap.cxx 
Log Message:
inited some uninited variables

Index: pingus.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/worldmap/pingus.cxx,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- pingus.cxx  10 Apr 2003 14:36:35 -0000      1.31
+++ pingus.cxx  13 Apr 2003 22:00:55 -0000      1.32
@@ -33,6 +33,9 @@
     sprite_standing ("worldmap/pingus_standing", "core"),
     arrow ("worldmap/arrow", "core")
 {
+  final_target_node = NoNode;
+  current_node = NoNode;
+
   arrow.set_align_center_bottom();
 
   pos.x = 320;

Index: worldmap.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/worldmap/worldmap.cxx,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- worldmap.cxx        10 Apr 2003 11:51:32 -0000      1.44
+++ worldmap.cxx        13 Apr 2003 22:00:55 -0000      1.45
@@ -64,8 +64,11 @@
   : display_gc (0, 0, CL_Display::get_width()-1, CL_Display::get_height()-1, 
                 0, 0),
     filename(arg_filename),
-    width(1161), height(600) // FIXME: ugly..
+    width(1161), height(600), // FIXME: ugly..
+    mouse_x(0),
+    mouse_y(0)
 {
+
   xmlDocPtr doc = xmlParseFile(filename.c_str());
   
   if (!doc) 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]