Implement customizable background patterns to be displayed behind the game interface based on which town/sector the player is in and whether they are in combat mode, with cascading defaults.

- All the hard-coded background changes are no longer present and not even preserved.
This commit is contained in:
2015-01-26 18:39:35 -05:00
parent a3c998eaad
commit 91c52fca77
19 changed files with 239 additions and 49 deletions

View File

@@ -101,10 +101,10 @@ void init_graph_tool(){
bg_rects[0] = bg_rects[1] = bg_rects[18] = map_pat_rects[7] = tmp_rect;
bg_rects[0].right -= 32;
bg_rects[0].bottom -= 32;
bg_rects[1].left -= 32;
bg_rects[1].left += 32;
bg_rects[1].bottom -= 32;
bg_rects[18].right -= 32;
bg_rects[18].top -= 32;
bg_rects[18].top += 32;
map_pat_rects[7].left += 32;
map_pat_rects[7].top += 32;
tmp_rect.offset(0, 64);