Vultraz

Untitled

Jun 10th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. 20160605 14:35:58< vultraz> Aginor: so I've been doing some work for Argentum Age, and I noticed they have a pretty nice zorder draw system. Basically, different objects specify a zorder and they're drawn in that order. I was thinking maybe wesnoth could do something similar, instead of that window manager idea we had been throwing around. Add a zorder property to the draw stack, and when a redraw happens, maybe redraw...
  2. 20160605 14:35:59< vultraz> ...it from top to bottom. Might allow us to simplify the terrain graphics and unit drawing layer system as well
  3. 20160605 14:38:42< vultraz> Aginor: the tdrawing_layer enum basically has all the layers rendering functions take as arguments. If that could be expanded to GUI2 we could have effects between windows by simply saying "draw x effect at zorder-10" or something
  4. 20160605 14:39:14< vultraz> Aginor: it does still raise the question of multiple stacked windows, since we may not want effects to double up, so that could still be an issue
Advertisement
Add Comment
Please, Sign In to add comment