Main Page | Alphabetical List | Class List | File List | Class Members | File Members

editor/transform.c File Reference

#include "editor.h"

Go to the source code of this file.

Functions

void transform_mirror_horizontal (void)
void transform_mirror_vertical (void)
void transform_rotate_180 (void)
int mirror_x (int t)
int mirror_y (int t)
int tile_is_wall (int x, int y)
void transform_smooth (void)

Variables

int wall_map [16]


Function Documentation

int mirror_x int  t  ) 
 

Definition at line 56 of file transform.c.

References TILE_PUSHER_E, TILE_PUSHER_W, TILE_ROCKY_E, TILE_ROCKY_W, TILE_SLIDER_E, TILE_SLIDER_W, TILE_TWIST_CCW, TILE_TWIST_CW, TILE_WALL_1, TILE_WALL_3, TILE_WALL_4, TILE_WALL_6, TILE_WALL_7, and TILE_WALL_9.

Referenced by transform_mirror_horizontal().

int mirror_y int  t  ) 
 

Definition at line 80 of file transform.c.

References TILE_PUSHER_N, TILE_PUSHER_S, TILE_ROCKY_N, TILE_ROCKY_S, TILE_SLIDER_N, TILE_SLIDER_S, TILE_TWIST_CCW, TILE_TWIST_CW, TILE_WALL_1, TILE_WALL_2, TILE_WALL_3, TILE_WALL_7, TILE_WALL_8, and TILE_WALL_9.

Referenced by transform_mirror_vertical().

int tile_is_wall int  x,
int  y
 

Definition at line 105 of file transform.c.

References current_map, is_in_bounds(), engine_map::t, TILE_WALL_1, TILE_WALL_2, TILE_WALL_3, TILE_WALL_4, TILE_WALL_5, TILE_WALL_6, TILE_WALL_7, TILE_WALL_8, and TILE_WALL_9.

void transform_mirror_horizontal void   ) 
 

Definition at line 4 of file transform.c.

References current_map, get_selected_region(), mirror_x(), and engine_map::t.

Referenced by editing_state(), and transform_rotate_180().

void transform_mirror_vertical void   ) 
 

Definition at line 26 of file transform.c.

References current_map, get_selected_region(), mirror_y(), and engine_map::t.

Referenced by editing_state(), and transform_rotate_180().

void transform_rotate_180 void   ) 
 

Definition at line 48 of file transform.c.

References transform_mirror_horizontal(), and transform_mirror_vertical().

Referenced by editing_state().

void transform_smooth void   ) 
 

Definition at line 170 of file transform.c.

References current_map, get_selected_region(), engine_map::t, tile_is_wall(), and wall_map.

Referenced by editing_state().


Variable Documentation

int wall_map[16]
 

Definition at line 120 of file transform.c.

Referenced by transform_smooth().


Generated on Thu Apr 22 14:06:33 2004 for SKye by doxygen 1.3.6