Commit Graph

843 Commits

Author SHA1 Message Date
Layla Marchant 3e2795a231 Fixed spelling errors. 2020-08-27 10:14:45 -04:00
Layla Marchant b25efb8595 "stupid" -> "foolish" 2020-08-26 12:06:34 -04:00
Layla Marchant 8d136e4cea Merge branch 'main' of github.com:pr-starfighter/starfighter into main 2020-08-04 12:24:33 -04:00
Layla Marchant b547ec5989 Replaced AUDIO_S16 witht AUDIO_S16SYS. 2020-08-04 12:23:54 -04:00
The Diligent Circle 丸 d7406d58d8
Merge pull request #10 from psypherium/main
spelling fix: persuit -> pursuit
2020-07-31 17:13:25 -04:00
Alistair Findlay f6cd2e9300
spelling fix: persuit -> pursuit 2020-08-01 05:50:51 +10:00
Alistair Findlay 8e0ab7d4ed
spelling fix: persuit -> pursuit 2020-08-01 05:50:10 +10:00
Alistair Findlay 7b7966bcf2
spelling fix: persuit -> pursuit 2020-08-01 05:49:28 +10:00
Alistair Findlay 2448a043e1
spelling fix: persuit -> pursuit 2020-08-01 05:48:31 +10:00
Layla Marchant 9237af3283 Bumped version number 2020-07-27 15:33:45 -04:00
Layla Marchant 59c21a355e Fixed too small of a limit for mission objective descriptions.
It was causing rendering bugs (due to the lack of a \0 terminator)
with the Japanese translation.
2020-07-27 13:44:35 -04:00
Layla Marchant 23b5c50a28 Fixed an issue in the Japanese translation that caused text to be cut off.
Some of the text was too long to fit within the box it's supposed to, so
I made a modification to the translations (removing プラズマ from
プラズマコンデンサー etc) to make it fit. I also removed maruhiro-san's
attempt to align the numbers because it doesn't actually work in-game
(due to the font and/or method of handling whitespace).
2020-07-27 13:22:26 -04:00
Layla Marchant adc85f1bec Better syntax 2020-07-27 12:15:35 -04:00
Layla Marchant cf7a82515d Fixed double-controls. 2020-07-27 11:41:40 -04:00
Layla Marchant ca11cdea27 Implemented use of the game controller SDL API.
Fixes #7

Designed to use the game controller API if possible, or fall back
to the regular joystick API otherwise.

This also makes it so that all connected controllers can be used,
rather than just the first one.
2020-07-27 11:29:35 -04:00
Layla Marchant 21e16c157b Restored the old digital conversion of analog input for main menu.
This allows using an analog stick to control the main menu once
again. Part of #7.
2020-07-27 10:36:10 -04:00
Layla Marchant eb2c61cd04 Added a check for if the breakable byte is the start of char.
Fixes #9

