Steam Fort 0.5
|
#include "mission.hpp"
#include "ui.hpp"
#include "main.hpp"
#include <iostream>
#include "adventure.hpp"
Functions | |
void | buildMissionUI () |
Build missions user interface. | |
void | missionClb (Widget *w, void *data) |
Start adventure. | |
void | missiondiff (int index, int line) |
Show mission difficulty. | |
void | missionlength (int index, int line) |
Show mission length. | |
void | missionloc (int index, int line) |
Show mission location. | |
void | generatemissions () |
Generate available missions. | |
void | setVisibleMission (bool visible) |
Show/hide information about missions. | |
int | find_mission (string name) |
Find mission by name. | |
Variables | |
Container * | missionmenu = new Container(0, 0, SCREENWIDTH, SCREENHEIGHT) |
int | missions [3] |
void buildMissionUI | ( | ) |
Build missions user interface.
int find_mission | ( | string | name | ) |
Find mission by name.
name | Name of mission to find. |
void generatemissions | ( | ) |
Generate available missions.
void missionClb | ( | Widget * | w, |
void * | data | ||
) |
Start adventure.
w | Unused. |
data | Number of mission. |
void missiondiff | ( | int | index, |
int | line | ||
) |
Show mission difficulty.
index | Index of mission. |
line | Line of text. |
void missionlength | ( | int | index, |
int | line | ||
) |
Show mission length.
index | Index of mission. |
line | Line of text. |
void missionloc | ( | int | index, |
int | line | ||
) |
Show mission location.
index | Index of mission. |
line | Line of text. |
void setVisibleMission | ( | bool | visible | ) |
Show/hide information about missions.
visible | If true, show missions, otherwise hide menu. |
Container* missionmenu = new Container(0, 0, SCREENWIDTH, SCREENHEIGHT) |
int missions[3] |