19 LAND_WINDOW_EQUIPMENT,
20 LAND_WINDOW_COMMODITY,
25#define LAND_WIDTH RESOLUTION_W_MIN
26#define LAND_HEIGHT RESOLUTION_H_MIN
27#define PORTRAIT_WIDTH 200
28#define PORTRAIT_HEIGHT 150
33#define LAND_BUTTON_WIDTH 200
34#define LAND_BUTTON_HEIGHT 40
39#define LOCAL_MAP_NAME "Local System Map"
48#define land_tabGenerate(w) (land_generated |= (1 << w))
49#define land_tabGenerated(w) (land_generated & (1 << w))
50extern unsigned int land_generated;
56void land_needsTakeoff(
int delay );
61void takeoff(
int delay,
int nosave );
void bar_regen(void)
Regenerates the bar list.
void land_queueTakeoff(void)
Queue a takeoff.
void takeoff(int delay, int nosave)
Makes the player take off if landed.
int can_swapEquipment(const char *shipname)
Makes sure it's valid to change ships in the equipment view.
void land_genWindows(int load, int changetab)
Recreates the land windows.
int land_setWindow(int window)
Sets the land window tab.
unsigned int land_getWid(int window)
Gets the WID of a window by type.
void land_cleanup(void)
Cleans up some land-related variables.
int land_doneLoading(void)
Check to see if finished loading.
void land(Spob *p, int load)
Opens up all the land dialogue stuff.
void land_errDialogueBuild(const char *fmt,...)
Generates error dialogues used by several landing tabs.
int land_errDialogue(const char *name, const char *type)
Generates error dialogues used by several landing tabs.
void land_exit(void)
Exits all the landing stuff.
void land_updateMainTab(void)
Adds the "Buy Local Map" button if needed and updates info.
int land_canSave(void)
Whether or not the player can save.
void land_buttonTakeoff(unsigned int wid, const char *unused)
Wrapper for takeoff mission button.
void land_refuel(void)
Refuels the player's current ship, if possible.
int can_sell(const char *shipname)
Makes sure it's valid to sell a ship.
int can_swap(const char *shipname)
Makes sure it's valid to change ships.
Represents a Space Object (SPOB), including and not limited to planets, stations, wormholes,...