Commit Graph

45 Commits

Author SHA1 Message Date
Layla Marchant 7e8ec72933
Added SF_UNHARDEN option for Windows builds.
The linker supplied by MXE currently doesn't support the -x option, so this
adds a way to skip that and uses that in win32build.sh.
2020-12-26 18:05:10 -05:00
Layla Marchant bb5f1eae92
Bumped version number 2020-12-26 17:09:18 -05:00
Layla Marchant 69430b7a2a
Added an option to compile a binary that will use the original music.
We can't distribute the original music, but adding support for it in
as a compile-time option will enable modding the game to look and
feel like the original without having to edit the source code.
2020-12-26 13:33:15 -05:00
Layla Marchant 747d0c2af6
Version number to 2.4-alpha, updated POT file. 2020-12-25 14:07:20 -05:00
Layla Marchant be2cc0f1c2
Corrected the starting position of the player for Classic difficulty.
Modern Starfighter starts you in the center, but originally you started
at (200, 200). This matters particularly for boss fights, since since
the off-center start position meant you didn't start in the same vertical
position as the bosses.
2020-12-23 20:38:25 -05:00
fmneto 67a612309f
Update configure.ac
This adds hardening options to linking with `-Wl,-z,now`
2020-11-20 13:04:05 -03:00
Layla Marchant d129793583
Starfighter 2.3.3 version number bump, slight readme tweak. 2020-09-20 12:14:06 -04:00
Layla Marchant 8c0df9b310
Removed use of wildcards so that Autotools will be happy. 2020-09-15 23:04:17 -04:00
Layla Marchant c516cd7bb4
Replaced the SF_NOWARN flag with an SF_WARN flag which does the inverse.
Fixes #18
2020-09-09 03:03:22 -04:00
Layla Marchant d48a35d15c Updated the manfile so that it gets installed and has some info. 2020-09-05 18:17:34 -04:00
Layla Marchant b25efb8595 "stupid" -> "foolish" 2020-08-26 12:06:34 -04:00
Layla Marchant 9237af3283 Bumped version number 2020-07-27 15:33:45 -04:00
Layla Marchant 8d730136f5 Bumped version number 2020-07-16 13:31:35 -04:00
Layla Marchant aa356c6747 Bumped version number 2020-06-21 20:33:26 -04:00
Layla Marchant 305e9fb05d Restored original charge cannon behavior for Classic difficulty. 2020-05-26 12:42:00 -04:00
Layla Marchant 9863aef0ba Fixed the warp escape delay bug.
That's embarassing.
2020-05-23 21:10:45 -04:00
Layla Marchant e01a540976 Bumped version number (2.1) 2020-04-02 09:54:28 -04:00
Layla Marchant a81971e639 Added an option to disable warnings.
This is mainly so I can compile on my laptop (which has an old
version of GCC).
2020-03-12 16:42:37 -04:00
Layla Marchant cdf24b8c03 Misplaced comment. 2020-03-12 16:29:43 -04:00
Layla Marchant e382adb08a Reorganized the Mac stuff. 2020-03-12 16:01:13 -04:00
Ian Gilham c4f3a1f936
build: fix MacOS support
- Detect host OS
- Add CoreFoundation framework to linker flags
- Comment out a chdir which breaks the app on load
- Document how to work around locale building on a Mac

Fixes #3
2020-03-09 09:31:59 +00:00
Layla Marchant d96c8327e4 Bunch of fixes.
At first I just went in to fix some places that were missing gettext
translations, but on the way as I was doing that, I noticed some
places where ngettext should be used, a bug in the fallback legacy
text rendering, and some things that could be structured better in
the Autoconf / Automake setup. Fixed those.
2020-03-06 19:06:48 -05:00
Layla Marchant cdf555f17b Removed my old name.
I go by "Layla" now. Updated that. Also updated my email address.
2020-03-05 15:05:56 -05:00
Julie Marchant f325ea9c20 Fixed make install 2019-07-07 14:47:57 -04:00
Julie Marchant d732762a76 Imported a fix of configure.ac. 2019-07-06 21:17:41 -04:00
Julie Marchant 83a67fe3f7 Updated readme, added helper launcher script. 2.0 release. 2019-07-04 14:24:17 -04:00
Julie Marchant 919a8da5d0 Modified and documented SF_RUN_IN_PLACE 2019-06-12 11:03:24 -04:00
Julie Marchant caf963ba19 Added translation support.
No, really, just added the whole thing. This took literally the
entire day. I'm soooo glad it's working now!

