1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-29 13:07:40 +00:00

replacing with an explicit list

This commit is contained in:
Zeno Rogue
2018-06-17 18:32:06 +02:00
parent dabf322095
commit d3200253db
5 changed files with 40 additions and 14 deletions

View File

@@ -9,14 +9,17 @@
#include <map>
#include <string>
#include <stdio.h>
#include <cstdio>
#include <vector>
#include <stdlib.h>
using namespace std;
#include <cstdlib>
#include <set>
using std::string;
using std::map;
using std::vector;
using std::set;
#ifndef STDSIZE
template<class T> int size(const T& x) { return x.size(); }
#endif
#define NUMLAN 7
@@ -44,8 +47,6 @@ struct noun {
dictionary<noun> nouns[NUMLAN];
#include <set>
int utfsize(char c) {
unsigned char cu = c;
if(cu < 128) return 1;