diff options
Diffstat (limited to 'ue2/imgsynth2/test')
| -rw-r--r-- | ue2/imgsynth2/test/input_yellow_man1_indexed8 | 4 | ||||
| -rw-r--r-- | ue2/imgsynth2/test/input_yellow_man2_indexed8 | 13 | ||||
| -rw-r--r-- | ue2/imgsynth2/test/yellow_man1_indexed8_ref.xpm | 27 | ||||
| -rw-r--r-- | ue2/imgsynth2/test/yellow_man2_indexed8_in.xpm | 27 | ||||
| -rw-r--r-- | ue2/imgsynth2/test/yellow_man2_indexed8_ref.xpm | 29 |
5 files changed, 87 insertions, 13 deletions
diff --git a/ue2/imgsynth2/test/input_yellow_man1_indexed8 b/ue2/imgsynth2/test/input_yellow_man1_indexed8 index c0385c3..84c4604 100644 --- a/ue2/imgsynth2/test/input_yellow_man1_indexed8 +++ b/ue2/imgsynth2/test/input_yellow_man1_indexed8 | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | read(XPM, test/yellow_man1_indexed8_in.xpm) | 5 | read(XPM, test/yellow_man1_indexed8_in.xpm) |
| 6 | 6 | ||
| 7 | #fillrect(0,3,6,5,0,255,0) | 7 | fillrect(0,3,6,5,0,255,0) |
| 8 | #fillrect(2,13,7,4,0,0,255) | 8 | fillrect(2,13,7,4,0,0,255) |
| 9 | 9 | ||
| 10 | write(XPM, test/yellow_man1_indexed8_out.xpm) | 10 | write(XPM, test/yellow_man1_indexed8_out.xpm) |
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 | |||
| 5 | read(XPM, test/yellow_man2_indexed8_in.xpm) | ||
| 6 | |||
| 7 | fillrect(0,3,6,5,0,255,0) | ||
| 8 | fillrect(2,13,7,4,0,0,255) | ||
| 9 | mirror_x() | ||
| 10 | mirror_y() | ||
| 11 | invert() | ||
| 12 | |||
| 13 | write(XPM, test/yellow_man2_indexed8_out.xpm) | ||
diff --git a/ue2/imgsynth2/test/yellow_man1_indexed8_ref.xpm b/ue2/imgsynth2/test/yellow_man1_indexed8_ref.xpm index bd3beb4..7526656 100644 --- a/ue2/imgsynth2/test/yellow_man1_indexed8_ref.xpm +++ b/ue2/imgsynth2/test/yellow_man1_indexed8_ref.xpm | |||
| @@ -3,22 +3,27 @@ static char * yellow_man1_default_xpm[] = { | |||
| 3 | "9 17 4 1 0 0 XPMEXT", | 3 | "9 17 4 1 0 0 XPMEXT", |
| 4 | ". c #000000", | 4 | ". c #000000", |
| 5 | "# c #FFF200", | 5 | "# c #FFF200", |
| 6 | "+ c #00FF00", | 6 | "b c #00FF00", |
| 7 | "@ c #0000FF", | 7 | "c c #0000FF", |
| 8 | ".........", | 8 | ".........", |
| 9 | ".........", | 9 | ".........", |
| 10 | "...###...", | 10 | "...###...", |
| 11 | "++++++...", | 11 | "bbbbbb...", |
| 12 | "++++++...", | 12 | "bbbbbb...", |
| 13 | "++++++...", | 13 | "bbbbbb...", |
| 14 | "++++++#..", | 14 | "bbbbbb#..", |
| 15 | "++++++.#.", | 15 | "bbbbbb.#.", |
| 16 | ".#.###.#.", | 16 | ".#.###.#.", |
| 17 | ".#.###.#.", | 17 | ".#.###.#.", |
| 18 | ".#.###.#.", | 18 | ".#.###.#.", |
| 19 | "...#.#...", | 19 | "...#.#...", |
| 20 | "...#.#...", | 20 | "...#.#...", |
| 21 | "..@@@@@@@", | 21 | "..ccccccc", |
| 22 | "..@@@@@@@", | 22 | "..ccccccc", |
| 23 | "..@@@@@@@", | 23 | "..ccccccc", |
| 24 | "..@@@@@@@"}; | 24 | "..ccccccc", |
| 25 | "XPMEXT ext1 data1", | ||
| 26 | "XPMEXT ext2", | ||
| 27 | "data2_1", | ||
| 28 | "data2_2", | ||
| 29 | "XPMENDEXT"}; \ No newline at end of file | ||
diff --git a/ue2/imgsynth2/test/yellow_man2_indexed8_in.xpm b/ue2/imgsynth2/test/yellow_man2_indexed8_in.xpm new file mode 100644 index 0000000..bd11b48 --- /dev/null +++ b/ue2/imgsynth2/test/yellow_man2_indexed8_in.xpm | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /* XPM */ | ||
| 2 | static char * yellow_man1_default_xpm[] = { | ||
| 3 | "9 17 2 1 0 0 XPMEXT", | ||
| 4 | ". c #000000 g4 #000000", | ||
| 5 | "# c #FFF200", | ||
| 6 | ".........", | ||
| 7 | ".........", | ||
| 8 | "...###...", | ||
| 9 | "...###...", | ||
| 10 | "...###...", | ||
| 11 | "....#....", | ||
| 12 | "..#####..", | ||
| 13 | ".#.###.#.", | ||
| 14 | ".#.###.#.", | ||
| 15 | ".#.###.#.", | ||
| 16 | ".#.###.#.", | ||
| 17 | "...#.#...", | ||
| 18 | "...#.#...", | ||
| 19 | "...#.#...", | ||
| 20 | "...#.#...", | ||
| 21 | ".........", | ||
| 22 | ".........", | ||
| 23 | "XPMEXT ext1 data1", | ||
| 24 | "XPMEXT ext2", | ||
| 25 | "data2_1", | ||
| 26 | "data2_2", | ||
| 27 | "XPMENDEXT"}; | ||
diff --git a/ue2/imgsynth2/test/yellow_man2_indexed8_ref.xpm b/ue2/imgsynth2/test/yellow_man2_indexed8_ref.xpm new file mode 100644 index 0000000..5ff048f --- /dev/null +++ b/ue2/imgsynth2/test/yellow_man2_indexed8_ref.xpm | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | /* XPM */ | ||
| 2 | static char * yellow_man1_default_xpm[] = { | ||
| 3 | "9 17 4 1 0 0 XPMEXT", | ||
| 4 | ". c #FFFFFF", | ||
| 5 | "# c #000DFF", | ||
| 6 | "b c #FF00FF", | ||
| 7 | "c c #FFFF00", | ||
| 8 | "ccccccc..", | ||
| 9 | "ccccccc..", | ||
| 10 | "ccccccc..", | ||
| 11 | "ccccccc..", | ||
| 12 | "...#.#...", | ||
| 13 | "...#.#...", | ||
| 14 | ".#.###.#.", | ||
| 15 | ".#.###.#.", | ||
| 16 | ".#.###.#.", | ||
| 17 | ".#.bbbbbb", | ||
| 18 | "..#bbbbbb", | ||
| 19 | "...bbbbbb", | ||
| 20 | "...bbbbbb", | ||
| 21 | "...bbbbbb", | ||
| 22 | "...###...", | ||
| 23 | ".........", | ||
| 24 | ".........", | ||
| 25 | "XPMEXT ext1 data1", | ||
| 26 | "XPMEXT ext2", | ||
| 27 | "data2_1", | ||
| 28 | "data2_2", | ||
| 29 | "XPMENDEXT"}; \ No newline at end of file | ||
