quix0rs-blobwars.git
13 years agoAdd NSIS script to create a Windows installer.
Guus Sliepen [Sun, 13 Feb 2011 17:14:00 +0000 (18:14 +0100)]
Add NSIS script to create a Windows installer.

13 years agoRemove unnecessary delay while initialising.
Guus Sliepen [Sun, 13 Feb 2011 17:12:23 +0000 (18:12 +0100)]
Remove unnecessary delay while initialising.

13 years agoAllow music tags to be stored in the pak file.
Guus Sliepen [Sun, 13 Feb 2011 17:11:28 +0000 (18:11 +0100)]
Allow music tags to be stored in the pak file.

13 years agoSmall fixes for the Windows makefile.
Guus Sliepen [Sun, 13 Feb 2011 17:08:56 +0000 (18:08 +0100)]
Small fixes for the Windows makefile.

13 years agoDon't enable gettext support on Windows for now.
Guus Sliepen [Sun, 13 Feb 2011 17:07:33 +0000 (18:07 +0100)]
Don't enable gettext support on Windows for now.

13 years agoBump version and update changelog.
Guus Sliepen [Thu, 30 Dec 2010 15:13:01 +0000 (16:13 +0100)]
Bump version and update changelog.

13 years agoUpdate readme file with all license information.
Guus Sliepen [Thu, 30 Dec 2010 15:00:23 +0000 (16:00 +0100)]
Update readme file with all license information.

13 years agoUpdate copyrights.
Guus Sliepen [Thu, 30 Dec 2010 14:53:29 +0000 (15:53 +0100)]
Update copyrights.

The last release from Parallel Realities was in 2010.

13 years agoDon't build pak file by default.
Guus Sliepen [Thu, 30 Dec 2010 14:52:47 +0000 (15:52 +0100)]
Don't build pak file by default.

13 years agoFix and localise exit screen.
Guus Sliepen [Thu, 30 Dec 2010 14:36:09 +0000 (15:36 +0100)]
Fix and localise exit screen.

13 years agoAdd exit screen with pointers to Blobwars 2 and The Battle for the Solar System.
Guus Sliepen [Thu, 30 Dec 2010 14:16:28 +0000 (15:16 +0100)]
Add exit screen with pointers to Blobwars 2 and The Battle for the Solar System.

13 years agoProper attribution of all sound samples in the credits.
Guus Sliepen [Wed, 29 Dec 2010 13:01:57 +0000 (14:01 +0100)]
Proper attribution of all sound samples in the credits.

13 years agoUse field width limits with fscanf().
Guus Sliepen [Sun, 26 Dec 2010 13:45:33 +0000 (14:45 +0100)]
Use field width limits with fscanf().

Cppcheck warns that unlimited field withs can lead to crashes with huge files.

13 years agoRemove unused hash calculation from fileExists().
Guus Sliepen [Sun, 26 Dec 2010 13:40:14 +0000 (14:40 +0100)]
Remove unused hash calculation from fileExists().

13 years agoRemove redundant NULL pointer checks when deallocating.
Guus Sliepen [Sun, 26 Dec 2010 13:16:49 +0000 (14:16 +0100)]
Remove redundant NULL pointer checks when deallocating.

13 years agoMake functions const where possible.
Guus Sliepen [Sun, 26 Dec 2010 13:07:48 +0000 (14:07 +0100)]
Make functions const where possible.

13 years agoUpdate credits.
Guus Sliepen [Sun, 26 Dec 2010 13:07:05 +0000 (14:07 +0100)]
Update credits.

13 years agoFix LDFLAGS to ensure proper compilation with MinGW.
Guus Sliepen [Sat, 25 Dec 2010 15:24:04 +0000 (16:24 +0100)]
Fix LDFLAGS to ensure proper compilation with MinGW.

13 years agoFix #includes for SDL_mutex and SDL_thread.
Guus Sliepen [Sat, 25 Dec 2010 15:20:39 +0000 (16:20 +0100)]
Fix #includes for SDL_mutex and SDL_thread.

13 years agoAdd DFSG compliant sound.
Guus Sliepen [Fri, 24 Dec 2010 13:01:32 +0000 (14:01 +0100)]
Add DFSG compliant sound.

The samples have been taken from various Free Software games.

13 years agoRemove extension from sound samples.
Guus Sliepen [Fri, 24 Dec 2010 12:55:58 +0000 (13:55 +0100)]
Remove extension from sound samples.

SDL can figure out the file type on its own, this allows us to change sample
formats without having to change the source code as well.

13 years agoAdd DFSG compliant music.
Guus Sliepen [Fri, 24 Dec 2010 12:34:56 +0000 (13:34 +0100)]
Add DFSG compliant music.

Big thanks to DJ Sjors, Ambick and SinQ, who have created the music that is now
used in Blobwars and have licensed it under the Creative Commons BY-SA 3.0 and
BY 3.0 licenses.

13 years agoAdd missing closedir() after opendir().
Guus Sliepen [Tue, 21 Dec 2010 15:01:54 +0000 (16:01 +0100)]
Add missing closedir() after opendir().

Found by cppcheck.

13 years agoFix mismatched allocation and deallocation and memory leak in medal code.
Guus Sliepen [Tue, 21 Dec 2010 15:01:15 +0000 (16:01 +0100)]
Fix mismatched allocation and deallocation and memory leak in medal code.

Found by cppcheck.

13 years agoFix reading past end of array containing the record of keypresses.
Guus Sliepen [Tue, 21 Dec 2010 14:54:10 +0000 (15:54 +0100)]
Fix reading past end of array containing the record of keypresses.

Found by cppcheck.

13 years agoSet vertical speed of target to zero when Aquablob recharges.
Guus Sliepen [Tue, 21 Dec 2010 14:48:45 +0000 (15:48 +0100)]
Set vertical speed of target to zero when Aquablob recharges.

Spotted by Theodore Lee.

13 years agoRemove bogus Exit LINEDEF in BioMech Communications.
Guus Sliepen [Sat, 31 Jul 2010 15:10:15 +0000 (17:10 +0200)]
Remove bogus Exit LINEDEF in BioMech Communications.

This LINEDEF prevents the player from going into the small alcoves in the right
wall of the tank.  However, it is buggy, and in some cases the LINEDEF can be
triggered in such a way that the player cannot back out of it anymore.  After
removing, the bug is gone, and the player can enter the alcove a little bit,
but this is harmless.

13 years agoIncrease storage size for message strings.
Guus Sliepen [Tue, 27 Jul 2010 16:56:01 +0000 (18:56 +0200)]
Increase storage size for message strings.

This should help especially for translations with many multi-byte Unicode
characters.

13 years agoUse strlcat() and strlcpy(), #define wrappers when these functions are not available.
Guus Sliepen [Tue, 27 Jul 2010 16:06:27 +0000 (18:06 +0200)]
Use strlcat() and strlcpy(), #define wrappers when these functions are not available.

13 years agoFix alignment of columsn in data/hub and expand tabs.
Guus Sliepen [Tue, 27 Jul 2010 16:04:45 +0000 (18:04 +0200)]
Fix alignment of columsn in data/hub and expand tabs.

13 years agoApply patch from Bas Wijnen preventing the player from getting the Jetpack too early.
Guus Sliepen [Tue, 27 Jul 2010 15:09:36 +0000 (17:09 +0200)]
Apply patch from Bas Wijnen preventing the player from getting the Jetpack too early.

From: Bas Wijnen <wijnen@debian.org>

Attached is a version of data/hub which implements the level order as I
consider it appropriate.  I reorganized and reindented the file, because
it wasn't clearly readable to me.  The actual changes aren't large
though.  What I did:

- Set the requirement for "Ancient Tomb #4" from "BioMech Assimilator"
  to "Stages 18"
- Set the requirement for "BioMech Assimilator" from "Stages 15" to
  "Ancient Tomb #4".

I have tested this using cheat mode, pressing F3 to finish all levels,
and it works as expected.

13 years agoCache text surfaces.
Guus Sliepen [Wed, 7 Jul 2010 17:08:12 +0000 (19:08 +0200)]
Cache text surfaces.

According to callgrind, a lot of time was spent drawing the same text over and
over to a surface.  A caching version of Graphics::drawString has been added,
that keeps the surface around when the text hasn't changed.

13 years agoDo not fill in comboString when we are not using it.
Guus Sliepen [Wed, 7 Jul 2010 14:22:26 +0000 (16:22 +0200)]
Do not fill in comboString when we are not using it.

According to callgrind, blobwars was spending 4% of its time in
enemyBulletCollisions(), calling snprintf() to fill in comboString. However,
this string was only used when an enemy was killed to check against objectives.
So now snprintf() has been moved to where it actually is being used, dropping
time spent in that function by 3.8%.

13 years agoShow music credits after some time in title screen, hub and credits.
Guus Sliepen [Sun, 4 Jul 2010 13:20:10 +0000 (15:20 +0200)]
Show music credits after some time in title screen, hub and credits.

13 years agoPut a dark grey rectangle behind music credits to improve readability.
Guus Sliepen [Sun, 4 Jul 2010 13:19:43 +0000 (15:19 +0200)]
Put a dark grey rectangle behind music credits to improve readability.

13 years agoRemove unused source files.
Guus Sliepen [Sat, 3 Jul 2010 21:39:06 +0000 (23:39 +0200)]
Remove unused source files.

13 years agoNicer wind particles in Arctic Wastes.
Guus Sliepen [Sat, 3 Jul 2010 19:21:28 +0000 (21:21 +0200)]
Nicer wind particles in Arctic Wastes.

13 years agoVarious fixes for bugs valgrind found.
Guus Sliepen [Sat, 3 Jul 2010 18:28:29 +0000 (20:28 +0200)]
Various fixes for bugs valgrind found.

13 years agoRemove a debug message.
Guus Sliepen [Sat, 3 Jul 2010 18:28:14 +0000 (20:28 +0200)]
Remove a debug message.

13 years agoShow music credits during start of a level and when showing the map.
Guus Sliepen [Sat, 3 Jul 2010 16:29:40 +0000 (18:29 +0200)]
Show music credits during start of a level and when showing the map.

The title, album and artist are shown briefly in the lower right corner of the
screen 5 seconds after a level has been started, along with an icon
representing the license under which the level music is available. The same
information is also shown when the level map is viewed.

13 years agoDo not load music when we do not need to show a cutscene.
Guus Sliepen [Sat, 3 Jul 2010 16:29:22 +0000 (18:29 +0200)]
Do not load music when we do not need to show a cutscene.

13 years agoAdd Creative Commons logos.
Guus Sliepen [Sat, 3 Jul 2010 13:48:21 +0000 (15:48 +0200)]
Add Creative Commons logos.

13 years agoReplace music filenames with generic filenames.
Guus Sliepen [Sat, 3 Jul 2010 13:15:19 +0000 (15:15 +0200)]
Replace music filenames with generic filenames.

13 years agoAllow the game to run without sounds.
Guus Sliepen [Fri, 2 Jul 2010 16:31:58 +0000 (18:31 +0200)]
Allow the game to run without sounds.

Reapplication of commit d290ae9a9b526551f399580c294289be128a1039.

13 years agoUse UNIX line endings everywhere.
Guus Sliepen [Mon, 28 Jun 2010 22:09:44 +0000 (00:09 +0200)]
Use UNIX line endings everywhere.

Reapplication of commit 927fcd8193a4d0c9365796f30f246bf519b2cce2.

13 years agoMake sure mapeditor can be linked.
Guus Sliepen [Mon, 28 Jun 2010 22:08:24 +0000 (00:08 +0200)]
Make sure mapeditor can be linked.

13 years agoEnsure the map editor can be compiled.
Guus Sliepen [Mon, 28 Jun 2010 22:05:43 +0000 (00:05 +0200)]
Ensure the map editor can be compiled.

