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

Broken for now. Committing so I can switch computers.
This commit is contained in:
Julie Marchant 2019-05-19 23:57:55 -04:00
parent 9014be8678
commit 7fd19f29ba
28 changed files with 2611 additions and 31 deletions

View File

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

View File

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

View File

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

2582
src/game.c Normal file

File diff suppressed because it is too large Load Diff