Commit Graph

4426 Commits

Author SHA1 Message Date
d36950fecb Added a new HTTPSessionManagerFile class. 2025-05-03 22:11:37 +02:00
8978925b2f Added serialization helper methods to HTTPSession. 2025-05-03 22:09:44 +02:00
5aa9a0db10 Hode session_id and id in HTTPSession. 2025-05-03 21:19:29 +02:00
7937fb6cae Disable internal process for UserManagerFile. It's not needed anymore. 2025-05-03 21:11:41 +02:00
3894d36ad3 Fix User::_from_dict() using wrong dictionary keys. 2025-05-03 20:53:47 +02:00
0927580e78 Fix saving files in UserManagerFile. 2025-05-03 20:51:16 +02:00
7ef5b152bc Fix calling the new _create_user() method in UserManager. 2025-05-03 20:41:28 +02:00
e9e2e72665 Now UserManager::_create_user() has a User as a parameter.
This shoukld make it easier to customize user creation. Similar idea to
how TerrainWorld's _create_chunk() works.
2025-05-03 20:25:32 +02:00
ca1f9c7674 Improved UserManagerFile's internals. 2025-05-03 20:13:52 +02:00
fd13bb3c51 Now get_all_as_vector() in UserManager is not virtual anymore. Also removed other implementations.
- This had to be done as get_all_as_vector() cannot be customized by
scripts, and if an inherited UserManager needs to set up UserModules
this will cause issues later down the line.
- Other solutions like a user_setup() method could also work, but then
that would cause more individual (non-optimizable) lookups to db-based
backends (and likely others too), so this solution seems to be the best
currently.
2025-05-03 17:07:24 +02:00
8a1981d1b8 Fix calling the wrong method in UserManager. 2025-05-03 16:57:34 +02:00
fce0335acc Renamed the "Merge Back Local Changes" tool in the SceneTreeDock popup menu to "Merge Back Changes". 2025-04-21 16:02:44 +02:00
3747474643 New alternate version of the "Merge Back Local Changes" tool which keeps transforms intact. 2025-04-21 15:54:23 +02:00
b3766d43eb Better implementation for the new "Merge Back Local Changes" tool. 2025-04-21 15:01:02 +02:00
023620f760 Added a new Merge Back Local Changes too when right clicking instanced scenes in the editor. 2025-04-21 12:14:38 +02:00
756de5575e Move EditorPropertyRevert to it's own file. 2025-04-21 10:38:41 +02:00
24b06582c2 The "Access as Unique Name" tool option in SceneTreeDock now always have a separator. 2025-04-21 10:09:34 +02:00
556de2db50 TerrainChunkDefault lod change code cleanups and improvements. Also set scenario on entering and exiting the tree. 2025-04-18 20:22:17 +02:00
61a43daa45 Removed unnecessary check. 2025-04-18 20:21:09 +02:00
64696b534b Don't destroy and re-generate meshes in TerrainChunk's _enter and _exit_tree, just hide / show them. This makes scene tab swithing with TerrainWorlds in the editor a lot simpler. 2025-04-18 19:50:17 +02:00
ae18822f95 Added PropDataESSEntityWorldSpawner3D class. Made PropDataESSEntityWorldSpawner3DArea and PropDataESSEntityWorldSpawner3DSingle inherit from it. 2025-04-18 13:28:10 +02:00
7681d71704 Temporary comments. 2025-04-15 10:32:31 +02:00
526209c1a4 Re-extracted class docs. 2025-04-15 10:19:14 +02:00
52d17cacd2 Added prop support for PropDataESSEntityWorldSpawner3DArea. 2025-04-15 10:18:20 +02:00
9c3ac7c4f8 Added prop support for ESSEntityWorldSpawner3DSingle. 2025-04-15 10:03:21 +02:00
1d37a1cf28 Fix drawing line colors in WorldSpawner3DSpatialGizmoPlugin. Also better colors. 2025-04-14 18:40:16 +02:00
d03decb983 Fix the spawn position line height in WorldSpawner3DSpatialGizmoPlugin. 2025-04-14 18:16:36 +02:00
bdda27e116 Fix drawing the spawn slots in ESSEntityWorldSpawner3DArea's gizmo. 2025-04-14 18:16:13 +02:00
df9be4f17d Implemented spawn entry editing to ESSEntityWorldSpawner3DArea. 2025-04-14 16:30:55 +02:00
2a249c8f25 ESSEntityWorldSpawner3DArea initial implementation. 2025-04-14 16:08:44 +02:00
12eade8158 Fix the type of the respawn time properties in ESSEntityWorldSpawner3DSingle. 2025-04-14 16:07:50 +02:00
c59cf944c2 Zero out the entity's ObjectID in ESSEntityWorldSpawner3DSingle when exiting tree. 2025-04-14 14:40:27 +02:00
48d68c0896 Renamed the level property to entity_level in ESSEntityWorldSpawner3DSingle. 2025-04-14 14:39:36 +02:00
a61442d567 Added spawn_area_extents property to ESSEntityWorldSpawner3DArea and implemented an editor gizmo for it. 2025-04-14 13:50:31 +02:00
79f54f71bf Don't use octahedral compression in the prop module's gizmos. 2025-04-14 13:49:29 +02:00
885089ad1f Added ESSEntityWorldSpawner3DArea class. 2025-04-14 12:28:51 +02:00
7b321db257 Re-extracted class docs. 2025-04-14 12:28:40 +02:00
ffe171e840 Implemented respawn support for ESSEntityWorldSpawner3DSingle. 2025-04-14 09:26:19 +02:00
b88b25409b Now Entities can store their spawner's ObjectID. 2025-04-14 09:25:34 +02:00
5c105a15fb Call spawn as deferred in ESSEntityWorldSpawner3DSingle instead of requesting a deferred entity spawn. 2025-04-14 08:27:24 +02:00
12b42eaab1 Rotate the text by 180 degrees in WorldSpawner3DSpatialGizmoPlugin. 2025-04-13 21:25:32 +02:00
b2f33108fa Added an editor gizmo plugin for TiledWalls so they can be selected in the spatial editor directly. 2025-04-13 21:07:01 +02:00
d2ba6585c4 Implemented ESSEntityWorldSpawner3DSingle. 2025-04-13 20:43:48 +02:00
b718228923 Write the spawner's name to the world in the WorldSpawner3DSpatialGizmoPlugin. 2025-04-13 19:58:55 +02:00
0de4b078d4 Fix crash in TextMesh. 2025-04-13 19:57:21 +02:00
b792287b6e Added a Spatial Gizmo plugin for ESSEntityWorldSpawner3D. 2025-04-13 19:18:05 +02:00
26c53fd16d Added 3 new helper classes for the entity spell system. ESSEntityWorldSpawner3D, ESSEntityWorldSpawner3DSingle, ESSEntityWorldSpawner2D. 2025-04-13 18:54:12 +02:00
570bcaee0f Re-extracted class docs for terraman. 2025-04-13 18:52:58 +02:00
a21b5a843e Re/enabled the entity_spell_system's editor plugin, and disabled it's tool menu item. 2025-04-13 18:25:58 +02:00
c16c5d35f4 Bind is_priority_generation bool in TerrainWorld. Also set it to false in the constructor, but set it to true when eneteeing tree if the world already has chunks loaded. 2025-04-12 22:53:18 +02:00