Steam Fort 0.5
|
Go to the source code of this file.
Functions | |
void | start_adventure (int index) |
Start adventure, create map, fill with player, mobs, etc. | |
void | move_player (int x, int y) |
Move, set target for player. | |
void | update_adventure () |
Update state of all mobiles and items in adventure mode. | |
void | draw_adventure () |
Draw adventure map. | |
void | setVisibleAdvmenu (bool visible) |
Show/hide adventure menu. | |
void | buildAdventureUI () |
Build adventure UI. | |
Variables | |
Cell | advmap [MAPHEIGHT][MAPWIDTH] |
vector< Mobile > | advmobs |
vector< Item > | advobjs |
int | dungeonlevel |
Mission | mission |
void buildAdventureUI | ( | ) |
Build adventure UI.
void draw_adventure | ( | ) |
Draw adventure map.
void move_player | ( | int | x, |
int | y | ||
) |
Move, set target for player.
x | X-axis position of point to move. |
y | Y-axis position of point to move. |
void setVisibleAdvmenu | ( | bool | visible | ) |
Show/hide adventure menu.
visible | If true show menu, otherwise hide. |
void start_adventure | ( | int | index | ) |
Start adventure, create map, fill with player, mobs, etc.
index | Index of mission. |
void update_adventure | ( | ) |
Update state of all mobiles and items in adventure mode.
int dungeonlevel |