Some cleanup.

This commit is contained in:
onpon4 2017-01-26 23:05:21 -05:00
parent d6f29b71b3
commit 2a032005d1
3 changed files with 3 additions and 4 deletions

View File

@ -35,7 +35,6 @@ AC_SUBST([STARFIGHTER_CFLAGS])
AC_CHECK_HEADERS([ctype.h errno.h stdio.h stdlib.h string.h time.h math.h pwd.h sys/stat.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
# Checks for library functions.
AC_FUNC_MALLOC

View File

@ -5,7 +5,7 @@
bin_PROGRAMS = starfighter
starfighter_CPPFLAGS = $(STARFIGHTER_CFLAGS) -Wall -O2 -DDATADIR=\"$(pkgdatadir)\"
starfighter_CPPFLAGS = $(STARFIGHTER_CFLAGS) -DDATADIR=\"$(pkgdatadir)\" -Wall
starfighter_CXXFLAGS = $(SDL_CFLAGS)
starfighter_LDADD = $(SDL_LIBS)

View File

@ -679,7 +679,7 @@ static void game_doBullets()
else if (bullet->x > bullet->target->x)
LIMIT_ADD(bullet->dx, -homingMissileSpeed, -15, 15);
//Rocket is (more or less) inline with target. Fly straight
//Rocket is (more or less) in line with target. Fly straight
if ((bullet->x > bullet->target->x - 1) && (bullet->x < bullet->target->x + 5))
bullet->dx = 0;
@ -688,7 +688,7 @@ static void game_doBullets()
else if (bullet->y > bullet->target->y)
LIMIT_ADD(bullet->dy, -homingMissileSpeed, -15, 15);
//Rocket is (more or less) inline with target. Fly straight
//Rocket is (more or less) in line with target. Fly straight
if ((bullet->y > bullet->target->y - 1) && (bullet->y < bullet->target->y + 5))
bullet->dy = 0;