static char units[5];
-deque<instr_item *> HUD_deque;
+deque<SGSharedPtr<instr_item> > HUD_deque;
fgTextList HUD_TextList;
fgLineList HUD_LineList;
SG_LOG(SG_INPUT, SG_INFO, "Read properties for " <<
root.getStringValue("name"));
+ if (!root.getNode("depreciated"))
+ SG_LOG(SG_INPUT, SG_ALERT, "WARNING: use of depreciated old HUD");
HUD_deque.erase( HUD_deque.begin(), HUD_deque.end());
Font->begin();
for (; curString != lastString; curString++)
- curString->Draw(Font,curString->digit);
+ curString->Draw(Font);
Font->end();
glDisable(GL_TEXTURE_2D);