This commit is contained in:
Nishi 2026-01-19 14:22:14 +09:00
commit 58f3dbc6a9
7 changed files with 4023 additions and 0 deletions

View file

@ -16,7 +16,9 @@ endmacro()
add_subdirectory(external/lz4)
add_subdirectory(external/ode)
include_directories(external/stb)
include_directories(external/jar)
file(GLOB GearSrc_SRC src/*.c)

14
engine/external/jar/LICENSE vendored Normal file
View file

@ -0,0 +1,14 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

1395
engine/external/jar/jar_mod.h vendored Normal file

File diff suppressed because it is too large Load diff

2604
engine/external/jar/jar_xm.h vendored Normal file

File diff suppressed because it is too large Load diff

View file

@ -36,6 +36,10 @@ typedef unsigned short GSU16;
typedef unsigned int GSU32;
typedef unsigned long GSU64;
#endif
typedef GSU8 GSBool;
#define GSTrue ((GSBool)1)
#define GSFalse ((GSBool)0)
typedef struct _GSVersion GSVersion;
typedef struct _GSEngineParam GSEngineParam;

2
engine/src/jar_mod.c Normal file
View file

@ -0,0 +1,2 @@
#define JAR_MOD_IMPLEMENTATION
#include <jar_mod.h>

2
engine/src/jar_xm.c Normal file
View file

@ -0,0 +1,2 @@
#define JAR_XM_IMPLEMENTATION
#include <jar_xm.h>