Thanks to https://gamedev.net/forums/topic/707591-could-anyone-help-with-utf-8-line-breaking-in-c/5429529/
for helping with how to do this.
2020-07-27 10:12:47 -04:00
Layla Marchant 6e8d32fd64 Fixed a small discrepancy with the Venus mission in Classic difficulty
Since the original actually constantly had you drain Kline's health
to zero and then re-adjusted it, there were effectively stop points
limiting the amount of damage you could do to the amount designated
for the current stage. This has been simulated by setting the shield
to the proper amount of shield for the respective stage if the
difficulty is DIFFICULTY_ORIGINAL.
2020-07-27 00:37:04 -04:00
Layla Marchant 70f5112100 Revert "i - 1 instead of i for breaking text."
This reverts commit 5bc3657824.
2020-07-25 10:58:53 -04:00
Layla Marchant 91dcd81268 Revert "???"
This reverts commit 5fa977fb90.
2020-07-25 10:58:42 -04:00
Layla Marchant 5fa977fb90 ??? 2020-07-20 15:11:01 -04:00
Layla Marchant 5bc3657824 i - 1 instead of i for breaking text.
That's the right character to pick. It's actually still broken; will
look into more later. Will also need to make it so that it ignores
leading whitespace.
2020-07-20 14:09:06 -04:00
Layla Marchant 0201eddbe5 Added a setting for controlling language.
It doesn't seem to work and I don't understand why. It's as if
gettext is ignoring the setting.
2020-07-20 13:10:25 -04:00
Layla Marchant facc34b7ba Factored in radio life to the script radio messages.
This ensures that series of radio messages are stiched together
properly. An exception was given for the first Kline encounter;
timing stays the same for that one simply to make sure the music
cue isn't ruined.
2020-07-20 12:03:00 -04:00
Layla Marchant aaa640055d Extra newline 2020-07-20 11:22:18 -04:00
Layla Marchant a1a67452fd Added the Japanese translation to Makefile.am 2020-07-20 11:21:52 -04:00
Layla Marchant 1f0f3e679d Formatting 2020-07-20 11:19:45 -04:00
The Diligent Circle 丸 dce97bf826
Merge pull request #8 from maruhiro-ver0/japanese
Translated in Japanese
2020-07-20 11:12:57 -04:00
maruhiro 86a13338d4 Translated in Japanese 2020-07-21 00:00:46 +09:00
Layla Marchant c213a1b897 Locked in the POT file to UTF-8.
Starfighter only supports UTF-8, so that needs to always be used.
2020-07-19 08:54:13 -04:00
Layla Marchant 0a056f0608 Updated translation files 2020-07-16 14:19:33 -04:00
Layla Marchant 8d730136f5 Bumped version number 2020-07-16 13:31:35 -04:00
Layla Marchant 82b35c5ce0 Added a text speed option, improved cutscene controls.
This is a pretty big one! Someone I know suggested that I should
make the textboxes able to stay on the screen for longer, so I've
added an option for that! In the process I also changed Fire and
Altfire to advance to the next box immediately (rather than skipping
outright), so that if you select a slower speed you can still make
the text go to the next one after you're finished reading one.
2020-07-16 13:22:16 -04:00
Layla Marchant 7b6eb5501f Fixed a couple typos. 2020-07-16 11:51:10 -04:00
Layla Marchant 9a5076bb93 Fixed some bugs with gamepad controls.
Included a bug where axis controls got stuck after the end of a mission,
and one where hat controls caused massive movement speed.
2020-07-16 11:43:45 -04:00
Layla Marchant 13a2f0fba5 Added proper analog support. 2020-06-21 22:19:28 -04:00
Layla Marchant aa356c6747 Bumped version number 2020-06-21 20:33:26 -04:00
Layla Marchant afccdb741f Removed use of axes other than 0 and 1. 2020-06-06 15:23:07 -04:00
Layla Marchant b3856c6a3c Added a difficulty indicator to save slots, removed old format support 2020-05-26 22:20:38 -04:00
Layla Marchant 9a627a77bb Fixed double-cargo pods in Ceradse 2020-05-26 20:34:47 -04:00
Layla Marchant 97bcd873c7 Fixed Kline 2020-05-26 20:25:50 -04:00
Layla Marchant b73a56e587 Added some nerfs for the Mars mission in super-easy mode.
This makes mines much less frequent and spreads the asteroids out
much more. The other super-easy mode nerfs don't work on Mars, so
these custom nerfs are necessary to keep the difficulty consistent.
2020-05-26 20:03:42 -04:00
Layla Marchant 5e1892235c Less extreme buff 2020-05-26 19:19:20 -04:00
Layla Marchant b689e2bcfb Fixed health bar. 2020-05-26 19:11:45 -04:00
Layla Marchant b517275bd3 Really fixed nerfing this time 2020-05-26 17:57:41 -04:00
Layla Marchant a2ad01846a Fixed nerfing in super-easy mode 2020-05-26 17:35:24 -04:00
Layla Marchant d8734e5625 Give plasma ammo with powerups in super-easy mode. 2020-05-26 16:47:14 -04:00
Layla Marchant 1a4e2ea71e Removed some weird, pointless code for when Kline is disabled.
The code caused Kline's systemPower to be restored to full when
disabled. This would have had no effect on the code; the systemPower
variable is only used to add the FL_DISABLED flag when it reaches
0, and restoring systemPower has no effect on this. This might have
been an attempt to make it impossible to disable Kline, but it
wouldn't have worked that way (it might simply not have been noticed
because disabling Kline would take a ridiculous amount of time and
is unlikely to happen without conscious effort).
2020-05-26 16:34:44 -04:00
Layla Marchant 9749684468 Allow grinding in super-easy mode. 2020-05-26 16:33:22 -04:00
Layla Marchant 5c9b69dd0c Added a super-easy difficulty. 2020-05-26 15:51:04 -04:00