Commit graph

484 commits

Author SHA1 Message Date
Nahuel Rocchetti
0c03daac0e add test scene for decompiling all lua 2023-08-28 22:21:25 -03:00
Nahuel Rocchetti
2fbb638ed5 handle lack of objectscripts 2023-08-28 15:17:18 -03:00
Nahuel Rocchetti
c05debaeaf Merge branch 'master' into lua 2023-08-28 14:54:30 -03:00
Nahuel Rocchetti
fa463b3b40 Clean up, load ObjectScripts, hook to simantics vm 2023-08-28 14:52:17 -03:00
Nahuel Rocchetti
e6181dd907 add returntable to lua local var 2023-08-28 13:01:12 -03:00
Nahuel Rocchetti
cac55b0593 lua disassembly - locals 2023-08-28 01:48:07 -03:00
Nahuel Rocchetti
0f7bac3311 lua: name return table depending on scope 2023-08-28 00:06:16 -03:00
Nahuel Rocchetti
e87aab799a Test Time script 2023-08-27 23:25:28 -03:00
Nahuel Rocchetti
304f22a679 Refactor Lua a bit 2023-08-27 23:12:01 -03:00
Nahuel Rocchetti
a77704388c Fix remaining syntax issues 2023-08-27 22:45:35 -03:00
Nahuel Rocchetti
63f1f40403 clean up lua tests 2023-08-27 21:49:20 -03:00
Nahuel Rocchetti
c800cf83e8 Finish Lua Disassembly 2023-08-27 21:29:11 -03:00
Ammar Askar
bffc0d18da Store heading offset from animation 2023-08-27 15:58:02 -04:00
Ammar Askar
6e8a031bad Add more tests for animation channel attributes 2023-08-27 15:44:40 -04:00
Ammar Askar
069f36e8ae Read animated attribute from animation channels 2023-08-27 13:44:55 -04:00
Nahuel Rocchetti
bf2ed7fe76 add a lot of opcodes 2023-08-27 14:22:08 -03:00
Nahuel Rocchetti
b349b87108 add a ton of opcodes 2023-08-27 04:36:11 -03:00
Nahuel Rocchetti
c84cee8b35 working on disassembler 2023-08-27 02:57:16 -03:00
Ammar Askar
58ef199af7 Add tests for animations with multiple IK targets 2023-08-26 11:20:16 -04:00
Nahuel Rocchetti
1a9c5d2e6c Update LuaManager.cs 2023-08-25 23:35:57 -03:00
Nahuel Rocchetti
23fc55a843 clean up 2023-08-25 23:21:18 -03:00
Nahuel Rocchetti
724061df9e forgot to initialize lua in main 2023-08-25 22:23:47 -03:00
Nahuel Rocchetti
e06d56ed83 Initial Lua implementation 2023-08-25 22:22:18 -03:00
Nahuel Rocchetti
a0acde0273 VMStack -> VMThread 2023-08-25 18:51:26 -03:00
Nahuel Rocchetti
0229014e46 Merge branch 'master' of https://github.com/LazyDuchess/OpenTS2 2023-08-25 09:08:16 -03:00
Nahuel Rocchetti
4358bcfe5b vm better error handling, cleanup 2023-08-25 09:07:51 -03:00
Ammar Askar
776d708657 Add ability to view different animations in SimAnimationTest, fix IK weights on new animation play 2023-08-25 00:43:36 -04:00
Nahuel Rocchetti
e7d5b93b95 clean up stackframe 2023-08-24 19:30:51 -03:00
Nahuel Rocchetti
dcc3951c06 Add more error checking to stackframe. 2023-08-24 19:06:11 -03:00
Nahuel Rocchetti
aa65449f28 Fix stack overflow, test bhav infinite loop 2023-08-24 18:58:01 -03:00
Nahuel Rocchetti
15e1beda47 Update VMNotifyStackObjectOutOfIdle.cs 2023-08-24 15:36:41 -03:00
Nahuel Rocchetti
88c7ace01f implement simantics exceptions 2023-08-24 15:28:15 -03:00
Nahuel Rocchetti
5b206ce748 Implement random number prim 2023-08-24 13:50:53 -03:00
Nahuel Rocchetti
4d3fe674f5 Don't halt, yield 1 tick instead. 2023-08-24 11:39:29 -03:00
Nahuel Rocchetti
b6581440fd Implement VM entity deletion 2023-08-24 10:56:51 -03:00
Nahuel Rocchetti
de63f69908 Make scheduler smarter 2023-08-24 10:16:42 -03:00
Nahuel Rocchetti
66ce0c14a7 Proper Private/SemiGlobal/Global scopes for VM 2023-08-24 08:10:35 -03:00
Nahuel Rocchetti
b843766cf3 Merge branch 'master' into vm 2023-08-24 07:26:25 -03:00
Nahuel Rocchetti
84f2ea1611 Refactor OBJD resource 2023-08-24 07:15:14 -03:00
Nahuel Rocchetti
c3eadd0a57 Implement SemiGlobal Asset 2023-08-24 06:20:54 -03:00
Nahuel Rocchetti
5c3eddbc02 Merge branch 'master' into vm 2023-08-24 05:05:57 -03:00
Nahuel Rocchetti
5ba59f1b31 Remove TSObject, just use OBJD 2023-08-24 05:05:01 -03:00
Nahuel Rocchetti
affca9c7c1 further refactor 2023-08-24 04:51:23 -03:00
Nahuel Rocchetti
26863fae57 clean up 2023-08-24 04:24:25 -03:00
Ammar Askar
e31b1e8c35 Fix inverse kinematics for hands 2023-08-23 15:09:09 -04:00
Ammar Askar
2cb6db9369 Pull IkChainIdx from animation channel flags 2023-08-23 14:09:36 -04:00
Nahuel Rocchetti
efe6e27269 Refactor GoSub a little. 2023-08-22 13:41:02 -03:00
Nahuel Rocchetti
1b91222ff9 don't sleep a negative number 2023-08-22 12:49:02 -03:00
Nahuel Rocchetti
59d8fa9342 Fix interrupt infinite loop potential 2023-08-22 12:05:06 -03:00
Nahuel Rocchetti
f4aaf72404 Implement scheduler, clean up tests a little 2023-08-22 11:57:23 -03:00