[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/movie_root.h
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog server/movie_root.h |
Date: |
Tue, 05 Dec 2006 10:39:54 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/12/05 10:39:54
Modified files:
. : ChangeLog
server : movie_root.h
Log message:
* server/movie_root.h: Added more information for the
class (using repository for planning, let me know if
you find this disturbing).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1852&r2=1.1853
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.h?cvsroot=gnash&r1=1.27&r2=1.28
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1852
retrieving revision 1.1853
diff -u -b -r1.1852 -r1.1853
--- ChangeLog 5 Dec 2006 09:56:57 -0000 1.1852
+++ ChangeLog 5 Dec 2006 10:39:54 -0000 1.1853
@@ -1,5 +1,8 @@
2006-12-05 Sandro Santilli <address@hidden>
+ * server/movie_root.h: Added more information for the
+ class (using repository for planning, let me know if
+ you find this disturbing).
* server/parser/movie_definition.h: Added more information
for the class (Doxygen class description).
Index: server/movie_root.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- server/movie_root.h 28 Nov 2006 15:59:30 -0000 1.27
+++ server/movie_root.h 5 Dec 2006 10:39:54 -0000 1.28
@@ -14,7 +14,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-/* $Id: movie_root.h,v 1.27 2006/11/28 15:59:30 strk Exp $ */
+/* $Id: movie_root.h,v 1.28 2006/12/05 10:39:54 strk Exp $ */
/// \page events_handling Handling of user events
///
@@ -89,6 +89,23 @@
/// Global, shared root state for a movie and all its characters.
+//
+/// This should become a wrapper around the top-level
+/// movie_instance that it being played. We want a
+/// *single* instance of this class for each run,
+/// so that loading external movies will *not* create
+/// a new instance of it.
+///
+/// Currently, a movie_root is returned by
+/// movie_instance::create_instance. We want to
+/// avoid that.
+///
+/// Note that when we implement the new design
+/// the movie_root class won't inherit from sprite_instance
+/// anymore, nor from character of as_object. The closest
+/// class to inherit from would be ref_counted, altought
+/// I'm not even sure we need that... --strk 2006-12-05
+///
class movie_root : public sprite_instance
{
int m_viewport_x0, m_viewport_y0;
- [Gnash-commit] gnash ChangeLog server/movie_root.h,
Sandro Santilli <=