mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-18 22:55:12 +00:00
renamed the size function to isize
This commit is contained in:
@@ -214,7 +214,7 @@ void initgame() {
|
||||
}
|
||||
|
||||
if(quotient && generateAll(firstland)) {
|
||||
for(int i=0; i<size(currentmap->allcells()); i++)
|
||||
for(int i=0; i<isize(currentmap->allcells()); i++)
|
||||
setdist(currentmap->allcells()[i], 8, NULL);
|
||||
}
|
||||
|
||||
@@ -1025,7 +1025,7 @@ namespace gamestack {
|
||||
|
||||
vector<gamedata> gd;
|
||||
|
||||
bool pushed() { return size(gd); }
|
||||
bool pushed() { return isize(gd); }
|
||||
|
||||
void push() {
|
||||
if(geometry) {
|
||||
@@ -1045,7 +1045,7 @@ namespace gamestack {
|
||||
}
|
||||
|
||||
void pop() {
|
||||
gamedata& gdn = gd[size(gd)-1];
|
||||
gamedata& gdn = gd[isize(gd)-1];
|
||||
currentmap = gdn.hmap;
|
||||
cwt = gdn.cwt;
|
||||
viewctr = gdn.viewctr;
|
||||
|
||||
Reference in New Issue
Block a user