mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-30 15:39:54 +00:00
changed goldberg_map bounds to 32
This commit is contained in:
parent
f459607a90
commit
7dd006bb05
@ -92,16 +92,16 @@ namespace gp {
|
||||
return (v.first - v.second + MODFIXER)%3;
|
||||
}
|
||||
|
||||
goldberg_mapping_t goldberg_map[20][20];
|
||||
goldberg_mapping_t goldberg_map[32][32];
|
||||
void clear_mapping() {
|
||||
for(int y=0; y<20; y++) for(int x=0; x<20; x++) {
|
||||
for(int y=0; y<32; y++) for(int x=0; x<32; x++) {
|
||||
goldberg_map[y][x].c = NULL;
|
||||
goldberg_map[y][x].rdir = -1;
|
||||
}
|
||||
}
|
||||
|
||||
goldberg_mapping_t& get_mapping(loc c) {
|
||||
return goldberg_map[c.second + 10][c.first + 10];
|
||||
return goldberg_map[c.second&31][c.first&31];
|
||||
}
|
||||
|
||||
const char *disp(loc at) {
|
||||
|
Loading…
Reference in New Issue
Block a user