1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00

Restore tags when resuming from a checkpoint; simply resuming code

This commit is contained in:
Étienne Fildadut 2021-04-12 17:08:35 +02:00
parent 5c3e9d2c5d
commit f9edaff7e7
8 changed files with 353 additions and 35 deletions

View file

@ -0,0 +1,135 @@
local _={}
_[63]={}
_[62]={}
_[61]={}
_[60]={}
_[59]={}
_[58]={}
_[57]={}
_[56]={}
_[55]={}
_[54]={}
_[53]={}
_[52]={}
_[51]={}
_[50]={}
_[49]={}
_[48]={}
_[47]={}
_[46]={}
_[45]={tags=_[63],data="c"}
_[44]={tags=_[62],data="a"}
_[43]={tags=_[61],data="Force p checkpoint:"}
_[42]={tags=_[60],data="d"}
_[41]={tags=_[59],data="c"}
_[40]={tags=_[58],data="b"}
_[39]={tags=_[57],data="From q checkpoint again:"}
_[38]={tags=_[56],data="d"}
_[37]={tags=_[55],data="c"}
_[36]={tags=_[54],data="b"}
_[35]={tags=_[53],data="From q checkpoint:"}
_[34]={tags=_[52],data="d"}
_[33]={tags=_[51],data="c"}
_[32]={tags=_[50],data="a"}
_[31]={tags=_[49],data="From p checkpoint:"}
_[30]={tags=_[48],data="d"}
_[29]={tags=_[47],data="x"}
_[28]={tags=_[46],data="From start:"}
_[27]={_[45]}
_[26]={_[43],_[44]}
_[25]={_[42]}
_[24]={_[41]}
_[23]={_[39],_[40]}
_[22]={_[38]}
_[21]={_[37]}
_[20]={_[35],_[36]}
_[19]={_[34]}
_[18]={_[33]}
_[17]={_[31],_[32]}
_[16]={_[30]}
_[15]={_[28],_[29]}
_[14]={"return"}
_[13]={"text",_[27]}
_[12]={"text",_[26]}
_[11]={"text",_[25]}
_[10]={"text",_[24]}
_[9]={"text",_[23]}
_[8]={"text",_[22]}
_[7]={"text",_[21]}
_[6]={"text",_[20]}
_[5]={"text",_[19]}
_[4]={"text",_[18]}
_[3]={"text",_[17]}
_[2]={"text",_[16]}
_[1]={"text",_[15]}
return {_[1],_[2],_[3],_[4],_[5],_[6],_[7],_[8],_[9],_[10],_[11],_[12],_[13],_[14]}
--[[
{ "text", { {
data = "From start:",
tags = {}
}, {
data = "x",
tags = {}
} } }
{ "text", { {
data = "d",
tags = {}
} } }
{ "text", { {
data = "From p checkpoint:",
tags = {}
}, {
data = "a",
tags = {}
} } }
{ "text", { {
data = "c",
tags = {}
} } }
{ "text", { {
data = "d",
tags = {}
} } }
{ "text", { {
data = "From q checkpoint:",
tags = {}
}, {
data = "b",
tags = {}
} } }
{ "text", { {
data = "c",
tags = {}
} } }
{ "text", { {
data = "d",
tags = {}
} } }
{ "text", { {
data = "From q checkpoint again:",
tags = {}
}, {
data = "b",
tags = {}
} } }
{ "text", { {
data = "c",
tags = {}
} } }
{ "text", { {
data = "d",
tags = {}
} } }
{ "text", { {
data = "Force p checkpoint:",
tags = {}
}, {
data = "a",
tags = {}
} } }
{ "text", { {
data = "c",
tags = {}
} } }
{ "return" }
]]--