Added animated water tops
This commit is contained in:
parent
8dee5433c6
commit
dda2166385
|
@ -45,9 +45,9 @@ exitdir -1
|
|||
74,98,98,98,74,74,74,74,74,74,74,74,98,98,98,98,74,74,74,74,74,74,74,98,98,98,98,74,74,74,74,74,74,74,74,74,74,74,74,74,
|
||||
74,98,98,98,74,74,74,74,74,74,74,74,98,98,98,98,74,74,74,74,74,74,74,98,98,98,98,74,74,74,74,74,74,74,74,74,74,74,74,74,
|
||||
74,98,98,98,74,74,74,74,74,74,74,74,98,98,98,98,74,74,74,74,74,74,74,98,98,98,98,74,74,74,74,74,74,74,74,74,74,74,74,74,
|
||||
74,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,74,
|
||||
74,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,74,
|
||||
74,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,74,
|
||||
74,98,98,98,98,98,75,99,75,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,75,99,75,98,98,98,98,98,74,
|
||||
74,98,98,98,97,75,99,99,99,75,97,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,97,75,99,99,99,75,97,98,98,98,74,
|
||||
74,98,98,98,98,98,97,75,97,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,97,75,97,98,98,98,98,98,74,
|
||||
74,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,74,
|
||||
74,98,98,98,98,98,75,99,75,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,75,99,75,98,98,98,98,98,74,
|
||||
74,98,98,98,98,97,99,99,99,97,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,97,97,99,99,99,97,97,98,98,98,74,
|
||||
|
@ -99,6 +99,8 @@ layer2
|
|||
24,3,28
|
||||
25,3,28
|
||||
26,3,28
|
||||
7,5,82
|
||||
32,5,82
|
||||
1,7,72
|
||||
2,7,71
|
||||
3,7,71
|
||||
|
|
|
@ -50,10 +50,10 @@ exitdir 2
|
|||
44,47,20,20,20,21,21,21,21,21,21,21,21,21,22,44,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,21,21,20,20,20,46,44,
|
||||
44,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,0,0,0,0,0,0,44,
|
||||
44,0,0,0,0,0,0,0,0,0,44,44,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,44,44,0,0,0,0,0,0,0,0,0,44,
|
||||
44,47,20,20,20,20,20,0,0,0,0,44,44,15,15,15,15,15,15,15,15,15,15,15,15,15,15,44,44,0,0,0,0,0,0,0,0,0,0,44,
|
||||
44,0,0,0,0,0,0,0,0,0,0,0,44,44,15,15,15,15,15,15,15,15,15,15,15,15,44,44,0,0,0,0,0,0,0,0,0,0,0,44,
|
||||
44,0,0,0,0,0,0,0,0,0,0,0,0,44,44,15,15,15,15,15,15,15,15,15,15,44,44,0,0,0,0,0,0,0,0,0,0,0,0,44,
|
||||
44,47,20,20,20,20,20,0,0,0,0,0,0,0,44,44,44,44,44,44,44,44,44,44,44,44,0,0,0,0,0,0,0,0,0,0,0,0,0,44,
|
||||
44,47,20,20,20,20,20,0,0,0,50,44,44,15,15,15,15,15,15,15,15,15,15,15,15,15,15,44,44,51,0,0,0,0,0,0,0,0,0,44,
|
||||
44,0,0,0,0,0,0,0,0,0,0,50,44,44,15,15,15,15,15,15,15,15,15,15,15,15,44,44,51,0,0,0,0,0,0,0,0,0,0,44,
|
||||
44,0,0,0,0,0,0,0,0,0,0,0,50,44,44,15,15,15,15,15,15,15,15,15,15,44,44,51,0,0,0,0,0,0,0,0,0,0,0,44,
|
||||
44,47,20,20,20,20,20,0,0,0,0,0,0,50,44,44,44,44,44,44,44,44,44,44,44,44,51,0,0,0,0,0,0,0,0,0,0,0,0,44,
|
||||
44,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,45,45,45,45,47,0,0,0,0,44,
|
||||
44,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,
|
||||
44,45,45,45,45,45,45,45,45,45,45,45,45,45,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,
|
||||
|
|
|
@ -61,7 +61,7 @@ exitdir 1
|
|||
4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,42,4,4,4,4,4,4,15,15,15,15,15,4,4,4,4,15,15,15,4,
|
||||
4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,4,4,4,4,15,15,15,15,15,4,4,4,4,15,15,15,4,
|
||||
39,1,1,1,1,1,40,40,1,1,40,40,40,40,40,1,1,16,16,16,16,16,16,4,4,4,4,15,15,15,15,15,4,4,4,4,15,15,15,4,
|
||||
4,4,4,7,4,4,4,4,4,4,4,4,4,4,4,4,4,1,1,15,15,15,15,15,4,4,15,15,15,15,15,15,15,4,4,4,15,15,15,4,
|
||||
4,4,4,7,4,4,4,4,4,4,4,4,4,4,4,4,4,1,1,15,15,15,15,15,4,4,15,15,15,15,15,15,15,4,4,15,15,15,15,4,
|
||||
4,4,4,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,40,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,4,
|
||||
4,4,4,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,4,
|
||||
4,4,4,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,15,15,15,15,15,15,15,1,1,40,40,1,1,15,15,15,15,15,15,4,
|
||||
|
@ -87,6 +87,7 @@ layer2
|
|||
23,12,42
|
||||
26,12,43
|
||||
32,12,42
|
||||
35,12,43
|
||||
3,19,8
|
||||
21,22,11
|
||||
22,23,11
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 158 B |
Binary file not shown.
After Width: | Height: | Size: 161 B |
Binary file not shown.
After Width: | Height: | Size: 170 B |
|
@ -108,7 +108,8 @@ tile watertop
|
|||
id 15
|
||||
water 1
|
||||
solid 0
|
||||
file newtiles/watertop.png
|
||||
file newtiles/watertop.png newtiles/watertop.png newtiles/watertop.png newtiles/watertopu1.png newtiles/watertopu2.png newtiles/watertopu2.png newtiles/watertopu1.png
|
||||
animspeed 5
|
||||
end
|
||||
|
||||
tile trampolineup
|
||||
|
|
6
edit.c
6
edit.c
|
@ -1224,7 +1224,11 @@ void draweditortile(SDL_Surface *where, int x, int y) {
|
|||
/* figure out what the layer1 tile is */
|
||||
offset = y*LEVELW+x;
|
||||
tt = gettile(curlevel->map[offset]);
|
||||
frame = curlevel->tileframe[offset];
|
||||
if (tt->numframes > 1) {
|
||||
frame = curlevel->tileframe[offset];
|
||||
} else {
|
||||
frame = 0;
|
||||
}
|
||||
|
||||
|
||||
// get greyimnal layer1 image
|
||||
|
|
Loading…
Reference in New Issue