21 LAND_WINDOW_EQUIPMENT,
22 LAND_WINDOW_COMMODITY,
27 MISNCOMPUTER_SORT_PRIORITY,
28 MISNCOMPUTER_SORT_REWARD,
29 MISNCOMPUTER_SORT_DISTANCE,
30 MISNCOMPUTER_SORT_SETTINGS,
32typedef struct MissionComputerOptions_ {
39#define LAND_WIDTH RESOLUTION_W_MIN
40#define LAND_HEIGHT RESOLUTION_H_MIN
41#define PORTRAIT_WIDTH 200
42#define PORTRAIT_HEIGHT 150
47#define LAND_BUTTON_WIDTH 200
48#define LAND_BUTTON_HEIGHT 40
53#define LOCAL_MAP_NAME ( start_local_map_default() )
62#define land_tabGenerate( w ) \
63 ( land_generated |= ( 1 << w ) )
64#define land_tabGenerated( w ) \
65 ( land_generated & ( 1 << w ) )
66extern unsigned int land_generated;
72void land_needsTakeoff(
int delay );
77void 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.
void misn_patchMission(const Mission *misn)
Patches a mission into the mission computer.
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.
void land_exit(void)
Exits all the landing stuff.
void land_genWindows(int load)
Recreates the land windows.
void land_updateMainTab(void)
Adds the "Buy Local Map" button if needed and updates info.
void land_errClear(void)
Clear error dialogues.
int land_canSave(void)
Whether or not the player can save.
void misn_regen(void)
Regenerates the mission list.
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 land_errDisplay(void)
Displays an error if applicable.
MissionComputerSort sortby
Represents an active mission.
Represents a Space Object (SPOB), including and not limited to planets, stations, wormholes,...