File TimerPool.c

FileList > core > TimerPool.c

Go to the source code of this file

  • #include "TimerPool.h"
  • #include "ObjectPool.h"
  • #include <stdlib.h>
  • #include <string.h>
  • #include "AssertLib.h"

Public Functions

Type Name
struct SDTimerPool TP_DestroyTimerPool (struct SDTimerPool * pPool)
void TP_DoTimers (struct SDTimerPool * pPool, double deltaT)
void TP_FreeTimer (struct SDTimerPool * pPool, HTimer timer)
HTimer TP_GetTimer (struct SDTimerPool * pPool, const struct SDTimer * pTimer)
struct SDTimerPool TP_InitTimerPool (int initialSize)

Public Functions Documentation

function TP_DestroyTimerPool

struct SDTimerPool TP_DestroyTimerPool (
    struct SDTimerPool * pPool
) 

function TP_DoTimers

void TP_DoTimers (
    struct SDTimerPool * pPool,
    double deltaT
) 

function TP_FreeTimer

void TP_FreeTimer (
    struct SDTimerPool * pPool,
    HTimer timer
) 

function TP_GetTimer

HTimer TP_GetTimer (
    struct SDTimerPool * pPool,
    const struct SDTimer * pTimer
) 

function TP_InitTimerPool

struct SDTimerPool TP_InitTimerPool (
    int initialSize
) 


The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/src/core/TimerPool.c