Commit Graph

13 Commits (06bf80cc3b6e9ebd4907f192b30a54766f334b98)

Author SHA1 Message Date
elsid b88f0d2dbd
Replace mwscript program serialization into a vector with simple struct
Mostly to avoid string literal lookup by index with iteration over all preciding
literals and calling strlen. This is very inefficient. In genral this makes code
much more straightforward but also makes it portable since now int and float of
different sizes are properly supported.
2 years ago
elsid 60eede6a1d
Fix variable naming styleguide 2 years ago
elsid 0ab3090385
Make Runtime::getPC and setPC inline 2 years ago
elsid 46b4427d2e
Remove user defined constructor for Runtime 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
Evil Eye e79f803402 Change includes 3 years ago
Evil Eye c6ca0e78c9 Make getStringLiteral return a string_view 3 years ago
Marc Zinnschlag 80691250ec don't create a new virtual machine for each script and frame 14 years ago
Marc Zinnschlag c9a6335918 replaced flat Type_Data stack with a union 15 years ago
Marc Zinnschlag fac8fb8fcb added return and messagebox statements (messagebox does neither formating nor buttons yet) 15 years ago
Marc Zinnschlag c6a37b2e18 added first batch of opcodes 15 years ago
Marc Zinnschlag d80cb3461c added code execution main loop 15 years ago
Marc Zinnschlag 487a70388f added interpreter framework 15 years ago