Phillip Andrews
dee72e9430
Make script literal lookup functions safer
...
Assert isn't really the right way to range check these, since in theory we could have a malformed compiled script. This should make it safer with zero performance overhead.
2019-05-21 17:58:10 -05:00
scrawl
67bd6cd708
Remove empty line at the beginning of files
...
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
2015-08-18 23:06:12 +02:00
Rohit Nirmal
396fba7fa9
Silence -Wreorder warnings, and remove -Wno-reorder.
2015-05-21 22:46:44 -05:00
scrawl
c8c0e5de38
Fixed code issues found with unity build. Missing include guards, duplicated functions, ...
2014-03-16 23:49:06 +01:00
scrawl
7dc30a01cd
Some changes suggested by cppcheck
2013-07-31 18:46:32 +02:00
Marc Zinnschlag
a1ece7de30
Bug #613 : fixed assert in string literal access function
2013-04-12 14:48:53 +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