Changeset 666 for abuse/trunk/src/game.h
- Timestamp:
- May 16, 2011, 2:37:11 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/game.h
r657 r666 125 125 126 126 127 void put_fg(int x, int y, int type);128 void put_bg(int x, int y, int type);127 void PutFg(vec2i pos, int type); 128 void PutBg(vec2i pos, int type); 129 129 void draw_map(view *v, int interpolate=0); 130 130 void dev_scroll(); 131 void put_block_fg(int x, int y, TransImage *im);132 void put_block_bg(int x, int y, image *im);133 134 131 135 132 int in_area(Event &ev, int x1, int y1, int x2, int y2); … … 137 134 void set_level(level *nl); 138 135 void show_time(); 139 tile_type get_map_bg(int x, int y) { return current_level->get_bg(x,y); }140 tile_type get_map_fg(int x, int y) { return current_level->get_fg(x,y); }136 tile_type GetMapBg(vec2i pos) { return current_level->GetBg(pos); } 137 tile_type GetMapFg(vec2i pos) { return current_level->GetFg(pos); } 141 138 void end_session(); 142 139 void need_refresh() { refresh=1; } // for development mode only … … 156 153 void request_level_load(char *name); 157 154 void request_end(); 158 } 155 }; 159 156 160 157 extern int playing_state(int state);
Note: See TracChangeset
for help on using the changeset viewer.