DrawRulesFont

From King Arthur's Gold Wiki
Revision as of 15:03, 28 August 2012 by Shadlington (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Draws the given text with the given colour, position and alignment.


This is client only - it should be wrapped in "if ( getNet().isClient() )" or be in a client-only script.

void drawRulesFont(string text, SColor colour, Vec2f topleft, Vec2f bottomright, bool halign, bool valign)