summaryrefslogtreecommitdiff
path: root/tools/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-01-16 08:04:19 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-01-16 08:04:23 +0100
commit3890256fc57eafb2db83d328b8caf772188e21d4 (patch)
treeee08a3acda5279a3bb331c0af569f1048b263fab /tools/doc
parentb400c69cd487f70d8164dd5550eb994253d359d6 (diff)
Style: Cleanups, added headers, renamed files
Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
Diffstat (limited to 'tools/doc')
-rw-r--r--tools/doc/doc_data.cpp2
-rw-r--r--tools/doc/doc_dump.cpp3
-rw-r--r--tools/doc/doc_dump.h2
3 files changed, 4 insertions, 3 deletions
diff --git a/tools/doc/doc_data.cpp b/tools/doc/doc_data.cpp
index f18265c541..d51dc886b2 100644
--- a/tools/doc/doc_data.cpp
+++ b/tools/doc/doc_data.cpp
@@ -26,9 +26,9 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
-#include "version.h"
#include "doc_data.h"
+#include "version.h"
#include "global_constants.h"
#include "globals.h"
#include "script_language.h"
diff --git a/tools/doc/doc_dump.cpp b/tools/doc/doc_dump.cpp
index e1ffcfbbb2..5ebba596e9 100644
--- a/tools/doc/doc_dump.cpp
+++ b/tools/doc/doc_dump.cpp
@@ -26,8 +26,9 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
-#include "version.h"
#include "doc_dump.h"
+
+#include "version.h"
#include "os/file_access.h"
#include "scene/main/node.h"
diff --git a/tools/doc/doc_dump.h b/tools/doc/doc_dump.h
index 4577af078e..84629b89c8 100644
--- a/tools/doc/doc_dump.h
+++ b/tools/doc/doc_dump.h
@@ -29,7 +29,7 @@
#ifndef DOC_DUMP_H
#define DOC_DUMP_H
-#include "object_type_db.h"
+#include "class_db.h"
class DocDump {
public: