Steam Fort 0.5
Classes | Functions

src/map.hpp File Reference

#include "libtcod.hpp"

Go to the source code of this file.

Classes

struct  Cell
 Contains all data for map cell. More...

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=false)
 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