mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-09 16:02:47 +00:00
added partial VFS support - enough to read static data from any source
This commit is contained in:
parent
0951283b31
commit
fa3e9e7329
56 changed files with 4021 additions and 606 deletions
|
@ -53,6 +53,11 @@ distribution.
|
|||
#define TIXML_STRING TiXmlString
|
||||
#endif
|
||||
|
||||
namespace ttvfs
|
||||
{
|
||||
class VFSFile;
|
||||
}
|
||||
|
||||
// Deprecated library function hell. Compilers want to use the
|
||||
// new safe versions. This probably doesn't fully address the problem,
|
||||
// but it gets closer. There are too many compilers for me to fully
|
||||
|
@ -1417,7 +1422,7 @@ public:
|
|||
will be interpreted as an XML file. TinyXML doesn't stream in XML from the current
|
||||
file location. Streaming may be added in the future.
|
||||
*/
|
||||
bool LoadFile( FILE*, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING );
|
||||
bool LoadFile( ttvfs::VFSFile*, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING );
|
||||
/// Save a file using the given FILE*. Returns true if successful.
|
||||
bool SaveFile( FILE* ) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue