From 726931931f195312633126dffd36e23e1a203170 Mon Sep 17 00:00:00 2001 From: Miloslav Ciz Date: Thu, 20 Mar 2025 17:22:56 +0100 Subject: [PATCH] Add map --- TODO.txt | 3 ++- assets.h | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- data | 2 ++ 3 files changed, 64 insertions(+), 3 deletions(-) diff --git a/TODO.txt b/TODO.txt index 620e14d..ee8f711 100644 --- a/TODO.txt +++ b/TODO.txt @@ -5,7 +5,8 @@ - option to turn on simple 332 colors? - c99 may impose limit 4095 chars on str literal, gives warning on internal data file, try to somehow hack around it (maybe just convert it to an array in - the end?) + the end?) Maybe this: make a standalone C file with the string in it that + when compiled and run outputs the array. - add indicator that menu can be scrolled down - car deglitch idea: deglitch only if the middle joint collided this frame? - some kinda easteregg in menu or smt diff --git a/assets.h b/assets.h index 2056127..0a3f2c7 100644 --- a/assets.h +++ b/assets.h @@ -172,8 +172,66 @@ static const char *LCR_internalDataFile = ":-w5u:f31d" ":'w5G:f311" - // MAP 2: - "#MLC2;4321 1" + // MAP2: + "L#MLC2;4321 1" + // start platform: + ":-v8k:f213:'v8n:f211:Iv0m2|:f181:.v2l2I:.v4l2I:|x8kL-:f114:xv0k:m3a4" + // house: + ":=A3B2:f113:^A4B2L:f113:^B3B2L:f113:;B1B:f122:;A1DL:f121:IB1D:f121:=A1B:f122:m243" + // overall structure: + ":\\m3o|I:\\m3n:\\l3nI:\\l3oJ:\\l3pL:\\m3m|I:\\l3m|:m214:xm3j:f118:xl3k:f114" // zigzag wall + ":=f0n2:fz1t:=f1I2:fz18" + ":=D0w3:fa1c:=B0w1:f21e" + ":xA1I:f912:xf0n:f715" + ":xf0s:fc1a:xC0B:f419" + ":xL0n:f32c:xf0N:fg23" + ":-r1s:f418:=i0h2 :f63a" + ":^n2m2L:f114:^l2q2I:f211:vn2q2J:An0q2L:f121:=l0m:m335" + ":=n0q2:'n0C2L:f116:'o0C2J:f116" + ":'l1I2L:f115:-m1I2:f215:'o1I2J:f115" + // corners: + ":Au0N2I:f121:Av0O2I:f121:Ax0P2I:f121:xv0P:f221" + ":=q1H2:f911:Ap1H2J:Au1H2J:\\t1H2:Az1H2:AA1J2" + ":\\q1G2J:\\r1G2|L:\\v1G2J:\\w1G2|L:\\D1J2J:\\E1J2|L" + ":AF1K2:AG1K2|:AI1J2|:Aq0B2J:Aq0s2I:Al0r2I" + ":AC0J1:AF0J2|:AC0B1L:AF0B3I:Af0C2J:Af0M2I:f121" + ":AN0P2L:f121:AN0z2" + // checkerboard: + ":=H0A:=J0A:=L0A:=G0B:=I0B:=K0B" + ":=M0B:=H0C:=J0C:=L0C" + // grass hill: + ":vJ2u1:vK2u1|:^J2t1J:^K2t1L" + ":vJ2s1L:vK2s1I:~H2u1" + ":vI2t1J:vL1v1J:^L1s1L:f113" + ":^G1v1I:f511:^G2t1I:f211" + ":^I2s1L:=G1s1:f513" + ":=G0s1:f231:m634:~H3r1:xA1n:f435" + // narrow bridge: + ":-F1j:f216:=F0j2:f212:-r1j:fg12:=r0j2:f2122:'r1jL:f112" + ":(E1II:f311:m311:=B0H2:f112:=G0H2:f112" // pipe + // ring: + ":=v0r:f161: