#include <script_patches.h>
Public Member Functions | |
void | calculateMagicDWordAndVerify (const char *signatureDescription, const uint16 *signatureData, bool magicDWordIncluded, uint32 &calculatedMagicDWord, int &calculatedMagicDWordOffset) |
void | processScript (uint16 scriptNr, SciSpan< byte > scriptData) |
bool | verifySignature (uint32 byteOffset, const uint16 *signatureData, const char *signatureDescription, const SciSpan< const byte > &scriptData) |
int32 | findSignature (uint32 magicDWord, int magicOffset, const uint16 *signatureData, const char *patchDescription, const SciSpan< const byte > &scriptData) |
ScriptPatcher class, handles on-the-fly patching of script data