1
0
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:
Zeno Rogue
2018-06-22 14:47:24 +02:00
parent 23874e0de4
commit 63869c6d33
51 changed files with 596 additions and 595 deletions

View File

@@ -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;