demos/3d/flatwav: small update, add to ISO, fix RUS menu.dat

git-svn-id: svn://kolibrios.org@7930 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2020-05-16 14:59:32 +00:00
parent 6ac952ed64
commit 1a76473439
4 changed files with 24 additions and 17 deletions

View File

@@ -100,6 +100,7 @@ struct collection_int
void alloc();
void add();
dword get();
dword len();
dword get_last();
void pop();
void drop();
@@ -127,6 +128,11 @@ struct collection_int
return ESDWORD[pos * sizeof(dword) + buf];
}
:dword collection_int::len(dword pos) {
if (pos<0) || (pos+1>=count) return 0;
return get(pos+1) - get(pos);
}
:dword collection_int::get_last() {
return get(count-1);
}