commit 78459e9fdbe7e0b02384a6d7e36656f3d8cd6c56
Author: Guus Sliepen <guus@debian.org>
Date:   Sun Feb 26 22:25:57 2012 +0100

    Update copyright notices, bump version to 1.2.

commit 66ce3f2b4ef75d5c0b14d49a03a63ef66c8065b5
Author: Guus Sliepen <guus@debian.org>
Date:   Sun Feb 26 22:23:34 2012 +0100

    Make sure error messages are shown.

commit 230620a1f1a0c67ae473616792777bc81d32dec8
Author: Guus Sliepen <guus@debian.org>
Date:   Sun Feb 26 22:22:27 2012 +0100

    Do not complain about missing music files in the PAK file.

commit fdd63c14cc43d4fb4133eb1000cbc553ab006251
Author: Guus Sliepen <guus@debian.org>
Date:   Sun Sep 18 00:54:44 2011 +0200

    Don't play music in first Kline battle when music is disabled.

commit 1d25dd03793ebaf3b2676937f2ecf7890c63487b
Author: Guus Sliepen <guus@debian.org>
Date:   Sat Sep 17 11:24:56 2011 +0200

    Fix status display of plasma output boosters during game.

commit 96996ce16780f1114822f2988e2343deff762906
Author: Guus Sliepen <guus@debian.org>
Date:   Sun Sep 11 21:57:57 2011 +0200

    Redo the whole plasma system.
    
    - We now have both minPlasma* and maxPlasma* variables.
    - *PlasmaRate now goes from 1 to 5 just like Damage and Output.
    - Internally, plasma now goes into the primary weapon, there is no
      temporary weapon anymore.
    - When upgrading the primary weapon, the new minimum amount of Damage,
      Output and Rate immediately goes into effect when starting the next
      msision.
    - Super Charge now works exactly the same again as in the original.
    - But shows blinkenlights in the bottom status bar when it is in use.

commit 2c64485272dc8223aba3b770e77910f456a26fa9
Author: Guus Sliepen <guus@debian.org>
Date:   Mon Sep 5 22:13:11 2011 +0200

    Toggle fullscreen mode with F11 or Alt+Enter.

commit 7a5963118947000cd9038cf68cc6b5d3cb5c7194
Author: Guus Sliepen <guus@debian.org>
Date:   Mon Sep 5 21:55:23 2011 +0200

    Simplify bullet code even more.

commit bde2d5c8cf956584b0d855b32beee4fc9b0881d1
Author: Guus Sliepen <guus@debian.org>
Date:   Mon Sep 5 13:56:04 2011 +0200

    Update credits.
    
    - Explicitly mention all the authors and licenses used for the new graphics
      and sounds.
    - Remove credits for the old music.
    - Mention Valgrind and cppcheck under the Quality Assurance section.
    - Add myself as additional programmer, Astrid as replacement graphics and sound
      finder.

commit 350aabfa23049ad3c078303b061913ca8ff7ea64
Author: Guus Sliepen <guus@debian.org>
Date:   Mon Sep 5 11:41:03 2011 +0200

    Pause the game when the window loses input focus.

commit f8c4a72170e9405a47a5bd86bd7c4c20500e713f
Author: Guus Sliepen <guus@debian.org>
Date:   Mon Sep 5 11:40:35 2011 +0200

    Display "PAUSED" when paused.

commit e7f5c3825b8fe5e74e225fbf0e4af679d9967ab5
Author: Guus Sliepen <guus@debian.org>
Date:   Sun Sep 4 18:24:54 2011 +0200

    Simplify spread bullet code.
    
    There were three flags, WF_STRAIGHT, WF_THIN_SPREAD and WF_WIDE_SPREAD,
    when only one flag, WF_SPREAD suffices. This makes the code simpler and
    gets rid of some duplication.

commit 45664437e18241230779832265e9906894c0f316
Author: Guus Sliepen <guus@debian.org>
Date:   Sun Sep 4 17:14:32 2011 +0200

    Replace maledeath sound by one from OLPC.

commit 8bbe48b4bd09a618f6c604b8e7952f76cf5a93a8
Author: Guus Sliepen <guus@debian.org>
Date:   Sun Sep 4 14:23:31 2011 +0200

    Use bitwise operations for flags.

commit 4d747db620d01b51f7d21b5b35eb6258ce1badb8
Author: Guus Sliepen <guus@debian.org>
Date:   Mon Aug 29 22:44:46 2011 +0200

    Respect LDFLAGS and link LIBS after object files.

