This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | U7_combo_data |
Defines | |
#define | INCL_U7DRAG 1 |
U7drag.h - Common defines for drag-and-drop of U7 shapes. | |
#define | U7_TARGET_SHAPEID_NAME "U7SHAPEID" |
#define | U7_TARGET_SHAPEID 137 |
#define | U7_SHAPE_UNK -1 |
#define | U7_SHAPE_SHAPES 0 |
#define | U7_SHAPE_GUMPS 1 |
#define | U7_SHAPE_FONTS 2 |
#define | U7_SHAPE_FACES 3 |
#define | U7_SHAPE_SPRITES 4 |
#define | U7_SHAPE_PAPERDOL 5 |
#define | U7_TARGET_CHUNKID_NAME "U7CHUNKID" |
#define | U7_TARGET_CHUNKID 138 |
#define | U7_TARGET_COMBOID_NAME "U7COMBOID" |
#define | U7_TARGET_COMBOID 139 |
Typedefs | |
typedef void(*) | Move_shape_handler_fun (int shape, int frame, int x, int y, int prevx, int prevy, bool show) |
typedef void(*) | Move_combo_handler_fun (int xtiles, int ytiles, int tiles_right, int tiles_below, int x, int y, int prevx, int prevy, bool show) |
typedef void(*) | Drop_shape_handler_fun (int shape, int frame, int x, int y, void *data) |
typedef void(*) | Drop_chunk_handler_fun (int chunk, int x, int y, void *data) |
typedef void(*) | Drop_combo_handler_fun (int cnt, struct U7_combo_data *combo, int x, int y, void *data) |
Functions | |
int | Store_u7_shapeid (unsigned char *data, int file, int shape, int frame) |
U7drag.cc - Common defines for drag-and-drop of U7 shapes. | |
void | Get_u7_shapeid (unsigned char *data, int &file, int &shape, int &frame) |
int | Store_u7_chunkid (unsigned char *data, int cnum) |
void | Get_u7_chunkid (unsigned char *data, int &cnum) |
int | Store_u7_comboid (unsigned char *data, int xtiles, int ytiles, int tiles_right, int tiles_below, int cnt, U7_combo_data *ents) |
void | Get_u7_comboid (unsigned char *data, int &xtiles, int &ytiles, int &tiles_right, int &tiles_below, int &cnt, U7_combo_data *&ents) |
#define INCL_U7DRAG 1 |
#define U7_SHAPE_FACES 3 |
Definition at line 37 of file u7drag.h.
Referenced by Shape_file_set::create(), Npc_face_dropped(), and Shape_manager::reload_shapes().
#define U7_SHAPE_FONTS 2 |
Definition at line 36 of file u7drag.h.
Referenced by Shape_file_set::create(), and Shape_manager::reload_shapes().
#define U7_SHAPE_GUMPS 1 |
Definition at line 35 of file u7drag.h.
Referenced by Shape_file_set::create(), and Shape_manager::reload_shapes().
#define U7_SHAPE_PAPERDOL 5 |
Definition at line 39 of file u7drag.h.
Referenced by Shape_file_set::create(), and Shape_manager::reload_shapes().
#define U7_SHAPE_SHAPES 0 |
Definition at line 34 of file u7drag.h.
Referenced by Shape_file_set::create(), Shape_chooser::drag_data_get(), Palette_edit::drag_data_get(), Egg_monster_dropped(), Equip_shape_dropped(), Npc_shape_dropped(), Obj_shape_dropped(), and Shape_manager::reload_shapes().
#define U7_SHAPE_SPRITES 4 |
Definition at line 38 of file u7drag.h.
Referenced by Shape_file_set::create(), and Shape_manager::reload_shapes().
#define U7_SHAPE_UNK -1 |
Definition at line 33 of file u7drag.h.
Referenced by Shape_file_set::create(), and Shape_chooser::drag_data_get().
#define U7_TARGET_CHUNKID 138 |
Definition at line 47 of file u7drag.h.
Referenced by Chunk_chooser::drag_data_get(), Chunk_chooser::drag_motion(), and Chunk_chooser::enable_drop().
#define U7_TARGET_CHUNKID_NAME "U7CHUNKID" |
Definition at line 46 of file u7drag.h.
Referenced by Chunk_chooser::drag_data_get(), Chunk_chooser::drag_data_received(), Chunk_chooser::drag_motion(), and Chunk_chooser::enable_drop().
#define U7_TARGET_COMBOID 139 |
Definition at line 55 of file u7drag.h.
Referenced by Combo_chooser::drag_data_get(), and Combo_chooser::drag_motion().
#define U7_TARGET_COMBOID_NAME "U7COMBOID" |
Definition at line 54 of file u7drag.h.
Referenced by Combo_chooser::drag_data_get(), and Combo_chooser::drag_motion().
#define U7_TARGET_SHAPEID 137 |
Definition at line 30 of file u7drag.h.
Referenced by Shape_chooser::drag_data_get(), Palette_edit::drag_data_get(), Shape_chooser::drag_motion(), and Shape_draw::enable_drop().
#define U7_TARGET_SHAPEID_NAME "U7SHAPEID" |
Definition at line 29 of file u7drag.h.
Referenced by Shape_chooser::drag_data_get(), Palette_edit::drag_data_get(), Shape_draw::drag_data_received(), Shape_chooser::drag_motion(), and Shape_draw::enable_drop().
typedef void(*) Drop_chunk_handler_fun(int chunk, int x, int y, void *data) |
typedef void(*) Drop_combo_handler_fun(int cnt, struct U7_combo_data *combo, int x, int y, void *data) |
typedef void(*) Drop_shape_handler_fun(int shape, int frame, int x, int y, void *data) |
typedef void(*) Move_combo_handler_fun(int xtiles, int ytiles, int tiles_right, int tiles_below, int x, int y, int prevx, int prevy, bool show) |
typedef void(*) Move_shape_handler_fun(int shape, int frame, int x, int y, int prevx, int prevy, bool show) |
void Get_u7_chunkid | ( | unsigned char * | data, | |
int & | cnum | |||
) |
Definition at line 94 of file u7drag.cc.
References Read2().
Referenced by Chunk_chooser::drag_data_received().
Here is the call graph for this function:
void Get_u7_comboid | ( | unsigned char * | data, | |
int & | xtiles, | |||
int & | ytiles, | |||
int & | tiles_right, | |||
int & | tiles_below, | |||
int & | cnt, | |||
U7_combo_data *& | ents | |||
) |
Definition at line 145 of file u7drag.cc.
References U7_combo_data::frame, Read2(), U7_combo_data::shape, U7_combo_data::ty, and U7_combo_data::tz.
Here is the call graph for this function:
void Get_u7_shapeid | ( | unsigned char * | data, | |
int & | file, | |||
int & | shape, | |||
int & | frame | |||
) |
Definition at line 59 of file u7drag.cc.
References Read2().
Referenced by Shape_draw::drag_data_received().
Here is the call graph for this function:
int Store_u7_chunkid | ( | unsigned char * | data, | |
int | cnum | |||
) |
Definition at line 79 of file u7drag.cc.
References Write2().
Referenced by Chunk_chooser::drag_data_get().
Here is the call graph for this function:
int Store_u7_comboid | ( | unsigned char * | data, | |
int | xtiles, | |||
int | ytiles, | |||
int | tiles_right, | |||
int | tiles_below, | |||
int | cnt, | |||
U7_combo_data * | ents | |||
) |
Definition at line 110 of file u7drag.cc.
References Write2().
Referenced by Combo_chooser::drag_data_get().
Here is the call graph for this function:
int Store_u7_shapeid | ( | unsigned char * | data, | |
int | file, | |||
int | shape, | |||
int | frame | |||
) |
U7drag.cc - Common defines for drag-and-drop of U7 shapes.
Written: 12/13/00 - JSF
Definition at line 40 of file u7drag.cc.
References Write2().
Referenced by Palette_edit::drag_data_get(), and Shape_chooser::drag_data_get().
Here is the call graph for this function: