Having started making (well, trying to make) a mod for Half-Life with a few buddies, I have decided to put my notes on the source on Everything. (I may be the wrong person to do it (me sucking so much and all) but we need more of this kind of thing)
- CGrenade
- Location: weapons.h
- Surprisingly enough, this is the grenade class. Derived from CBaseMonster.
- The member functions for the explosion (Explosion(Vector &, Vector &), Explosion(TraceResult *, int), and void EXPORT Smoke()) are modular enough to transfer to other CBaseMonsters with minor modifications.
- CHornet
- Location: hornet.h
- The homing insects from the grunts and the hornetgun. Another CBasemonster.
- Vector
- Vector2D
- Similar to the 3d vector(and in the same file), but with only 2 axis. According to the comments, used for pathfinding, but not used very frequently
More classes coming soon...