mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-19 14:53:56 -07:00
* Fixed some bugs with incorrect macro usage (SDL_BYTE_ORDER vs
SDL_BYTEORDER, {MSC,GCC}_VER vs {MSC,GCC}_VERSION, OS_WIN/OS_UNIX in
projects where they're not defined).
* Removed some redundant declarations of g_Console.
* Removed some unnecessary semicolons.
* Removed some unused variables.
* Added throw specification to operator new.
This was SVN commit r4698.
19 lines
682 B
C++
19 lines
682 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);
|
|
}
|