Steam Fort 0.5
Functions

src/map.cpp File Reference

#include "map.hpp"
#include "main.hpp"
#include "adventure.hpp"

Functions

void update_map_mob (int x, int y, int mob)
 Function update map when mob value was changed.
void update_map_item (int x, int y, int item, bool remove)
 Function update map when item value was changed.

Function Documentation

void update_map_item ( int  x,
int  y,
int  item,
bool  remove 
)

Function update map when item value was changed.

Parameters:
xX-axis position on map.
yY-axis position on map.
itemIndex of item.
removeIf true, remove item, otherwise add item. Default false.
void update_map_mob ( int  x,
int  y,
int  mob 
)

Function update map when mob value was changed.

Parameters:
xX-axis position on map.
yY-axis position on map.
mobIndex of mob.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines