mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
b94458f561
Adapting movie and mve interfaces each other. Converted open() to fopen() et al. calls. movie expected image as RGB565 from old mve, but now it's RGB555, so there no need additional conversion. Fixed hicolor related conversion of width in movie's callbacks. Headers cleanup in both subsystems. Sound and frame callbacks are still unavailable.
22 lines
356 B
CMake
22 lines
356 B
CMake
set(CPPS
|
|
# mveasm.cpp
|
|
# mvelibl.cpp
|
|
# platform.cpp
|
|
lnxdsound.cpp
|
|
|
|
# d2x implementation
|
|
decoder8.cpp
|
|
decoder16.cpp
|
|
mve_audio.cpp
|
|
mvelib.cpp
|
|
mveplay.cpp
|
|
)
|
|
|
|
add_library(libmve STATIC ${CPPS})
|
|
target_link_libraries(libmve PRIVATE SDL2::SDL2)
|
|
target_include_directories(libmve PUBLIC
|
|
$<BUILD_INTERFACE:
|
|
${PROJECT_SOURCE_DIR}/libmve
|
|
>
|
|
)
|