XML data layer: pugixml (external/pugixml, v1.15), a format-neutral DataNode API for every loader, DataFormat=auto|json|xml (default xml), KAGE's archive file system ported (index once, four unpackers, the original's mount order) so --resources can point at an install's resources/ with no import step, the original XML .anm2 loader beside Anm2Ed JSON, mods' own XML; 72 goldens identical from converted resources and from the install
This commit is contained in:
1 parent
74322af121
commit
6d8a43775d
52 files changed
+1513
-909
No files matched your search
+8
-2
@@ -30,11 +30,17 @@ add_library(lua STATIC ${LUA_SOURCES})
|
||||
target_include_directories(lua SYSTEM PUBLIC external/lua)
|
||||
target_compile_definitions(lua PRIVATE LUA_USE_POSIX)
|
||||
|
||||
# simdjson: its single-file build, static, without exceptions, for the JSON the import tool writes into resources/.
|
||||
# simdjson: its single-file build, static, without exceptions, for the JSON the import tool writes into resources/
|
||||
# and Anm2Ed's .anm2 documents.
|
||||
add_library(simdjson STATIC external/simdjson/singleheader/simdjson.cpp)
|
||||
target_include_directories(simdjson SYSTEM PUBLIC external/simdjson/singleheader)
|
||||
target_compile_definitions(simdjson PUBLIC SIMDJSON_EXCEPTIONS=0)
|
||||
|
||||
# pugixml for the game's own XML (the install's data and anm2 files, mods' XML): static, without XPath or exceptions.
|
||||
add_library(pugixml STATIC external/pugixml/src/pugixml.cpp)
|
||||
target_include_directories(pugixml SYSTEM PUBLIC external/pugixml/src)
|
||||
target_compile_definitions(pugixml PUBLIC PUGIXML_NO_XPATH PUGIXML_NO_EXCEPTIONS)
|
||||
|
||||
# Xiph's Ogg, Vorbis and Theora for the cutscene videos (.ogv): static, decoders only.
|
||||
set(INCLUDE_INTTYPES_H 1)
|
||||
set(INCLUDE_STDINT_H 1)
|
||||
@@ -98,7 +104,7 @@ endif()
|
||||
add_executable(isaac ${SOURCES} generated-src/stubs.cpp)
|
||||
target_include_directories(isaac PRIVATE src)
|
||||
target_include_directories(isaac SYSTEM PRIVATE generated-src external/stb)
|
||||
target_link_libraries(isaac PRIVATE SDL3::SDL3-static lua simdjson theora vorbis ogg)
|
||||
target_link_libraries(isaac PRIVATE SDL3::SDL3-static lua simdjson pugixml theora vorbis ogg)
|
||||
if(ISAAC_OVERLAY)
|
||||
target_compile_definitions(isaac PRIVATE ISAAC_OVERLAY)
|
||||
target_link_libraries(isaac PRIVATE imgui)
|
||||
|
||||
Reference in new issue
Block a user