summaryrefslogtreecommitdiffstats
path: root/ue2/imgsynth2/test/input_yellow_man2_indexed8
diff options
context:
space:
mode:
authormanuel <manuel@nc8430.lan>2009-05-02 16:44:53 +0200
committermanuel <manuel@nc8430.lan>2009-05-02 16:44:53 +0200
commitbcadfa267f976fe9f29afa50a635cbe3ea174e38 (patch)
treeb069a34c9d100dcc9229311b47cbfa0697ee7fc9 /ue2/imgsynth2/test/input_yellow_man2_indexed8
parentbca08c6de2b156cbec90944c809e5e7faecd231d (diff)
downloadooprog-bcadfa267f976fe9f29afa50a635cbe3ea174e38.tar.gz
ooprog-bcadfa267f976fe9f29afa50a635cbe3ea174e38.tar.bz2
ooprog-bcadfa267f976fe9f29afa50a635cbe3ea174e38.zip
- colortable now uses uint32_t as identifier
- rewrote xpm colortable parsing to convert their identifiers to our own and vica vi - implemented indexed8::setpixel/getpixel - moved rowsize to member variable in cbitmap - added second test for xpm/indexed8
Diffstat (limited to 'ue2/imgsynth2/test/input_yellow_man2_indexed8')
-rw-r--r--ue2/imgsynth2/test/input_yellow_man2_indexed813
1 files changed, 13 insertions, 0 deletions
diff --git a/ue2/imgsynth2/test/input_yellow_man2_indexed8 b/ue2/imgsynth2/test/input_yellow_man2_indexed8
new file mode 100644
index 0000000..440c653
--- /dev/null
+++ b/ue2/imgsynth2/test/input_yellow_man2_indexed8
@@ -0,0 +1,13 @@
1#in: test/yellow_man2_indexed8_in.xpm
2#out: test/yellow_man2_indexed8_out.xpm
3#ref: test/yellow_man2_indexed8_ref.xpm
4
5read(XPM, test/yellow_man2_indexed8_in.xpm)
6
7fillrect(0,3,6,5,0,255,0)
8fillrect(2,13,7,4,0,0,255)
9mirror_x()
10mirror_y()
11invert()
12
13write(XPM, test/yellow_man2_indexed8_out.xpm)