Implement SPSET(3)

This commit is contained in:
otya128 committed 2016-12-31 20:09:38 +09:00
1 parent 4866a1d32d
commit 4b41376cb5
2 files changed
+15

No files matched your search

+4
View File
@@ -823,6 +823,10 @@ class Sprite
synchronized (this)
sprites[id] = SpriteData(id, spdef, 0/*要調査*/);
}
int allocSprite()
{
return allocSprite(0, petitcom.displaynum ? cast(int)sprites.length - spmax - 1 : spmax - 1);
}
int allocSprite(int lower, int upper)
{
for (int i = lower; i <= upper; i++)