Revert Disposable concept back into core
Pretty much a revert of
e858bbdcf5
.
We need this in core to properly implement F12 reset.
This commit is contained in:
parent
3983fe66e9
commit
81ac0780f8
36 changed files with 476 additions and 210 deletions
|
@ -106,6 +106,8 @@ MRB_METHOD(tilemapInitialize)
|
|||
|
||||
MRB_METHOD(tilemapGetAutotiles)
|
||||
{
|
||||
checkDisposed<Tilemap>(mrb, self);
|
||||
|
||||
return getProperty(mrb, self, CSautotiles);
|
||||
}
|
||||
|
||||
|
@ -120,7 +122,7 @@ MRB_METHOD(tilemapUpdate)
|
|||
|
||||
MRB_METHOD(tilemapGetViewport)
|
||||
{
|
||||
checkDisposed(mrb, self);
|
||||
checkDisposed<Tilemap>(mrb, self);
|
||||
|
||||
return getProperty(mrb, self, CSviewport);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue