|
Crossfire Server, Branches 1.12
R18729
|
Include dependency graph for timers.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | _cftimer |
Macros | |
| #define | MAX_TIMERS 1000 |
| #define | TIMER_ERR_ID -1 |
| #define | TIMER_ERR_MODE -3 |
| #define | TIMER_ERR_NONE 0 |
| #define | TIMER_ERR_OBJ -2 |
| #define | TIMER_MODE_CYCLES 2 |
| #define | TIMER_MODE_DEAD 0 |
| #define | TIMER_MODE_SECONDS 1 |
Typedefs | |
| typedef struct _cftimer | cftimer |
Variables | |
| cftimer | timers_table [MAX_TIMERS] |
Variables for the custom timers. See Custom timers.
Definition in file timers.h.
| #define MAX_TIMERS 1000 |
Maximum number of timers.
Definition at line 63 of file timers.h.
Referenced by cftimer_create(), cftimer_destroy(), cftimer_find_free_id(), cftimer_init(), and cftimer_process_timers().
| #define TIMER_ERR_ID -1 |
Invalid timer id.
Definition at line 69 of file timers.h.
Referenced by cfapi_timer_create(), cftimer_create(), cftimer_destroy(), and cftimer_find_free_id().
| #define TIMER_ERR_MODE -3 |
| #define TIMER_ERR_NONE 0 |
No error.
Definition at line 68 of file timers.h.
Referenced by cfapi_timer_create(), cftimer_create(), and cftimer_destroy().
| #define TIMER_ERR_OBJ -2 |
NULL object, or no EVENT_TIMER handler.
Definition at line 70 of file timers.h.
Referenced by cftimer_create().
| #define TIMER_MODE_CYCLES 2 |
Timer is in server cycles.
Definition at line 51 of file timers.h.
Referenced by cftimer_create(), and cftimer_process_timers().
| #define TIMER_MODE_DEAD 0 |
Used to mark a timer as unused in the list.
Definition at line 49 of file timers.h.
Referenced by cftimer_create(), cftimer_destroy(), cftimer_find_free_id(), and cftimer_process_timers().
| #define TIMER_MODE_SECONDS 1 |
Timer is in seconds.
Definition at line 50 of file timers.h.
Referenced by cftimer_create(), and cftimer_process_timers().
| cftimer timers_table[MAX_TIMERS] |