Commit Graph

256 Commits

Author SHA1 Message Date
d93618c84e Added scons to a new SCSCons folder. I'll try to simplify it down as much as possible and likely try to port it to c++. 2022-03-19 19:48:45 +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
2ce53f2b9e Ran include-what-you-use on the classes in the editor/ floder. 2022-03-19 00:01:30 +01:00
b41f01cb92 Cleaned up the rest of the includes in the headers under engine/plugins. They can still be improved, by moving references too, but that will be done later. 2022-03-18 22:55:47 +01:00
2b5cc26584 More include cleanups to the classes under editor/plugins. 2022-03-18 21:48:35 +01:00
6f637e65b0 Include cleanps. 2022-03-18 21:07:58 +01:00
a112bd877c Ran include-what-you-use on classes under editor/plugins. It still needs cleanups though. 2022-03-18 20:18:56 +01:00
1ab4a46da0 Moved som of the includes from headers to cpp files under the editor folder. 2022-03-18 19:32:23 +01:00
4d7df62b8e Clang format all files. 2022-03-18 19:00:13 +01:00
b877f9c8ee Make the clang format script not touch the copyright headers for now. 2022-03-18 18:58:57 +01:00
c545717186 Fix EditorScriptCodeCompletionCache::Cache::time_loaded may be used uninitialized error. 2022-03-18 18:53:24 +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
3e97039c99 Added compile options for rtti and exceptions. They are disabled by default. They used to be enabled on most platforms, it does not seem to break anything. 2022-03-18 17:04:14 +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
03596bcbd3 Bring back opus's original config header. 2022-03-18 00:44:06 +01:00
1f4f9c761e Version include cleanups to ESS. 2022-03-18 00:38:45 +01:00
b2b6322471 Ran the script on everything in the thirdparty directory except freetype, and pcre2. 2022-03-18 00:08:00 +01:00
c93dfb0602 Also ran it on bullet. 2022-03-17 23:20:34 +01:00
97661b2af5 Ran the c++ header script on the servers directory. 2022-03-17 23:18:28 +01:00
12ea0b735a Add ERR_FAIL_INDEX macro to ActionBarProfile's remove_action_bar. 2022-03-17 23:11:53 +01:00
8fbdcd18f9 Same change to classes under scene. 2022-03-17 22:57:56 +01:00
9fd8fc6eed Same change to classes under platform. 2022-03-17 22:38:14 +01:00
1bc3c2594c Same change to classes under modules. 2022-03-17 22:33:22 +01:00
e214f96994 Same change to classes under main. 2022-03-17 22:19:45 +01:00
ce328027fa Same change to drivers. 2022-03-17 22:18:15 +01:00
340cc8ba45 Run the include guard script on the editor folder. 2022-03-17 22:15:35 +01:00