1
0

描画をいじりRelease

This commit is contained in:
otya128
2016-02-22 20:23:20 +09:00
parent 42e514a989
commit 15f0dca3ea
5 changed files with 130 additions and 114 deletions

View File

@@ -37,8 +37,7 @@ class VMSlot
}
class VM
{
static const directModeSlot = 5;
VMSlot[6] slots;
VMSlot[5] slots;
int slot;
VMSlot currentSlot;
int stacki;
@@ -58,6 +57,11 @@ class VM
{
currentSlot = slots[slot];
}
void directSlot(Code[] code, int len, VMVariable[wstring] globalTable, Function[wstring] functions, DataTable gdt/*GNU Debugging Tools*/,
int[wstring] globalLabel, DebugInfo dinfo)
{
this.currentSlot.code ~= code;
}
void loadSlot(int slot, Code[] code, int len, VMVariable[wstring] globalTable, Function[wstring] functions, DataTable gdt/*GNU Debugging Tools*/,
int[wstring] globalLabel, DebugInfo dinfo)
{