From 4fa9ca89a0a53985d451cc539733da4549f018db Mon Sep 17 00:00:00 2001 From: black Date: Thu, 7 Dec 2006 20:29:52 +0000 Subject: [PATCH] Flush my checkout. git-svn-id: svn://svn.icculus.org/nexuiz/branches/smenu@2002 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/menuqc/object.qh | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/data/menuqc/object.qh b/data/menuqc/object.qh index 4d88fcc63..969e9f7a3 100644 --- a/data/menuqc/object.qh +++ b/data/menuqc/object.qh @@ -17,9 +17,12 @@ entity namespaceRoot[ MAX_NAMESPACE_ID ]; typedef float NamespaceID; ABSTRACT( Object ) + // type information/reflexion stuff + .string type; + .NamespaceID namespace; .zoned name; - // namespace ID":"path+name + // namespace ID":"path+name" .zoned fullName; // structural stuff @@ -29,6 +32,20 @@ ABSTRACT( Object ) .Object _next; ENDABSTRACT() +CLASS( ObjectList ) + .zoned objectList; + .float objectCount; + + void ObjectList_Add( ObjectList this, Object pObject ); + void ObjectList_Remove( ObjectList this, Object pObject ); + + float ObjectList_GetCount( ObjectList this, Object pObject ); + Object ObjectList_GetOne( ObjectList this, float pIndex ); + + void ObjectList_PrepareIteration( ObjectList this ); + void ObjectList_FinishIteration( ObjectList this ); + Object ObjectList_Iterate( ObjectList this ); +ENDCLASS() -- 2.39.2