summaryrefslogtreecommitdiff
path: root/assets/maps/test.hmap
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2025-09-03 20:10:09 +0200
committernavewindre <boneyaard@gmail.com>2025-09-03 20:10:09 +0200
commitf8b92ce3aa08b1445c9f956d8166830946562d12 (patch)
tree94e63a5aec9f8f52b577f56799e0c9201fd976a5 /assets/maps/test.hmap
a
Diffstat (limited to 'assets/maps/test.hmap')
-rw-r--r--assets/maps/test.hmap102
1 files changed, 102 insertions, 0 deletions
diff --git a/assets/maps/test.hmap b/assets/maps/test.hmap
new file mode 100644
index 0000000..16b1394
--- /dev/null
+++ b/assets/maps/test.hmap
@@ -0,0 +1,102 @@
+DEF map {
+ I32 wallcount = 7;
+ I32 polycount = 1;
+ I32 propcount = 5;
+ I32 spritecount = 1;
+ VEC3 startpos = { 84, 109, -39.75 };
+ F32 startang = 0;
+ DEF props {
+ DEF 0 {
+ CLR clr = { 1, 1, 1, 1 };
+ STR tex[256] = "uvtest.png";
+ }
+ DEF 1 {
+ CLR clr = { 0, 1, 0, 1 };
+ STR tex[256] = "uvtest.png";
+ }
+ DEF 2 {
+ CLR clr = { 1, 0, 1, 1 };
+ STR tex[256] = "uvtest.png";
+ }
+ DEF 3 {
+ CLR clr = { 0, 1, 1, 1 };
+ }
+ DEF 4 {
+ CLR clr = { 1, 1, 0, 1 };
+ }
+ }
+ DEF walls {
+ DEF 0 {
+ VEC3 start = { 0, 0, -40 };
+ VEC3 end = { 200, 0, 120 };
+ I32 propid = 0;
+ }
+ DEF 1 {
+ VEC3 start = { 200, 0, -40 };
+ VEC3 end = { 200, 200, 100 };
+ I32 propid = 1;
+ }
+ DEF 2 {
+ VEC3 start = { 200, 200, -40 };
+ VEC3 end = { 0, 200, 120 };
+ I32 propid = 2;
+ }
+ DEF 3 {
+ VEC3 start = { 60, 30, -40 };
+ VEC3 end = { 30, 30, 80 };
+ I32 propid = 3;
+ }
+ DEF 4 {
+ VEC3 start = { 60, 60, -40 };
+ VEC3 end = { 60, 30, 80 };
+ I32 propid = 3;
+ }
+ DEF 5 {
+ VEC3 start = { 30, 60, -40 };
+ VEC3 end = { 60, 60, 80 };
+ I32 propid = 3;
+ }
+ DEF 6 {
+ VEC3 start = { 30, 30, -40 };
+ VEC3 end = { 30, 60, 80 };
+ I32 propid = 3;
+ }
+ }
+ DEF polygons {
+ DEF 0 {
+ I32 vertcount = 4;
+ I32 propid = 0;
+ I32 type = 0;
+ DEF vertices {
+ DEF 0 {
+ VEC3 pos = { 0, 0, -40 };
+ VEC2 uv = { 0, 0 };
+ CLR clr = { 1, 1, 1, 1 };
+ }
+ DEF 1 {
+ VEC3 pos = { 200, 0, -40 };
+ VEC2 uv = { 0, 1 };
+ CLR clr = { 1, 1, 1, 1 };
+ }
+ DEF 2 {
+ VEC3 pos = { 200, 200, -40 };
+ VEC2 uv = { 1, 1 };
+ CLR clr = { 1, 1, 1, 1 };
+ }
+ DEF 3 {
+ VEC3 pos = { 0, 200, -40 };
+ VEC2 uv = { 1, 0 };
+ CLR clr = { 1, 1, 1, 1 };
+ }
+ }
+ }
+ }
+ DEF sprites {
+ DEF 0 {
+ VEC3 pos = { 120, 120, -40 };
+ VEC2 size = { 40, 40 };
+ CLR clr = { 1, 1, 1, 1 };
+ STR tex[256] = "uvtest.png";
+ }
+ }
+}