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:
15
langen.cpp
15
langen.cpp
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user