Tweaked jetpack fireball
This commit is contained in:
parent
68dca94e50
commit
c0c10963cd
4
Makefile
4
Makefile
|
@ -1,10 +1,10 @@
|
|||
all: rc edit
|
||||
|
||||
rc: rc.c shared.c rc.h shared.h globals.h defs.h
|
||||
gcc -O3 -Wall -DREV=`./getsvnrev.sh` -o rc -g rc.c shared.c `sdl-config --cflags --libs` -I/usr/local/include -L/usr/local/lib -lSDLmain -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf -lSDL_mixer
|
||||
gcc -O3 -Wall -DREV=`./getsvnrev.sh` -o rc -g rc.c shared.c `sdl-config --cflags --libs` -I/usr/local/include -L/usr/local/lib -L/opt/local/lib -lSDLmain -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf -lSDL_mixer
|
||||
|
||||
edit: edit.c shared.c edit.h shared.h globals.h defs.h
|
||||
gcc -D__EDITOR -DREV=`./getsvnrev.sh` -Wall -o edit -g edit.c shared.c `sdl-config --cflags --libs` -I/usr/local/include -L/usr/local/lib -lSDLmain -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf
|
||||
gcc -D__EDITOR -DREV=`./getsvnrev.sh` -Wall -o edit -g edit.c shared.c `sdl-config --cflags --libs` -I/usr/local/include -L/usr/local/lib -L/opt/local/lib -lSDLmain -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf
|
||||
|
||||
app: rc
|
||||
./makeapp.sh
|
||||
|
|
4
rc.c
4
rc.c
|
@ -1582,7 +1582,9 @@ void jump(sprite_t *s, int dir) {
|
|||
|
||||
if ((s->powerup == PW_JETPACK) && (!s->useddoublejump)) {
|
||||
// jetpack makes a blast of fire
|
||||
addsprite(P_SMASH, s->x, s->y, "jet_smahs");
|
||||
addsprite(P_SMASH, s->x, s->y, "jet_smash");
|
||||
addsprite(P_SMASH, s->x+(TILEW/2), s->y, "jet_smash");
|
||||
addsprite(P_SMASH, s->x-(TILEW/2), s->y, "jet_smash");
|
||||
|
||||
// jetpack always adds speed to sideways jumps
|
||||
if (s->jumpdir > 0) {
|
||||
|
|
Loading…
Reference in New Issue