Definition in file interpret_aux.c.
#include "crogue.h"
Go to the source code of this file.
Data Structures | |
| struct | aux_function |
| Export of a function from the main program to the data file. More... | |
Typedefs | |
| typedef aux_function | aux_function |
| Export of a function from the main program to the data file. | |
Functions | |
| sint | tile_is_passable (sint x, sint y) |
| sint | tile_is_transparent (sint x, sint y) |
| sint | tile_is_occupied (sint x, sint y) |
| void * | get_plr (void) |
| void * | get_w (void) |
| sint | fstrcmp (char *one, char *two) |
| void | void_helper_void (void *func, long *params, return_info_t *ret) |
| void | void_helper_pointer (void *func, long *params, return_info_t *ret) |
| void | void_helper_pointer_pointer (void *func, long *params, return_info_t *ret) |
| void | pointer_helper_short (void *func, long *params, return_info_t *ret) |
| void | int_helper_short (void *func, long *params, return_info_t *ret) |
| void | int_helper_short_short (void *func, long *params, return_info_t *ret) |
| void | int_helper_short_short_short (void *func, long *params, return_info_t *ret) |
| void | void_helper_short (void *func, long *params, return_info_t *ret) |
| void | void_helper_short_short (void *func, long *params, return_info_t *ret) |
| void | void_helper_short_short_short (void *func, long *params, return_info_t *ret) |
| void | int_helper_pointer (void *func, long *params, return_info_t *ret) |
| void | int_helper_pointer_pointer (void *func, long *params, return_info_t *ret) |
| void | int_helper_pointer_short (void *func, long *params, return_info_t *ret) |
| void | int_helper_void (void *func, long *params, return_info_t *ret) |
| void | int_helper_short_short_pointer_pointer_short (void *func, long *params, return_info_t *ret) |
| void | void_helper_pointer_vararg (void *func, long *params, return_info_t *ret) |
| void | pointer_helper_pointer_vararg (void *func, long *params, return_info_t *ret) |
| void | int_helper_short_short_vararg (void *func, long *params, return_info_t *ret) |
| void | pointer_helper_void (void *func, long *params, return_info_t *ret) |
| void | pointer_helper_long (void *func, long *params, return_info_t *ret) |
| void | pointer_helper_pointer (void *func, long *params, return_info_t *ret) |
| void | void_helper_short_pointer (void *func, long *params, return_info_t *ret) |
| void | long_helper_void (void *func, long *params, return_info_t *ret) |
| void | void_helper_long (void *func, long *params, return_info_t *ret) |
| void | void_helper_pointer_short_short (void *func, long *params, return_info_t *ret) |
| return_info_t | interpret_call (int which_func, long *params) |
Variables | |
| aux_function | aux_functions [] |
|
|
Export of a function from the main program to the data file. This is used to export access to functions from the main program to the data file. Since the data file is written in an interpretted language, the calls must be translated. helper_func is used to do the translation; func is the function to be called. Functions which have the same return type and take the same number of arguments can generally use the same helper function. To export a function, add a corresponding entry to table aux_functions |
|
||||||||||||
|
Definition at line 86 of file interpret_aux.c. References sint. |
|
|
Definition at line 74 of file interpret_aux.c. References world::plr, and w. |
|
|
Definition at line 80 of file interpret_aux.c. References w. |
|
||||||||||||||||
|
Definition at line 157 of file interpret_aux.c. References return_info_t, return_info::returns, return_info::retval, and ushort. |
|
||||||||||||||||
|
Definition at line 164 of file interpret_aux.c. References return_info_t, return_info::returns, return_info::retval, and ushort. |
|
||||||||||||||||
|
Definition at line 171 of file interpret_aux.c. References return_info_t, return_info::returns, return_info::retval, and ushort. |
|
||||||||||||||||
|
Definition at line 118 of file interpret_aux.c. References return_info_t, return_info::returns, return_info::retval, sint, and ushort. |
|
||||||||||||||||
|
Definition at line 125 of file interpret_aux.c. References return_info_t, return_info::returns, return_info::retval, sint, and ushort. |
|
||||||||||||||||
|
Definition at line 185 of file interpret_aux.c. References return_info_t, return_info::returns, return_info::retval, and ushort. |
|
||||||||||||||||
|
Definition at line 132 of file interpret_aux.c. References return_info_t, return_info::returns, return_info::retval, sint, and ushort. |
|
||||||||||||||||
|
Definition at line 207 of file interpret_aux.c. References return_info_t, return_info::returns, return_info::retval, sint, and ushort. |
|
||||||||||||||||
|
Definition at line 178 of file interpret_aux.c. References return_info_t, return_info::returns, return_info::retval, and ushort. |
|
||||||||||||
|
Definition at line 349 of file interpret_aux.c. References aux_functions, aux_function::helper_func, return_info_t, and return_info::returns. Referenced by run_program(). |
|
||||||||||||||||
|
Definition at line 241 of file interpret_aux.c. References return_info_t, return_info::returns, return_info::retval, and ulong. |
|
||||||||||||||||
|
Definition at line 221 of file interpret_aux.c. References return_info_t, return_info::returns, and return_info::retval. |
|
||||||||||||||||
|
Definition at line 228 of file interpret_aux.c. References return_info_t, return_info::returns, and return_info::retval. |
|
||||||||||||||||
|
Definition at line 199 of file interpret_aux.c. References return_info_t, return_info::returns, and return_info::retval. |
|
||||||||||||||||
|
Definition at line 111 of file interpret_aux.c. References return_info_t, return_info::returns, return_info::retval, and ushort. |
|
||||||||||||||||
|
Definition at line 214 of file interpret_aux.c. References return_info_t, return_info::returns, and return_info::retval. |
|
||||||||||||
|
Definition at line 68 of file interpret_aux.c. References tile::flags, sint, world::t, TFLAG_OCCUPIED, and w. |
|
||||||||||||
|
Definition at line 48 of file interpret_aux.c. References MAPSIZE_X, MAPSIZE_Y, sint, world::t, TILEDESC, and w. |
|
||||||||||||
|
Definition at line 58 of file interpret_aux.c. References MAPSIZE_X, MAPSIZE_Y, sint, world::t, TILEDESC, and w. |
|
||||||||||||||||
|
Definition at line 248 of file interpret_aux.c. References return_info_t, and ulong. |
|
||||||||||||||||
|
Definition at line 99 of file interpret_aux.c. References return_info_t. |
|
||||||||||||||||
|
Definition at line 105 of file interpret_aux.c. References return_info_t. |
|
||||||||||||||||
|
Definition at line 254 of file interpret_aux.c. References return_info_t, and ushort. |
|
||||||||||||||||
|
Definition at line 193 of file interpret_aux.c. References return_info_t. |
|
||||||||||||||||
|
Definition at line 139 of file interpret_aux.c. References return_info_t, and ushort. |
|
||||||||||||||||
|
Definition at line 235 of file interpret_aux.c. References return_info_t, and ushort. |
|
||||||||||||||||
|
Definition at line 145 of file interpret_aux.c. References return_info_t, and ushort. |
|
||||||||||||||||
|
Definition at line 151 of file interpret_aux.c. References return_info_t, and ushort. |
|
||||||||||||||||
|
Definition at line 93 of file interpret_aux.c. References return_info_t. |
|
|
Definition at line 263 of file interpret_aux.c. Referenced by interpret_call(). |
1.3.6