summaryrefslogtreecommitdiff
path: root/libphysics/_map.c
diff options
context:
space:
mode:
authoresquizo <esquizo+noreply@esquizo.net>2026-06-03 16:10:57 -0300
committeresquizo <esquizo+noreply@esquizo.net>2026-06-03 16:10:57 -0300
commit83b1c06b186614d1bf2171feb46754bd8a8e6dfa (patch)
treeb8da3f436cba5736d481690935135fe5c6b3badc /libphysics/_map.c
parent005f0a3185eb8085f6e0de11e3cfd0a3d9167719 (diff)
libphysics removido (ideia jogada fora)
Diffstat (limited to 'libphysics/_map.c')
-rw-r--r--libphysics/_map.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/libphysics/_map.c b/libphysics/_map.c
deleted file mode 100644
index 3057bf4..0000000
--- a/libphysics/_map.c
+++ /dev/null
@@ -1,23 +0,0 @@
-#include <vecmath.h>
-#include <physics.h>
-
-#include <stdlib.h>
-#include <string.h>
-
-#include "dat.h"
-
-int *phxmapbuffer;
-int phxmapwidth, phxmapheight;
-
-void
-phxsetmap(int w, int h, int *tiles)
-{
- if(phxmapbuffer)
- free(phxmapbuffer);
-
- phxmapwidth = w;
- phxmapheight = h;
-
- phxmapbuffer = malloc(w * h * sizeof(phxmapbuffer[0]));
- memcpy(phxmapbuffer, tiles, sizeof(phxmapbuffer[0]) * w * h);
-}