aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/core')
-rw-r--r--src/libjin/core/README.md1
-rw-r--r--src/libjin/core/je_configuration.h8
-rw-r--r--src/libjin/core/je_types.h24
-rw-r--r--src/libjin/core/je_version.h26
4 files changed, 35 insertions, 24 deletions
diff --git a/src/libjin/core/README.md b/src/libjin/core/README.md
new file mode 100644
index 0000000..b393007
--- /dev/null
+++ b/src/libjin/core/README.md
@@ -0,0 +1 @@
+ļµļƱṩһЩ汾Ϣ \ No newline at end of file
diff --git a/src/libjin/core/je_configuration.h b/src/libjin/core/je_configuration.h
index 819b34d..f70ae5a 100644
--- a/src/libjin/core/je_configuration.h
+++ b/src/libjin/core/je_configuration.h
@@ -66,4 +66,12 @@
#define jin_graphics_font
#define jin_graphics_shader
+#define jin_audio
+
+#define jin_filesystem
+
+#define jin_game
+
+#define jin_core
+
#endif \ No newline at end of file
diff --git a/src/libjin/core/je_types.h b/src/libjin/core/je_types.h
deleted file mode 100644
index 5fd6c12..0000000
--- a/src/libjin/core/je_types.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef __JE_CORE_TYPES_H
-#define __JE_CORE_TYPES_H
-
-#include <stdint.h>
-
-namespace JinEngine
-{
- namespace Core
- {
-
- typedef int8_t int8; ///< Signed integer with a size of 8 bits. Supports values from -128 to 127
- typedef uint8_t uint8; ///< Unsigned integer with a size of 8 bits. Supports values from 0 to 255.
- typedef uint8 byte; ///< Unsigned integer with 8 bits (1 byte). Supports 256 values from 0 to 255.
- typedef int16_t int16; ///< Signed integer with a size of 16 bits. Supports values from -32768 to 32767
- typedef uint16_t uint16; ///< Unsigned integer with a size of 16 bits. Supports values from 0 to 65535.
- typedef int32_t int32; ///< Signed integer with a size of 32 bits. Supports values from -2147483648 to 2147483647.
- typedef uint32_t uint32; ///< Unsigned integer with a size of 32 bits. Supports values from 0 to 4294967295, (2^32 - 1).
- typedef int64_t int64; ///< Signed integer with a size of 64 bits. Supports values from -(2^63) to (2^63 - 1).
- typedef uint64_t uint64; ///< Unsigned integer with a size of 64 bits, Supports values from 0 to (2^64 - 1).
-
- }
-}
-
-#endif // __JE_CORE_TYPES_H \ No newline at end of file
diff --git a/src/libjin/core/je_version.h b/src/libjin/core/je_version.h
new file mode 100644
index 0000000..6a91797
--- /dev/null
+++ b/src/libjin/core/je_version.h
@@ -0,0 +1,26 @@
+#ifndef __JE_CORE_VERSION_H
+#define __JE_CORE_VERSION_H
+
+namespace JinEngine
+{
+ namespace Core
+ {
+
+ ///
+ /// Get version of Jin.
+ ///
+ /// @return Version of Jin.
+ ///
+ int getVersion();
+
+ ///
+ /// Get author of Jin.
+ ///
+ /// @return Author of Jin.
+ ///
+ int getAuthor();
+
+ } // namespace Core
+} // namespace JinEngine
+
+#endif \ No newline at end of file