mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 01:17:39 +00:00
optimize racing mode (old renderer)
This commit is contained in:
@@ -2046,6 +2046,9 @@ EX bool do_draw(cell *c, const transmatrix& T) {
|
||||
|
||||
if(hybrid::pmap) return hybrid::do_draw(c, T);
|
||||
if(WDIM == 3) {
|
||||
// do not care about cells outside of the track
|
||||
if(GDIM == 3 && racing::on && c->land == laMemory && cells_drawn >= S7+1) return false;
|
||||
|
||||
if(cells_drawn > vid.cells_drawn_limit) return false;
|
||||
if(cells_drawn < 50) { limited_generation(c); return true; }
|
||||
if(nil && pmodel == mdGeodesic) {
|
||||
|
Reference in New Issue
Block a user