5 Commits
Author SHA1 Message Date
Ghabry 8ff4070cd1 Drawable: Z-Layer uses now type Z_t (alias for uint64_t)
Makes it easier to find usages of the Z value in the code
2022-06-26 22:50:53 +02:00
Matthew Fioravante 48cb4a6ff4 Don't draw scene when transition is active
* Save cycles by not drawing the scene which just gets
  covered anyway.
* Avoid transparency problems with transition bitmaps.
    * WaveIn show screen should have black edges
    * Zoom out with transparent tiles should not show
      stuff underneath.
2020-02-13 17:07:47 -05:00
Matthew Fioravante 3949dddeba Add Drawable::SetVisible()
Move visible into Drawable::Flags and check it during the draw loop.
2020-01-24 20:01:42 -05:00
Matthew Fioravante cd1ee20cea Add DrawableMgr
Moves DrawableList management into it's own singleton. Breaks
dependency on graphics.h to many components.
2019-12-21 12:27:44 -05:00
Matthew Fioravante d2aec72baf Add DrawableList
Make a special class for DrawableList. Encapsulate all sorting / dirty
logic within.
2019-12-21 12:27:42 -05:00