예제 #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;
}