1
0
forked from 0ad/0ad
0ad/source/tools/atlas/AtlasUI/General/Datafile.h
Ykkrosh 16853b79a9 Actor Editor: drop-down list of materials; event/load in animations; no grey/white stripes in main actor list.
Colour Tester: supports drag-and-drop of image files onto program
window.

This was SVN commit r2324.
2005-05-19 05:06:28 +00:00

19 lines
700 B
C++

#include "AtlasObject/AtlasObject.h"
namespace Datafile
{
// Read configuration data from data/tools/atlas/lists.xml
AtObj ReadList(const char* section);
// Specify the location of .../binaries/system, as an absolute path, or
// relative to the current working directory.
void SetSystemDirectory(const wxString& dir);
// Returns the location of .../binaries/data. (TODO (eventually): replace
// this with a proper VFS-aware system.)
wxString GetDataDirectory();
// Returns a list of files matching the given wildcard (* and ?) filter
// inside .../binaries/data/<dir>, not recursively.
wxArrayString EnumerateDataFiles(const wxString& dir, const wxString& filter);
};