Licar/main.c

22 lines
287 B
C
Raw Normal View History

2023-07-21 21:17:49 +02:00
#include <stdio.h>
#include "game.h"
2023-08-03 21:12:23 +02:00
#include "debug.h"
2023-07-21 21:17:49 +02:00
int main(void)
{
2023-08-03 21:12:23 +02:00
LCR_mapLoad(LCR_map0);
LCR_debugPrintCurrentMap();
2023-08-08 16:17:51 +02:00
uint8_t *b = LCR_getMapBlockAtCoordNumber(0);
if (!b)
printf("NO!\n");
else
printf("%d\n",(b - LCR_currentMap.blocks) / 4);
2023-08-03 21:12:23 +02:00
return 0;
2023-07-21 21:17:49 +02:00
}