Changeset 217 for trunk/nv/object.hh


Ignore:
Timestamp:
09/10/13 18:11:39 (12 years ago)
Author:
epyon
Message:
  • lua/nova - almost complete reimplementation of "core" from FPC Valkyrie
  • lua/state - nova loaded by default
  • object - prototype reference caching
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/object.hh

    r187 r217  
    178178
    179179        protected:
    180                 void register_with_lua( const char* lua_name = nullptr );
     180                void register_with_lua( const char* lua_name, const char* storage );
    181181
    182182        protected:
    183                 root*   m_root;        ///< pointer to root
    184                 string  m_id;          ///< id type of the object
    185                 string  m_name;        ///< name of the object
    186                 uid     m_uid;         ///< uid of the object
    187                 int     m_lua_index;   ///< lua reference
    188                 object* m_parent;      ///< pointer to parent
    189                 list    m_children;    ///< children objects
    190                 size_t  m_child_count; ///< number of children
     183                root*   m_root;            ///< pointer to root
     184                string  m_id;              ///< id type of the object
     185                string  m_name;            ///< name of the object
     186                uid     m_uid;             ///< uid of the object
     187                int     m_lua_index;       ///< lua reference
     188                int     m_lua_proto_index; ///< lua reference
     189                object* m_parent;          ///< pointer to parent
     190                list    m_children;        ///< children objects
     191                size_t  m_child_count;     ///< number of children
    191192        };
    192193
Note: See TracChangeset for help on using the changeset viewer.