commit 4779481f30c13a505763b4c1c996acb3e26b8bbc
Author: Guus Sliepen <guus@debian.org>
Date:   Mon Aug 29 17:28:06 2011 +0200

    Smoother appearance of aliens on left hand side of title screen.

commit 4e1316054acf4ab6315170a8dc18f271c38ef823
Author: Guus Sliepen <guus@debian.org>
Date:   Mon Aug 29 13:08:55 2011 +0200

    Don't display target arrow if engine.targetIndex is invalid.

commit 2ddeb41360303f9dbb36eed8bb44dffe8d1aac75
Author: Astrid S. de Wijn <astrid@syonax.net>
Date:   Mon Aug 29 11:01:40 2011 +0200

    Updated drone and pod graphics.

commit 7607bc41427e4cf075c64e6f416974884714f071
Author: Guus Sliepen <guus@debian.org>
Date:   Mon Aug 29 10:58:17 2011 +0200

    Fix write past end of array.
    
    Found by cppcheck.

commit ac71e3d3ece84ead296531211321f089c660c001
Author: Guus Sliepen <guus@debian.org>
Date:   Mon Aug 29 09:31:16 2011 +0200

    Explicit limits for the maximum amount of rockets.
    
    Put the maximum amount of rockets that can be caried in the description, and
    also adjust the amount of rocket pods one has when buying a secondary weapon.
    The laser and charge beam will remove all rocket capacity. To soften the blow,
    you get at least capacity for 5 rockets when buying homing missile systems,
    or 10 when buying normal missile system.

commit 744f1977e1a818342a9a0cf15b85407f50eda70d
Author: Guus Sliepen <guus@debian.org>
Date:   Mon Aug 29 09:10:50 2011 +0200

    Reset charge cannon charge and laser heat after each mission.
    
    This prevents these variables from turning into a huge amount of missiles when
    buying a missile launcher in the shop.
    
    This fixes Debian bug #286933.

commit bad5739c62857c613ea01f3648faffd0dd449395
Author: Astrid S. de Wijn <astrid@syonax.net>
Date:   Sun Aug 28 13:38:27 2011 +0200

    Add DFSG-compatible replacement sound.
    
    All sound was taken from OpenGameArt.org.

commit 12d4fcaeab0db8685e4c6d02ecb5ece803ff5124
Author: Guus Sliepen <guus@debian.org>
Date:   Sun Aug 28 13:32:34 2011 +0200

    Don't use .wav anymore, use .ogg for all sound effects.

commit 81905236cc2370ea2fd79d134057c60df6b71be7
Author: Guus Sliepen <guus@debian.org>
Date:   Sun Aug 28 12:28:05 2011 +0200

    Fix two spelling errors.

commit 6bfba4064bdc025782930549f7edf41985fc197d
Author: Guus Sliepen <guus@debian.org>
Date:   Sat Aug 27 23:30:44 2011 +0200

    Make wrap() functions really wrap.
    
    Before, if a value was over one of the limits, it would be set to the
    other limit. For most usecases, that was fine, however for the starfield
    this would cause stars to become aligned to each other after a while.

commit 1abf5d8c67f6dfbc8a344ce5bf7db8054b2faa99
Author: Guus Sliepen <gus@debian.org>
Date:   Sat Aug 27 22:37:26 2011 +0200

    Add "optimise" target which optimises PNG and JPEG files.

commit e292e98c8823dc7d41d7eea0a5758910629f3f97
Author: Astrid S. de Wijn <astrid@syonax.net>
Date:   Sat Aug 27 22:33:38 2011 +0200

    Updated graphics sources document.

commit 61fb3d203508c1c4eaa327664a63d4b269e42557
Author: Astrid S. de Wijn <astrid@syonax.net>
Date:   Sat Aug 27 22:13:55 2011 +0200

    Update Executive Transport and Pluto boss graphics.

commit bf39080d6f56efbd302d6d817f8471788f251992
Author: Guus Sliepen <guus@debian.org>
Date:   Sat Aug 27 22:08:08 2011 +0200

    Make cargo pods appear again.
    
    Cargo items were always set inactive after the conversion of variables
    from signed char to bool.

commit 6c6fa1ec2ea8ef73a7aa0686189a34ae125fa78a
Author: Guus Sliepen <guus@debian.org>
Date:   Sat Aug 27 21:52:46 2011 +0200

    Make makefile more similar to the one of Blobwars.

