naev 0.10.4
land_shipyard.h
1/*
2 * See Licensing and Copyright notice in naev.h
3 */
4#pragma once
5
6#include "land.h"
7
8/*
9 * Window stuff.
10 */
11void shipyard_open( unsigned int wid );
12void shipyard_update( unsigned int wid, const char* str );
13void shipyard_cleanup (void);
14
15/*
16 * Helper functions.
17 */
18int shipyard_canBuy( const char *shipname, const Spob *spob );
19int shipyard_canTrade( const char *shipname, const Spob *spob );
void shipyard_open(unsigned int wid)
Opens the shipyard window.
Definition: land_shipyard.c:58
int shipyard_canBuy(const char *shipname, const Spob *spob)
Makes sure it's valid to buy a ship.
void shipyard_cleanup(void)
Cleans up shipyard data.
int shipyard_canTrade(const char *shipname, const Spob *spob)
Makes sure it's valid to buy a ship, trading the old one in simultaneously.
void shipyard_update(unsigned int wid, const char *str)
Updates the ships in the shipyard window.
Represents a Space Object (SPOB), including and not limited to planets, stations, wormholes,...
Definition: space.h:88