12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- #ifndef __P_TICK__
- #define __P_TICK__
- #include "d_think.h"
- #ifdef __GNUG__
- #pragma interface
- #endif
- void P_Ticker(void);
- void P_InitThinkers(void);
- void P_AddThinker(thinker_t *thinker);
- void P_RemoveThinker(thinker_t *thinker);
- void P_RemoveThinkerDelayed(thinker_t *thinker);
- void P_UpdateThinker(thinker_t *thinker);
- void P_SetTarget(mobj_t **mo, mobj_t *target);
- typedef enum {
- th_delete,
- th_misc,
- th_friends,
- th_enemies,
- NUMTHCLASS,
- th_all = NUMTHCLASS,
- } th_class;
- extern thinker_t thinkerclasscap[];
- #define thinkercap thinkerclasscap[th_all]
- thinker_t* P_NextThinker(thinker_t*,th_class);
- #endif
|