#include <resources.h>
Public Member Functions | |
void | save () |
![]() | |
void | load () |
Protected Member Functions | |
LocalResourceFile (const Common::Path &filename) | |
LocalResourceFile (Resources *owner, const Common::Path &filename) | |
bool | isSaving () const |
void | syncString (const char *&str) override |
void | syncStrings (const char **str, size_t count) override |
void | syncStrings2D (const char **str, size_t count1, size_t count2) override |
void | syncNumber (int &val) override |
void | syncNumbers (int *vals, size_t count) override |
void | syncNumbers2D (int *vals, size_t count1, size_t count2) override |
void | syncNumbers3D (int *vals, size_t count1, size_t count2, size_t count3) override |
void | syncBytes (byte *vals, size_t count) override |
void | syncBytes2D (byte *vals, size_t count1, size_t count2) override |
![]() | |
ResourceFile (const Common::Path &filename) | |
virtual | ~ResourceFile () |
virtual void | synchronize ()=0 |
Additional Inherited Members | |
![]() | |
Common::Path | _filename |
Derived base class for resources that have their contents within the executable rather than a data file. This will allow the data for a particular Ultima game to be gradually built up without repeatedly regenerating a data file. Once a game has been properly tested, then it can be moved out.
|
inlineprotected |
Constructor
|
inlineprotected |
Constructor
|
inlineprotected |
Return true if in saving mode
void Ultima::Shared::LocalResourceFile::save | ( | ) |
Write out the resource to the in-memory resource store