mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-11-04 07:43:02 +00:00 
			
		
		
		
	updating emscripten build
This commit is contained in:
		@@ -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++; }
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								hyper.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								hyper.h
									
									
									
									
									
								
							@@ -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; }
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user