Reapplication of commit c51320ee6a6c728224ee85a4d9fd6fe22044d48c.

13 years agoUse DEBUG instead of USEPAK to enable debugging code.
Guus Sliepen [Mon, 28 Jun 2010 22:03:15 +0000 (00:03 +0200)]
Use DEBUG instead of USEPAK to enable debugging code.

eapplication of commit bcd19efa602b9279399b17e7756b8212df0fa234.

13 years agoBuilding a pak file requires the pak utility to have been built.
Guus Sliepen [Mon, 28 Jun 2010 21:56:40 +0000 (23:56 +0200)]
Building a pak file requires the pak utility to have been built.

Reapplication of commit 6e7bfbcc9203c6ff974190cdbd5e2b7401734fed.

13 years agoDo not print a string into itself.
Guus Sliepen [Mon, 28 Jun 2010 21:55:25 +0000 (23:55 +0200)]
Do not print a string into itself.

13 years agoUse snprintf() and strncpy().
Guus Sliepen [Mon, 28 Jun 2010 21:41:06 +0000 (23:41 +0200)]
Use snprintf() and strncpy().

13 years agoUse %zd when printing result of strlen().
Guus Sliepen [Mon, 28 Jun 2010 21:11:28 +0000 (23:11 +0200)]
Use %zd when printing result of strlen().

13 years agoRemove automatically generated compiled message catalogs.
Guus Sliepen [Sat, 1 May 2010 10:57:52 +0000 (12:57 +0200)]
Remove automatically generated compiled message catalogs.

14 years ago1.17 Medal Support
Stephen Sweeney [Mon, 8 Mar 2010 08:31:49 +0000 (08:31 +0000)]
1.17 Medal Support

14 years ago1.17 Medal Support
Stephen Sweeney [Mon, 8 Mar 2010 08:29:27 +0000 (08:29 +0000)]
1.17 Medal Support

14 years agoUse UNIX line endings everywhere.
Guus Sliepen [Thu, 24 Dec 2009 10:21:24 +0000 (11:21 +0100)]
Use UNIX line endings everywhere.

14 years agoEnsure the map editor can be compiled.
Guus Sliepen [Wed, 23 Dec 2009 22:21:31 +0000 (23:21 +0100)]
Ensure the map editor can be compiled.

14 years agoUse DEBUG instead of USEPAK to enable debugging code.
Guus Sliepen [Wed, 23 Dec 2009 13:22:50 +0000 (14:22 +0100)]
Use DEBUG instead of USEPAK to enable debugging code.

14 years agoAllow the game to run without sounds.
Guus Sliepen [Wed, 23 Dec 2009 13:14:24 +0000 (14:14 +0100)]
Allow the game to run without sounds.

14 years agoPerform a sanity check when loading keyboard.cfg.
Guus Sliepen [Tue, 22 Dec 2009 18:37:37 +0000 (19:37 +0100)]
Perform a sanity check when loading keyboard.cfg.

14 years agoMove desktop entry from Applications to ArcadeGame section.
Guus Sliepen [Tue, 22 Dec 2009 18:34:33 +0000 (19:34 +0100)]
Move desktop entry from Applications to ArcadeGame section.

14 years agoBuilding a pak file requires the pak utility to have been built.
Guus Sliepen [Tue, 22 Dec 2009 18:32:55 +0000 (19:32 +0100)]
Building a pak file requires the pak utility to have been built.

14 years agoFix spelling error: weaponary -> weaponry
Guus Sliepen [Tue, 22 Dec 2009 18:31:48 +0000 (19:31 +0100)]
Fix spelling error: weaponary -> weaponry

14 years agoUpdate Catalan and Dutch translations.
Guus Sliepen [Tue, 22 Dec 2009 18:29:39 +0000 (19:29 +0100)]
Update Catalan and Dutch translations.

14 years agoImport of version 1.14 minus music and sounds.
Guus Sliepen [Tue, 22 Dec 2009 16:00:04 +0000 (17:00 +0100)]
Import of version 1.14 minus music and sounds.