View Single Post
Re: Whistler's new bot framework
Old
  (#2)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: Whistler's new bot framework - 03-08-2004

I've got a question..
Code:
CBaseBot::CBaseBot():
m_iWantedTeam(-1),
m_iWantedClass(-1),
m_iSkill(1),
m_iStartAction(0),
m_flMoveSpeed(0),
m_flSideMoveSpeed(0),
m_flUpMoveSpeed(0),
m_fIsStarted(false),
m_flTimeThink(0)
{
   m_biBotInput.actionflags = 0;
   m_biBotInput.dir = g_vecZero;
   m_biBotInput.idealangles = g_vecZero;
   m_biBotInput.weapon = 0;
}
is the constructor being derived from those other functions?
I've never seen this kind of code before..
  
Reply With Quote