mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	added hr_exception_str
This commit is contained in:
		
							
								
								
									
										2
									
								
								hyper.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								hyper.h
									
									
									
									
									
								
							| @@ -105,6 +105,8 @@ struct hr_wrong_dir: hr_exception { }; | |||||||
|  |  | ||||||
| struct hr_wrong_geometry: hr_exception { }; | struct hr_wrong_geometry: hr_exception { }; | ||||||
|  |  | ||||||
|  | struct hr_exception_str: std::exception { string s; hr_exception_str(const string& s) : s(s) {} const char* what() { return s.c_str(); }}; | ||||||
|  |  | ||||||
| // genus (in grammar) | // genus (in grammar) | ||||||
| #define GEN_M 0 | #define GEN_M 0 | ||||||
| #define GEN_F 1 | #define GEN_F 1 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue