Daniele Bartolini hace 10 años
padre
commit
a0ca2350a8

+ 1 - 2
src/core/containers/container_types.h

@@ -10,10 +10,9 @@
 #include "functional.h"
 #include "pair.h"
 
+/// @defgroup Containers Containers
 namespace crown
 {
-/// @defgroup Containers Containers
-
 /// Dynamic array of POD items.
 /// @note
 /// Does not call constructors/destructors so it is not very suitable for non-POD items.

+ 1 - 2
src/core/filesystem/filesystem.h

@@ -9,10 +9,9 @@
 #include "container_types.h"
 #include "dynamic_string.h"
 
+/// @defgroup Filesystem Filesystem
 namespace crown
 {
-/// @defgroup Filesystem Filesystem
-
 /// Provides a platform-independent way to access files and directories
 /// on the host filesystem.
 ///

+ 1 - 2
src/core/json/json_types.h

@@ -8,10 +8,9 @@
 #include "container_types.h"
 #include "fixed_string.h"
 
+/// @defgroup JSON
 namespace crown
 {
-/// @defgroup JSON
-
 /// Enumerates JSON value types.
 ///
 /// @ingroup JSON

+ 1 - 2
src/core/math/math_types.h

@@ -5,10 +5,9 @@
 
 #pragma once
 
+/// @defgroup Math Math
 namespace crown
 {
-/// @defgroup Math Math
-
 /// @ingroup Math
 struct Vector2
 {

+ 1 - 1
src/core/memory/memory.h

@@ -11,12 +11,12 @@
 #include "macros.h"
 #include <new>
 
+/// @defgroup Memory Memory
 namespace crown
 {
 Allocator& default_allocator();
 Allocator& default_scratch_allocator();
 
-/// @defgroup Memory Memory
 namespace memory
 {
 	/// Returns the pointer @a p aligned to the desired @a align byte

+ 4 - 2
src/core/profiler.h

@@ -8,10 +8,12 @@
 #include "types.h"
 #include "math_types.h"
 
+/// @defgroup Profiler Profiler
 namespace crown
 {
-/// @defgroup Profiler Profiler
-
+/// Enumerates profiler event types.
+///
+/// @ingroup Profiler
 struct ProfilerEventType
 {
 	enum Enum

+ 1 - 2
src/device.h

@@ -21,13 +21,12 @@
 #include "window.h"
 #include "world_types.h"
 
+/// @defgroup Device Device
 namespace crown
 {
 struct BgfxAllocator;
 struct BgfxCallback;
 
-/// @defgroup Device Device
-
 /// This is the place where to look for accessing all of
 /// the engine subsystems and related stuff.
 ///

+ 1 - 2
src/input/input_types.h

@@ -5,10 +5,9 @@
 
 #pragma once
 
+/// @defgroup Input Input
 namespace crown
 {
-/// @defgroup Input Input
-
 class InputManager;
 struct InputDevice;
 

+ 1 - 2
src/lua/lua_types.h

@@ -5,10 +5,9 @@
 
 #pragma once
 
+/// @defgroup Lua Lua
 namespace crown
 {
-/// @defgroup Lua Lua
-
 class LuaStack;
 class LuaEnvironment;
 

+ 1 - 2
src/resource/resource_manager.h

@@ -12,10 +12,9 @@
 #include "string_id.h"
 #include "types.h"
 
+/// @defgroup Resource Resource
 namespace crown
 {
-/// @defgroup Resource Resource
-
 /// Keeps track and manages resources loaded by ResourceLoader.
 ///
 /// @ingroup Resource

+ 1 - 2
src/world/world_types.h

@@ -9,10 +9,9 @@
 #include "string_id.h"
 #include "types.h"
 
+/// @defgroup World World
 namespace crown
 {
-/// @defgroup World World
-
 class Level;
 class MaterialManager;
 class PhysicsWorld;