1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-15 02:28:05 +00:00

more header cleanup

This commit is contained in:
Zeno Rogue
2019-08-09 22:37:11 +02:00
parent a423dbd2da
commit e1194ff588
14 changed files with 164 additions and 299 deletions

View File

@@ -3,6 +3,7 @@
#include <fstream>
#include <string>
#include <vector>
#include <set>
using namespace std;
@@ -28,7 +29,11 @@ void mark_file() {
int in_hdr;
set<string> seen;
void gen(string s) {
if(seen.count(s)) return;
seen.insert(s);
which_file = s;
ifstream in(s);
while(getline(in, s)) {