Create Splash.cpp
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
JABY_ENGINE_DIR = ../../
|
||||
|
||||
ARTIFACT = libJabyEngine
|
||||
BUILD_DIR = bin
|
||||
|
||||
@@ -21,7 +23,7 @@ $(LIB_DIR)/$(ARTIFACT).a: $(TARGET).a
|
||||
cp $(TARGET).a $(LIB_DIR)/$(ARTIFACT).a
|
||||
|
||||
ressources/Splash.cpp: ressources/Splash.png
|
||||
echo wuff
|
||||
jaby_engine_fconv $< simple-tim full16 | cpp_out --name SplashScreen -o $@
|
||||
|
||||
#Rules section for default compilation and linking
|
||||
splash: ressources/Splash.cpp
|
||||
|
BIN
src/Library/ressources/Splash.png
(Stored with Git LFS)
BIN
src/Library/ressources/Splash.png
(Stored with Git LFS)
Binary file not shown.
@@ -51,7 +51,7 @@ fn encode<T: PSXImageConverter>(image: T, clut_align: ClutAlignment, mut output:
|
||||
}
|
||||
};
|
||||
|
||||
let header = Header::encode(width, height, pal_width, pal_height).ok_or(Error::from_callback(|| {format!("Image size {}, {} needs to be even", width, height)}))?;
|
||||
let header = Header::encode(width, height, pal_width, pal_height).ok_or(Error::from_callback(|| {format!("Image size (width: {}, height: {}) needs to be even", width, height)}))?;
|
||||
|
||||
tool_helper::raw::write_generic(&mut output, header)?;
|
||||
if let Some(palette) = palette {
|
||||
|
Reference in New Issue
Block a user