2014-03-15 16:59:03 +00:00
|
|
|
// SONIC ROBO BLAST 2
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Copyright (C) 1993-1996 by id Software, Inc.
|
|
|
|
// Copyright (C) 1998-2000 by DooM Legacy Team.
|
2019-12-06 18:49:42 +00:00
|
|
|
// Copyright (C) 1999-2019 by Sonic Team Junior.
|
2014-03-15 16:59:03 +00:00
|
|
|
//
|
|
|
|
// This program is free software distributed under the
|
|
|
|
// terms of the GNU General Public License, version 2.
|
|
|
|
// See the 'LICENSE' file for more details.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
/// \file p_tick.h
|
|
|
|
/// \brief Thinkers, Tickers
|
|
|
|
|
|
|
|
#ifndef __P_TICK__
|
|
|
|
#define __P_TICK__
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern tic_t leveltime;
|
|
|
|
|
|
|
|
// Called by G_Ticker. Carries out all thinking of enemies and players.
|
|
|
|
void Command_Numthinkers_f(void);
|
|
|
|
void Command_CountMobjs_f(void);
|
|
|
|
|
|
|
|
void P_Ticker(boolean run);
|
|
|
|
void P_PreTicker(INT32 frames);
|
|
|
|
void P_DoTeamscrambling(void);
|
2019-07-12 23:42:03 +00:00
|
|
|
void P_RemoveThinkerDelayed(thinker_t *thinker); //killed
|
2014-03-15 16:59:03 +00:00
|
|
|
mobj_t *P_SetTarget(mobj_t **mo, mobj_t *target); // killough 11/98
|
|
|
|
|
|
|
|
#endif
|