summaryrefslogblamecommitdiffstats
path: root/crawl-ref/source/overmap.h
blob: 25a0ab6fe6f3ab60e4b0301ee267ae1f8e738a73 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
  
                         

                                       





                 


                  
                                                                                
                                                                      
                                                       
                                                            
                       
                                            
                                          
 




                                                               





                                                                         





                                                             
      
/*
 *  File:       overmap.h
 *  Summary:    "Overmap" functionality
 *  Written by: Linley Henzell
 */


#ifndef OVERMAP_H
#define OVERMAP_H

#include "stash.h"
#include <vector>

void seen_notable_thing(dungeon_feature_type which_thing, const coord_def& pos);
bool move_notable_thing(const coord_def& orig, const coord_def& dest);
bool overmap_knows_portal(dungeon_feature_type portal);
int  overmap_knows_num_portals(dungeon_feature_type portal);
void display_overmap();
bool unnotice_feature(const level_pos &pos);
std::string overview_description_string();

///////////////////////////////////////////////////////////
void set_level_annotation(std::string str,
                          level_id li = level_id::current());
void clear_level_annotation(level_id li = level_id::current());

void set_level_exclusion_annotation(std::string str,
                                    level_id li = level_id::current());
void clear_level_exclusion_annotation(level_id li = level_id::current());

std::string get_level_annotation(level_id li = level_id::current(),
                                 bool skip_excl = false);

bool level_annotation_has(std::string str,
                          level_id li = level_id::current());

void annotate_level();

#endif