add XML loading

This commit is contained in:
Chris Danford
2005-12-05 19:09:22 +00:00
parent 7c5f8ceace
commit 8a68930a2a
2 changed files with 35 additions and 13 deletions
+4 -1
View File
@@ -10,6 +10,7 @@
#include "AutoActor.h"
#include "GameConstantsAndTypes.h"
#include "ThemeMetric.h"
struct XNode;
enum PaneTypes
{
@@ -51,9 +52,11 @@ public:
PaneDisplay();
virtual Actor *Copy() const;
void Load( const CString &sClass, PlayerNumber pn );
void Load( const CString &sMetricsGroup, PlayerNumber pn );
void SetFromGameState( SortOrder so );
void LoadFromNode( const CString &sDir, const XNode *pNode );
// Lua
void PushSelf( lua_State *L );