Commit Graph

1373 Commits

Author SHA1 Message Date
1ee52db76f Udpated the engine so it has the removed helper scripts. Also changed the project's SConscript to just use the one found in the engine. It can clone the engine if it doesn't exists. 2022-06-11 00:46:00 +02:00
2c129807a2 Fix grass MMMaterial, I messed it up during the update. 2022-06-07 13:32:52 +02:00
5562524cc8 Removed the gdscript version of MMMaterial, MMNode, and the universal property. 2022-06-07 12:59:25 +02:00
d5966526aa Updated the remaining MMMaterials. 2022-06-07 12:58:22 +02:00
f9e062e867 Updated the engine. Now MMMaterial, MMNode, and MMNodeUniversalProperty is on the engine side. The resources still need to be updated (except for one). 2022-06-07 12:38:35 +02:00
c8cfc8a929 An another comment. 2022-06-06 21:33:23 +02:00
b9a0c5f275 Added a few notes to MMNodes for later. 2022-06-06 21:27:46 +02:00
a82f5fafe4 Now slot colors in mat makjer gd's ui is handled by a method instead of having a PoolColorArray. 2022-06-06 20:52:38 +02:00
eb7c514ee7 Removed the m_m_algos script aswell. 2022-06-06 19:08:21 +02:00
93e477a76f Removed all the m_m_algos.gd preloads. 2022-06-06 19:07:25 +02:00
491bcc822b Make the generated binder class a singleton, also fix smaller issues. 2022-06-06 01:04:00 +02:00
10b8c64e76 Fix comment scope placement. 2022-06-06 00:55:17 +02:00
db534b724b Process the comments once again. 2022-06-05 23:47:04 +02:00
e4a07e87a3 Renamed the preload variables that use the new merged class. 2022-06-05 02:22:20 +02:00
4207b778a0 Removed the now unneded files. 2022-06-05 02:13:33 +02:00
b1791d1f11 Use the merged class wherever possible. 2022-06-05 02:12:01 +02:00
77277ee956 Merged together the common algorithms for MatMakerGD. 2022-06-05 01:53:35 +02:00
e4f007a3f1 Now the scene converter will add node script resource paths as a comment. 2022-06-04 23:58:38 +02:00
8130ba6b7a Renamed the code converter's file. 2022-06-04 23:51:00 +02:00
36742b210b Moved the scene converter code to it's own file. 2022-06-04 23:47:41 +02:00
83414ab259 Implemented the scene to cpp conversion tool. 2022-06-04 23:40:28 +02:00
fe725e4da4 Don't add method default parameters inot cpp files. 2022-06-04 16:32:11 +02:00
06642b4afa Added a new binder class generator. 2022-06-04 16:29:31 +02:00
422606d526 Also implemented generating method binds for the rest of the available non-static methods. 2022-06-04 13:42:44 +02:00
0fc106ee03 The code converter now generates properties from the automatically created getters and setters. 2022-06-04 13:22:43 +02:00
5890a7cef3 More work on the scene to cpp converter. 2022-06-04 13:01:41 +02:00
7833c0d153 Fixed scope orders. 2022-06-04 09:41:59 +02:00
97c5fbc9fc Fix doulbe semicolons. 2022-06-04 08:52:00 +02:00
3b6d9c4b35 Replace "and"s and "or"s to && and || when needed. 2022-06-04 08:46:27 +02:00
97cc4886e3 Transform fors if possible. 2022-06-04 08:43:16 +02:00
2eb04ef96f Fix variable transforms inside methods. 2022-06-04 08:25:03 +02:00
e28b7cfb82 Fix handling else ifs. 2022-06-04 08:05:16 +02:00
a92c488a82 Handle static keyword. 2022-06-04 08:04:37 +02:00
ab986942e0 Started work on a new scene to code converter tool, but I'll postpone it for now. 2022-06-03 22:33:00 +02:00
0b7964f01b Move the parser code to a new file. 2022-06-03 21:06:28 +02:00
2bf13be369 Remove comment. 2022-06-03 20:46:13 +02:00
a5f5adae08 Actually write the cpp and header files. 2022-06-03 20:45:44 +02:00
4cf588b5bf Implementation generation. 2022-06-03 20:39:01 +02:00
7541121668 Implemented getter and setter generation for class variables. 2022-06-03 20:01:53 +02:00
54b2330447 Fix enums. 2022-06-03 18:39:54 +02:00
9fff3d2430 Implemented variable transforms. 2022-06-03 18:36:35 +02:00
faffbadf36 Handle comments at after code lines better. 2022-06-03 17:33:30 +02:00
6341759d8e Put class variables to the bottom of the class. 2022-06-03 17:26:07 +02:00
bb178cfa54 CamelCase classes. 2022-06-03 17:18:47 +02:00
caf1fb1a39 Also handle setget. 2022-06-03 17:10:10 +02:00
4322dcbbcb Implemented method transformations. 2022-06-03 17:07:35 +02:00
653dc83e1c Split export keywords to new lines. 2022-06-03 15:07:39 +02:00
fcee8a2f39 Also generate a constructor, destructor, and _bind_methods. 2022-06-03 15:00:43 +02:00
2bf79007a2 Header generation. 2022-06-03 14:56:25 +02:00
b7522472cd Mostly class related improvements to the parser. 2022-06-03 13:58:19 +02:00
e44bf42190 Parse scope data. 2022-06-03 13:19:31 +02:00
aaf2ca9c2e Fix scope parsing of the converter plugin, and make printing parsed data better. 2022-06-03 12:45:03 +02:00
d803ecf2cd Started working on a new simple addon, that should help with porting gdscript (my addons -> my codestyle) to cpp in the future. I'm not planning on doing anything fancy, just something relatively simple that would do most of the trivial, but tedious stuff. 2022-06-03 01:25:50 +02:00
e2892e3adb Udpated the engine, to get the improvements to TiledWalls. 2022-05-26 23:29:14 +02:00
b426724501 Fix script path. 2022-05-25 22:31:27 +02:00
0425f14df0 Updated the engine, and removed the mesh data resource addon, as the engine now has it built in. 2022-04-14 14:12:11 +02:00
dbb28005c5 Removed the color palette addon, as I never really ended up using it. 2022-04-10 20:43:43 +02:00
5b3ceb5694 More fixes to the run right loop. 2022-03-28 20:29:16 +02:00
5a678f4a47 Improvements to the run left and run right loops. 2022-03-28 20:14:47 +02:00
d8195b9b98 Added sky, lights and small improvements to the armature editor scene. 2022-03-28 18:07:49 +02:00
a6bfcf712e Improved the run loop. 2022-03-28 18:06:58 +02:00
39e76cdfcf Fix typo. Closes #5. Thanks. 2022-03-27 20:55:23 +02:00
9d80975f61 Started work on a character editor scene. 2022-03-27 12:37:59 +02:00
9d9121ec3d Moved the animations from the armature_huf scene to just the armature scene. 2022-03-27 11:11:38 +02:00
b39e6f3ea0 Removed the now unneeded ess_data.json. 2022-03-25 09:19:01 +01:00
e61d7c8947 Added a new icon. 2022-03-25 09:17:29 +01:00
062c8611ef Disable octahedral compression for the generated skinned meshes, as they don't work well on dome gpus. Later I'll add a setting for it. 2022-03-24 21:58:15 +01:00
b891058708 Updated the engine. Smaller fixes, and backports. 2022-03-24 12:52:59 +01:00
8a2f9be68a Updated the engine. I mass replaced godot to pandemonium in it. 2022-03-23 21:30:28 +01:00
57354fd52a Updated the engine. I removed bullet, backported the android editor pr, and did some additional cleanups. 2022-03-23 13:30:35 +01:00
c7900bf439 Updated the engine. I fixed the new errors in the console during editor startup. 2022-03-22 09:41:55 +01:00
f0b6dfa434 Updated the engine. I added Vector2i, Vector3i, Rect2i, PoolVector2i, PoolVector3i, and StringName support for variants. Also smaller improvements, and backports. 2022-03-22 02:14:33 +01:00
dbcb202914 Updated the engine. I removed TMeshInstance. 2022-03-20 14:16:46 +01:00
9414a841a1 Updated the engine. 2022-03-16 03:09:59 +01:00
c923ce1918 Moved the spawner a bit. 2022-03-11 12:57:08 +01:00
0382f45cc2 Small tweaks. 2022-03-09 19:45:03 +01:00
2e8926a465 Small change to the test world. 2022-03-09 19:14:07 +01:00
5407ec44ce Fill the liquid isolevel channel with the water isolevel. 2022-03-09 19:13:38 +01:00
b649b10fba Also commit the test world generator resource. 2022-03-09 19:11:01 +01:00
194d611f27 Cleaned up the test continent. 2022-03-09 19:10:42 +01:00
b0dbbe94dd Make the zone transition a bit smoother. 2022-03-09 19:09:06 +01:00
c5f1ec4384 Now the forest is generated by the test zone. 2022-03-09 19:03:37 +01:00
3fc2096b27 Fix typo. 2022-03-09 18:50:44 +01:00
ec0ab8fe02 Added a h separator to the test continent's properties. 2022-03-09 18:50:11 +01:00
99b786e5a5 add_slot in ResourcePropertyList.gd will now return the expected index. 2022-03-09 18:31:54 +01:00
2923ee154a The test continent won't set surface types anymore. 2022-03-09 18:17:20 +01:00
67addb8e9d Now the default surface's id is customizable in the ocean base world. 2022-03-09 18:16:05 +01:00
c6fbc8cf9b The int properties for the world editor's ui now also use a HBoxContainer. 2022-03-09 18:10:03 +01:00
d7e133e446 Managed to figure out a way to make the new continent code work. Also made it the default. 2022-03-09 18:08:23 +01:00
953be13a66 Now the world generator addon's float properties use a hbox container, and their label is set to expand fill. 2022-03-09 18:06:21 +01:00
c8d6747e8c Added a new editor chunk spawn range property to the world. 2022-03-09 17:28:24 +01:00
1c8b0cf5ed Removed unneeded parameter. 2022-03-09 17:26:36 +01:00
45f5631763 Restored the old world generation algorithm. Also committing some experiments. 2022-03-09 10:36:11 +01:00
62990d5c9c Fix the ocean appearing even when the terrain height is greater than the water level. 2022-03-09 10:35:39 +01:00
5e907a9267 Cleanups to the test continent, and disabled the current generation algorithm in it. It will be moved around. 2022-03-08 21:00:11 +01:00
d252a2e977 Set up a base ocean layer for the world. 2022-03-08 18:21:59 +01:00
a3f4ddd852 Increase raycast height more, just in case. 2022-03-08 18:19:14 +01:00
3d7c70041f Raycast from higher up when placing entities. 2022-03-08 18:18:45 +01:00
ecdfb65aa7 Implement selecting the edited resource on clicking it's button in the world generator addon's EditorResourceWidget. 2022-03-08 18:12:11 +01:00
b9fefd5c12 Created a new water tile. 2022-03-08 12:33:17 +01:00