mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	daily...
This commit is contained in:
		| @@ -90,6 +90,10 @@ bool inv::activating; | |||||||
| #endif | #endif | ||||||
| #include "commandline.cpp" | #include "commandline.cpp" | ||||||
| #include "bigstuff.cpp" | #include "bigstuff.cpp" | ||||||
|  |  | ||||||
|  | #if CAP_DAILY | ||||||
|  | #include "private/daily.cpp" | ||||||
|  | #endif | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #if IN_CU(1) | #if IN_CU(1) | ||||||
|   | |||||||
							
								
								
									
										8
									
								
								init.cpp
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								init.cpp
									
									
									
									
									
								
							| @@ -117,6 +117,14 @@ | |||||||
|  |  | ||||||
| #define CAP_GLORNOT (CAP_GL && !ISWEB && !ISIOS)  | #define CAP_GLORNOT (CAP_GL && !ISWEB && !ISIOS)  | ||||||
|  |  | ||||||
|  | #if ISSTEAM | ||||||
|  | #define CAP_DAILY 1 | ||||||
|  | #endif | ||||||
|  |  | ||||||
|  | #ifndef CAP_DAILY | ||||||
|  | #define CAP_DAILY 0 | ||||||
|  | #endif | ||||||
|  |  | ||||||
| #ifndef CAP_CERTIFY | #ifndef CAP_CERTIFY | ||||||
| #define CAP_CERTIFY 0 | #define CAP_CERTIFY 0 | ||||||
| #endif | #endif | ||||||
|   | |||||||
| @@ -1188,8 +1188,10 @@ void restartGame(char switchWhat, bool push, bool keep_screens) { | |||||||
|     inv::on = false; |     inv::on = false; | ||||||
|     princess::challenge = false; |     princess::challenge = false; | ||||||
|     } |     } | ||||||
|  | #if CAP_DAILY | ||||||
|   if(switchWhat == rg::daily) |   if(switchWhat == rg::daily) | ||||||
|     daily::setup(); |     daily::setup(); | ||||||
|  | #endif | ||||||
|   if(switchWhat == rg::princess) { |   if(switchWhat == rg::princess) { | ||||||
|     princess::challenge = !princess::challenge; |     princess::challenge = !princess::challenge; | ||||||
|     firstland = princess::challenge ? laPalace : laIce; |     firstland = princess::challenge ? laPalace : laIce; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue