22 #ifndef ILLUSIONS_SPECIALCODE_H 23 #define ILLUSIONS_SPECIALCODE_H 25 #include "illusions/resourcesystem.h" 29 class IllusionsEngine;
36 void load(
Resource *resource)
override;
37 virtual void unload(
Resource *resource);
38 virtual void buildFilename(
Resource *resource);
39 bool isFlag(
int flag)
override;
47 virtual void init() = 0;
48 virtual void run(uint32 specialCodeId,
OpCall &opCall) = 0;
49 virtual void resetBeforeResumeSavegame() {};
54 #endif // ILLUSIONS_SPECIALCODE_H
Definition: resourcesystem.h:51
Definition: specialcode.h:44
Definition: specialcode.h:32
Definition: resourcesystem.h:78
Definition: scriptopcodes.h:32
Definition: illusions.h:92