Revert "Converted to C... tried and failed to convert Autoconf."

This reverts commit 7fd19f29ba.
This commit is contained in:
Julie Marchant 2019-05-20 01:56:16 -04:00
parent 7fd19f29ba
commit e51c55b16b
28 changed files with 31 additions and 2611 deletions

View File

@ -9,11 +9,12 @@
AC_PREREQ([2.69])
AC_INIT([Project: Starfighter], [1.8-dev], [onpon4@riseup.net], [starfighter])
AM_INIT_AUTOMAKE([foreign -Wall -Werror])
AC_CONFIG_SRCDIR([src/Starfighter.c])
AC_CONFIG_SRCDIR([src/Starfighter.cpp])
AC_CONFIG_HEADERS([config.h])
PKG_PROG_PKG_CONFIG
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_INSTALL

View File

@ -5,60 +5,61 @@
bin_PROGRAMS = starfighter
starfighter_CFLAGS = $(STARFIGHTER_CFLAGS) $(SDL_CFLAGS) -DDATADIR=\"$(pkgdatadir)\" -Wall
starfighter_CPPFLAGS = $(STARFIGHTER_CFLAGS) -DDATADIR=\"$(pkgdatadir)\" -Wall
starfighter_CXXFLAGS = $(SDL_CFLAGS)
starfighter_LDADD = $(SDL_LIBS)
starfighter_SOURCES = \
Starfighter.c \
alien.c \
Starfighter.cpp \
alien.cpp \
alien.h \
audio.c \
audio.cpp \
audio.h \
bullet.c \
bullet.cpp \
bullet.h \
cargo.c \
cargo.cpp \
cargo.h \
collectable.c \
collectable.cpp \
collectable.h \
colors.c \
colors.cpp \
colors.h \
cutscene.c \
cutscene.cpp \
cutscene.h \
defs.h \
engine.c \
engine.cpp \
engine.h \
event.c \
event.cpp \
event.h \
explosion.c \
explosion.cpp \
explosion.h \
game.c \
game.cpp \
game.h \
gfx.c \
gfx.cpp \
gfx.h \
info.c \
info.cpp \
info.h \
intermission.c \
intermission.cpp \
intermission.h \
mission.c \
mission.cpp \
mission.h \
player.c \
player.cpp \
player.h \
radio.c \
radio.cpp \
radio.h \
renderer.c \
renderer.cpp \
renderer.h \
save.c \
save.cpp \
save.h \
screen.c \
screen.cpp \
screen.h \
ship.c \
ship.cpp \
ship.h \
shop.c \
shop.cpp \
shop.h \
structs.h \
title.c \
title.cpp \
title.h \
weapons.c \
weapons.cpp \
weapons.h \
window.c \
window.cpp \
window.h

View File

@ -2,7 +2,7 @@
Project: Starfighter
Copyright (C) 2003 Parallel Realities
Copyright (C) 2011, 2012 Guus Sliepen
Copyright (C) 2015-2019 Julie Marchant <onpon4@riseup.net>
Copyright (C) 2015-2017 Julie Marchant <onpon4@riseup.net>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License

2582
src/game.c

File diff suppressed because it is too large Load Diff