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.
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.
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%.
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.