> > It's bugging me, what where the names of those methods to emulate
> > constructors and destructors? Which classes should they be used for?
Which
> > classes should they not be used for?
>
> Constructors and Destructors should not be used for anything that inherits
> from the CBaseEntity class (since the cbase.h file overrides the C++ new()
> function).
>
> If you create a brand new class (separate from CBaseEntity), you should be
> able to use Constructors and Destructors for it.

I know that, but I remember ages ago there was a discussion on how to
emulate this, and someone mentioned a method that could be overridden. Well
at least I remember that, by my memory may just be making things up ;)

Jeff.
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to