mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 00:41:24 +00:00
- hooked up the new savegame code.
Not tested yet.
This commit is contained in:
parent
9ace06ad81
commit
1869a7930e
6 changed files with 41 additions and 33 deletions
|
@ -1527,6 +1527,16 @@ public:
|
|||
{
|
||||
memset(&bytes[0], on ? -1 : 0, sizeof(bytes));
|
||||
}
|
||||
|
||||
// These are for utilities that need access to the raw storage. The serializer needs this to do its work, for example.
|
||||
uint8_t* Storage()
|
||||
{
|
||||
return bytes;
|
||||
}
|
||||
unsigned StorageSize() const
|
||||
{
|
||||
return sizeof(bytes);
|
||||
}
|
||||
};
|
||||
|
||||
// A wrapper to externally stored data.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue