core/EventManager.h
changeset 684 6e46bb7aaf70
parent 653 ef60870067ff
child 687 d9779d053851
     1.1 --- a/core/EventManager.h	Thu Apr 12 02:16:09 2007 +0000
     1.2 +++ b/core/EventManager.h	Thu Apr 12 07:51:05 2007 +0000
     1.3 @@ -42,11 +42,13 @@
     1.4  		pPreHook = NULL;
     1.5  		pPostHook = NULL;
     1.6  		postCopy = false;
     1.7 +		pEventCopy = NULL;
     1.8  		refCount = 0;
     1.9  	}
    1.10  	IChangeableForward *pPreHook;
    1.11  	IChangeableForward *pPostHook;
    1.12  	bool postCopy;
    1.13 +	IGameEvent *pEventCopy;
    1.14  	unsigned int refCount;
    1.15  };
    1.16  
    1.17 @@ -102,10 +104,9 @@
    1.18  private:
    1.19  	HandleType_t m_EventType;
    1.20  	bool m_NotifyPlugins;
    1.21 -	const char *m_EventName;
    1.22 -	IGameEvent *m_EventCopy;
    1.23  	Trie *m_EventHooks;
    1.24  	CStack<EventInfo *> m_FreeEvents;
    1.25 +	CStack<const char *> m_EventNames;
    1.26  };
    1.27  
    1.28  extern EventManager g_EventManager;