commit 7768b4cc6d938048f277df5591d81853fee2aaf6
Author: Guus Sliepen <guus@debian.org>
Date:   Sat Aug 27 21:29:08 2011 +0200

    Add Makefile option to select whether or not to use a .pak file.

commit 44fa119ab700cfb5b85ced59d5a53f6cb53b9c7a
Author: Guus Sliepen <guus@debian.org>
Date:   Sat Aug 27 21:21:43 2011 +0200

    Fix two spelling errors.

commit f0eff0b0b81d8e0310fa352ce2cebc52ab4bded5
Author: Astrid S. de Wijn <astrid@syonax.net>
Date:   Sat Aug 27 17:33:43 2011 +0200

    Updated graphics sources document.

commit acf5c5d1f4e4d2fffd89ccafda6ff5c87ddb684c
Author: Guus Sliepen <guus@debian.org>
Date:   Sat Aug 27 17:31:08 2011 +0200

    Move sources document out of the gfx directory.

commit af07946e24d05de650a705bfb82662a65c37f98a
Author: Astrid S. de Wijn <astrid@syonax.net>
Date:   Sat Aug 27 17:29:35 2011 +0200

    Remove unused graphics.

commit 75a6b0782322feb2bdaf8bd50968663b039b53cb
Author: Astrid S. de Wijn <astrid@syonax.net>
Date:   Sat Aug 27 17:28:58 2011 +0200

    Updated explosion graphics.

commit 4d7860313981833fb3e8afbc18ec08d35d0fda3b
Author: Guus Sliepen <guus@debian.org>
Date:   Sat Aug 27 17:17:54 2011 +0200

    Converted one signed char to bool too many.
    
    This prevented new aliens from being generated throughout the mission,
    making certain missions impossible to complete.

commit d80d1af89c7c454a5653f46b365383b6e60c5e45
Author: Astrid S. de Wijn <astrid@syonax.net>
Date:   Sat Aug 27 16:20:42 2011 +0200

    Add DFSG-compatible replacement graphics.
    
    Some images are made from scratch, others are taken from various sources
    with CC0, CC-BY, CC-BY-SA and GPL licenses, mostly from OpenGameArt.org
    and NASA.

commit d6c17d176ffef1657b369643697033ba25c68da0
Author: Guus Sliepen <guus@debian.org>
Date:   Sat Aug 27 16:18:29 2011 +0200

    Don't use .bmp and .gif anymore, use .png for all lossless graphics.

commit 3dcea6c81fc6997ea100b602b6fb3adc801eded1
Author: Guus Sliepen <guus@debian.org>
Date:   Sat Aug 27 12:24:37 2011 +0200

    Fix a spelling error.

commit b8ba61c75eb115c67f4ffc31cc18b51ba5410c78
Author: Guus Sliepen <guus@debian.org>
Date:   Sat Aug 27 10:53:31 2011 +0200

    Minor spelling and punctuation fixes.

commit c13267d63d69904c780bf88cde3203b94938ede9
Author: Guus Sliepen <guus@debian.org>
Date:   Sat Aug 27 00:29:23 2011 +0200

    Use whole screen for credits, and allow arrow keys to be used.

commit 5629a2ad73a0d51ec28314132f299162d5c9c03d
Author: Guus Sliepen <guus@debian.org>
Date:   Sat Aug 27 00:29:01 2011 +0200

    Move isOnScreen() to explosions.cpp.
    
    It is only used there, and can then be turned into a static function.

commit d7d6dc37bc5c36fe420003005fda277392291d28
Author: Guus Sliepen <guus@debian.org>
Date:   Fri Aug 26 23:53:46 2011 +0200

    Flatten Graphics object.
    
    All functions and variables are now defined in graphics.cpp.
    Before, the functions would be compiled again and again for every source
    file, now it is compiled only once, halving the size of the stripped
    starfighter binary.

commit 878e559b6a97165e1c488291a56dfe2a3bbe3261
Author: Guus Sliepen <guus@debian.org>
Date:   Fri Aug 26 23:27:16 2011 +0200

    Flatten objects which only contain static functions.
    
    There is no reason to have objects which contain only static functions
    and no variables. These functions have been moved to the global
    namespace and are now defined in .cpp files. The math functions are very
    small and have been put in math.h and made static inline.

