diff options
Diffstat (limited to 'src/libjin/core')
-rw-r--r-- | src/libjin/core/je_configuration.h | 69 | ||||
-rw-r--r-- | src/libjin/core/je_types.h | 24 |
2 files changed, 93 insertions, 0 deletions
diff --git a/src/libjin/core/je_configuration.h b/src/libjin/core/je_configuration.h new file mode 100644 index 0000000..55633a1 --- /dev/null +++ b/src/libjin/core/je_configuration.h @@ -0,0 +1,69 @@ +#ifndef __LIBJIN_COMMON_MODULES_H +#define __LIBJIN_COMMON_MODULES_H +/* +* ģģı룬Ҫģرղ +*/ + +#define LIBJIN_MODULES_AUDIO 1 +#define LIBJIN_AUDIO_SDLAUDIO 1 +#define LIBJIN_AUDIO_OPENAL 1 + +#define LIBJIN_MODULES_RENDER 1 + +#define LIBJIN_MODULES_DEBUG 1 + +#define LIBJIN_MODULES_FILESYSTEM 1 + +#define LIBJIN_MODULES_INPUT 1 +#define LIBJIN_INPUT_SDL 1 + +#define LIBJIN_MODULES_MATH 1 + +#define LIBJIN_MODULES_NET 1 +#define LIBJIN_NET_TEKCOS 1 + +#define LIBJIN_MODULES_PHYSICS 0 +#define LIBJIN_PHYSICS_BOX2D 1 +#define LIBJIN_PHYSICS_NEWTON 1 + +#define LIBJIN_MODULES_TILEMAP 1 + +#define LIBJIN_MODULES_UI 1 + +#define LIBJIN_MODULES_TOOLS 0 +#define LIBJIN_TOOLS_COMPONENT 1 +#define LIBJIN_TOOLS_EVENTMSGCENTER 1 +#define LIBJIN_TOOLS_XML 1 +#define LIBJIN_TOOLS_CSV 1 +#define LIBJIN_TOOLS_JSON 1 + +#define LIBJIN_MODULES_THREAD 1 +#define LIBJIN_THREAD_SDL 1 +#define LIBJIN_THREAD_CPP 0 +#define LIBJIN_THREAD_PTHREAD 0 + +#define LIBJIN_MODULES_TIME 1 +#define LIBJIN_TIME_SDL 1 + +/* +* Open libjin debug +*/ + +#define LIBJIN_DEBUG 0 + +/* +* Operating system +*/ + +#define LIBJIN_WINDOWS 1 +#define LIBJIN_MACOS 2 +#define LIBJIN_LINUX 3 + +#define LIBJIN_OS LIBJIN_WINDOWS + +/// ģ +#define jin_graphics +#define jin_graphics_font +#define jin_graphics_shader + +#endif
\ No newline at end of file diff --git a/src/libjin/core/je_types.h b/src/libjin/core/je_types.h new file mode 100644 index 0000000..71ba640 --- /dev/null +++ b/src/libjin/core/je_types.h @@ -0,0 +1,24 @@ +#ifndef __LIBJIN_CORE_TYPES_H +#define __LIBJIN_CORE_TYPES_H + +#include <stdint.h> + +namespace jin +{ + 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 // __LIBJIN_CORE_TYPES_H
\ No newline at end of file |