Fix spellcasting and dynamic menus
- Spell targeting line and array draws nicely, though not the same as the original - Fix targeting falsely complaining about being off the edge of town - Monster info dialog works properly; attacks now display correctly - Fix dialogs always showing the wrong terrain or monster graphic - Spell menus, monster menus, and PC editor item menus all work - Spellcasting dialog now chooses the correct spell - Fix out-of-place LED in spellcasting dialog
This commit is contained in:
@@ -95,6 +95,7 @@ void fill_roundrect(sf::RenderTarget& target, RECT rect, int rad, sf::Color colo
|
||||
void frame_roundrect(sf::RenderTarget& target, RECT rect, int rad, sf::Color colour);
|
||||
void fill_region(sf::RenderWindow& target, Region& region, sf::Color colour);
|
||||
void frame_region(sf::RenderWindow& target, Region& region, sf::Color colour);
|
||||
void draw_line(sf::RenderTarget& target, location from, location to, int thickness, sf::Color colour, sf::BlendMode mode = sf::BlendNone);
|
||||
|
||||
void clip_rect(sf::RenderTarget& where, RECT rect);
|
||||
void clip_region(sf::RenderWindow& where, Region& region);
|
||||
|
||||
Reference in New Issue
Block a user