#include "main.h"
#include "player.h"
Data Structures | |
struct | action_routine |
Defines | |
#define | REPEAT 0 |
#define | NO_REPEAT 1 |
Functions | |
void | init_action_handler () |
void | destroy_action_handler () |
int | add_action_by_ar (struct action_routine ar) |
void | rm_action (int id) |
void | action_tick (struct leveldata ld) |
int | add_action (int timeout, int repeat, void(*func_pl)(struct player *pl)) |
#define NO_REPEAT 1 |
#define REPEAT 0 |
void action_tick | ( | struct leveldata | ld | ) |
int add_action | ( | int | timeout, | |
int | repeat, | |||
void(*)(struct player *pl) | func_pl | |||
) |
int add_action_by_ar | ( | struct action_routine | ar | ) |
void destroy_action_handler | ( | ) |
void init_action_handler | ( | ) |
void rm_action | ( | int | id | ) |