diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-06 11:53:25 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-06 11:53:25 +0200 |
| commit | 65493b814a59212122e50216ed458c5c87289cc7 (patch) | |
| tree | 95bc13975ed84617c74b3861e9e0298d5c176f21 /stdlib | |
| parent | a007b4dd156ae1eae302cd43e22186caf854069b (diff) | |
| download | bidi-65493b814a59212122e50216ed458c5c87289cc7.tar.gz | |
Added skeleton tilemap module to stdlib
Diffstat (limited to 'stdlib')
| -rw-r--r-- | stdlib/tilemap.h | 16 | ||||
| -rw-r--r-- | stdlib/tilemap.lua | 5 |
2 files changed, 7 insertions, 14 deletions
diff --git a/stdlib/tilemap.h b/stdlib/tilemap.h index 5795bd7..3a60c2d 100644 --- a/stdlib/tilemap.h +++ b/stdlib/tilemap.h @@ -2,18 +2,10 @@ #define tilemap_H unsigned char tilemap[] = { - 0x2d, 0x2d, 0x20, 0x54, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x61, - 0x20, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, - 0x20, 0x66, 0x69, 0x6c, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x70, 0x6f, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x20, 0x73, 0x74, 0x61, 0x6e, - 0x64, 0x61, 0x72, 0x64, 0x20, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, - 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, - 0x73, 0x20, 0x74, 0x68, 0x65, 0x0a, 0x2d, 0x2d, 0x20, 0x66, 0x72, 0x61, - 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, - 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x20, 0x66, - 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x2e, 0x0a + 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x20, 0x74, 0x69, 0x6c, 0x65, 0x6d, 0x61, + 0x70, 0x20, 0x3d, 0x20, 0x7b, 0x7d, 0x0a, 0x0a, 0x72, 0x65, 0x74, 0x75, + 0x72, 0x6e, 0x20, 0x74, 0x69, 0x6c, 0x65, 0x6d, 0x61, 0x70, 0x0a }; -unsigned int tilemap_len = 124; +unsigned int tilemap_len = 35; #endif // tilemap_H diff --git a/stdlib/tilemap.lua b/stdlib/tilemap.lua index e2dad67..da30c1e 100644 --- a/stdlib/tilemap.lua +++ b/stdlib/tilemap.lua @@ -1,2 +1,3 @@ --- This is a placeholder file for potential standard library that extends the --- framework with additional functionalities. +local tilemap = {} + +return tilemap |
