Roguelike
All Classes Namespaces Functions Variables Typedefs Friends Pages
helper.h
1 
21 #ifndef HELPER_H
22 #define HELPER_H
23 #include <int_point.h>
24 #include <vector>
25 #include <boost/filesystem.hpp>
26 #include <string.h>
27 #include <constants.h>
28 #include <sstream>
29 
30 
31 using namespace boost::filesystem;
32 
33 
46 IntPoint get_abs(IntPoint, IntPoint);
47 
53 std::vector<std::string> all_files(const string & dir_string);
54 
61 std::vector<std::string> all_files_of_type(const string & dir_string, const string & extension);
62 
71 std::string parse_settings(string &setting);
72 
78 int get_max_width(std::vector<std::string> string_list);
79 
86 std::vector<std::string> split_string(std::string input, char character);
87 
95 std::vector<int> strings_to_ints(std::vector<std::string> strings);
96 
97 #endif
Definition: int_point.h:26