Commit Graph

1396 Commits

Author SHA1 Message Date
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
45bb1ae8fa Also added undo redo support for the gradient editor when adding and removing colors. 2022-03-08 12:28:07 +01:00
7157df772c Also fixed the gradient editor popup thing. 2022-03-08 12:20:49 +01:00
48f5fbfcbb Also added undo redo support fro the gradient editor's interpolation type dropdown. 2022-03-08 12:12:14 +01:00
b17b7bb583 Added undo redo support form mat maker gd's gradient editor. This also fixes seamless color editing with it. 2022-03-08 12:08:30 +01:00
e6413c01f1 Reworked the in editor world generation logic. Now when the generate in editor property is set, the world generate chunks around the editor's camera. 2022-02-19 12:34:30 +01:00
6d4f0fe089 Added tool keyword to the dungeon teleporters, so they can be spawned in to the editor without errors. 2022-02-19 10:51:59 +01:00
64c39c4444 Added a new WorldGenRaycast class, and now world generator will use this instead of a stack and stack index to make the data available to the generation methods. Also added local uv to it. 2022-02-19 10:41:33 +01:00
230baeda0e Set up a liquid material. 2022-02-19 09:16:33 +01:00
bf695a310b Also set the liquid mesher. 2022-02-19 00:24:48 +01:00
99064a639a Updated terraman. I renamed voxel_surface methods/properties to terra_surface. 2022-02-18 21:31:15 +01:00
250f37c53d Import the weapons and armor pack's textures as packer image resources. This fixes their issues with uvs on the html backend. 2022-02-16 21:09:30 +01:00
e341267bb7 Fix material cache initialization logic for the CharacterSkeletonMeshJob. 2022-02-16 20:52:50 +01:00
96ff1b6d5d Created a uv debugger tool. 2022-02-16 20:51:35 +01:00
3b0c2d3d23 Connect to the deserialized signal in SpellBookWindow. 2022-02-15 00:26:59 +01:00
da3ed4df70 Added the world node to the save group. This fixes saving the character on exiting. 2022-02-15 00:26:26 +01:00
efd7168c94 Re-generate the normals for the teleporter. 2022-02-14 14:50:54 +01:00
0fc1da3def Added warning message when a normal ends up being zero to mdr ed's generate normal. Also set a proper default in this case. 2022-02-14 14:50:33 +01:00
ea1bf7020c Also re generate normals for the dungeon teleporter. 2022-02-14 14:21:12 +01:00
f10ade5b57 re-generate normals for the character meshes. 2022-02-14 14:20:12 +01:00
05ff25e41a Fix normal generation for mdr ed. 2022-02-14 14:19:37 +01:00
b9a67218cd Increase the size of the floating particles a bit. 2022-02-13 18:22:29 +01:00
f4c05de692 Increase the minimum size of the smoothed terrain below the teleporter by one. 2022-02-13 18:20:33 +01:00
e773393ce9 Added a new floating magic particle effect to the dungeon teleporters. 2022-02-13 18:16:45 +01:00
04ec4d2ad9 Moved the current textures under a world folder in the textures folder. 2022-02-13 17:57:29 +01:00
3e88eaaa11 Fixed dungeon spawner spawn locations both in the test dungeon and in the world. Also now in the world the generator creates a little plateau for them. 2022-02-13 17:52:33 +01:00
11912f0a85 The dungeon teleporter is now a super simple obelisk. 2022-02-13 17:05:17 +01:00
c2b76ea2f4 Re-enable the changed event before returning early in uv_unwrap(). 2022-02-13 16:42:53 +01:00
cf5dcf4512 Fix the undo redo action's name for unmark seam. 2022-02-13 16:39:42 +01:00
fa1a945319 Fix face deletion in mdr'es when more that one face is selected. 2022-02-13 16:14:34 +01:00
df071af39c Now the dungeon teleporters switch between 2 materials for hover / normal states. This way only the hovered one will light up, instead of all. Also reworked them to use mesh data resources. 2022-02-13 15:52:19 +01:00
4a907a37c5 Categorize the textures using folders. 2022-02-13 15:32:36 +01:00
e39afd1ebd Make the dungeon teleporters inherited fomr a newly added scene. They are still the same for now. 2022-02-13 15:30:22 +01:00
7aee50c2ea Also moved the vman dungeon script. 2022-02-13 15:12:27 +01:00
eeff6412d9 Moved the dungeon teleporter scripts. 2022-02-13 15:12:00 +01:00
94f322cbd2 Moved the dungeon script from under world to scripts. 2022-02-13 15:11:22 +01:00
b131b94211 Rename the dungeon script in scripts. 2022-02-13 15:10:46 +01:00
8602e29571 Moved the textures from under world to the root of the project. 2022-02-13 15:08:32 +01:00
baf7f9f2ca Moved the low poly rpg item collections under models. 2022-02-13 15:07:17 +01:00
24d0e671ef Implemented rotation for the uv editor. 2022-02-13 13:45:33 +01:00
1ff20f8238 Fixed the character's head's uv mapping. 2022-02-13 12:57:37 +01:00
05f1c2c365 Implemented horizontal and vertical mirroring for the uv editor. 2022-02-13 12:57:18 +01:00
8ae0b5b236 Set up events for the new buttons. 2022-02-13 00:34:45 +01:00
a0a090ace9 Implement uv rect selection for mdr ed. 2022-02-12 23:37:19 +01:00
e729a31803 Added mirror and rotation buttons to the uv editor. They are not yet implemented. 2022-02-12 22:59:36 +01:00
e44e4c1366 Fixed godoxel's save file dialog. 2022-02-12 22:22:40 +01:00
8b3d15d69c Fix paths for the world generator. 2022-02-12 20:32:20 +01:00
23f25572d8 Rename the default bus layout. 2022-02-12 20:31:57 +01:00
1594425e98 Moved the input map editor scene. 2022-02-12 20:26:38 +01:00
a6ca21be99 Keep the modules folder around in git. 2022-02-12 20:23:44 +01:00
fbbb5cf410 Moved the core folder out from modules too. 2022-02-12 20:22:15 +01:00
df781c9d2f Moved the debug camera. 2022-02-12 20:19:00 +01:00
f9ef137d17 Moved the texture tools under a new tools directory. 2022-02-12 20:18:02 +01:00
82f012dd22 Also moved the menu folder under scenes. 2022-02-12 20:09:30 +01:00
926922572f Moved the world_generator folder under scripts. 2022-02-12 20:06:13 +01:00
e93dbcaeb0 Moved the world scene and it's dependencies under scenes/world. 2022-02-12 20:03:17 +01:00
afb1ad62d4 Moved the ingame menu and interface settings to a different folder. 2022-02-12 19:59:26 +01:00
f98be58531 Moved the login and register menu. 2022-02-12 19:57:54 +01:00
4d304f61c3 Moved the about, keybind, and options window to a new folder. 2022-02-12 19:56:40 +01:00
a35d3152ba Move the nameplates and world numbers. 2022-02-12 19:53:45 +01:00
17b0381bf5 Move the ImageButton for the player ui. 2022-02-12 19:52:07 +01:00
be23612409 Move the keyboard tab container script. 2022-02-12 19:50:30 +01:00
1f89520312 Move it to a better folder. 2022-02-12 19:49:56 +01:00
cb57dafa07 Also move the window script. 2022-02-12 19:49:14 +01:00
04b43919bb Moved the ingame basic player ui elements into a new subfolder. 2022-02-12 19:45:36 +01:00
ae3558d270 Moved the entity classes folder. 2022-02-12 19:26:05 +01:00
287ce1e3d6 Moved the planets folder. 2022-02-12 19:15:36 +01:00
8d36457310 Moved the spell effects folder. 2022-02-12 19:10:23 +01:00
2a56e51324 Moved the shaders to a new folder. 2022-02-12 19:07:45 +01:00
0e5e1e2c0f Moved the icons. 2022-02-12 18:52:10 +01:00
02cc46c350 Moved the human model. 2022-02-12 18:50:03 +01:00
a5cd083be4 Moved the test things. 2022-02-12 18:47:23 +01:00
73e37907e6 Moved the materials to a new folder. 2022-02-12 18:46:03 +01:00
e9b0e5629c Moved the crypt entrace test assets. 2022-02-12 18:43:01 +01:00
4a4f1ea3db Also moved the core models folder. 2022-02-12 18:38:01 +01:00
9fd777a546 Moved the test weapons folder into a new models/weapon s folder, and renamed it properly. 2022-02-12 18:36:58 +01:00
309027d440 Reorganized the test weapons folder. Also turned the meshes to native mesh data resources. 2022-02-12 17:52:14 +01:00
39d97244e4 Fix typo. 2022-02-12 16:52:19 +01:00