Commit Graph

296 Commits

Author SHA1 Message Date
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
30a413ca78 Format Entity.cpp. 2022-03-17 22:04:02 +01:00
7d8a93324e Used the include guard script on core classes. 2022-03-17 21:58:11 +01:00
95ce2f224f Null check the ESS singleton in Entity's update()/. 2022-03-17 21:49:14 +01:00
678ee45c4f Move back shape's include to the header in collision object. 2022-03-17 21:02:40 +01:00
852a3a3110 Added a new script that moves header guards to the very top of header files. Doing this might improve compile speeds. 2022-03-17 20:50:29 +01:00
44bd2e0119 Added destructors to physics bodies to hopefully fix failing compile on some platforms. 2022-03-17 20:00:20 +01:00
3965d70ac5 Moved more includes to cpp files. 2022-03-17 19:35:23 +01:00
c354d4304f Fix an another include error. 2022-03-17 14:30:08 +01:00
13eb5ab431 Check if the ESS singleton is null in spell's constructor. 2022-03-17 14:22:23 +01:00
e37f5a7fe5 Hopefully fix some of the failing builds. 2022-03-17 14:21:08 +01:00