Commit graph

36 commits

Author SHA1 Message Date
5f6ff971d2 refactor(datatypes): complete refactor of how datatypes work and removal of wrapper classes for bool, string etc. 2025-05-31 23:08:13 +02:00
497a3f783c refactor(misc): removed InstanceRef and InstanceRefWeak type aliases due to confusion with Data::InstanceRef
Possible alternative names: Object and ObjectWeak
2025-05-30 01:27:22 +02:00
8b7fef624f feat(serialization): serialize instance references 2025-05-29 22:15:05 +02:00
1cbb349e05 feat(logging): better error logging with stack trace in lua 2025-05-23 00:59:31 +02:00
3b60b3b0ec feat(signal): added signal holder to automatically disconnect signals + instance AncestryChanged 2025-05-16 09:43:15 +02:00
621ae30464 cleanup: detangled many includes 2025-05-06 15:58:49 +02:00
0dc8254065 cleanup: cleaned up a few print statements here and there 2025-04-29 23:07:09 +02:00
de30976dc0 feat(autogen): split off InternalUpdateProperty 2025-04-28 01:27:23 +02:00
ec65c6eddc fix(autogen): set property function return error even when value does get set 2025-04-26 15:12:46 +02:00
a2e2210998 feat(autogen): convert classes to new autogen annotations 2025-04-26 13:19:47 +02:00
b8ee828d29 feat(autogen): add meta and cframe 2025-04-26 11:54:53 +02:00
8f20c11b36 feat(autogen): integrate autogen and add method for setters 2025-04-26 11:04:50 +02:00
9be6c103de feat(lua): deserializing values and setting instance properties 2025-04-25 11:32:11 +02:00
cbed2bac95 feat(lua): added instance property and child access via reference 2025-04-25 10:19:11 +02:00
6a461143a4 refactor(joint): abstracted jointinstance into its own class away from snap 2025-04-23 17:39:30 +02:00
e35c895233 feat(part): (wip) function to make joints between parts (introduces occasional bug where parts will turn anchored magically) 2025-04-23 13:53:39 +02:00
4005bf1cb5 fix(joints): break joint when member part is updated/destroyed 2025-04-23 12:38:41 +02:00
e9757ab306 feat(datamodel): cloning the datamodel 2025-04-20 17:36:38 +02:00
cab5ec0514 feat(instance): added clone method 2025-04-20 01:04:59 +02:00
0da4d6d67f misc(snap): add properties to snap 2025-04-17 22:33:24 +02:00
2569e3f56f refactor: replaced optional<weak_ptr<T>> with weak_ptr<T> directly 2025-04-17 16:34:47 +02:00
59427403be feat(joints): added snap joint 2025-04-16 02:25:25 +02:00
bea6f50f13 fix(editor): properties pane not updating automatically 2025-04-15 11:21:56 +02:00
56c991b667 fix(instance): don't save ClassName property 2025-04-15 01:12:27 +02:00
166c5c5ff8 refactor(error): replaced tl::expected with result 2025-04-14 22:55:10 +02:00
58b53a0f02 refactor(error): added guards to result and misc refactorings to error 2025-04-14 22:46:18 +02:00
cf8b9529c5 feat(instance): added ClassName as (read-only) property 2025-04-13 18:48:00 +02:00
6a017b2238 refactor(physics): integrated physics world into workspace (likely for bugs to ensue. I'll deal with that later) 2025-04-11 00:34:39 +02:00
35f49b8a45 refactor(instance): made workspace() and dataModel() not access-heavy 2025-04-11 00:19:06 +02:00
eeaaef8c88 fix(serialization): no longer aborts if wrong type is parsed 2025-04-10 18:50:36 +02:00
22fcd1e55e refactor(serialization): stop using pointers for xml nodes, they already contain one internally 2025-04-10 18:03:41 +02:00
4de2b97c2d refactor(instance): implemented GetDescendant and replaced GetChildren in renderer and simulation with it 2025-04-07 14:27:26 +02:00
215f8ed500 refactor(instance): added functions for accessing root datamodel and renamed to gDataModel 2025-04-07 13:14:10 +02:00
b8b0646e9f feat(logging): replaced unsafe aborts with panic 2025-03-17 21:38:02 +01:00
92a68925d9 feat(logging): replaced printfs with logger calls 2025-03-17 21:22:53 +01:00
81d172900b chore: move core module into its own dedicated directory 2025-02-13 23:43:30 +01:00
Renamed from src/objects/base/instance.cpp (Browse further)