summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trunk/libsprite.c2
-rw-r--r--trunk/libsprite.h1
-rw-r--r--trunk/test-data/32bpp-alpha-testbin0 -> 30356 bytes
-rw-r--r--trunk/test-data/primary-color-16bppbin0 -> 180144 bytes
-rw-r--r--trunk/test-data/smallbin0 -> 224 bytes
5 files changed, 1 insertions, 2 deletions
diff --git a/trunk/libsprite.c b/trunk/libsprite.c
index 98401f2..1a9d1ea 100644
--- a/trunk/libsprite.c
+++ b/trunk/libsprite.c
@@ -521,8 +521,6 @@ static void sprite_load_low_color(uint8_t* image_in, uint8_t* mask, struct rospr
currentword = BTUINT((image_in + current_byte_index));
current_byte_index += 4;
}
-
- printf("\n");
}
if (sprite->has_mask) free(mask_state);
diff --git a/trunk/libsprite.h b/trunk/libsprite.h
index 6c5b055..9d5091a 100644
--- a/trunk/libsprite.h
+++ b/trunk/libsprite.h
@@ -2,6 +2,7 @@
#define ROSPRITE_H
#include <stdint.h>
+#include <stdio.h>
#include <stdbool.h>
typedef enum { rosprite_rgb, rosprite_cmyk } rosprite_color_model;
diff --git a/trunk/test-data/32bpp-alpha-test b/trunk/test-data/32bpp-alpha-test
new file mode 100644
index 0000000..92ebd63
--- /dev/null
+++ b/trunk/test-data/32bpp-alpha-test
Binary files differ
diff --git a/trunk/test-data/primary-color-16bpp b/trunk/test-data/primary-color-16bpp
new file mode 100644
index 0000000..fba7a08
--- /dev/null
+++ b/trunk/test-data/primary-color-16bpp
Binary files differ
diff --git a/trunk/test-data/small b/trunk/test-data/small
new file mode 100644
index 0000000..5552782
--- /dev/null
+++ b/trunk/test-data/small
Binary files differ