pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/worldobjs smasher.cxx,1.22,1.23


From: Ingo Ruhnke
Subject: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs smasher.cxx,1.22,1.23
Date: Tue, 21 Oct 2003 23:37:08 +0200

Update of /var/lib/cvs/Games/Pingus/src/worldobjs
In directory dark:/tmp/cvs-serv23485/worldobjs

Modified Files:
        smasher.cxx 
Log Message:
- some more stuff

Index: smasher.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/worldobjs/smasher.cxx,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- smasher.cxx 21 Oct 2003 11:01:52 -0000      1.22
+++ smasher.cxx 21 Oct 2003 21:37:06 -0000      1.23
@@ -113,7 +113,8 @@
 Smasher::on_startup ()
 {
   std::cout << "Drawing colmap entry" << std::endl;
-  
world->get_colmap()->put(PingusResource::load_surface_provider("Traps/smasher_cmap",
 "traps"),
+  CL_PixelBuffer buf = 
PingusResource::load_surface_provider("Traps/smasher_cmap", "traps");
+  world->get_colmap()->put(buf, 
                           static_cast<int>(data->pos.x),
                           static_cast<int>(data->pos.y),
                           Groundtype::GP_SOLID);





reply via email to

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