X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FFont.h;h=07cd35f0a5f32867e33487fbb082b578d589478d;hb=7651db1476453d8d4162e8708265a36c1a3c0441;hp=8b365252c79fdb966ef1b287850557808d0aad26;hpb=679b9e39c7680fd46482589f37f0a225032103b7;p=l2e.git diff --git a/src/graphics/Font.h b/src/graphics/Font.h index 8b36525..07cd35f 100644 --- a/src/graphics/Font.h +++ b/src/graphics/Font.h @@ -17,6 +17,9 @@ namespace graphics { class Font { +public: + static const int TYPE_ID = 404; + public: explicit Font(const Sprite *sprite = 0, int colOffset = 0, int rowOffset = 0) : sprite(sprite), colOffset(colOffset), rowOffset(rowOffset) { @@ -37,6 +40,7 @@ public: void SetRowOffset(int n) { rowOffset = n; } static void CreateTypeDescription(); + static void Construct(void *); private: const Sprite *sprite;