OpenTTD
|
Filter using LZO compression. More...
Public Member Functions | |
LZOLoadFilter (LoadFilter *chain) | |
Initialise this filter. | |
size_t | Read (byte *buf, size_t ssize) |
Read a given number of bytes from the savegame. | |
![]() | |
LoadFilter (LoadFilter *chain) | |
Initialise this filter. | |
virtual | ~LoadFilter () |
Make sure the writers are properly closed. | |
virtual void | Reset () |
Reset this filter to read from the beginning of the file. |
Additional Inherited Members | |
![]() | |
LoadFilter * | chain |
Chained to the (savegame) filters. |
Filter using LZO compression.
Definition at line 1972 of file saveload.cpp.
|
inline |
Initialise this filter.
chain | The next filter in this chain. |
Definition at line 1977 of file saveload.cpp.
References SlError().
|
inlinevirtual |
Read a given number of bytes from the savegame.
buf | The bytes to read. |
len | The number of bytes to read. |
Implements LoadFilter.
Definition at line 1982 of file saveload.cpp.
References _sl_version, LoadFilter::chain, LoadFilter::Read(), SlError(), and SlErrorCorrupt().