0

Add customizable overlay colors, works for base overlay, spawn, and slime.

I left minerals as it is so you have to still define the minerals option to get that to work.
This commit is contained in:
Richard Pastrick
2012-06-08 12:07:21 -07:00
parent a432382bc1
commit 28099deaf6
5 changed files with 56 additions and 12 deletions

View File

@@ -17,9 +17,14 @@
#include "../overviewer.h"
typedef struct {
unsigned char r, g, b, a;
} OverlayColor;
typedef struct {
/* top facemask and white color image, for drawing overlays */
PyObject *facemask_top, *white_color;
OverlayColor *color;
/* can be overridden in derived classes to control
overlay alpha and color
last four vars are r, g, b, a out */