Logo Search packages:      
Sourcecode: berusky version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

screen_editor Class Reference

Inheritance diagram for screen_editor:
Inheritance graph
[legend]
Collaboration diagram for screen_editor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void back_draw_editor (tpos x, tpos y, bool grid)
void back_free (void)
bool back_load (int back_num)
bool coord_in_area (tpos x, tpos y)
bool coord_in_level (tpos level_x, tpos level_y)
void coord_to_grid (tpos *p_x, tpos *p_y)
void coord_to_screen (tpos *p_x, tpos *p_y, tpos *p_dx, tpos *p_dy)
virtual void draw (void)
void flip (void)
void grid_clear (tpos x, tpos y, tpos layer)
void grid_diff (tpos x, tpos y, tpos layer, tpos x_diff, tpos y_diff)
void grid_diff_add (tpos x, tpos y, tpos layer, tpos x_diff, tpos y_diff)
void grid_set (tpos x, tpos y, tpos layer, spr_handle spr, int flag=0)
spr_handle grid_sprite_get (tpos x, tpos y, tpos layer)
 screen_editor (tpos cell_x_, tpos cell_y_)
bool selection_filled_get (void)
void selection_filled_set (bool filled)
void selection_get (tpos *p_x, tpos *p_y)
bool selection_get (void)
bool selection_rectangle_get (void)
void selection_rectangle_get (tpos *p_sx, tpos *p_sy, tpos *p_dx, tpos *p_dy)
void selection_rectangle_set (bool rectangle)
void selection_rectangle_start_set (tpos x, tpos y)
void selection_set (bool selection)
void selection_set (tpos x, tpos y)
void set_layers (LAYER_CONFIG *p_lconfig)
void set_redraw (void)
void sprite_add (int handle, spr_handle spr, tpos x, tpos y, spr_handle dst=0)
void sprite_draw (spr_handle spr, tpos x, tpos y, spr_handle dst=0)
void sprite_mask (tpos x, tpos y)
void window_offset (tpos start_x_, tpos start_y_)

Protected Member Functions

void back_draw (tpos x, tpos y, tpos dx=1, tpos dy=1, spr_handle dst=0)
void back_reset (tpos x, tpos y, tpos dx=1, tpos dy=1)
void grid_draw (tpos x, tpos y, int layer, int flag=0, spr_handle dst=0)
SCREEN_SPRITE * grid_get (tpos x, tpos y, tpos layer)
void set_change (tpos x, tpos y, int flag)
void set_changes (tpos x, tpos y, tpos layer)
void sprite_draw_all (void)
void window_offset_reset (void)
void window_offset_set (void)

Protected Attributes

spr_handle back_original
spr_handle back_static
tpos cell_x
tpos cell_y
CHANGE ch_dynamic
CHANGE ch_static
EXTRA_SPRITE esprite [MAX_EXTRA_SPRITES]
int esprite_num
SCREEN_SPRITE grid [LEVEL_CELLS_X][LEVEL_CELLS_Y][LEVEL_LAYERS]
tpos screen_start_x
tpos screen_start_y
tpos start_x
tpos start_y

Private Member Functions

void selection_draw (bool clear=FALSE)

Private Attributes

LAYER_CONFIG lconfig
SCREEN_SELECTION sel

Detailed Description

Definition at line 597 of file graphics.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index