Commit Graph

915 Commits

Author SHA1 Message Date
onpon4 4a9c99f4bc Fixed using smx where I should have used smy. 2015-02-26 23:31:26 -05:00
onpon4 02c93d8b52 Added a separate constant for each view border direction. 2015-02-26 23:28:31 -05:00
onpon4 c404e3611e Fixed edges of the screen slowing you down.
And unlike a fix I previously did, this one is perfect. Rather than
fiddling with ssx and ssy, I just added some new variables, smx and
smy.
2015-02-26 23:23:08 -05:00
onpon4 775be7afb4 Fixed the player's 1 shield in Nightmare difficulty not being called low 2015-02-26 22:35:49 -05:00
onpon4 93d6195a31 Removed Grey Sector. Changed random music selection to always see all of them. 2015-02-26 22:30:26 -05:00
onpon4 3d28058027 Added in a variation of the "Humans do it better" cheat code. 2015-02-26 22:16:45 -05:00
onpon4 4319051fd0 Removed Big Boss. (Just doesn't feel like it fits.) 2015-02-26 21:39:11 -05:00
onpon4 182ea70ba1 Removed gameplay option, have different max shield based on difficulty 2015-02-26 20:52:20 -05:00
onpon4 bf844b25eb More music 2015-02-26 19:55:52 -05:00
onpon4 9d43547982 Small fix to credits. 2015-02-26 19:27:38 -05:00
onpon4 491bb2641b Removed choice of targeting systems.
This is silly. I can see that someone decided to restrict targeting
to one ship as a difficulty setting, but that's not a very good way
to achieve different levels of difficulty.

Also added more music and slowed down RE.ogg.
2015-02-26 18:46:45 -05:00
onpon4 9b814979f9 Added more music. 2015-02-26 15:52:18 -05:00
onpon4 fecf957cd5 Started adding some new music, fixed ship aiming off-screen at the end. 2015-02-26 14:18:27 -05:00
onpon4 3909a72cb4 Removed unpack.o dependency. 2015-02-26 11:22:57 -05:00
onpon4 f385c9448e Upgraded to GPLv3. 2015-02-26 11:20:36 -05:00
onpon4 52266bf70e Removed pack and unpack Python utilities.
They're basically obsolete, after all.
2015-02-26 11:12:08 -05:00
onpon4 9aefba0bbe Added a copy of the GNU GPL. 2015-02-26 11:11:10 -05:00
onpon4 555ee4fe15 Removed support for PAK files.
These are really unnecessary, and their support makes converting
the music from MOD to Ogg Vorbis more complicated than it needs to
be.
2015-02-26 11:09:28 -05:00
onpon4 ed621bf3a4 Changed from 48000 Hz to 44100 Hz.
48000 Hz was causing problems with the sound. Who chose such an odd
number?
2015-02-26 10:22:22 -05:00
onpon4 748006c2dc Don't use PAKs by default. 2015-02-26 10:12:15 -05:00
onpon4 8e36d8547e Added .gitignore. 2015-02-26 10:11:44 -05:00
onpon4 c634201401 Replaced all sound effects with the plain Ogg sound effects from 1.2.
This sound generation stuff is really unnecessary. The ones from 1.2
sound much better.
2015-02-26 09:06:50 -05:00
Guus Sliepen 36f0e7a85d Merge remote-tracking branch 'origin/sdl2'
Conflicts:
	src/player.cpp
2014-05-13 16:22:11 +02:00
Julian e44c25018a Fixed indentation. 2014-03-12 15:18:41 -04:00
Julian b1ae2a4128 Added the changes I proposed a while back.
So now, when currentGame.gamePlay is set to GAMEPLAY_ONPON:
- You start with 50 shield, and never gain any increased capacity.
- You can't charge the charge cannon and shoot at the same time; if
  you shoot the plasma gun, the charge cannon shoots as well (as if
  you had released the charge key).

I didn't add in the feature to keep the view from slowing you down,
because the method I used was imperfect anyway.
2014-03-12 14:35:24 -04:00
Guus Sliepen b285643a82 Fix color keys. 2013-10-01 14:33:33 +02:00
Guus Sliepen 593ea01386 Initial conversion to SDL2. 2013-09-30 16:52:43 +02:00
Guus Sliepen c357c28966 Ensure the joystick is usable in the title screen. 2013-07-13 15:10:29 +02:00
Guus Sliepen 8810b090fa Remove external files for missions, shop items, aliens and weapons.
The source code contains routines to initialise all these resources, but also
functions to load from and store to external files.  Support for external files
has now been removed; this removes a potential difference between compiling
with or without USEPAK, and makes it easier to change missions in the code.
2013-07-11 15:29:37 +02:00
Guus Sliepen bd4a449e10 Rename code/ to src/. 2013-07-11 14:24:37 +02:00
Guus Sliepen 70921b9103 Limit the page width of the manual.
This makes it more readable on very wide screens.
2013-07-11 14:18:56 +02:00
Guus Sliepen 2f85d33006 Cleaned up and converted the documentation to HTML 4 with CSS. 2013-07-11 00:47:34 +02:00
Guus Sliepen e049fef10d Update the manual. 2013-07-10 22:54:17 +02:00
Guus Sliepen 6c195374bb Allow cursor keys (or joystick/gamepad) to control the mouse cursor.
With this, the game can be played completely with only the keyboard, a joystick
or a gamepad.
2013-07-10 21:55:35 +02:00
Guus Sliepen 1853044891 Add support for joysticks and gamepads.
Tell SDL to listen for joystick events and simply map motion to the cursor keys
and the first 4 buttons to control, space, shift and t.
2013-07-10 21:37:08 +02:00
Guus Sliepen 828b3eb813 Show text saying you can press Escape to skip during cutscenes.
Taken from MODmurky's version of Starfighter.
2013-07-10 21:16:31 +02:00
Guus Sliepen d6aee56670 Optionally show target arrows for all enemies that are outside the screen. 2012-12-14 16:08:46 +01:00
Guus Sliepen 8d6c16722b Fix image links in the documentation. 2012-12-09 20:51:59 +01:00
Guus Sliepen ded6083428 Remove old makefile.
This should have been part of the previous commit.
2012-12-09 20:51:05 +01:00
Guus Sliepen 426605d293 Small improvements in the Makefile. 2012-12-09 17:02:58 +01:00
Guus Sliepen 577259845d Fix difficulty menu overwriting text from load menu. 2012-12-09 16:56:37 +01:00
Guus Sliepen 2fed23c6ec Fix warnings from GCC, Clang and cppcheck. 2012-12-09 16:53:21 +01:00
Guus Sliepen a7493773c4 Fix cursor wrapping in the menus. 2012-12-09 16:18:30 +01:00
Guus Sliepen b343805257 Prepare menu and save files for configurable difficulty and gameplay mode. 2012-12-09 16:11:55 +01:00
Guus Sliepen 070d67e91d Merge branch 'master' of git://git.code.sf.net/u/onpon4/starfighter 2012-03-14 19:50:13 +01:00
onpon4 aae191ff0c I missed a couple (int)s in last commit. This removes them.
Signed-off-by: onpon4 <onpon4@yahoo.com>
2012-03-14 12:02:04 -04:00
onpon4 38f44d9387 Removed several unnecessary (int)s and changed around operations to prevent problems with integer division.
Signed-off-by: onpon4 <onpon4@yahoo.com>
2012-03-14 11:54:48 -04:00
Guus Sliepen dd104b64eb Rename "Drums" song to "Warm-up".
The title is chosen because it is both a warm-up for me writing music with ABC
and CSound, it will also be used in the first levels of Starfighter where the
player has to warm up.
2012-03-13 22:33:22 +01:00
Guus Sliepen 374b6928ab Use csound to fade in piano track. 2012-03-13 22:18:50 +01:00
Guus Sliepen dca73b7e8d Add end to "Drums" song. 2012-03-13 22:16:51 +01:00