Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 11, 2006, 11:12:11 PM (17 years ago)
Author:
tfahrni
Message:

Tried to make some progress with the AI..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ai/src/world_entities/npcs/npc_test.cc

    r9947 r10041  
    3232
    3333#include "class_id_DEPRECATED.h"
     34
    3435ObjectListDefinitionID(NPC2, CL_NPC_TEST2);
    3536CREATE_FACTORY(NPC2);
     
    4243
    4344
    44   if (root != NULL)
    45     this->loadParams(root);
     45  if (root != NULL)this->loadParams(root);
     46 
     47  addToTeam(0);
    4648}
    4749
     
    6365void NPC2::tick(float dt)
    6466{
     67       
     68       
    6569  // animating the md2 model (uninteressant)
    6670  if( likely(this->getModel(0) != NULL))
    6771    ((MD2Model*)this->getModel(0))->tick(dt);
    6872
    69 
     73        return;
     74        //this things will now be managed by the AI modules..../////
    7075
    7176  PRINTF(0)("====================\n");
Note: See TracChangeset for help on using the changeset viewer.