updating emscripten build

This commit is contained in:
Zeno Rogue 2019-09-13 00:31:54 +02:00
parent 562fe72629
commit d1faa2011c
3 changed files with 3 additions and 7 deletions

View File

@ -63,7 +63,7 @@ EX void initializeCLI() {
EX namespace arg {
EX int curphase;
vector<string> argument;
EX vector<string> argument;
EX int pos;
EX void lshift() { pos++; }

View File

@ -727,10 +727,6 @@ template<class T, class U> void eliminate_if(vector<T>& data, U pred) {
data[i] = data.back(), data.pop_back(), i--;
}
#if CAP_ORIENTATION
transmatrix getOrientation();
#endif
template<class T> array<T, 4> make_array(T a, T b, T c, T d) { array<T,4> x; x[0] = a; x[1] = b; x[2] = c; x[3] = d; return x; }
template<class T> array<T, 3> make_array(T a, T b, T c) { array<T,3> x; x[0] = a; x[1] = b; x[2] = c; return x; }
template<class T> array<T, 2> make_array(T a, T b) { array<T,2> x; x[0] = a; x[1] = b; return x; }

View File

@ -48,7 +48,7 @@ namespace hr {
const char *wheresounds;
}
#include "hyper.cpp"
#include "hyper.h"
namespace hr {
@ -95,7 +95,7 @@ void showDemo() {
dialog::addItem(XLAT("play the game"), 'f');
dialog::addItem(XLAT("learn about hyperbolic geometry"), 'T');
dialog::addHelp(); dialog::lastItem().keycaption += " / F1";
dialog::addHelp();
// dialog::addItem(XLAT("toggle high detail"), 'a');
dialog::addBreak(100);