Commit graph

678 commits

Author SHA1 Message Date
riperiperi
4cc3c4f736 Add WallsDown mode, various other changes. 2023-09-05 19:55:31 +01:00
riperiperi
19e0710556 Split by floor, add UI for choosing level and wall cut style
TODO walls down/cutaway
2023-09-05 10:41:01 +01:00
Nahuel Rocchetti
88c94bee2f Merge branch 'master' into simulator 2023-09-03 22:22:17 -03:00
Nahuel Rocchetti
5129ead942 improve lua exceptions 2023-09-03 19:25:50 -03:00
riperiperi
3649387afc Refactoring part 2
LotArchitecture class is now the source of truth for all architecture state.
2023-09-03 17:39:25 +01:00
riperiperi
d140fd57fe Refactoring part 1 2023-09-03 16:54:51 +01:00
riperiperi
323925c747 Improve 2D/3D Arrays with typed views 2023-09-03 14:54:36 +01:00
riperiperi
c7798a683b Improve decking 2023-09-03 00:41:16 +01:00
riperiperi
da03f1394b Various improvements, add basic water 2023-09-03 00:01:17 +01:00
riperiperi
a51d4e383e Work on half walls, start on water 2023-09-02 21:03:35 +01:00
riperiperi
a682ffd399 Add selection UI, fix bugs 2023-09-01 22:51:10 +01:00
riperiperi
e99dba16df Add pagoda roof types 2023-09-01 02:15:48 +01:00
Ammar Askar
5b696e64d9 Load and test animation locomotion type 2023-08-31 16:39:55 -04:00
riperiperi
1eee680e08 Diagonal roofs, bugfixes 2023-08-31 18:43:05 +01:00
Nahuel Rocchetti
08e55a3a1f Implement globals, fix EP mask 2023-08-31 00:27:04 -03:00
Nahuel Rocchetti
8dc7918ffe VM: Implement object data 2023-08-30 23:27:36 -03:00
riperiperi
b3121268e5 Add Mansard roof, fix a few bugs 2023-08-31 00:11:16 +01:00
Nahuel Rocchetti
f2c04ac012 Update objd fields 2023-08-30 19:49:31 -03:00
Nahuel Rocchetti
fb18928097 replace exception in lua object api with script exception 2023-08-30 18:57:05 -03:00
Nahuel Rocchetti
5409d1fecd Lua decomp: don't send self instance in calls 2023-08-30 18:39:51 -03:00
Nahuel Rocchetti
38a7750442 Implement object api for lua 2023-08-30 16:41:24 -03:00
Nahuel Rocchetti
3d56d8a924 Lua 5.0: Fix for loop for tables 2023-08-30 16:11:27 -03:00
Nahuel Rocchetti
f653782fcd basic hood view simulation 2023-08-30 14:37:04 -03:00
riperiperi
d27fcd9108 Remove unused wall cuts stuff
It's better to get this information from the VM, along with what objects actually exist.
2023-08-30 18:22:01 +01:00
riperiperi
ef0ee35977 Add working roof intersections 2023-08-30 18:22:01 +01:00
riperiperi
6699d6c9e3 Forgot to add this 2023-08-30 18:22:00 +01:00
riperiperi
a4d2d68cb8 Working roofs, WIP intersections 2023-08-30 18:22:00 +01:00
riperiperi
19eba265b4 Roof walls are now mostly functional 2023-08-30 18:21:59 +01:00
riperiperi
9cfe5078e1 Very WIP roof stuff 2023-08-30 18:21:58 +01:00
riperiperi
564f9cf6b3 Add wall caps, fix UVs 2023-08-30 18:21:57 +01:00
riperiperi
dc483ee796 Fix floor elevation 2023-08-30 18:21:57 +01:00
riperiperi
7e34743de2 Initial implementation of lot architecture
- Roofs, pools and water TODO
- Wall cutouts TODO, may require VM to exist
- Wall caps missing
- Terrain doesn't cut out tiles on bottom floor yet. (needed for pools)
- Some Z fighting on decking floors
- Some textures are missing or hallucinate a material
- Changed standard material with a UV scale, but should probably be a custom material.
- Not much effort has went into making things optimal to change in real time. Wall/Floor meshes should be split by floor and walls should be subdivided to do cutaway in the vertex shader.
2023-08-30 18:21:57 +01:00
Nahuel Rocchetti
783d3ef5ef
Fix formatting in README 2023-08-30 02:38:34 -03:00
Nahuel Rocchetti
54e2453170 Replace our compression with DBPFSharp's 2023-08-30 02:36:43 -03:00
Ammar Askar
b571c18656 Load and test locomotion params in animations 2023-08-29 15:49:41 -04:00
Ammar Askar
f795cd21d1 Add support for multiple ik chain targets 2023-08-29 15:49:40 -04:00
Nahuel Rocchetti
981013d1b1 Update CALL.cs 2023-08-29 00:24:05 -03:00
Nahuel Rocchetti
62b2273ff8 Lua: workaround for invalid CALL opcode 2023-08-28 23:57:32 -03:00
Nahuel Rocchetti
0c03daac0e add test scene for decompiling all lua 2023-08-28 22:21:25 -03:00
Nahuel Rocchetti
0fdadc72db Merge branch 'master' of https://github.com/LazyDuchess/OpenTS2 2023-08-28 15:17:39 -03:00
Nahuel Rocchetti
2fbb638ed5 handle lack of objectscripts 2023-08-28 15:17:18 -03:00
Nahuel Rocchetti
8a4946b3a6
add moonsharp to acknowledgments 2023-08-28 15:05:55 -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