#include "actions.h"
#include "cell.h"
#include "main.h"
#include "genmacro.h"
#include <stdlib.h>
Functions | |
void | init_action_handler () |
void | destroy_action_handler () |
int | add_action_by_ar (struct action_routine ar) |
int | add_action (int timeout, int repeat, void(*func_pl)(struct player *pl)) |
void | rm_action (int id) |
void | action_tick (struct leveldata ld) |
Variables | |
struct action_routine * | action_register |
int | actions_num |
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 | ) |
struct action_routine* action_register |
int actions_num |