22 #ifndef MEDIASTATION_MEDIASCRIPT_FUNCTION_H 23 #define MEDIASTATION_MEDIASCRIPT_FUNCTION_H 25 #include "common/array.h" 26 #include "common/hashmap.h" 28 #include "mediastation/clients.h" 29 #include "mediastation/datafile.h" 30 #include "mediastation/mediascript/codechunk.h" 35 kPlatformParamTokenUnknown = 0,
36 kPlatformParamTokenWindows = 0x76D,
37 kPlatformParakTokenMacintosh = 0x76E
47 uint32 bytecodeSize()
const {
return _bytecodeSize; }
53 byte *_bytecodeBuffer =
nullptr;
54 uint32 _bytecodeSize = 0;
57 namespace MazeMinigame {
61 namespace CheckersMinigame {
72 virtual bool attemptToReadFromStream(
Chunk &chunk, uint sectionType)
override;
75 void deleteFunctionsForContext(uint contextId);
80 uint _scriptBlockCallDepth = 0;
84 uint32 _timedIntervalStartInMs = 0.0;