mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-18 20:16:44 -04:00
Support for sprites was added to libiff.
Support for SPR# and SPR2 was added to iff2html. *NOTE: The default exporter used is the PNG one, since web browsers don't like targa. However, since there is a bug in my PNG exporter, I would recommend that you use the targa exporter for a precise representation of the loaded sprite frame(s). Feel free to fix the PNG exporter, btw :)
This commit is contained in:
parent
02dff475c8
commit
6c85920535
16 changed files with 1150 additions and 84 deletions
|
@ -19,14 +19,17 @@ set(FILEHANDLER_SOURCES
|
|||
File.cpp
|
||||
Image.cpp
|
||||
cst/cst.c
|
||||
iff/stbl.c
|
||||
iff/bhav.c
|
||||
iff/stbl.c
|
||||
iff/bhav.c
|
||||
iff/sprite.c
|
||||
iff/chunks.c
|
||||
iff/iff.c
|
||||
)
|
||||
|
||||
include_directories(${CMAKE_SOURCE_DIR}/Libraries/FileHandler)
|
||||
|
||||
include_directories(${CMAKE_SOURCE_DIR}/Libraries/FileHandler/libpng)
|
||||
|
||||
add_library(FileHandler_static STATIC ${FILEHANDLER_SOURCES})
|
||||
set_target_properties(FileHandler_static PROPERTIES
|
||||
OUTPUT_NAME "FileHandler${FILEHANDLER_SERIES}"
|
||||
|
@ -41,4 +44,4 @@ set_target_properties(FileHandler_shared PROPERTIES
|
|||
PREFIX ""
|
||||
IMPORT_PREFIX ""
|
||||
CLEAN_DIRECT_OUTPUT 1)
|
||||
target_link_libraries(FileHandler_shared kernel32 jpegturbo_static)
|
||||
target_link_libraries(FileHandler_shared kernel32 jpegturbo_static zlib_shared libpng_static)
|
Loading…
Add table
Add a link
Reference in a new issue