コード例 #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
ファイル: p_tick.c プロジェクト: CatalystG/libretro-prboom
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;
}