commit 931d1106923ac93e1330df4cfec9d0bef2673bbc
Author: Guus Sliepen <guus@debian.org>
Date:   Fri Aug 26 22:48:52 2011 +0200

    Fix "random" behaviour of sound, music and fullscreen options.
    
    The state of these options was not only stored in the global config
    file, but also in each saved game. When loading a game or clicking on
    "continue game" from the title screen, the state of these options would
    also be loaded from the save game file. If this changed the state of
    sound and music, this would only take effect when starting a mission or
    going back to the title screen. If it changed the state of the
    fullscreen option, it would never toggle the state, but would
    desynchronise the actual state of the window and the fullscreen option.
    
    This is now fixed by moving these options from the currentGame variable
    to the engine variable, where they are not in danger of being
    overwritten.

commit 6ea4744832e9eaaaef0267cdd6a1be28893893a5
Author: Guus Sliepen <guus@debian.org>
Date:   Fri Aug 26 21:29:04 2011 +0200

    Bring sanity to the header files.
    
    Most .h files were not used to declare the externally visible variables
    and functions of the .cpp files, but only to #include things and declare
    things that were needed by that .cpp file itself. This resulted in a lot
    of duplication.
    
    Now the .h files only declare what is externally visible from the
    corresponding .cpp files. Starfighter.h includes all the other .h files,
    and all .cpp files only #include "Starfighter.h". Functions and
    variables that were not used outside the .cpp file that contained them
    were marked static. Variables defined in .h files were moved to the
    appropriate .cpp files.

commit 8b34e90bcf4ab81d194d513032088db60bb3d479
Author: Guus Sliepen <guus@debian.org>
Date:   Fri Aug 26 16:55:46 2011 +0200

    More bools.

commit 277d34dabdcfb5525d251e607c861bd59bb71e38
Author: Guus Sliepen <guus@debian.org>
Date:   Fri Aug 26 16:14:58 2011 +0200

    Turn signed chars into bools where appropriate.

commit c710b8df7ca3eaf776078c919f1e933e33852323
Author: Guus Sliepen <guus@debian.org>
Date:   Fri Aug 26 15:35:03 2011 +0200

    Recalculate shop prices before giving money back on sold items.
    
    This fixes a bug where one could get more than half the item price back. In
    particularly, a level 2 Plasma Cooling Booster would sell for more than you
    bought it for.
    
    This fixes Debian bug #253380.

commit 3d1b5ab67bdf0c2ab50f32b795b29bf9c2674560
Author: Guus Sliepen <guus@debian.org>
Date:   Fri Aug 26 14:50:08 2011 +0200

    Import data/ directory.
    
    This has already some typos fixed that were fixed in the Debian package of starfighter.

commit 9d43e3ca27537621c7f5fac949c72d8529f95771
Author: Guus Sliepen <guus@debian.org>
Date:   Fri Aug 26 14:46:44 2011 +0200

    Add pack/unpack utilities.
    
    These are made by Josh Triplett and were used in the Debian package of starfighter.

commit 48e8e12b0765df28b1b48c1d2adb0b0c96798a8e
Author: Guus Sliepen <guus@debian.org>
Date:   Fri Aug 26 14:41:34 2011 +0200

    Remove 1 second delays.

commit c42ee44271a0f1b87db9e505d810c4700bb9280d
Author: Guus Sliepen <guus@debian.org>
Date:   Thu Aug 25 15:34:47 2011 +0200

    Don't blit unnecessarily.
    
    During the game, a lot of images were blitted outside the visible area. Also,
    addBuffer() was called even when the destination surface was not the screen,
    resulting in unnecessary blits in unBuffer().

commit 70d0b13ea2ddc3e23753373decbe93f6118f3134
Author: Guus Sliepen <guus@debian.org>
Date:   Thu Aug 25 13:48:36 2011 +0200

    Use textSurfaces instead of calling drawString() in doInfo().
    
    This increases efficiency significantly. Before, callgrind estimated that 58%
    of the CPU time was spent in doInfo(), taking roughly 1.6 kcycles on average
    per call. After, only 0.13 kcycles on average per call are used (12x speedup),
    and only 14% of the CPU time is spent in doInfo().

commit 9e4ae7e3bd56f68753edee41628b3a1b0ba06440
Author: Guus Sliepen <guus@debian.org>
Date:   Thu Aug 25 13:48:02 2011 +0200

    Don't render a textSurface again if nothing has changed.