Also includes tons of other small fixes I didn't bother to keep
track of.
2019-06-05 22:13:48 -04:00
Julie Marchant c798d0d7ec Starting to fix the core problem.
Using Pango's pango_get_log_attrs function.

Not finished yet, but this is the start of it.
2019-06-03 22:36:03 -04:00
Julie Marchant 1f3f1d46b1 Turn on use of Unicode. (Still not actually used.) 2019-06-03 20:20:13 -04:00
Julie Marchant 908a6059ac Finished C conversion! Hoorah!
Note: Autoconf files must be cleaned up and regenerated to ensure
proper compilation.
2019-05-23 11:02:48 -04:00
Julie Marchant aa9d673aab Changed screenWidth and screenHeight to #defines. 2019-05-20 11:25:05 -04:00
Julie Marchant e51c55b16b Revert "Converted to C... tried and failed to convert Autoconf."
This reverts commit 7fd19f29ba.
2019-05-20 01:56:16 -04:00
Julie Marchant 7fd19f29ba Converted to C... tried and failed to convert Autoconf.
Broken for now. Committing so I can switch computers.
2019-05-19 23:57:55 -04:00
Julie Marchant ded0be314e Added a damage-control mechanic.
Limits the damage you take somewhat. Basically, this is intended
to prevent sudden deaths; if it doesn't look like you're dying,
you probably won't suddenly get axed. Of course, this is disabled
in Classic difficulty.
2019-05-10 21:09:34 -04:00
onpon4 9c089a5013 Made a change that I think might fix bug #50644. 2017-03-26 23:52:05 -04:00
onpon4 d1ae6f9bb4 Bumped version number to 1.7. 2017-03-03 11:13:06 -05:00
onpon4 6c1e59d434 Removed SDL_gfx dependency.
At first I was going to just not bother with the resizing thing, but
then I found out that SDL actually has a scaling function built-in.
So rather than depending on SDL_gfx for this one purpose that never
sees the light of day in practice, I have handed that job over to
that function.
2017-02-20 21:46:35 -05:00
onpon4 427f92ce2b Fixed the method for checking whether compiling for Windows. 2017-02-10 10:39:27 -05:00
onpon4 0017cffcf9 Added support for installing the .desktop file with "make install". 2017-02-06 12:20:15 -05:00
onpon4 3ef498df97 Fixed some things.
In particular, sizes larger than the background work properly now
(in general; there are of course some things positioned badly still,
but everything updates correctly at any rate).
2017-02-04 18:29:44 -05:00
onpon4 e981acded2 Made the minimal changes to allow Starfighter to be compiled on Windows.
It's not perfect, but I honestly just can't be arsed to figure out
how to use the Windows API to do the same thing that pwd.h does.
At the very least, Starfighter can now be successfully compiled for
Windows with MinGW simply by defining the "SF_WINDOWS" environment
variable to 1 (or any other non-empty value). The only downside is
that it uses the current working directory to decide where
.config/starfighter should go, meaning it can't be installed into
restricted directories like Program Files.
2017-02-01 16:10:48 -05:00
onpon4 e8bbed1a8b Added support for defining custom widths and heights with ./configure. 2017-01-28 00:43:17 -05:00
onpon4 2a032005d1 Some cleanup. 2017-01-26 23:05:21 -05:00
onpon4 e3c2e2fddc Switched the build system from a hand-made makefile to Autotools.
That actually took quite some time, but it's finally finished now.
It's missing only a couple minor things from the old Makefile.
2017-01-26 17:27:55 -05:00