22 #ifndef SCI_RESOURCE_RESOURCE_PATCHER_H 23 #define SCI_RESOURCE_RESOURCE_PATCHER_H 25 #include "common/language.h" 27 #include "sci/resource/resource.h" 28 #include "sci/resource/resource_intern.h" 32 enum ResourcePatchOp {
101 bool applyPatch(
Resource &resource)
const;
130 PatchSizes(uint32 exp, int32 d) {
152 PatchSizes calculatePatchSizes(
const byte *
patchData)
const;
158 int32 readBlockSize(
const byte * &patchData)
const;
162 #endif // SCI_RESOURCE_RESOURCE_PATCHER_H
uint16 resourceNumber
Definition: resource_patcher.h:73
Definition: resource_patcher.h:48
Definition: resource.h:327
SciGameId gameId
Definition: resource_patcher.h:52
void loadResource(ResourceManager *resMan, Resource *res) override
Definition: resource_patcher.h:115
bool isNewResource
Definition: resource_patcher.h:84
Definition: resource.h:256
ResourceType resourceType
Definition: resource_patcher.h:68
Common::Language gameLanguage
Definition: resource_patcher.h:63
Definition: resource_patcher.h:90
Definition: resource_intern.h:48
SciMedia media
Definition: resource_patcher.h:57
const byte * patchData
Definition: resource_patcher.h:78
Language
Definition: language.h:45