93ab7690ba
Adds missing test coverage for the asset pipeline's binary loaders (mesh/model/texture), assetfile.c, and assetbatch.c, plus a new test/event suite for the shared event primitive. Found and fixed two real bugs while writing this: - assetFileRead's NULL-buffer skip path double-counted file->position, which could trip stb_image's EOF check early on images that skip bytes mid-decode. - eventSubscribe/eventUnsubscribe matched only on the callback pointer instead of the (callback, user) pair the docs already promised, so two independent consumers of the same cached asset (e.g. two assetbatch_t's) would abort. Covered by dedicated caching tests in both test_assetbatch.c and test_assetmodelloader.c. Also drops test_overworldscene.c, broken by the in-progress overworldscene.js/init.js export-contract rewrite. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
23 lines
553 B
CMake
23 lines
553 B
CMake
# Copyright (c) 2026 Dominic Masters
|
|
#
|
|
# This software is released under the MIT License.
|
|
# https://opensource.org/licenses/MIT
|
|
|
|
add_subdirectory(animation)
|
|
add_subdirectory(assert)
|
|
add_subdirectory(asset)
|
|
add_subdirectory(error)
|
|
add_subdirectory(event)
|
|
if(DUSK_NETWORKING)
|
|
add_subdirectory(network)
|
|
endif()
|
|
add_subdirectory(thread)
|
|
add_subdirectory(display)
|
|
add_subdirectory(entity)
|
|
add_subdirectory(physics)
|
|
add_subdirectory(scene)
|
|
# add_subdirectory(item)
|
|
add_subdirectory(script)
|
|
add_subdirectory(time)
|
|
add_subdirectory(ui)
|
|
add_subdirectory(util) |