mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	rogueviz::seuphorica::spell effects as messages
This commit is contained in:
		| @@ -22,9 +22,11 @@ using std::ostream; | |||||||
| namespace seuphorica { | namespace seuphorica { | ||||||
|  |  | ||||||
| void compute_score(); | void compute_score(); | ||||||
|  |  | ||||||
| void draw_board() { | void draw_board() { | ||||||
|   compute_size(); |   compute_size(); | ||||||
|   compute_score(); |   compute_score(); | ||||||
|  |   turncount++; // to clean messages | ||||||
|   } |   } | ||||||
|  |  | ||||||
| void read_dictionary(language& l) { | void read_dictionary(language& l) { | ||||||
| @@ -386,6 +388,11 @@ void sort_hand() { | |||||||
|  |  | ||||||
| void seuphorica_screen() { | void seuphorica_screen() { | ||||||
|  |  | ||||||
|  |   if(last_spell_effect != "") { | ||||||
|  |     addMessage(last_spell_effect); | ||||||
|  |     last_spell_effect = ""; | ||||||
|  |     } | ||||||
|  |  | ||||||
|   getcstat = '-'; |   getcstat = '-'; | ||||||
|   cmode = 0; |   cmode = 0; | ||||||
|   cmode = sm::SIDE | sm::DIALOG_STRICT_X | sm::MAYDARK; |   cmode = sm::SIDE | sm::DIALOG_STRICT_X | sm::MAYDARK; | ||||||
| @@ -571,6 +578,9 @@ void launch() { | |||||||
|   showstartmenu = false; |   showstartmenu = false; | ||||||
|   mapeditor::drawplayer = false; |   mapeditor::drawplayer = false; | ||||||
|   color_descs = false; |   color_descs = false; | ||||||
|  |  | ||||||
|  |   clearMessages(); | ||||||
|  |   addMessage("Welcome to Seuphorica!"); | ||||||
|   } |   } | ||||||
|  |  | ||||||
| void enable() { | void enable() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue