Commit Graph

  • 320da06260 Fix windows build. master Relintai 2025-02-14 19:51:19 +0100
  • f56182466f Fix compile on windows, osx, and javascript. (Hopefully.) Relintai 2025-02-14 19:43:35 +0100
  • b248a28ccf More tweaks to TerrainChunk's new scene api. Relintai 2025-02-14 18:02:32 +0100
  • 9841d6fdc8 Small variable name tweak. Relintai 2025-02-14 17:51:08 +0100
  • 10c5076819 Added the new scene_add() method to TerrainWorld. Also store scenes from props inside chunks. Relintai 2025-02-14 17:49:07 +0100
  • 9d6ec2bb65 Tweaks and improvements to TerrainChunk's new scene api. Relintai 2025-02-14 17:48:33 +0100
  • 39eeba0efd Added scene storage api to TerrainChunks. Relintai 2025-02-14 16:57:32 +0100
  • 418bac4209 Added owned_lights property to TerrainChunk. Also changed the lights property it is now scripting only, it won't get saved. Relintai 2025-02-14 16:39:25 +0100
  • 6e9e3fd580 Now TerrainLights inherit from Resource. Relintai 2025-02-14 16:27:21 +0100
  • 6786193010 Added to_dict() and from_dict() methods to TerrainLight/ Relintai 2025-02-14 16:25:37 +0100
  • 601185c2bd Set prop ownership to lights in TerrainWorld::prop_add(). Relintai 2025-02-14 16:09:21 +0100
  • 1c14d1cb4c Store ownership information in TerrainLights. Relintai 2025-02-14 16:09:01 +0100
  • 7006c947cd Store whether a mesh_data_resource in a TerrainChunk is original or not. Relintai 2025-02-14 15:49:39 +0100
  • 2054f60c6d Renamed the new original parameter in TerrainChunk and TerrainWorld's prop api from owner to original. Relintai 2025-02-14 15:32:54 +0100
  • 0a87629b01 Set prop ownership when adding them in TerrainWorld. Relintai 2025-02-14 15:28:45 +0100
  • 1643197af3 Now TerrainChunks will remember whether they own a prop or not. Also added and bound missing methods to Chunk's prop api. Relintai 2025-02-14 15:28:14 +0100
  • 954ca26471 Make sure the remaining chunks are notified of the changed world lights when adding / removing chunks. Relintai 2025-02-11 00:50:21 +0100
  • 583298dbfe Now TerrainLights are stored inside chunks (they are also automatically saved with them). Also changed TerrainLight's api to makes use of Vector3i. Relintai 2025-02-11 00:38:48 +0100
  • eb3ed4fa20 Now props and mesh data resources are saved with the TerrainChunks. Relintai 2025-02-10 17:48:11 +0100
  • b0177a2c3a Only generate chunks once. Relintai 2025-02-10 15:24:16 +0100
  • 23614770f1 Simplify chunks_set() in TerrainWorld. Relintai 2025-02-08 15:55:40 +0100
  • 42a2979d3e Fix isolevel paint and paint brush tools always allowing chunk creation. Relintai 2025-02-08 15:10:23 +0100
  • a980238482 Add the new chunk to the generation queue instead of directly calling it's build method in TerrainWorld::chunk_add(). Relintai 2025-02-08 14:47:29 +0100
  • 64a14fee17 Also expose the liquid data in TerrainChunkBlocky. Relintai 2025-02-08 14:40:07 +0100
  • c9089867f9 Fix typo. Relintai 2025-02-08 14:39:35 +0100
  • 9142f7c806 Implemented the spawn chunks and remove chunks tool in TerrainWorldEditor. Relintai 2025-02-08 14:23:23 +0100
  • 4886ff454b Call TerrainChunk's build() after it's added to a World manually. Relintai 2025-02-08 14:22:55 +0100
  • 4ac6095509 Added a new helper method to TerrainWorld. Relintai 2025-02-08 14:22:31 +0100
  • d0fa4ba194 Clear the material cache data in TerrainChunk::_exit_tree(). Relintai 2025-02-08 14:22:03 +0100
  • a2784fd2a0 Implemented the gui for the chunk spawn and chunk remove tools in TerrainWorldEditor. Relintai 2025-02-08 13:14:43 +0100
  • ebcac318e7 TerrainWorldEditor variable name tweaks. Relintai 2025-02-08 12:50:26 +0100
  • 12214cb8c7 Fix potential hang on exit due to deadlocks. Relintai 2025-02-08 11:24:42 +0100
  • c85768ae8a Added NOTIFICATION_QUITTING to MainLoop. Relintai 2025-02-08 11:24:16 +0100
  • b264a837a8 Implemented the paint picker tool in TerrainWorldEditor. Also improved the editor's Button signal setup. Relintai 2025-02-08 09:59:41 +0100
  • a096f653cc Inlined set_pressed_no_signal call into BaseButton::set_pressed(). Relintai 2025-02-08 09:58:49 +0100
  • 175f67fd74 Tewaks to the main tool labels in TerrainWorldEditor. Relintai 2025-02-08 09:11:17 +0100
  • fb9c71726c Implemented the paint picker tool's ui in TerrainWorldEditor. Relintai 2025-02-08 09:10:54 +0100
  • 4ac888c7af Add the paint brush tool settings buttons to the proper container in TerrainWorldEditor. Relintai 2025-02-08 08:37:10 +0100
  • 0762caaf20 Reordered the main tool buttons in TerrainWorldEditor. Relintai 2025-02-08 08:31:29 +0100
  • 33bd758806 Removed the add and remove single tools from TerrainWorldEditor as they are not very useful for a terrain engine. Relintai 2025-02-08 08:28:38 +0100
  • da336fdb73 Only show the surface selection when the paint brush is active in TerrainWorldEditor. Relintai 2025-02-08 08:04:13 +0100
  • a46997b87f Added the ability to erase using the paint brush in TerrainWorldEditor. Relintai 2025-02-08 07:58:14 +0100
  • f7a9f5201f Added liquid mode to the isolevel brush and paint brush tools in TerrainWorldEditor. Relintai 2025-02-08 07:49:26 +0100
  • 17e048a044 Added a new helper method to TerrainWorld. Relintai 2025-02-08 07:44:55 +0100
  • 16d62d3a34 Chunk remover tool initial setup in TerrainWorldEditor. Relintai 2025-02-07 14:45:40 +0100
  • 3f267dcbfc Make the expected tool settings shown by default in TerrainWorldEditor. Relintai 2025-02-07 12:58:50 +0100
  • 1da418523a Spawn brush initial setup in TerrainWorldEditor. Relintai 2025-02-07 12:57:16 +0100
  • ba6a112efb Reorganized the tools in TerrainWorldEditor. Also made the Isolevel Brush the default. Relintai 2025-02-07 12:50:59 +0100
  • ae987b83e9 Renamed the add and remove tools to add single and remove single voxel in TerrainWorldEditor. Also improved their gui a bit. Relintai 2025-02-07 12:47:06 +0100
  • aeae3198ba Disable allow chunk creation for the paint brush and isolevel brush tools by default in TerrainWorldEditor. A new chunk spawner tool will be added instead soon. Relintai 2025-02-07 12:40:05 +0100
  • 70fe973810 Invert the logic of the isolevel brush smoothness calculation so it works as expected. Relintai 2025-02-07 12:34:54 +0100
  • 6539b25257 Start at max isolevel brush smoothness in TerrainWorldEditor. Relintai 2025-02-07 12:30:33 +0100
  • 5c2f5da950 Fix isolevel brush smoothness calculation in TerrainWorldEditor. Relintai 2025-02-07 12:27:12 +0100
  • 58698e2971 Allow 0 as the isolevel brush strength and smoothness in TerrainWorldEditor. Relintai 2025-02-07 12:19:08 +0100
  • 39b3a12b1a Handle a missing case when setting voxels in TerrainWorld. Relintai 2025-02-07 12:17:11 +0100
  • 39cb3e398f Reset the mesher's lod index in _reset() in TerrainTerrainJob. This fixes subsequent mesh generations. Relintai 2025-02-07 10:49:40 +0100
  • 2024a33ee9 Implemented chunk material invalidation support for TerrainLibraryMergerPCM. Relintai 2025-02-07 10:08:22 +0100
  • e11e75e5ea Unlock the mutex after the rects are refreshed in the material cache in TerrainLibraryMergerPCM. Relintai 2025-02-07 08:49:11 +0100
  • 2688162cf9 Optimized editing in TerrainWorldEditor. Relintai 2025-02-06 17:42:53 +0100
  • c13a4d08a5 Use the new immediate build mode in TerrainWorld's set_voxel_at_world_data_position(). Relintai 2025-02-06 17:22:42 +0100
  • 6be11c2bff Implemented an immediate build mode for TerrainChunk. Relintai 2025-02-06 17:22:10 +0100
  • 952553e9ad Clear meshes as needed in TerrainTerrainJob. Relintai 2025-02-06 17:21:35 +0100
  • 4a2d4af692 Clear meshes as needed in TerrainPropJob. Relintai 2025-02-06 17:21:24 +0100
  • ac6be71368 Codestyle fix. Relintai 2025-02-06 17:20:58 +0100
  • e435adde65 Codestyle fix. Relintai 2025-02-06 17:20:46 +0100
  • 26b6fc89f8 Fix crash on shutdown. Relintai 2025-02-05 20:35:32 +0100
  • 1a5be23b91 Udpate the gizmo size properly in TerrainWorldEditor. Relintai 2025-02-05 20:32:09 +0100
  • 66b98829a1 Optimized UndoRedo usage in TerrainWorldEditor. Relintai 2025-02-05 20:22:30 +0100
  • b1e386fd73 Implemented the TerrainWorldGizmo. Relintai 2025-02-05 14:01:01 +0100
  • dbff74222c Renamed the new gizmo. Relintai 2025-02-05 11:11:32 +0100
  • 91f6141b5c Initial gizmo setup for Terraman. Relintai 2025-02-05 11:05:42 +0100
  • 3610209f54 Moved the TerrainWorldEditor to a new folder. Also make sure it's only compiled in tools builds. Relintai 2025-02-05 09:35:16 +0100
  • d345ddb9e1 Implemented the paint brush mode in TerrainWorldEditor. Relintai 2025-02-04 20:19:50 +0100
  • 4114c23649 Implemented the isolevel brush in TerrainWorldEditor. Relintai 2025-02-04 18:27:35 +0100
  • 9cd4da72c8 Added new helper methods to TerrainWorld. Relintai 2025-02-04 18:26:01 +0100
  • 0fd99be95a Added a strength slider for the isolevel brush in TerrainWorldEditor. Relintai 2025-02-04 14:17:43 +0100
  • 7e54c7d634 Added a button for setting the allow chunk creation option for the isolevel brush in TerrainWorldEditor. Relintai 2025-02-04 13:30:55 +0100
  • 7120ab24fd Include cleanups. Relintai 2025-02-04 13:22:18 +0100
  • c199161646 Removed set_voxel_with_tool from TerrainWorld. Relintai 2025-02-04 13:10:28 +0100
  • 4201113680 Initial input handling refactor for TerrainWorldEditor. Relintai 2025-02-04 13:08:35 +0100
  • 45e5c77395 Added the option to select the channel in TerrainWorldEditor's Isolevel Brush. Relintai 2025-02-04 11:28:12 +0100
  • 6c7d5c9049 Gui and callback setup for the isolevel brush in TerrainWorldEditor. Relintai 2025-02-04 10:00:06 +0100
  • f25c008f6d Small tweaks and reorganization in TerrainWorldEditor. Relintai 2025-02-04 09:02:19 +0100
  • 781c91ba34 Mark last backported commit. Relintai 2025-02-03 23:06:24 +0100
  • 8205b42cae Revert changes to Range::set_value #65101 lawnjelly 2024-12-16 06:47:28 +0000
  • bb59a03e06 Small tweak. Relintai 2025-02-03 23:02:41 +0100
  • c3b468027a TerrainWorldEditor cleanups and some initial rework for it's new functionality. Relintai 2025-02-03 18:19:14 +0100
  • 0f8a398f95 Tidy up the Isolevel clider of the TerrainWorldEditor. Relintai 2025-02-03 14:27:58 +0100
  • a138cb10a4 Moved the control buttons of the TerrainWorldEditor to the side panel. Relintai 2025-02-03 14:25:35 +0100
  • 13a691bb37 Fix compile. Relintai 2025-02-03 14:16:21 +0100
  • 1bc26692f6 Fix variable names. Relintai 2025-02-03 14:12:52 +0100
  • 39c2c615a9 Fix property names. Relintai 2025-02-03 14:11:35 +0100
  • 857b010951 Use icons for the TerrainWorldEditor's buttons. Relintai 2025-02-03 14:06:53 +0100
  • 98d88bd99e Hide the Bake text of the MergeGroupEditorPlugin's icon. Relintai 2025-02-03 13:56:06 +0100
  • 08408d52e0 Mark last backported commit. Relintai 2025-02-03 13:07:52 +0100
  • bf9277792b Fix VS project generation with SCons 4.8.0+ Max Hilbrunner 2024-07-09 09:02:20 +0200
  • 8d3f6e80cc mbedtls: Update to upstream version 2.28.9 Rémi Verschelde 2024-12-04 15:44:47 +0100
  • 624dcec06e embree: Fix invalid output operators raising errors with GCC 15 Rémi Verschelde 2025-01-25 15:25:37 +0100
  • 7cbdde61a6 Enable builds with miniupnpc API 18 Travis Wrightsman 2024-12-13 20:44:06 -0800
  • 825dc766f1 Document radial_center_offset bounds arkology 2024-11-30 11:47:40 +0300