Browse Source

Move dependencies to superbuild repo

master
C. J. Howard 4 years ago
parent
commit
5a2d886113
252 changed files with 14 additions and 39022 deletions
  1. +14
    -10
      CMakeLists.txt
  2. +0
    -0
      src/animation/animation.cpp
  3. +0
    -0
      src/animation/animation.hpp
  4. +0
    -0
      src/animation/easings.hpp
  5. +0
    -0
      src/animation/timeline.cpp
  6. +0
    -0
      src/animation/timeline.hpp
  7. +0
    -0
      src/animation/tween.hpp
  8. +0
    -0
      src/application.cpp
  9. +0
    -0
      src/application.hpp
  10. +0
    -0
      src/behavior/behavior-tree.hpp
  11. +0
    -0
      src/behavior/ebt.cpp
  12. +0
    -0
      src/behavior/ebt.hpp
  13. +0
    -0
      src/camera-rig.cpp
  14. +0
    -0
      src/camera-rig.hpp
  15. +0
    -0
      src/configuration.hpp.in
  16. +0
    -0
      src/debug/ansi-codes.hpp
  17. +0
    -0
      src/debug/cli.hpp
  18. +0
    -0
      src/debug/logger.cpp
  19. +0
    -0
      src/debug/logger.hpp
  20. +0
    -0
      src/debug/performance-sampler.cpp
  21. +0
    -0
      src/debug/performance-sampler.hpp
  22. +0
    -2
      src/dr_libs/dr_wav.cpp
  23. +0
    -4377
      src/dr_libs/dr_wav.h
  24. +0
    -0
      src/entity/archetype.hpp
  25. +0
    -0
      src/entity/components/behavior-component.hpp
  26. +0
    -0
      src/entity/components/cavity-component.hpp
  27. +0
    -0
      src/entity/components/collision-component.hpp
  28. +0
    -0
      src/entity/components/locomotion-component.hpp
  29. +0
    -0
      src/entity/components/model-component.hpp
  30. +0
    -0
      src/entity/components/nest-component.hpp
  31. +0
    -0
      src/entity/components/placement-component.hpp
  32. +0
    -0
      src/entity/components/samara-component.hpp
  33. +0
    -0
      src/entity/components/terrain-component.hpp
  34. +0
    -0
      src/entity/components/tool-component.hpp
  35. +0
    -0
      src/entity/components/transform-component.hpp
  36. +0
    -0
      src/event/event-dispatcher.cpp
  37. +0
    -0
      src/event/event-dispatcher.hpp
  38. +0
    -0
      src/event/event-handler.hpp
  39. +0
    -0
      src/event/event.hpp
  40. +0
    -0
      src/filesystem.cpp
  41. +0
    -0
      src/filesystem.hpp
  42. +0
    -0
      src/frame-scheduler.cpp
  43. +0
    -0
      src/frame-scheduler.hpp
  44. +0
    -0
      src/geometry/aabb.hpp
  45. +0
    -0
      src/geometry/bounding-volume.hpp
  46. +0
    -0
      src/geometry/convex-hull.hpp
  47. +0
    -0
      src/geometry/csg.cpp
  48. +0
    -0
      src/geometry/csg.hpp
  49. +0
    -0
      src/geometry/intersection.cpp
  50. +0
    -0
      src/geometry/intersection.hpp
  51. +0
    -0
      src/geometry/mesh-accelerator.cpp
  52. +0
    -0
      src/geometry/mesh-accelerator.hpp
  53. +0
    -0
      src/geometry/mesh-functions.cpp
  54. +0
    -0
      src/geometry/mesh-functions.hpp
  55. +0
    -0
      src/geometry/mesh.cpp
  56. +0
    -0
      src/geometry/mesh.hpp
  57. +0
    -0
      src/geometry/plane.hpp
  58. +0
    -0
      src/geometry/ray.hpp
  59. +0
    -0
      src/geometry/sphere.hpp
  60. +0
    -0
      src/geometry/view-frustum.hpp
  61. +0
    -1138
      src/glad/glad.c
  62. +0
    -2135
      src/glad/glad.h
  63. +0
    -290
      src/glad/khrplatform.h
  64. +0
    -0
      src/input/control-set.cpp
  65. +0
    -0
      src/input/control-set.hpp
  66. +0
    -0
      src/input/control.cpp
  67. +0
    -0
      src/input/control.hpp
  68. +0
    -0
      src/input/game-controller.cpp
  69. +0
    -0
      src/input/game-controller.hpp
  70. +0
    -0
      src/input/input-device.cpp
  71. +0
    -0
      src/input/input-device.hpp
  72. +0
    -0
      src/input/input-event-router.cpp
  73. +0
    -0
      src/input/input-event-router.hpp
  74. +0
    -0
      src/input/input-events.cpp
  75. +0
    -0
      src/input/input-events.hpp
  76. +0
    -0
      src/input/input-mapper.cpp
  77. +0
    -0
      src/input/input-mapper.hpp
  78. +0
    -0
      src/input/input-mapping.cpp
  79. +0
    -0
      src/input/input-mapping.hpp
  80. +0
    -0
      src/input/keyboard.cpp
  81. +0
    -0
      src/input/keyboard.hpp
  82. +0
    -0
      src/input/mouse.cpp
  83. +0
    -0
      src/input/mouse.hpp
  84. +0
    -0
      src/input/scancode.hpp
  85. +0
    -0
      src/input/sdl-game-controller-tables.cpp
  86. +0
    -0
      src/input/sdl-game-controller-tables.hpp
  87. +0
    -0
      src/input/sdl-scancode-table.cpp
  88. +0
    -0
      src/input/sdl-scancode-table.hpp
  89. +0
    -0
      src/main.cpp
  90. +0
    -0
      src/marching-cubes.cpp
  91. +0
    -0
      src/marching-cubes.hpp
  92. +0
    -0
      src/math.hpp
  93. +0
    -0
      src/morton.cpp
  94. +0
    -0
      src/morton.hpp
  95. +0
    -0
      src/nest.cpp
  96. +0
    -0
      src/nest.hpp
  97. +0
    -22684
      src/nlohmann/json.hpp
  98. +0
    -0
      src/octree.hpp
  99. +0
    -0
      src/orbit-cam.cpp
  100. +0
    -0
      src/orbit-cam.hpp

