|
| static void | land_stranded (void) |
| | Runs the rescue script if players are stuck.
|
| static int | land_gc (void *unused) |
| | Runs Lua garbage collection.
|
| static int | land_hasLocalMap (void) |
| static void | land_createMainTab (unsigned int wid) |
| | Creates the main tab.
|
| static void | land_setupTabs (void) |
| | Sets up the tabs for the window.
|
| static void | land_cleanupWindow (unsigned int wid, const char *name) |
| | Cleans up the land window.
|
| static void | land_changeTab (unsigned int wid, const char *wgt, int old, int tab) |
| | Saves the last place the player was.
|
| static void | bar_getDim (int wid, int *w, int *h, int *iw, int *ih, int *bw, int *bh) |
| | Gets the dimensions of the spaceport bar window.
|
| static void | bar_open (unsigned int wid) |
| | Opens the spaceport bar window.
|
| static int | bar_genList (unsigned int wid) |
| | Generates the mission list for the bar.
|
| static void | bar_update (unsigned int wid, const char *str) |
| | Updates the missions in the spaceport bar.
|
| static void | bar_close (unsigned int wid, const char *name) |
| | Closes the mission computer window.
|
| static void | bar_approach (unsigned int wid, const char *str) |
| | Approaches guy in mission computer.
|
| static int | news_load (void) |
| | Loads the news.
|
| static void | misn_popdown (unsigned int wid, const char *str) |
| | Opens the small pop-down menu.
|
| static void | misn_popdownActivate (unsigned int wid, const char *str) |
| static void | misn_popdownSelect (unsigned int wid, const char *str) |
| static void | misn_computerOptions (unsigned int wid, const char *str) |
| | Do the popdown options.
|
| static void | misn_computerOptionsRegen (unsigned int wid, const char *str) |
| static void | misn_computerOptionsClose (unsigned int wid, const char *name) |
| | Closes the mission computer window.
|
| static void | misn_open (unsigned int wid) |
| | Opens the mission computer window.
|
| static void | misn_autonav (unsigned int wid, const char *str) |
| | Autonav to selected mission.
|
| static void | misn_accept (unsigned int wid, const char *str) |
| | Accepts the selected mission.
|
| static void | misn_genList (unsigned int wid) |
| | Generates the mission list.
|
| static void | misn_update (unsigned int wid, const char *str) |
| | Updates the mission list.
|
| void | land_queueTakeoff (void) |
| | Queue a takeoff.
|
| void | land_needsTakeoff (int delay) |
| int | land_canSave (void) |
| | Whether or not the player can save.
|
| int | land_doneLoading (void) |
| | Check to see if finished loading.
|
| void | land_errClear (void) |
| | Clear error dialogues.
|
| void | land_errDialogueBuild (const char *fmt,...) |
| | Generates error dialogues used by several landing tabs.
|
| int | land_errDisplay (void) |
| | Displays an error if applicable.
|
| void | misn_patchMission (const Mission *misn) |
| | Patches a mission into the mission computer.
|
| void | misn_regen (void) |
| | Regenerates the mission list.
|
| void | bar_regen (void) |
| | Regenerates the bar list.
|
| static int * | misn_filter (const Mission *misn) |
| | Hides missions we don't want to look at.
|
| static int | misn_cmp (const void *p1, const void *p2) |
| | Used to sort available mission computer missions.
|
| void | land_refuel (void) |
| | Refuels the player's current ship, if possible.
|
| static void | spaceport_buyMap (unsigned int wid, const char *str) |
| | Buys a local system map.
|
| void | land_updateMainTab (void) |
| | Adds the "Buy Local Map" button if needed and updates info.
|
| void | land_buttonTakeoff (unsigned int wid, const char *unused) |
| | Wrapper for takeoff mission button.
|
| unsigned int | land_getWid (int window) |
| | Gets the WID of a window by type.
|
| void | land_genWindows (int load) |
| | Recreates the land windows.
|
| int | land_setWindow (int window) |
| | Sets the land window tab.
|
| void | land (Spob *p, int load) |
| | Opens up all the land dialogue stuff.
|
| void | takeoff (int delay, int nosave) |
| | Makes the player take off if landed.
|
| void | land_cleanup (void) |
| | Cleans up some land-related variables.
|
| void | land_exit (void) |
| | Exits all the landing stuff.
|
Handles all the landing menus and actions.
Definition in file land.c.