X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FGauge.h;h=e4750ca6c14c187c471fef882b251097f5d90ab5;hb=1907ca03c5e865c4d398170042aa384c67ffff29;hp=5938a02d32e267ac0e9c571a523c0e1a6f82141b;hpb=fb9bd716a1740e41efbb08a3bfa42e441d64c693;p=l2e.git diff --git a/src/graphics/Gauge.h b/src/graphics/Gauge.h index 5938a02..e4750ca 100644 --- a/src/graphics/Gauge.h +++ b/src/graphics/Gauge.h @@ -16,6 +16,9 @@ namespace graphics { class Gauge { + public: + static const int TYPE_ID = 406; + public: explicit Gauge(SDL_Surface *s = 0, int fullX = 0, int fullY = 0, int emptyX = 0, int emptyY = 0, int height = 1, int startWidth = 0, int repeatWidth = 1, int endWidth = 0) : surface(s), fullOffset(fullX, fullY), emptyOffset(emptyX, emptyY), height(height), startWidth(startWidth), repeatWidth(repeatWidth), endWidth(endWidth) { }