mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fixed display-only inverse operators
This commit is contained in:
		| @@ -395,6 +395,12 @@ void geometry_information::generate_floorshapes_for(int id, cell *c, int siid, i | ||||
|       if(!siid) { | ||||
|         for(int i=0; i<cor; i++) cornerlist.push_back(hpxy(0,0)); | ||||
|         } | ||||
|       else if(geosupport_chessboard()) { | ||||
|         for(int i=0; i<cor; i++) { | ||||
|           hyperpoint nc = nearcorner(c, i); | ||||
|           cornerlist.push_back(mid_at(hpxy(0,0), nc, .94)); | ||||
|           } | ||||
|         } | ||||
|       else { | ||||
|         for(int i=0; i<cor; i++) { | ||||
|           int ri = i; | ||||
|   | ||||
							
								
								
									
										15
									
								
								pattern2.cpp
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								pattern2.cpp
									
									
									
									
									
								
							| @@ -1979,9 +1979,18 @@ EX namespace patterns { | ||||
|     dialog::addBreak(100); | ||||
|  | ||||
|     dialog::addBoolItem_action(XLAT("display the inner walls"), innerwalls, '5'); | ||||
|     dialog::addBoolItem(XLAT("display only hexagons"), (whichShape == '6'), '6'); | ||||
|     dialog::addBoolItem(XLAT("display only heptagons"), (whichShape == '7'), '7'); | ||||
|     dialog::addBoolItem(XLAT("display the triheptagonal grid"), (whichShape == '8'), '8'); | ||||
|      | ||||
|     if(geosupport_threecolor() == 2) {     | ||||
|       dialog::addBoolItem(XLAT("display only hexagons"), (whichShape == '6'), '6'); | ||||
|       dialog::addBoolItem(XLAT("display only heptagons"), (whichShape == '7'), '7'); | ||||
|       dialog::addBoolItem(XLAT("display the triheptagonal grid"), (whichShape == '8'), '8'); | ||||
|       } | ||||
|      | ||||
|     if(geosupport_chessboard()) { | ||||
|       dialog::addBoolItem(XLAT("display only chessboard white"), (whichShape == '6'), '6'); | ||||
|       dialog::addBoolItem(XLAT("display only chessboard black"), (whichShape == '7'), '7'); | ||||
|       } | ||||
|  | ||||
|     dialog::addBoolItem(XLAT("display full floors"), (whichShape == '9'), '9'); | ||||
|     dialog::addSelItem(XLAT("floor type"), XLATN(winf[canvas_default_wall].name), 'i'); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue