From 5869a6903a150a35a2f5b0fb81f953bb833cc872 Mon Sep 17 00:00:00 2001 From: Lucas Eriksson Date: Mon, 7 May 2018 12:05:11 +0200 Subject: [PATCH] Implemented some various opcodes As written by @husho in #411. Continuation of #435. --- rwengine/src/script/ScriptFunctions.hpp | 29 +- rwengine/src/script/ScriptMachine.cpp | 15 +- rwengine/src/script/ScriptMachine.hpp | 12 + rwengine/src/script/modules/GTA3Module.cpp | 3 + .../src/script/modules/GTA3ModuleImpl.inl | 440 +++++++++--------- 5 files changed, 268 insertions(+), 231 deletions(-) diff --git a/rwengine/src/script/ScriptFunctions.hpp b/rwengine/src/script/ScriptFunctions.hpp index 96958c9f..050094f7 100644 --- a/rwengine/src/script/ScriptFunctions.hpp +++ b/rwengine/src/script/ScriptFunctions.hpp @@ -3,6 +3,7 @@ #include +#include #include #include #include @@ -13,6 +14,7 @@ #include #include