Commit Graph

503 Commits

Author SHA1 Message Date
21be696f6a OverlappingWaveFormCollapse initial codestyle cleanup / setup. 2022-04-22 15:18:19 +02:00
2c0952a893 Fix different signedness warnings. 2022-04-22 02:52:54 +02:00
137bf204a6 Finished the first set of cleanups, and added TilingWaveFormCollapse to the build. 2022-04-22 02:35:38 +02:00
24ef915413 More cleanups and refactors to the TilingWaveFormCollapse class. 2022-04-22 01:55:53 +02:00
89541c361b Initial cleanup to the TilingWFC class. 2022-04-22 01:15:40 +02:00
e6e780291f Small improvements. 2022-04-22 00:56:24 +02:00
6c6e9599c2 Revert the previous change for now. 2022-04-22 00:50:57 +02:00
e7b3819103 Remvoed the PropagationEntry struct. 2022-04-22 00:33:10 +02:00
cc921370ce Fixed comparison of integer expressions of different signedness warnings. 2022-04-22 00:08:26 +02:00
bcfb45d049 Also merged directions.h into WaveFormCollapse. 2022-04-21 23:35:45 +02:00
9f190ca13c Move methods out from the anonymous namespace. 2022-04-21 23:33:21 +02:00
5beae4d5dc Merged Propagator and Wave into the WaveFormCollapse class, ans simplified it's design as much as possible. It still needs more work though. 2022-04-21 23:31:25 +02:00
fdb6ced123 Got rid of the EntropyMemoisation struct as it just makes readability worse. 2022-04-21 20:14:31 +02:00
a501292046 Renamed WFC to WaveFunctionCollapse, asn started transforming it. 2022-04-21 20:00:42 +02:00
96738f5783 Notes. 2022-04-21 19:45:09 +02:00
dc1064aac4 Small improvements. 2022-04-21 17:45:30 +02:00
4e8d254ba9 Smaller improvements. 2022-04-21 17:33:44 +02:00
2680c89948 Got rid of std::touples in the wfc module. 2022-04-21 17:17:50 +02:00
bb723e3c44 Got rid of std::arrays in the wfc module. 2022-04-21 17:05:26 +02:00
e4a2429b45 Use error macros in the wfc module instead of asserts. 2022-04-21 16:51:10 +02:00
ec6b52f5d8 unsigned to uint32_t conversion for the wfc module. 2022-04-21 16:43:04 +02:00
531dc783d8 std::size_t to uint32_t for the wfc module. 2022-04-21 16:36:33 +02:00
f080f5e027 Replace std::vectors in the wfc module to engine vectors. 2022-04-21 16:31:03 +02:00
c886f9f7af Add wfc's classes to the build. 2022-04-21 14:28:18 +02:00
5be272e5cb Fix a few typos and remove std::optional from wcf. 2022-04-21 14:28:04 +02:00
dfbae29faa An another set of codestyle cleanups for the wfc module. 2022-04-20 03:24:50 +02:00
837e518e5a Clang format and codestyle cfixed to the wfc module. 2022-04-20 03:05:34 +02:00
98008d48c9 Proper structural setup for the new module. 2022-04-20 02:50:16 +02:00
05bb8567ba Added a new wfc (wave function collapse) module. I added https://github.com/math-fehr/fast-wfc 's code as a base for it. It's not in the build yet. 2022-04-20 02:39:35 +02:00
bb303112fe Move paint's shader to an another folder to avoid unused variable warning. 2022-04-19 00:10:39 +02:00
ecda65d37b Fix an another shadoved declaration. 2022-04-18 23:41:49 +02:00
4813832b92 Fix shadowed declaration warning. 2022-04-18 19:34:52 +02:00
18184429bb Also fix ste style of the 3d prop plugin's convert button. 2022-04-18 19:33:47 +02:00
56e5874267 Set Prop2D's conver button's style to flat, so it's in the expected style. 2022-04-18 19:32:17 +02:00
396426aa12 Skip registering PaintEditorPlugin for now, as the module will need lots of refactorings and I need to think about them more. 2022-04-18 16:33:37 +02:00
701e07a2cd Typo fix. 2022-04-18 16:26:01 +02:00
81e9a54129 The PaintCanvasBackgorund needs draw behind parent set. 2022-04-18 15:45:24 +02:00
7abae2b54e Properly ported PaintCanvasBackground. 2022-04-18 15:32:55 +02:00
71ac7bc4e3 Bit more work on porting PaintActions. 2022-04-18 14:10:21 +02:00
111daab50e Switched to it in a few places. 2022-04-18 13:00:14 +02:00
361f949093 Work on porting the actions. 2022-04-17 21:10:43 +02:00
a3fc87a576 Cleaned up BrushPrefabs. Also started cleaning up actions. 2022-04-17 20:04:30 +02:00
d3c039be7e Also port the logic of the selection box and visual grid. 2022-04-17 18:14:06 +02:00
cc217b7eea Also ported the settings dialog. 2022-04-17 17:23:58 +02:00
bd42d11629 Also ported the PaintCanvasDialog, and the grid size dialog. 2022-04-17 16:44:54 +02:00
398af1a772 Fully ported PaintLoadFlieDialog aswell. 2022-04-17 15:29:03 +02:00
8182d82135 Implemented signals for PaintWindow, smaller fixes for PaintCanvas, and cleaned up the save file dialog. 2022-04-17 14:15:40 +02:00
b7230dd942 Added in the icons for paint's gui. 2022-04-17 12:03:12 +02:00
b9f0ccdeb3 Finished porting the logic of PaintWindow. Also smaller fixes / improvements. 2022-04-17 11:43:25 +02:00
0521aa4d6b or to || 2022-04-17 03:27:52 +02:00
59fb670bc8 or to || 2022-04-17 03:25:22 +02:00
28f57aa439 Fix shadowed declaration. 2022-04-17 03:20:34 +02:00
62c384b3a4 Almost completely ported the logic of the PaintWindow. 2022-04-17 03:18:09 +02:00
5e368ec978 Ported the logic for PaintCanvas. 2022-04-17 00:17:05 +02:00
3461d692d4 Node hierarchy port / implementation for PaintCanvas. 2022-04-16 22:11:06 +02:00
bbc671693a Fix adding the wrong child. 2022-04-16 21:01:04 +02:00
0d917718dd Implement / port PaintNavbar. 2022-04-16 20:57:42 +02:00
e540e4e414 Implemented the paint editor plugin. Also reimplemented PaintWindow's ui. 2022-04-16 19:08:19 +02:00
79aa630959 or to ||. 2022-04-16 02:58:02 +02:00
d0af0cb360 Added all paint classes to the build. 2022-04-16 02:54:22 +02:00
25d219a4a0 Const qualifiers and references for the paint module. 2022-04-16 02:35:03 +02:00
d98f9746e8 Ported the logic for quite a few classes of the paint module. 2022-04-16 01:25:02 +02:00
60048f3602 Also convert the leftover dialogs. 2022-04-15 20:05:56 +02:00
e70fb4a67e Created the rest of the skeleton classes for the paint module, and moved the code into them. 2022-04-15 19:40:12 +02:00
a662e12c3c Added the required (skeleton) c++ classes for the paint module. 2022-04-15 02:20:27 +02:00
fe318a61ea initial setup for the paint module. 2022-04-15 00:00:46 +02:00
0d6c6230fc Went through mdr ed, and made as much parameters references as I could. 2022-04-14 17:13:07 +02:00
3406a11f5c Went through mdr ed's code for bad poolvector assigns, hopefully fixed all of them. 2022-04-14 14:06:15 +02:00
386f52d84b Fix the connect actions. 2022-04-14 13:05:11 +02:00
fe18c0f02d Call the proper method. 2022-04-14 13:01:31 +02:00
7f2cb4da8e Fix uv island editing. 2022-04-14 12:14:59 +02:00
cd45c37881 Fix shadowed declaration warning. 2022-04-14 01:43:40 +02:00
93652c7f03 Fix crash in apply seams. 2022-04-14 01:26:16 +02:00
ea20b2fd09 Fix input and draw for the rect view nodes. 2022-04-14 01:04:20 +02:00
29972b6f6d Also ported the uv rect editor's ui. 2022-04-14 00:57:27 +02:00
dfa336c427 Fixed the uv previewer node. 2022-04-13 23:56:34 +02:00
7abae74f96 Cleanups and smaller fixes to MDIEd. 2022-04-13 23:54:26 +02:00
52f53b785d Fix signal already connected error. 2022-04-13 23:48:02 +02:00
68591bb15c Fix nonexistent signal error. 2022-04-13 23:45:16 +02:00
4dba63cb69 Properly give separate button groups for handle selection types and pivots. 2022-04-13 23:34:03 +02:00
4d49128e4c Bind a few methods to fix undo redo support, and events for mdr ed. 2022-04-13 23:31:23 +02:00
10b7d20418 Fix crash. 2022-04-13 23:10:48 +02:00
c7de534f03 Fully ported mdr editor's main ui. 2022-04-13 22:22:40 +02:00
34607ff21e Ported the actions buttons for mdr ed's ui. 2022-04-13 20:39:17 +02:00
496b1b7f34 Small cleanups, and enabled / registered the mesh data instance editor plugins. Editing itself seems to work, however the UI still need to be fixed. 2022-04-13 19:39:55 +02:00
cd3366f6c4 Implement the uv editor popup. 2022-04-13 18:23:43 +02:00
f930ee6063 Also update the SCSub file. 2022-04-13 17:42:33 +02:00
233fcf39ff Renamed the uv rect editor popup aswell. 2022-04-13 17:39:35 +02:00
4e025703f8 Renamed MDIEdUVEditor to MDIEdUVPreviewer. 2022-04-13 17:32:14 +02:00
bb4504d2f7 Finished the initial logic port for mdr ed's classses. 2022-04-13 14:59:40 +02:00
b0c2deab78 Work on the logic port for the rest of mdr ed's classes. 2022-04-13 02:08:30 +02:00
49d2b181a1 Initial logic port of mdr ed's uv editor. 2022-04-12 21:46:03 +02:00
0cc14121fa Added const qualifiers, and made everything I could references in the mesh utils class. 2022-04-12 13:20:19 +02:00
5b8a89216b Also port the logic in the mesh utils. 2022-04-12 13:04:53 +02:00
f5c1a5eec1 Ported the logic of the mesh outline generator. 2022-04-11 20:56:59 +02:00
4af170d9fb Fix shadowed declaration. 2022-04-11 15:10:28 +02:00
30a2cda543 Ported the logic of MDREDMeshDecompose to c++, and added it to the build. 2022-04-11 15:06:09 +02:00
8c1c9e53d1 Turned the remaining mesh data resource editor gdscript classes into skeleton c++ classes. 2022-04-11 13:42:49 +02:00
534d758c54 Removed mdr ed's icons and button groups. 2022-04-11 10:21:45 +02:00
eff1e7d5a9 Added skeleton classes for mesh data resource editor's utilities. 2022-04-11 10:17:54 +02:00
d3118e1d4b Initial skeleton conversion of mdr_ed_mesh_utils. 2022-04-11 02:35:31 +02:00
200b4b0405 Added skeleton classes for mesh data resource editor's uv rect editor. 2022-04-11 01:42:33 +02:00
6c6684b0c3 Added the world_generator, mesh_data_resoure_editor, My Godoxel fork, and mat_maker_gd addons into the modules to help with porting. 2022-04-10 21:14:56 +02:00
c7b653adc4 Removed the webp and webm modules. 2022-03-27 14:21:07 +02:00
089b16f281 Fix an another shadowed variable warning. 2022-03-24 22:43:58 +01:00
8300dbee0f Fix shadowed variable warning. 2022-03-24 22:23:49 +01:00
57ffe2211b Added material cache support for Voxelman, and Terraman's bake texture mesher step type. 2022-03-24 21:50:16 +01:00
69af01b0c6 Fix inconsistent override warning. 2022-03-24 11:55:45 +01:00
accd8458c8 Backported: Rename iterations_per_second to physics_ticks_per_second - Calinou - 937c1a716c 2022-03-24 11:10:56 +01:00
cc4dc1e5a8 Backported: Fix create skeleton bone position - Blackiris - 480543f681 2022-03-24 10:43:53 +01:00
da03f96abe Re-extracted the class docs. 2022-03-24 01:22:45 +01:00
327f58b236 Set up doc classes properly for the network synchronizer. 2022-03-24 01:22:14 +01:00
32f148ac0c Mass replaced godot to pandemonium. 2022-03-23 20:46:05 +01:00
66d40632fe Fix uninitialized variable warning. 2022-03-23 15:23:17 +01:00
b4973c944d Fixed compile for all network synchronizer classes, and added them to the build. 2022-03-23 15:07:15 +01:00
75fbda2418 Fixed up netowrk synchronizer's DataBuffer, and added it to the build. 2022-03-23 13:57:14 +01:00
d1587aaa6b Removed bullet. 2022-03-23 13:28:35 +01:00
e16d80eecb Re-enabled the network synchronizer module, and started cleaning it / porting it. 2022-03-22 02:10:27 +01:00
c9b612f012 Added StringName as a variant type, with eventually the help of 3c0059650d . 2022-03-21 21:29:06 +01:00
b67082e9dd Added gdscript support for the new types . 2022-03-21 15:09:56 +01:00
6adee8f1b0 Added the NetworkedController & SceneRewinder module from https://github.com/godotengine/godot/pull/37200. It's disabled for now, it needs to be ported. 2022-03-20 23:30:30 +01:00
d9022a845c Removed TMeshInstance. 2022-03-20 14:15:53 +01:00
8dbfe124f7 Moved my module specific docs under a new central folder. 2022-03-20 12:30:04 +01:00
cff20866e4 Re extracted class docs. 2022-03-20 08:51:22 +01:00
e89f0b56dc After thinking about it removed the webrtc module alltogether. 2022-03-20 08:47:21 +01:00
ca1d12b6b6 Made WebrctPeerConnection instantiable by it's own. 2022-03-20 08:43:41 +01:00
ae9f5b9bee Fixed the remaining potential crashes found by the godot test tool. 2022-03-20 02:29:14 +01:00
e55f856fa2 Fixed more potential issues found by the tool. 2022-03-19 18:44:49 +01:00
0a5ed34bb7 Fixed lots of crashes found by godot's regression test tool throwing improper parameters at methods. 2022-03-19 13:52:08 +01:00
77ed14e2f8 Fix 2 runtime errors found by tools. 2022-03-19 10:23:56 +01:00
d740ef5d18 Finished cleaning up includes for the classes under the editor folder. I skipped removing a few that needed more changes to the headers / cpp files for now. 2022-03-19 04:08:34 +01:00
7fd581f987 An another set of header include cleanups for the classes in the engine directory. 2022-03-19 03:10:01 +01:00
bca78798ef Header include cleanups for the classes in the editor folder. 2022-03-19 02:25:58 +01:00
4d7df62b8e Clang format all files. 2022-03-18 19:00:13 +01:00
f8e54698e4 Include cleanups for resources. 2022-03-18 18:48:49 +01:00
49fcf7ad80 Removed unneeded variable from TerrainWorld's IntPos struct. 2022-03-18 17:51:50 +01:00
cc52a10ac7 Fix potential crash. 2022-03-18 17:19:59 +01:00
a3ee13ecbc Removed the jsonrpc module. 2022-03-18 16:53:11 +01:00
10bb377587 Removed the gdscript language server. 2022-03-18 16:47:53 +01:00
7b1eadb465 Removed the CALL macros. 2022-03-18 10:56:48 +01:00
4050779e1f Removed the CONNECT and DISCONNECT macros. 2022-03-18 10:32:50 +01:00
acf01d3cec Check if the ESS singleton exists before accessing it in CharacterSkeleton's set_entity_type. 2022-03-18 10:18:54 +01:00
029467ab2c More include and macro cleanups. 2022-03-18 04:10:09 +01:00
48805f5f8f Removed now unnecessary version.h includes. 2022-03-18 03:56:41 +01:00
1f0652741c More version check cleanups. 2022-03-18 03:46:14 +01:00
32acbf4252 Also check if the item's template is valid in Bag::add_item. 2022-03-18 03:44:08 +01:00
d3f5ed6511 Cleaned up the props module aswell. 2022-03-18 03:22:03 +01:00
dc34206f3a Cleaned up more version checks. 2022-03-18 03:08:46 +01:00
441f7a3694 Cleaned up props_2d's version checks. 2022-03-18 02:55:27 +01:00
3039645b4a Cleaned up Terraman's version checks. 2022-03-18 02:41:08 +01:00
24c8c121a5 Check if aura is valid in AuraData's _to_dict. 2022-03-18 02:22:23 +01:00
0e78fdbf03 Cleaned up Terraman2d from version checks. 2022-03-18 02:20:01 +01:00
ef952b88b7 More module cleanups. 2022-03-18 02:05:18 +01:00
77d4171dff More cleanups to voxelman. 2022-03-18 01:52:47 +01:00
d95760ac9e Cleanups to voxelman. 2022-03-18 00:54:25 +01:00
1f4f9c761e Version include cleanups to ESS. 2022-03-18 00:38:45 +01:00
12ea0b735a Add ERR_FAIL_INDEX macro to ActionBarProfile's remove_action_bar. 2022-03-17 23:11:53 +01:00
1bc3c2594c Same change to classes under modules. 2022-03-17 22:33:22 +01:00
30a413ca78 Format Entity.cpp. 2022-03-17 22:04:02 +01:00
95ce2f224f Null check the ESS singleton in Entity's update()/. 2022-03-17 21:49:14 +01:00
3965d70ac5 Moved more includes to cpp files. 2022-03-17 19:35:23 +01:00
13eb5ab431 Check if the ESS singleton is null in spell's constructor. 2022-03-17 14:22:23 +01:00
2c88c46101 Moved more includes to cpp files. 2022-03-17 11:28:57 +01:00
31e29ebd71 Check it the ESS singleton is null in LevelStatData's constructor. 2022-03-17 11:16:56 +01:00
5997c7dc4d Null check the Prop2DCache sincgleton in Prop2DMesher's constructor. 2022-03-17 10:31:08 +01:00
052027dce4 Moved more includes to cpp files. 2022-03-17 10:26:23 +01:00
48fc41e3c6 Check if the ESS singleton is present before accessing it in ItemTemplate's constructor. 2022-03-17 09:32:10 +01:00
c621049e61 Moved more includes to cpp files. 2022-03-17 09:07:18 +01:00
87e792b920 Check if the ESS singleton exists in EquipmentData's constructor. 2022-03-17 08:41:22 +01:00
c1ebd9905a Moved more includes. 2022-03-16 21:09:41 +01:00
eeb7c04aaf Moved more includes to cpp files. 2022-03-16 20:53:38 +01:00
f105eba923 Moved more includes from headers to cpp files. 2022-03-16 20:40:41 +01:00
e2b43374d0 Fix a crash when running tests. 2022-03-16 18:33:44 +01:00
fd41c321a5 Updated BSInputEventKey's action_match parameters. 2022-03-16 10:45:57 +01:00
1b3f8db220 Pass in Variant() instead of NULL for _processor_get_node_for's bind in Prop2DDataEntry. 2022-03-16 10:42:17 +01:00
a9fb61fb08 Fix unused variables in my modified xatlas. 2022-03-16 10:29:03 +01:00
01b2d8eedf Fix typo in Prop2DDataSprite::set_normal_map. 2022-03-16 10:22:51 +01:00
86b7b3363c Fix formatting. 2022-03-16 10:21:23 +01:00
1e6a70c77a Fix uninitialized variable warnings. 2022-03-16 10:15:33 +01:00
78471f8b05 Fix warnings in FastNoise. 2022-03-16 09:57:18 +01:00
467a2885d1 Comment out unused function. 2022-03-16 09:18:48 +01:00
1109ec7f42 (Hopefully) fix github actions build error. 2022-03-16 09:11:38 +01:00
e85cef1745 Run godot's formatting script. 2022-03-16 09:02:48 +01:00
371a6f5f93 Apparently M_PI_2 wasn't defined anywhere. 2022-03-16 08:54:05 +01:00
e6a9caf3a8 Re-extracted the class docs. 2022-03-16 02:51:50 +01:00
b633312366 Removed the mobile vr module. 2022-03-16 02:17:26 +01:00
baba212b6d Removed the camera engine module. 2022-03-16 01:59:46 +01:00
24e5d5cb34 Added my rtile_map module. 2022-03-16 01:37:06 +01:00
aaf91df4c1 Also removed the MeshLibrary. 2022-03-16 01:30:44 +01:00
a9a83271db Removed the default skeleton editor, and made my port the default. Also removed the remover. 2022-03-16 00:36:02 +01:00
1035308489 Removed the collada importer. 2022-03-15 21:12:54 +01:00
07a0ed2c42 Removed the xatlas_unwrap module. 2022-03-15 20:25:05 +01:00
8f2388f9d8 removed the fbx module. 2022-03-15 18:27:21 +01:00
27210500ef Removed the csg module. 2022-03-15 17:56:21 +01:00
5604a12c68 Removed the visual script module. 2022-03-15 17:45:47 +01:00
e1349c85fa Removed the webxr module. 2022-03-15 17:37:16 +01:00
df568215f0 Removed gdnative. 2022-03-15 17:29:37 +01:00
ba4cda4890 Removed the lightmap_raycast module along with embree. 2022-03-15 15:37:28 +01:00
80f9fef4bf Removed teh lighmapper_cpu module. 2022-03-15 15:25:30 +01:00
494258ebab Remove dthe denoise module, with oidn. 2022-03-15 15:14:38 +01:00
18437165a1 Removed the mono module. 2022-03-15 14:59:46 +01:00
408e6ff56d Removed the gridmap. 2022-03-15 14:53:12 +01:00
49f8e8c398 Added godot with all my currently used engine modules. 2022-03-15 13:29:32 +01:00