commit 39ca89d91ca5ebc1e8f052647e9fe91277ee7d5b
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 23:49:59 2011 +0200

    Initialise all members of the Graphics class.
    
    Found by cppcheck.

commit 73c92917e2d949865b0aa54bf8181b20df936eff
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 23:32:00 2011 +0200

    Slightly increase intro text scrolling speed.
    
    Scrolling 1/4 pixel per frame results in jerky motion, mostly because 4
    times 16 2/3 milliseconds is not a round number. Scrolling 1/3 pixel per
    frame results in much smoother scrolling.

commit 5be6a5ec7d55062421f09b5090a0fa537fe1973f
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 23:08:48 2011 +0200

    Randomize explosion thinktime.
    
    This gives engine trails and explosions a more natural look.

commit 9e32c230bea6b3df1c090ed2e20ce69c55e2f8fe
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 22:43:54 2011 +0200

    Use float functions on float variables.

commit c14a9e7956981cbca5d550ecf712d872500d46c7
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 22:32:30 2011 +0200

    Remove a busy loop when showing an error message.

commit 1f7db8a9d852878017aa24b0324fad1d26002b42
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 22:26:33 2011 +0200

    Remove code that was commented out.

commit 93e6c1064ccde856abaa2c106d23231437c5d9db
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 22:22:26 2011 +0200

    Remove unused parameters.

commit d87a0fcc31342398bc768916a19bf7ecdd9db28e
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 21:40:30 2011 +0200

    Make sure SetVideoMode() calls are same as in init.cpp.

commit 212b03fa6868bc410cf2ab164f92fbf4b93343f2
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 20:34:26 2011 +0200

    Use SDL_DOUBLEBUF in all SDL_SetVideoMode() calls, and don't force 16 bits.
    
    By forcing 16 bits for full screen mode, performs drops dramatically on
    displays where SDL has to do conversion.

commit f46bbcef699892475bab6b655c4097342fe1123d
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 20:10:21 2011 +0200

    Remove more busyloops.

commit bb9ba4da28a229d86cf7298aac9135ee8c93bc74
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 20:04:15 2011 +0200

    Remove unused FPS display code.

commit fc9dac5195545646613b12ebf6485d123c50f46c
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 20:02:35 2011 +0200

    Strict 60 Hz update rate without busyloops.

commit 0f278a2748fdde91563dfa1b441481b07b9f8997
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 20:01:40 2011 +0200

    Enable double buffering.
    
    This seems to improve performance (probably because this prevents the
    need to lock the screen surface), and might get rid of tearing.

commit 943a4c7bf32f28f898b7bb7d27c403bbc9e767f9
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 16:01:36 2011 +0200

    Simplify printing time taken for missions.
    
    This removes a lot of lines while at the same time preventing printing a string
    onto itself, which is a bug. Problem was found by cppcheck.

commit b9fded81312c2658b2c67de8d2ff8d15f6733152
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 14:46:34 2011 +0200

    Use delete[] after new array[].
    
    Found by cppcheck.

commit f2c91cbb19f15995528e98ee7d6573b87f039d5e
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 14:44:40 2011 +0200

    Remove unnecessary dereferencing after pointer increments.

commit 0910cd3db6bb5fba6070a1fef693462506f39e57
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 14:42:59 2011 +0200

    Add const to all char * function parameters.

commit 87730b0687079d2975fff19af670bccdf83351df
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 14:32:45 2011 +0200

    No need to typedef structs in C++.

commit 91bdcd8f3766067699dfbaf50fe6b9d897e4330c
Author: Guus Sliepen <guus@debian.org>
Date:   Wed Aug 24 14:28:39 2011 +0200

    SDL header files should be #included in angled brackets.

commit 5bf8d0f2695ab1fc527f83f9f20b3c2a69b7b3fb
Author: Guus Sliepen <guus@sliepen.eu.org>
Date:   Wed Aug 24 14:23:29 2011 +0200

    Apply patch from Debian fixing a potential SIGFPE.

commit 62d503d002e1bc0240119d8a8fb20df098cc6849
Author: Guus Sliepen <guus@sliepen.eu.org>
Date:   Wed Aug 24 14:23:02 2011 +0200

    Apply patch from Debian fixing several overflows.

commit 09b007411c39f8147e9c63a601d6b89e32d02bd7
Author: Guus Sliepen <guus@sliepen.eu.org>
Date:   Wed Aug 24 14:14:44 2011 +0200

    Import of version 1.1 minus music, sound and graphics.
