#include "globals.h"
Go to the source code of this file.
Functions | |
DLLIMPORT unsigned char | get_actnpt_subtile_x (unsigned char *actnpt) |
DLLIMPORT short | set_actnpt_subtile_x (unsigned char *actnpt, unsigned char pos_x) |
DLLIMPORT unsigned char | get_actnpt_subtile_y (unsigned char *actnpt) |
DLLIMPORT short | set_actnpt_subtile_y (unsigned char *actnpt, unsigned char pos_y) |
DLLIMPORT unsigned char | get_actnpt_range_subtile (unsigned char *actnpt) |
DLLIMPORT short | set_actnpt_range_subtile (unsigned char *actnpt, unsigned char rng_tl) |
DLLIMPORT short | set_actnpt_subtile (unsigned char *actnpt, unsigned char pos_x, unsigned char pos_y) |
DLLIMPORT unsigned char | get_actnpt_subtpos_x (unsigned char *actnpt) |
DLLIMPORT unsigned short | get_actnpt_pos_x_adv (const unsigned char *actnpt) |
DLLIMPORT short | set_actnpt_subtpos_x (unsigned char *actnpt, unsigned char pos_x) |
DLLIMPORT unsigned char | get_actnpt_subtpos_y (unsigned char *actnpt) |
DLLIMPORT short | set_actnpt_subtpos_y (unsigned char *actnpt, unsigned char pos_y) |
DLLIMPORT unsigned short | get_actnpt_pos_y_adv (const unsigned char *actnpt) |
DLLIMPORT unsigned char | get_actnpt_range_subtpos (unsigned char *actnpt) |
DLLIMPORT short | set_actnpt_range_subtpos (unsigned char *actnpt, unsigned char rng_st) |
DLLIMPORT unsigned int | get_actnpt_range_adv (unsigned char *actnpt) |
DLLIMPORT short | set_actnpt_subtpos (unsigned char *actnpt, unsigned char pos_x, unsigned char pos_y) |
DLLIMPORT unsigned short | get_actnpt_number (unsigned char *actnpt) |
DLLIMPORT short | set_actnpt_number (unsigned char *actnpt, unsigned short apt_num) |
DLLIMPORT unsigned char * | create_actnpt (struct LEVEL *lvl, unsigned int sx, unsigned int sy) |
DLLIMPORT unsigned char * | create_actnpt_copy (unsigned int sx, unsigned int sy, unsigned char *src) |
DLLIMPORT unsigned short | get_free_actnpt_number (const struct LEVEL *lvl) |
DLLIMPORT unsigned short | get_free_actnpt_number_next (const struct LEVEL *lvl, const unsigned short start) |
DLLIMPORT unsigned short | get_free_actnpt_number_prev (const struct LEVEL *lvl, const unsigned short start) |
DLLIMPORT short | create_actnpt_number_used_arr (const struct LEVEL *lvl, unsigned char **used, unsigned int *used_size) |
DLLIMPORT unsigned long | get_actnpt_distance_adv (const unsigned char *actnpt, const int ssx, const int ssy) |
Returns distance between given action point and another map point. | |
DLLIMPORT unsigned char | get_stlight_subtile_x (unsigned char *stlight) |
DLLIMPORT short | set_stlight_subtile_x (unsigned char *stlight, unsigned char pos_x) |
DLLIMPORT unsigned char | get_stlight_subtile_y (unsigned char *stlight) |
DLLIMPORT short | set_stlight_subtile_y (unsigned char *stlight, unsigned char pos_y) |
DLLIMPORT short | set_stlight_subtile (unsigned char *stlight, unsigned char pos_x, unsigned char pos_y) |
DLLIMPORT unsigned char | get_stlight_subtile_h (unsigned char *stlight) |
DLLIMPORT short | set_stlight_subtile_h (unsigned char *stlight, unsigned char pos_h) |
DLLIMPORT unsigned char | get_stlight_subtpos_x (unsigned char *stlight) |
DLLIMPORT unsigned short | get_stlight_pos_x_adv (const unsigned char *stlight) |
DLLIMPORT short | set_stlight_subtpos_x (unsigned char *stlight, unsigned char pos_x) |
DLLIMPORT unsigned char | get_stlight_subtpos_y (unsigned char *stlight) |
DLLIMPORT unsigned short | get_stlight_pos_y_adv (const unsigned char *stlight) |
DLLIMPORT short | set_stlight_subtpos_y (unsigned char *stlight, unsigned char pos_y) |
DLLIMPORT short | set_stlight_subtpos (unsigned char *stlight, unsigned char pos_x, unsigned char pos_y) |
DLLIMPORT unsigned char | get_stlight_subtpos_h (unsigned char *stlight) |
DLLIMPORT short | set_stlight_subtpos_h (unsigned char *stlight, unsigned char pos_h) |
DLLIMPORT unsigned char | get_stlight_range_subtile (unsigned char *stlight) |
DLLIMPORT short | set_stlight_range_subtile (unsigned char *stlight, unsigned char rng_tl) |
DLLIMPORT unsigned char | get_stlight_range_subtpos (unsigned char *stlight) |
DLLIMPORT short | set_stlight_range_subtpos (unsigned char *stlight, unsigned char rng_st) |
DLLIMPORT unsigned int | get_stlight_range_adv (unsigned char *stlight) |
DLLIMPORT unsigned char | get_stlight_intensivity (unsigned char *stlight) |
DLLIMPORT short | set_stlight_intensivity (unsigned char *stlight, unsigned char intens) |
DLLIMPORT unsigned char * | create_stlight (unsigned int sx, unsigned int sy) |
DLLIMPORT unsigned char * | create_stlight_copy (unsigned int sx, unsigned int sy, unsigned char *src) |
DLLIMPORT unsigned long | get_stlight_distance_adv (const unsigned char *stlight, const int ssx, const int ssy) |
Returns distance between given static light and another map point. |
DLLIMPORT unsigned char* create_actnpt | ( | struct LEVEL * | lvl, | |
unsigned int | sx, | |||
unsigned int | sy | |||
) |
Definition at line 152 of file obj_actnpts.c.
DLLIMPORT unsigned char* create_actnpt_copy | ( | unsigned int | sx, | |
unsigned int | sy, | |||
unsigned char * | src | |||
) |
Definition at line 182 of file obj_actnpts.c.
DLLIMPORT short create_actnpt_number_used_arr | ( | const struct LEVEL * | lvl, | |
unsigned char ** | used, | |||
unsigned int * | used_size | |||
) |
Definition at line 251 of file obj_actnpts.c.
Referenced by dkscript_verify(), get_free_actnpt_number_next(), and get_free_actnpt_number_prev().
DLLIMPORT unsigned char* create_stlight | ( | unsigned int | sx, | |
unsigned int | sy | |||
) |
Definition at line 430 of file obj_actnpts.c.
DLLIMPORT unsigned char* create_stlight_copy | ( | unsigned int | sx, | |
unsigned int | sy, | |||
unsigned char * | src | |||
) |
Definition at line 459 of file obj_actnpts.c.
DLLIMPORT unsigned long get_actnpt_distance_adv | ( | const unsigned char * | actnpt, | |
const int | ssx, | |||
const int | ssy | |||
) |
Returns distance between given action point and another map point.
actnpt | The action point which position defines first point. | |
ssx,ssy | Coordinates of the second point ("_adv" form). |
Definition at line 481 of file obj_actnpts.c.
Referenced by get_nearest_object_idx().
DLLIMPORT unsigned short get_actnpt_number | ( | unsigned char * | actnpt | ) |
Definition at line 134 of file obj_actnpts.c.
Referenced by actnpts_verify(), and create_actnpt_number_used_arr().
DLLIMPORT unsigned short get_actnpt_pos_x_adv | ( | const unsigned char * | actnpt | ) |
DLLIMPORT unsigned short get_actnpt_pos_y_adv | ( | const unsigned char * | actnpt | ) |
DLLIMPORT unsigned int get_actnpt_range_adv | ( | unsigned char * | actnpt | ) |
DLLIMPORT unsigned char get_actnpt_range_subtile | ( | unsigned char * | actnpt | ) |
Definition at line 58 of file obj_actnpts.c.
Referenced by actnpts_verify(), and get_actnpt_range_adv().
DLLIMPORT unsigned char get_actnpt_range_subtpos | ( | unsigned char * | actnpt | ) |
DLLIMPORT unsigned char get_actnpt_subtile_x | ( | unsigned char * | actnpt | ) |
DLLIMPORT unsigned char get_actnpt_subtile_y | ( | unsigned char * | actnpt | ) |
DLLIMPORT unsigned char get_actnpt_subtpos_x | ( | unsigned char * | actnpt | ) |
DLLIMPORT unsigned char get_actnpt_subtpos_y | ( | unsigned char * | actnpt | ) |
DLLIMPORT unsigned short get_free_actnpt_number | ( | const struct LEVEL * | lvl | ) |
DLLIMPORT unsigned short get_free_actnpt_number_next | ( | const struct LEVEL * | lvl, | |
const unsigned short | start | |||
) |
DLLIMPORT unsigned short get_free_actnpt_number_prev | ( | const struct LEVEL * | lvl, | |
const unsigned short | start | |||
) |
Definition at line 229 of file obj_actnpts.c.
DLLIMPORT unsigned long get_stlight_distance_adv | ( | const unsigned char * | stlight, | |
const int | ssx, | |||
const int | ssy | |||
) |
Returns distance between given static light and another map point.
stlight | The light which position defines first point. | |
ssx,ssy | Coordinates of the second point ("_adv" form). |
Definition at line 495 of file obj_actnpts.c.
Referenced by get_nearest_object_idx().
DLLIMPORT unsigned char get_stlight_intensivity | ( | unsigned char * | stlight | ) |
Definition at line 413 of file obj_actnpts.c.
DLLIMPORT unsigned short get_stlight_pos_x_adv | ( | const unsigned char * | stlight | ) |
DLLIMPORT unsigned short get_stlight_pos_y_adv | ( | const unsigned char * | stlight | ) |
DLLIMPORT unsigned int get_stlight_range_adv | ( | unsigned char * | stlight | ) |
DLLIMPORT unsigned char get_stlight_range_subtile | ( | unsigned char * | stlight | ) |
DLLIMPORT unsigned char get_stlight_range_subtpos | ( | unsigned char * | stlight | ) |
DLLIMPORT unsigned char get_stlight_subtile_h | ( | unsigned char * | stlight | ) |
Definition at line 313 of file obj_actnpts.c.
DLLIMPORT unsigned char get_stlight_subtile_x | ( | unsigned char * | stlight | ) |
DLLIMPORT unsigned char get_stlight_subtile_y | ( | unsigned char * | stlight | ) |
DLLIMPORT unsigned char get_stlight_subtpos_h | ( | unsigned char * | stlight | ) |
Definition at line 368 of file obj_actnpts.c.
DLLIMPORT unsigned char get_stlight_subtpos_x | ( | unsigned char * | stlight | ) |
DLLIMPORT unsigned char get_stlight_subtpos_y | ( | unsigned char * | stlight | ) |
DLLIMPORT short set_actnpt_number | ( | unsigned char * | actnpt, | |
unsigned short | apt_num | |||
) |
DLLIMPORT short set_actnpt_range_subtile | ( | unsigned char * | actnpt, | |
unsigned char | rng_tl | |||
) |
DLLIMPORT short set_actnpt_range_subtpos | ( | unsigned char * | actnpt, | |
unsigned char | rng_st | |||
) |
Definition at line 128 of file obj_actnpts.c.
DLLIMPORT short set_actnpt_subtile | ( | unsigned char * | actnpt, | |
unsigned char | pos_x, | |||
unsigned char | pos_y | |||
) |
Definition at line 51 of file obj_actnpts.c.
Referenced by create_actnpt(), and create_actnpt_copy().
DLLIMPORT short set_actnpt_subtile_x | ( | unsigned char * | actnpt, | |
unsigned char | pos_x | |||
) |
Definition at line 33 of file obj_actnpts.c.
DLLIMPORT short set_actnpt_subtile_y | ( | unsigned char * | actnpt, | |
unsigned char | pos_y | |||
) |
Definition at line 45 of file obj_actnpts.c.
DLLIMPORT short set_actnpt_subtpos | ( | unsigned char * | actnpt, | |
unsigned char | pos_x, | |||
unsigned char | pos_y | |||
) |
Definition at line 115 of file obj_actnpts.c.
Referenced by create_actnpt(), and create_actnpt_copy().
DLLIMPORT short set_actnpt_subtpos_x | ( | unsigned char * | actnpt, | |
unsigned char | pos_x | |||
) |
Definition at line 91 of file obj_actnpts.c.
DLLIMPORT short set_actnpt_subtpos_y | ( | unsigned char * | actnpt, | |
unsigned char | pos_y | |||
) |
Definition at line 109 of file obj_actnpts.c.
DLLIMPORT short set_stlight_intensivity | ( | unsigned char * | stlight, | |
unsigned char | intens | |||
) |
DLLIMPORT short set_stlight_range_subtile | ( | unsigned char * | stlight, | |
unsigned char | rng_tl | |||
) |
DLLIMPORT short set_stlight_range_subtpos | ( | unsigned char * | stlight, | |
unsigned char | rng_st | |||
) |
DLLIMPORT short set_stlight_subtile | ( | unsigned char * | stlight, | |
unsigned char | pos_x, | |||
unsigned char | pos_y | |||
) |
Definition at line 306 of file obj_actnpts.c.
Referenced by create_stlight(), and create_stlight_copy().
DLLIMPORT short set_stlight_subtile_h | ( | unsigned char * | stlight, | |
unsigned char | pos_h | |||
) |
DLLIMPORT short set_stlight_subtile_x | ( | unsigned char * | stlight, | |
unsigned char | pos_x | |||
) |
Definition at line 288 of file obj_actnpts.c.
DLLIMPORT short set_stlight_subtile_y | ( | unsigned char * | stlight, | |
unsigned char | pos_y | |||
) |
Definition at line 300 of file obj_actnpts.c.
DLLIMPORT short set_stlight_subtpos | ( | unsigned char * | stlight, | |
unsigned char | pos_x, | |||
unsigned char | pos_y | |||
) |
Definition at line 361 of file obj_actnpts.c.
Referenced by create_stlight(), and create_stlight_copy().
DLLIMPORT short set_stlight_subtpos_h | ( | unsigned char * | stlight, | |
unsigned char | pos_h | |||
) |
Definition at line 374 of file obj_actnpts.c.
DLLIMPORT short set_stlight_subtpos_x | ( | unsigned char * | stlight, | |
unsigned char | pos_x | |||
) |
Definition at line 337 of file obj_actnpts.c.
DLLIMPORT short set_stlight_subtpos_y | ( | unsigned char * | stlight, | |
unsigned char | pos_y | |||
) |
Definition at line 355 of file obj_actnpts.c.