feat: add grid material

This commit is contained in:
Nick Fisher committed 2024-09-05 22:19:27 +08:00
1 parent 80d5b1d23f
commit 0798d5c071
7 files changed
+1563 -1

No files matched your search

@@ -0,0 +1,12 @@
.global GRID_GRID_OFFSET;
.global GRID_GRID_SIZE;
.global GRID_PACKAGE
.section .rodata
GRID_PACKAGE:
.incbin "grid.bin"
GRID_GRID_OFFSET:
.int 0
GRID_GRID_SIZE:
.int 30210
@@ -0,0 +1,12 @@
.global _GRID_GRID_OFFSET;
.global _GRID_GRID_SIZE;
.global _GRID_PACKAGE
.section __TEXT,__const
_GRID_PACKAGE:
.incbin "grid.bin"
_GRID_GRID_OFFSET:
.int 0
_GRID_GRID_SIZE:
.int 30210
Binary file not shown.
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,13 @@
#ifndef GRID_H_
#define GRID_H_
#include <stdint.h>
extern "C" {
extern const uint8_t GRID_PACKAGE[];
extern int GRID_GRID_OFFSET;
extern int GRID_GRID_SIZE;
}
#define GRID_GRID_DATA (GRID_PACKAGE + GRID_GRID_OFFSET)
#endif