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.
2023-01-14 00:07:37 +01:00
elsid
60eede6a1d
Fix variable naming styleguide
2023-01-11 23:47:42 +01:00
elsid
0ab3090385
Make Runtime::getPC and setPC inline
2023-01-11 23:47:42 +01:00
elsid
46b4427d2e
Remove user defined constructor for Runtime
2023-01-11 23:47:42 +01:00
clang-format-bot
ddb0522bbf
Apply clang-format to code base
2022-09-22 21:35:26 +03:00
Evil Eye
e79f803402
Change includes
2022-05-21 10:48:32 +02:00
Evil Eye
c6ca0e78c9
Make getStringLiteral return a string_view
2022-05-21 01:21:55 +02:00
Marc Zinnschlag
80691250ec
don't create a new virtual machine for each script and frame
2011-05-18 16:01:19 +02:00
Marc Zinnschlag
c9a6335918
replaced flat Type_Data stack with a union
2010-07-14 15:28:55 +02:00
Marc Zinnschlag
fac8fb8fcb
added return and messagebox statements (messagebox does neither formating nor buttons yet)
2010-06-30 12:04:26 +02:00
Marc Zinnschlag
c6a37b2e18
added first batch of opcodes
2010-06-28 21:49:48 +02:00
Marc Zinnschlag
d80cb3461c
added code execution main loop
2010-06-28 20:46:15 +02:00
Marc Zinnschlag
487a70388f
added interpreter framework
2010-06-28 19:20:45 +02:00