[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/server dlist.cpp dlist.h sprite_instance.h
From: |
Zou Lunkai |
Subject: |
[Gnash-commit] gnash/server dlist.cpp dlist.h sprite_instance.h |
Date: |
Mon, 03 Dec 2007 07:18:20 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Zou Lunkai <zoulunkai> 07/12/03 07:18:20
Modified files:
server : dlist.cpp dlist.h sprite_instance.h
Log message:
comments.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/dlist.cpp?cvsroot=gnash&r1=1.105&r2=1.106
http://cvs.savannah.gnu.org/viewcvs/gnash/server/dlist.h?cvsroot=gnash&r1=1.58&r2=1.59
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.h?cvsroot=gnash&r1=1.152&r2=1.153
Patches:
Index: dlist.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/dlist.cpp,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -b -r1.105 -r1.106
--- dlist.cpp 3 Dec 2007 07:06:14 -0000 1.105
+++ dlist.cpp 3 Dec 2007 07:18:19 -0000 1.106
@@ -752,8 +752,6 @@
testInvariant();
- // Should we start looking from beginNonRemoved ?
- // If I try, I get a failure in swfdec/gotoframe.swf
for (iterator it = _charsByDepth.begin(), itEnd = _charsByDepth.end(); it !=
itEnd; )
{
// make a copy
Index: dlist.h
===================================================================
RCS file: /sources/gnash/gnash/server/dlist.h,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- dlist.h 3 Dec 2007 07:06:15 -0000 1.58
+++ dlist.h 3 Dec 2007 07:18:20 -0000 1.59
@@ -215,6 +215,7 @@
///
bool unload();
+ /// destroy all characters in this DisplayList
void destroy();
/// Add all characters in the list, maintaining depth-order
Index: sprite_instance.h
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.h,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -b -r1.152 -r1.153
--- sprite_instance.h 3 Dec 2007 07:06:15 -0000 1.152
+++ sprite_instance.h 3 Dec 2007 07:18:20 -0000 1.153
@@ -432,6 +432,8 @@
/// in which case we want the event handler to find the 'this'
/// variable w/out attempting to rebind it.
///
+ /// When a sprite is destroyed, all its children are also destroyed.
+ ///
/// Note: this function will release most memory associated with
/// the sprite as no members or drawable should be needed anymore.
///
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/server dlist.cpp dlist.h sprite_instance.h,
Zou Lunkai <=