#include "globals.h"
Go to the source code of this file.
Data Structures | |
struct | CUBE_TXTRANIM |
struct | CUBE_TEXTURES |
struct | CUBES_DATA |
Defines | |
#define | XCUTX_FILE_BADDATA 1 |
#define | XCUTX_CANT_OPEN 2 |
#define | XCUTX_MALLOC_ERR 3 |
#define | XCUTX_INTERNAL 4 |
#define | SIZEOF_DK_CUBE_REC 18 |
#define | SIZEOF_DK_CUBE_HEADER 4 |
#define | TEXTURE_SIZE_X 32 |
#define | TEXTURE_SIZE_Y 32 |
#define | TEXTURE_COUNT_X 8 |
#define | TEXTURE_COUNT_Y 68 |
Functions | |
DLLIMPORT short | alloc_cubedata (struct CUBES_DATA *cubes, long count) |
DLLIMPORT short | free_cubedata (struct CUBES_DATA *cubes) |
DLLIMPORT short | load_cubedata (struct CUBES_DATA *cubes, const char *fname) |
DLLIMPORT short | write_cubedata (struct CUBES_DATA *cubes, const char *fname) |
DLLIMPORT short | switch_cubedata_entries (struct CUBES_DATA *cubes, unsigned long idx1, unsigned long idx2) |
DLLIMPORT short | load_textureanim (struct CUBES_DATA *cubes, const char *fname) |
DLLIMPORT short | load_texture (unsigned char **texture, const char *fname) |
#define SIZEOF_DK_CUBE_HEADER 4 |
#define SIZEOF_DK_CUBE_REC 18 |
#define TEXTURE_COUNT_X 8 |
Definition at line 38 of file xcubtxtr.h.
Referenced by draw_map_on_buffer(), draw_map_on_buffer_fast(), load_texture(), and texture_index_to_texture_pos().
#define TEXTURE_COUNT_Y 68 |
Definition at line 39 of file xcubtxtr.h.
Referenced by draw_map_on_buffer(), draw_map_on_buffer_fast(), load_texture(), and texture_index_to_texture_pos().
#define TEXTURE_SIZE_X 32 |
Definition at line 36 of file xcubtxtr.h.
Referenced by draw_map_on_buffer(), draw_map_on_buffer_fast(), draw_things_on_buffer(), generate_map_bitmap(), get_draw_subtile_rect(), get_draw_tile_rect(), get_full_draw_dimensions(), get_full_draw_dimensions_opt(), get_object_with_circle_at(), get_subtile_from_draw_coords(), get_subtile_from_draw_coords_adv(), get_subtile_from_draw_coords_ip(), get_thing_with_circle_at(), load_texture(), and texture_index_to_texture_pos().
#define TEXTURE_SIZE_Y 32 |
Definition at line 37 of file xcubtxtr.h.
Referenced by draw_map_on_buffer(), draw_map_on_buffer_fast(), draw_things_on_buffer(), generate_map_bitmap(), get_draw_subtile_rect(), get_draw_tile_rect(), get_full_draw_dimensions(), get_full_draw_dimensions_opt(), get_object_with_circle_at(), get_subtile_from_draw_coords(), get_subtile_from_draw_coords_adv(), get_subtile_from_draw_coords_ip(), get_thing_with_circle_at(), load_texture(), and texture_index_to_texture_pos().
#define XCUTX_CANT_OPEN 2 |
#define XCUTX_FILE_BADDATA 1 |
Definition at line 28 of file xcubtxtr.h.
Referenced by load_cubedata(), load_texture(), and load_textureanim().
#define XCUTX_INTERNAL 4 |
#define XCUTX_MALLOC_ERR 3 |
Definition at line 30 of file xcubtxtr.h.
Referenced by alloc_cubedata(), load_cubedata(), and load_texture().
DLLIMPORT short alloc_cubedata | ( | struct CUBES_DATA * | cubes, | |
long | count | |||
) |
DLLIMPORT short free_cubedata | ( | struct CUBES_DATA * | cubes | ) |
Definition at line 40 of file xcubtxtr.c.
DLLIMPORT short load_cubedata | ( | struct CUBES_DATA * | cubes, | |
const char * | fname | |||
) |
DLLIMPORT short load_texture | ( | unsigned char ** | texture, | |
const char * | fname | |||
) |
DLLIMPORT short load_textureanim | ( | struct CUBES_DATA * | cubes, | |
const char * | fname | |||
) |
DLLIMPORT short switch_cubedata_entries | ( | struct CUBES_DATA * | cubes, | |
unsigned long | idx1, | |||
unsigned long | idx2 | |||
) |
Definition at line 128 of file xcubtxtr.c.
DLLIMPORT short write_cubedata | ( | struct CUBES_DATA * | cubes, | |
const char * | fname | |||
) |
Definition at line 102 of file xcubtxtr.c.