pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/editor object_manager.cxx,1.35,1.36


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editor object_manager.cxx,1.35,1.36
Date: 7 Oct 2002 23:11:11 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/editor
In directory dark:/tmp/cvs-serv7565/editor

Modified Files:
        object_manager.cxx 
Log Message:
changed the timer class a bit, still needs work and sub-milisec timing

Index: object_manager.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/object_manager.cxx,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- object_manager.cxx  28 Sep 2002 11:52:23 -0000      1.35
+++ object_manager.cxx  7 Oct 2002 23:11:09 -0000       1.36
@@ -292,6 +292,7 @@
 ObjectManager::add (EditorObj* obj)
 {
   editor_objs.push_back (obj);
+  z_pos_sort();
 }
 
 void
@@ -300,6 +301,7 @@
   editor_objs.erase(std::remove (editor_objs.begin(), editor_objs.end(), obj),
                    editor_objs.end ());
   delete obj;
+  z_pos_sort();
 }
 
 void
@@ -311,6 +313,7 @@
                        editor_objs.end ());
       delete *i;
     }
+  z_pos_sort(); 
 }
 
 EditorObj*





reply via email to

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