+ 14
- 10
CMakeLists.txt View File

@ -22,6 +22,9 @@ endif()
# Find dependency packages # Find dependency packages
find_package(vmq REQUIRED CONFIG) find_package(vmq REQUIRED CONFIG)
find_package(dr_wav REQUIRED CONFIG)
find_package(stb REQUIRED CONFIG)
find_package(glad REQUIRED CONFIG)
find_package(EnTT REQUIRED CONFIG) find_package(EnTT REQUIRED CONFIG)
find_package(OpenGL REQUIRED) find_package(OpenGL REQUIRED)
find_package(SDL2 REQUIRED COMPONENTS SDL2::SDL2-static SDL2::SDL2main CONFIG) find_package(SDL2 REQUIRED COMPONENTS SDL2::SDL2-static SDL2::SDL2main CONFIG)
@ -30,6 +33,9 @@ find_package(OpenAL REQUIRED CONFIG)
# Determine dependencies # Determine dependencies
set(STATIC_LIBS set(STATIC_LIBS
vmq vmq
dr_wav
stb
glad
EnTT EnTT
SDL2::SDL2main) SDL2::SDL2main)
set(SHARED_LIBS set(SHARED_LIBS
@ -38,25 +44,24 @@ set(SHARED_LIBS
OpenAL::OpenAL) OpenAL::OpenAL)
# Generate configuration header file # Generate configuration header file
configure_file(${PROJECT_SOURCE_DIR}/src/antkeeper/configuration.hpp.in
${PROJECT_BINARY_DIR}/src/antkeeper/configuration.hpp)
configure_file(${PROJECT_SOURCE_DIR}/src/configuration.hpp.in
${PROJECT_BINARY_DIR}/src/configuration.hpp)
# Collect source files # Collect source files
file(GLOB_RECURSE SOURCE_FILES file(GLOB_RECURSE SOURCE_FILES
${PROJECT_SOURCE_DIR}/src/*.cpp
${PROJECT_SOURCE_DIR}/src/*.c)
${PROJECT_SOURCE_DIR}/src/*.cpp)
if(MSVC) if(MSVC)
# Generate Windows icon resource file # Generate Windows icon resource file
set(ICON_FILE "${PROJECT_SOURCE_DIR}/../antkeeper-data/src/icons/antkeeper.ico") set(ICON_FILE "${PROJECT_SOURCE_DIR}/../antkeeper-data/src/icons/antkeeper.ico")
configure_file(${PROJECT_SOURCE_DIR}/src/antkeeper/platform/windows/icon.rc.in
${PROJECT_BINARY_DIR}/src/antkeeper/platform/windows/icon.rc)
configure_file(${PROJECT_SOURCE_DIR}/src/platform/windows/icon.rc.in
${PROJECT_BINARY_DIR}/src/platform/windows/icon.rc)
# Add executable icon # Add executable icon
list(APPEND SOURCE_FILES "${PROJECT_BINARY_DIR}/src/antkeeper/platform/windows/icon.rc")
list(APPEND SOURCE_FILES "${PROJECT_BINARY_DIR}/src/platform/windows/icon.rc")
# Make DPI-aware on Windows # Make DPI-aware on Windows
list(APPEND SOURCE_FILES "${PROJECT_SOURCE_DIR}/src/antkeeper/platform/windows/dpi-aware.manifest")
list(APPEND SOURCE_FILES "${PROJECT_SOURCE_DIR}/src/platform/windows/dpi-aware.manifest")
endif() endif()
# Add executable target # Add executable target
@ -91,8 +96,7 @@ endif(MSVC)
target_include_directories(${EXECUTABLE_TARGET} target_include_directories(${EXECUTABLE_TARGET}
PUBLIC PUBLIC
${PROJECT_SOURCE_DIR}/src ${PROJECT_SOURCE_DIR}/src
${PROJECT_SOURCE_DIR}/src/antkeeper
${PROJECT_BINARY_DIR}/src/antkeeper)
${PROJECT_BINARY_DIR}/src)
# Link to dependencies # Link to dependencies
target_link_libraries(${EXECUTABLE_TARGET} ${STATIC_LIBS} ${SHARED_LIBS}) target_link_libraries(${EXECUTABLE_TARGET} ${STATIC_LIBS} ${SHARED_LIBS})

src/antkeeper/animation/animation.cpp → src/animation/animation.cpp View File


src/antkeeper/animation/animation.hpp → src/animation/animation.hpp View File


src/antkeeper/animation/easings.hpp → src/animation/easings.hpp View File


src/antkeeper/animation/timeline.cpp → src/animation/timeline.cpp View File


src/antkeeper/animation/timeline.hpp → src/animation/timeline.hpp View File


src/antkeeper/animation/tween.hpp → src/animation/tween.hpp View File


src/antkeeper/application.cpp → src/application.cpp View File


src/antkeeper/application.hpp → src/application.hpp View File


src/antkeeper/behavior/behavior-tree.hpp → src/behavior/behavior-tree.hpp View File


src/antkeeper/behavior/ebt.cpp → src/behavior/ebt.cpp View File


src/antkeeper/behavior/ebt.hpp → src/behavior/ebt.hpp View File


src/antkeeper/camera-rig.cpp → src/camera-rig.cpp View File


src/antkeeper/camera-rig.hpp → src/camera-rig.hpp View File


src/antkeeper/configuration.hpp.in → src/configuration.hpp.in View File


src/antkeeper/debug/ansi-codes.hpp → src/debug/ansi-codes.hpp View File


src/antkeeper/debug/cli.hpp → src/debug/cli.hpp View File


src/antkeeper/debug/logger.cpp → src/debug/logger.cpp View File


src/antkeeper/debug/logger.hpp → src/debug/logger.hpp View File


src/antkeeper/debug/performance-sampler.cpp → src/debug/performance-sampler.cpp View File


src/antkeeper/debug/performance-sampler.hpp → src/debug/performance-sampler.hpp View File


+ 0
- 2
src/dr_libs/dr_wav.cpp View File

@ -1,2 +0,0 @@
#define DR_WAV_IMPLEMENTATION
#include "dr_wav.h"

+ 0
- 4377
src/dr_libs/dr_wav.h
File diff suppressed because it is too large
View File


src/antkeeper/entity/archetype.hpp → src/entity/archetype.hpp View File


src/antkeeper/entity/components/behavior-component.hpp → src/entity/components/behavior-component.hpp View File


src/antkeeper/entity/components/cavity-component.hpp → src/entity/components/cavity-component.hpp View File


src/antkeeper/entity/components/collision-component.hpp → src/entity/components/collision-component.hpp View File


src/antkeeper/entity/components/locomotion-component.hpp → src/entity/components/locomotion-component.hpp View File


src/antkeeper/entity/components/model-component.hpp → src/entity/components/model-component.hpp View File


src/antkeeper/entity/components/nest-component.hpp → src/entity/components/nest-component.hpp View File


src/antkeeper/entity/components/placement-component.hpp → src/entity/components/placement-component.hpp View File


src/antkeeper/entity/components/samara-component.hpp → src/entity/components/samara-component.hpp View File


src/antkeeper/entity/components/terrain-component.hpp → src/entity/components/terrain-component.hpp View File


src/antkeeper/entity/components/tool-component.hpp → src/entity/components/tool-component.hpp View File


src/antkeeper/entity/components/transform-component.hpp → src/entity/components/transform-component.hpp View File


src/antkeeper/event/event-dispatcher.cpp → src/event/event-dispatcher.cpp View File


src/antkeeper/event/event-dispatcher.hpp → src/event/event-dispatcher.hpp View File


src/antkeeper/event/event-handler.hpp → src/event/event-handler.hpp View File


src/antkeeper/event/event.hpp → src/event/event.hpp View File


src/antkeeper/filesystem.cpp → src/filesystem.cpp View File


src/antkeeper/filesystem.hpp → src/filesystem.hpp View File


src/antkeeper/frame-scheduler.cpp → src/frame-scheduler.cpp View File


src/antkeeper/frame-scheduler.hpp → src/frame-scheduler.hpp View File


src/antkeeper/geometry/aabb.hpp → src/geometry/aabb.hpp View File


src/antkeeper/geometry/bounding-volume.hpp → src/geometry/bounding-volume.hpp View File


src/antkeeper/geometry/convex-hull.hpp → src/geometry/convex-hull.hpp View File


src/antkeeper/geometry/csg.cpp → src/geometry/csg.cpp View File


src/antkeeper/geometry/csg.hpp → src/geometry/csg.hpp View File


src/antkeeper/geometry/intersection.cpp → src/geometry/intersection.cpp View File


src/antkeeper/geometry/intersection.hpp → src/geometry/intersection.hpp View File


src/antkeeper/geometry/mesh-accelerator.cpp → src/geometry/mesh-accelerator.cpp View File


src/antkeeper/geometry/mesh-accelerator.hpp → src/geometry/mesh-accelerator.hpp View File


src/antkeeper/geometry/mesh-functions.cpp → src/geometry/mesh-functions.cpp View File


src/antkeeper/geometry/mesh-functions.hpp → src/geometry/mesh-functions.hpp View File


src/antkeeper/geometry/mesh.cpp → src/geometry/mesh.cpp View File


src/antkeeper/geometry/mesh.hpp → src/geometry/mesh.hpp View File


src/antkeeper/geometry/plane.hpp → src/geometry/plane.hpp View File


src/antkeeper/geometry/ray.hpp → src/geometry/ray.hpp View File


src/antkeeper/geometry/sphere.hpp → src/geometry/sphere.hpp View File


src/antkeeper/geometry/view-frustum.hpp → src/geometry/view-frustum.hpp View File


+ 0
- 1138
src/glad/glad.c
File diff suppressed because it is too large
View File


+ 0
- 2135
src/glad/glad.h
File diff suppressed because it is too large
View File


+ 0
- 290
src/glad/khrplatform.h View File

@ -1,290 +0,0 @@
#ifndef __khrplatform_h_
#define __khrplatform_h_
/*
** Copyright (c) 2008-2018 The Khronos Group Inc.
**
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and/or associated documentation files (the
** "Materials"), to deal in the Materials without restriction, including
** without limitation the rights to use, copy, modify, merge, publish,
** distribute, sublicense, and/or sell copies of the Materials, and to
** permit persons to whom the Materials are furnished to do so, subject to
** the following conditions:
**
** The above copyright notice and this permission notice shall be included
** in all copies or substantial portions of the Materials.
**
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
*/
/* Khronos platform-specific types and definitions.
*
* The master copy of khrplatform.h is maintained in the Khronos EGL
* Registry repository at https://github.com/KhronosGroup/EGL-Registry
* The last semantic modification to khrplatform.h was at commit ID:
* 67a3e0864c2d75ea5287b9f3d2eb74a745936692
*
* Adopters may modify this file to suit their platform. Adopters are
* encouraged to submit platform specific modifications to the Khronos
* group so that they can be included in future versions of this file.
* Please submit changes by filing pull requests or issues on
* the EGL Registry repository linked above.
*
*
* See the Implementer's Guidelines for information about where this file
* should be located on your system and for more details of its use:
* http://www.khronos.org/registry/implementers_guide.pdf
*
* This file should be included as
* #include <KHR/khrplatform.h>
* by Khronos client API header files that use its types and defines.
*
* The types in khrplatform.h should only be used to define API-specific types.
*
* Types defined in khrplatform.h:
* khronos_int8_t signed 8 bit
* khronos_uint8_t unsigned 8 bit
* khronos_int16_t signed 16 bit
* khronos_uint16_t unsigned 16 bit
* khronos_int32_t signed 32 bit
* khronos_uint32_t unsigned 32 bit
* khronos_int64_t signed 64 bit
* khronos_uint64_t unsigned 64 bit
* khronos_intptr_t signed same number of bits as a pointer
* khronos_uintptr_t unsigned same number of bits as a pointer
* khronos_ssize_t signed size
* khronos_usize_t unsigned size
* khronos_float_t signed 32 bit floating point
* khronos_time_ns_t unsigned 64 bit time in nanoseconds
* khronos_utime_nanoseconds_t unsigned time interval or absolute time in
* nanoseconds
* khronos_stime_nanoseconds_t signed time interval in nanoseconds
* khronos_boolean_enum_t enumerated boolean type. This should
* only be used as a base type when a client API's boolean type is
* an enum. Client APIs which use an integer or other type for
* booleans cannot use this as the base type for their boolean.
*
* Tokens defined in khrplatform.h:
*
* KHRONOS_FALSE, KHRONOS_TRUE Enumerated boolean false/true values.
*
* KHRONOS_SUPPORT_INT64 is 1 if 64 bit integers are supported; otherwise 0.
* KHRONOS_SUPPORT_FLOAT is 1 if floats are supported; otherwise 0.
*
* Calling convention macros defined in this file:
* KHRONOS_APICALL
* KHRONOS_APIENTRY
* KHRONOS_APIATTRIBUTES
*
* These may be used in function prototypes as:
*
* KHRONOS_APICALL void KHRONOS_APIENTRY funcname(
* int arg1,
* int arg2) KHRONOS_APIATTRIBUTES;
*/
#if defined(__SCITECH_SNAP__) && !defined(KHRONOS_STATIC)
# define KHRONOS_STATIC 1
#endif
/*-------------------------------------------------------------------------
* Definition of KHRONOS_APICALL
*-------------------------------------------------------------------------
* This precedes the return type of the function in the function prototype.
*/
#if defined(KHRONOS_STATIC)
/* If the preprocessor constant KHRONOS_STATIC is defined, make the
* header compatible with static linking. */
# define KHRONOS_APICALL
#elif defined(_WIN32)
# define KHRONOS_APICALL __declspec(dllimport)
#elif defined (__SYMBIAN32__)
# define KHRONOS_APICALL IMPORT_C
#elif defined(__ANDROID__)
# define KHRONOS_APICALL __attribute__((visibility("default")))
#else
# define KHRONOS_APICALL
#endif
/*-------------------------------------------------------------------------
* Definition of KHRONOS_APIENTRY
*-------------------------------------------------------------------------
* This follows the return type of the function and precedes the function
* name in the function prototype.
*/
#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(KHRONOS_STATIC)
/* Win32 but not WinCE */
# define KHRONOS_APIENTRY __stdcall
#else
# define KHRONOS_APIENTRY
#endif
/*-------------------------------------------------------------------------
* Definition of KHRONOS_APIATTRIBUTES
*-------------------------------------------------------------------------
* This follows the closing parenthesis of the function prototype arguments.
*/
#if defined (__ARMCC_2__)
#define KHRONOS_APIATTRIBUTES __softfp
#else
#define KHRONOS_APIATTRIBUTES
#endif
/*-------------------------------------------------------------------------
* basic type definitions
*-----------------------------------------------------------------------*/
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__)
/*
* Using <stdint.h>
*/
#include <stdint.h>
typedef int32_t khronos_int32_t;
typedef uint32_t khronos_uint32_t;
typedef int64_t khronos_int64_t;
typedef uint64_t khronos_uint64_t;
#define KHRONOS_SUPPORT_INT64 1
#define KHRONOS_SUPPORT_FLOAT 1
#elif defined(__VMS ) || defined(__sgi)
/*
* Using <inttypes.h>
*/
#include <inttypes.h>
typedef int32_t khronos_int32_t;
typedef uint32_t khronos_uint32_t;
typedef int64_t khronos_int64_t;
typedef uint64_t khronos_uint64_t;
#define KHRONOS_SUPPORT_INT64 1
#define KHRONOS_SUPPORT_FLOAT 1
#elif defined(_WIN32) && !defined(__SCITECH_SNAP__)
/*
* Win32
*/
typedef __int32 khronos_int32_t;
typedef unsigned __int32 khronos_uint32_t;
typedef __int64 khronos_int64_t;
typedef unsigned __int64 khronos_uint64_t;
#define KHRONOS_SUPPORT_INT64 1
#define KHRONOS_SUPPORT_FLOAT 1
#elif defined(__sun__) || defined(__digital__)
/*
* Sun or Digital
*/
typedef int khronos_int32_t;
typedef unsigned int khronos_uint32_t;
#if defined(__arch64__) || defined(_LP64)
typedef long int khronos_int64_t;
typedef unsigned long int khronos_uint64_t;
#else
typedef long long int khronos_int64_t;
typedef unsigned long long int khronos_uint64_t;
#endif /* __arch64__ */
#define KHRONOS_SUPPORT_INT64 1
#define KHRONOS_SUPPORT_FLOAT 1
#elif 0
/*
* Hypothetical platform with no float or int64 support
*/
typedef int khronos_int32_t;
typedef unsigned int khronos_uint32_t;
#define KHRONOS_SUPPORT_INT64 0
#define KHRONOS_SUPPORT_FLOAT 0
#else
/*
* Generic fallback
*/
#include <stdint.h>
typedef int32_t khronos_int32_t;
typedef uint32_t khronos_uint32_t;
typedef int64_t khronos_int64_t;
typedef uint64_t khronos_uint64_t;
#define KHRONOS_SUPPORT_INT64 1
#define KHRONOS_SUPPORT_FLOAT 1
#endif
/*
* Types that are (so far) the same on all platforms
*/
typedef signed char khronos_int8_t;
typedef unsigned char khronos_uint8_t;
typedef signed short int khronos_int16_t;
typedef unsigned short int khronos_uint16_t;
/*
* Types that differ between LLP64 and LP64 architectures - in LLP64,
* pointers are 64 bits, but 'long' is still 32 bits. Win64 appears
* to be the only LLP64 architecture in current use.
*/
#ifdef _WIN64
typedef signed long long int khronos_intptr_t;
typedef unsigned long long int khronos_uintptr_t;
typedef signed long long int khronos_ssize_t;
typedef unsigned long long int khronos_usize_t;
#else
typedef signed long int khronos_intptr_t;
typedef unsigned long int khronos_uintptr_t;
typedef signed long int khronos_ssize_t;
typedef unsigned long int khronos_usize_t;
#endif
#if KHRONOS_SUPPORT_FLOAT
/*
* Float type
*/
typedef float khronos_float_t;
#endif
#if KHRONOS_SUPPORT_INT64
/* Time types
*
* These types can be used to represent a time interval in nanoseconds or
* an absolute Unadjusted System Time. Unadjusted System Time is the number
* of nanoseconds since some arbitrary system event (e.g. since the last
* time the system booted). The Unadjusted System Time is an unsigned
* 64 bit value that wraps back to 0 every 584 years. Time intervals
* may be either signed or unsigned.
*/
typedef khronos_uint64_t khronos_utime_nanoseconds_t;
typedef khronos_int64_t khronos_stime_nanoseconds_t;
#endif
/*
* Dummy value used to pad enum types to 32 bits.
*/
#ifndef KHRONOS_MAX_ENUM
#define KHRONOS_MAX_ENUM 0x7FFFFFFF
#endif
/*
* Enumerated boolean type
*
* Values other than zero should be considered to be true. Therefore
* comparisons should not be made against KHRONOS_TRUE.
*/
typedef enum {
KHRONOS_FALSE = 0,
KHRONOS_TRUE = 1,
KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM
} khronos_boolean_enum_t;
#endif /* __khrplatform_h_ */

src/antkeeper/input/control-set.cpp → src/input/control-set.cpp View File


src/antkeeper/input/control-set.hpp → src/input/control-set.hpp View File


src/antkeeper/input/control.cpp → src/input/control.cpp View File


src/antkeeper/input/control.hpp → src/input/control.hpp View File


src/antkeeper/input/game-controller.cpp → src/input/game-controller.cpp View File


src/antkeeper/input/game-controller.hpp → src/input/game-controller.hpp View File


src/antkeeper/input/input-device.cpp → src/input/input-device.cpp View File


src/antkeeper/input/input-device.hpp → src/input/input-device.hpp View File


src/antkeeper/input/input-event-router.cpp → src/input/input-event-router.cpp View File


src/antkeeper/input/input-event-router.hpp → src/input/input-event-router.hpp View File


src/antkeeper/input/input-events.cpp → src/input/input-events.cpp View File


src/antkeeper/input/input-events.hpp → src/input/input-events.hpp View File


src/antkeeper/input/input-mapper.cpp → src/input/input-mapper.cpp View File


src/antkeeper/input/input-mapper.hpp → src/input/input-mapper.hpp View File


src/antkeeper/input/input-mapping.cpp → src/input/input-mapping.cpp View File


src/antkeeper/input/input-mapping.hpp → src/input/input-mapping.hpp View File


src/antkeeper/input/keyboard.cpp → src/input/keyboard.cpp View File


src/antkeeper/input/keyboard.hpp → src/input/keyboard.hpp View File


src/antkeeper/input/mouse.cpp → src/input/mouse.cpp View File


src/antkeeper/input/mouse.hpp → src/input/mouse.hpp View File


src/antkeeper/input/scancode.hpp → src/input/scancode.hpp View File


src/antkeeper/input/sdl-game-controller-tables.cpp → src/input/sdl-game-controller-tables.cpp View File


src/antkeeper/input/sdl-game-controller-tables.hpp → src/input/sdl-game-controller-tables.hpp View File


src/antkeeper/input/sdl-scancode-table.cpp → src/input/sdl-scancode-table.cpp View File


src/antkeeper/input/sdl-scancode-table.hpp → src/input/sdl-scancode-table.hpp View File


src/antkeeper/main.cpp → src/main.cpp View File


src/antkeeper/marching-cubes.cpp → src/marching-cubes.cpp View File


src/antkeeper/marching-cubes.hpp → src/marching-cubes.hpp View File


src/antkeeper/math.hpp → src/math.hpp View File


src/antkeeper/morton.cpp → src/morton.cpp View File


src/antkeeper/morton.hpp → src/morton.hpp View File


src/antkeeper/nest.cpp → src/nest.cpp View File


src/antkeeper/nest.hpp → src/nest.hpp View File


+ 0
- 22684
src/nlohmann/json.hpp
File diff suppressed because it is too large
View File


src/antkeeper/octree.hpp → src/octree.hpp View File


src/antkeeper/orbit-cam.cpp → src/orbit-cam.cpp View File


src/antkeeper/orbit-cam.hpp → src/orbit-cam.hpp View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save