mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-02-03 00:10:15 +00:00
irr:: ignore achievements/leaderboards; rewritten the modecode/finalAchievement code a bit
This commit is contained in:
@@ -576,6 +576,15 @@ int readArgs() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
unsigned char density_code() {
|
||||
if(sc < 128) return sc;
|
||||
else {
|
||||
int t = 127, a = sc;
|
||||
while(a > 127) a = a * 9/10, t++;
|
||||
return t;
|
||||
}
|
||||
}
|
||||
|
||||
bool pseudohept(cell* c) {
|
||||
return cells[cellindex[c]].is_pseudohept;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user