[Change] Sanitized message order.
This commit is contained in:
parent
c1db3ff7ab
commit
36812733fd
2
TODO
2
TODO
@ -2,7 +2,7 @@ Vital:
|
|||||||
-- Missions
|
-- Missions
|
||||||
-- Save
|
-- Save
|
||||||
-- Allow multiple ships in storage.
|
-- Allow multiple ships in storage.
|
||||||
-- Commodities.
|
-- Make energy do something.
|
||||||
-- Main Menu.
|
-- Main Menu.
|
||||||
-- Player death!
|
-- Player death!
|
||||||
-- Player faction system.
|
-- Player faction system.
|
||||||
|
@ -172,16 +172,17 @@ void player_new(void) {
|
|||||||
// Money.
|
// Money.
|
||||||
player_credits = RNG(l, h);
|
player_credits = RNG(l, h);
|
||||||
|
|
||||||
|
// Welcome message.
|
||||||
|
player_message("Welcome to "APPNAME"!");
|
||||||
|
player_message("v%d.%d.%d", VMAJOR, VMINOR, VREV);
|
||||||
|
|
||||||
|
// Create the player and start the game.
|
||||||
player_newShip(ship);
|
player_newShip(ship);
|
||||||
space_init(system);
|
space_init(system);
|
||||||
|
|
||||||
// Position and direction.
|
// Position and direction.
|
||||||
player_warp(x, y);
|
player_warp(x, y);
|
||||||
player->solid->dir = RNG(0, 359) / 180.*M_PI;
|
player->solid->dir = RNG(0, 359) / 180.*M_PI;
|
||||||
|
|
||||||
// Welcome message.
|
|
||||||
player_message("Welcome to "APPNAME"!");
|
|
||||||
player_message("v%d.%d.%d", VMAJOR, VMINOR, VREV);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Change the players ship.
|
// Change the players ship.
|
||||||
|
Loading…
Reference in New Issue
Block a user