Script VM classes (#60)

* feat(Script): Ported BBv2 script classes
* fix: Change hard tab indents to 4 width space indents
This commit is contained in:
Yimura
2022-11-08 22:11:50 +01:00
committed by GitHub
parent 12919a46ff
commit d81f392e61
64 changed files with 1963 additions and 1320 deletions
+17
View File
@@ -0,0 +1,17 @@
#pragma once
#include "scrProgram.hpp"
#include "../rage/joaat.hpp"
#pragma pack(push, 1)
namespace rage
{
class scrProgramTableEntry
{
public:
scrProgram* m_program; // 0x00
char m_Pad1[0x04]; // 0x08
joaat_t m_hash; // 0x0C
};
static_assert(sizeof(scrProgramTableEntry) == 0x10);
}
#pragma pack(pop)