Change image resource type from sf::Image to sf::Texture
This includes an added optimization to the resource manager - it now uses unordered (hash) maps instead of ordered (tree) maps to keep track of loaded resources and paths, for the average constant lookup time.
This commit is contained in:
@@ -14,7 +14,6 @@ void draw_rb_slot (short which,short mode) ;
|
||||
void set_up_terrain_buttons(bool reset);
|
||||
void draw_terrain();
|
||||
void draw_monsts();
|
||||
rectangle get_item_template_rect (short type_wanted);
|
||||
void draw_items();
|
||||
void force_tiny_redraw();
|
||||
void draw_one_terrain_spot (short i,short j,ter_num_t terrain_to_draw);
|
||||
|
Reference in New Issue
Block a user