示例#1
0
文件: p_tick.c 项目: 9cat/DoomClassic
static void P_RunThinkers (void)
{
  for (currentthinker = thinkercap.next;
       currentthinker != &thinkercap;
       currentthinker = currentthinker->next)
  {
    if (newthinkerpresent)
      R_ActivateThinkerInterpolations(currentthinker);
    if (currentthinker->function)
      currentthinker->function(currentthinker);
  }
  newthinkerpresent = false;
}
示例#2
0
static void P_RunThinkers (void)
{
  for (currentthinker = thinkercap.next;
       currentthinker != &thinkercap;
       currentthinker = currentthinker->next)
  {
#ifndef __LIBRETRO__
    if (newthinkerpresent)
      R_ActivateThinkerInterpolations(currentthinker);
#endif
    if (currentthinker->function)
      currentthinker->function(currentthinker);
  }
  newthinkerpresent = FALSE;
}