0 Members and 1 Guest are viewing this topic.
inData('I',"IGNITION")->L
inData('I',"IGNITION"+L)->L
.InefficientIf (A=3 or (A=5) or (A=20) or (A=28) or (A=61)).Some codeEnd.EfficientIf A If inData(A,Data(3,5,20,28,61,0)) .Some code EndEnd
HoMM: [==--------] Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :PtiDE: [----------] Explored and understood the main part of the code: just started writing a Tokenizer.
:0->A->BClrDraw:For(L,0,11:For(M,0,7:Pt-on(L*8,M*8,{M*[MapWidth]+8+[MapData]}*8+[TileData]:End:End:StorePic:Repeat getkey(15):If getkey(3) xor getkey(2)::If getkey(3):Horizontal -:For(L,0,8:Pt-Off(95-(A^8),L*8-(B^8),{B/8+L*[MapWidth]+12+(A/8)+[MapData]}*8+[TileData]:End:A+1->AElse:Horizontal +:For(L,0,8:Pt-Off(1-(A^8),L*8-(B^8),{B/8+L*[MapWidth]+(A/8)+[MapData]}*8+[TileData]:End:A-1->AEnd:End:If getkey(1) xor getkey(4):If getkey(1):Vertical -:For(L,0,12:Pt-Off(L*8-(A^8-(A^8),63-(B^8),{B/8+8*[MapWidth]+L+(A/8)+[MapData]}*8+[TileData]:End:B+1->BElse:Vertical+:For(L,0,12:Pt-Off(L*8-(A^8),1-(B^8),{B/8*[MapWidth]+L+(A/8)+[MapData]}*8+[TileData]:End:B-1->BEnd:End:Dispgraph:End