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

Public Member Functions | Protected Member Functions | Protected Attributes

screen Class Reference

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

List of all members.

Public Member Functions

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 (tpos cell_x_, tpos cell_y_)
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

Detailed Description

Definition at line 219 of file graphics.h.


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

Generated by  Doxygen 1.6.0   Back to index