Added some starting money for nightmare difficulty.
As a result, you're not stuck with the weakest weapon in the game anymore. You have to choose between the double rockets, plasma permanently upgraded in one area, plasma temporarily upgraded in some areas, or some combination.
This commit is contained in:
parent
932341f0e6
commit
6f768c88a6
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
||||||
CXXFLAGS ?= -O2 -Wall -g
|
CXXFLAGS ?= -O2 -Wall -g
|
||||||
CXXFLAGS += `pkg-config --cflags sdl2 SDL2_image SDL2_mixer`
|
CXXFLAGS += `pkg-config --cflags sdl2 SDL2_image SDL2_mixer`
|
||||||
LIBS = `pkg-config --libs sdl2 SDL2_image SDL2_mixer`
|
LIBS = `pkg-config --libs sdl2 SDL2_image SDL2_mixer`
|
||||||
OBJS = alien.o audio.o bullets.o cargo.o collectable.o comms.o debris.o events.o explosions.o game.o globals.o graphics.o init.o intermission.o loadSave.o messages.o misc.o missions.o player.o resources.o script.o shop.o Starfighter.o title.o weapons.o
|
OBJS = alien.o audio.o bullet.o cargo.o collectable.o comms.o debris.o events.o explosions.o game.o globals.o graphics.o init.o intermission.o loadSave.o messages.o misc.o missions.o player.o resources.o script.o shop.o Starfighter.o title.o weapons.o
|
||||||
|
|
||||||
VERSION = 1.3-dev
|
VERSION = 1.3-dev
|
||||||
PROG = starfighter
|
PROG = starfighter
|
||||||
|
|
|
@ -37,7 +37,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "alien.h"
|
#include "alien.h"
|
||||||
#include "audio.h"
|
#include "audio.h"
|
||||||
#include "bullets.h"
|
#include "bullet.h"
|
||||||
#include "cargo.h"
|
#include "cargo.h"
|
||||||
#include "collectable.h"
|
#include "collectable.h"
|
||||||
#include "comms.h"
|
#include "comms.h"
|
||||||
|
|
|
@ -106,6 +106,7 @@ void newGame()
|
||||||
currentGame.maxPlasmaOutput = 1;
|
currentGame.maxPlasmaOutput = 1;
|
||||||
currentGame.maxPlasmaDamage = 1;
|
currentGame.maxPlasmaDamage = 1;
|
||||||
currentGame.maxRocketAmmo = 5;
|
currentGame.maxRocketAmmo = 5;
|
||||||
|
currentGame.cash = 6000;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
player.maxShield = 50;
|
player.maxShield = 50;
|
||||||
|
|
|
@ -72,7 +72,7 @@ static void createDifficultyMenu()
|
||||||
else if (currentGame.difficulty == DIFFICULTY_HARD)
|
else if (currentGame.difficulty == DIFFICULTY_HARD)
|
||||||
textSurface(TS_DIFFICULTY, "DIFFICULTY - HARD", -1, 370, FONT_WHITE);
|
textSurface(TS_DIFFICULTY, "DIFFICULTY - HARD", -1, 370, FONT_WHITE);
|
||||||
else if (currentGame.difficulty == DIFFICULTY_NIGHTMARE)
|
else if (currentGame.difficulty == DIFFICULTY_NIGHTMARE)
|
||||||
textSurface(TS_DIFFICULTY, "DIFFICULTY - NIGHTMARE", -1, 370, FONT_WHITE);
|
textSurface(TS_DIFFICULTY, "DIFFICULTY - NIGHTMARE!", -1, 370, FONT_WHITE);
|
||||||
else
|
else
|
||||||
textSurface(TS_DIFFICULTY, "DIFFICULTY - NORMAL", -1, 370, FONT_WHITE);
|
textSurface(TS_DIFFICULTY, "DIFFICULTY - NORMAL", -1, 370, FONT_WHITE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue