Commit graph

36 commits

Author SHA1 Message Date
74b8bca10a feat(lua): added Instance.new for object creation 2025-07-13 16:58:30 +02:00
4e22bbb2ad refactor(instance): renamed some functions 2025-06-14 03:12:09 +02:00
2b650c0fed chore: added warnings and dependencies. also fixed warnings 2025-06-05 20:19:36 +02:00
253c617d19 fix(instance): not compiling due to bad usage of std::make_shared 2025-06-05 16:56:25 +02:00
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
cc87d08dad feat(physics): added collision detection with Touched/TouchEnded 2025-05-21 21:58:15 +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
de30976dc0 feat(autogen): split off InternalUpdateProperty 2025-04-28 01:27:23 +02:00
a2e2210998 feat(autogen): convert classes to new autogen annotations 2025-04-26 13:19:47 +02:00
8f20c11b36 feat(autogen): integrate autogen and add method for setters 2025-04-26 11:04:50 +02:00
cbed2bac95 feat(lua): added instance property and child access via reference 2025-04-25 10:19:11 +02:00
c081469a49 feat(lua): added basis for lua scripting 2025-04-24 17:08:22 +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
722c4acfb4 fix(joints): snap crashing datamodel 2025-04-20 18:50:27 +02:00
cab5ec0514 feat(instance): added clone method 2025-04-20 01:04:59 +02:00
be3c7bd6b2 feat(instance): utility functions for casting/types 2025-04-20 00:08: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
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
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
83c6d210e2 refactor: cleaned up some includes 2025-04-10 23:06:51 +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
36397c1119 refactor(service): service instantiation to use instance constructor field 2025-04-10 17:33:42 +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
81d172900b chore: move core module into its own dedicated directory 2025-02-13 23:43:30 +01:00
Renamed from src/objects/base/instance.h (Browse further)