2017-09-14 05:21:36 +02:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdlib.h>
|
2017-09-16 04:25:26 +02:00
|
|
|
#include <unistd.h>
|
2017-09-15 04:13:02 +02:00
|
|
|
#include "SDL/SDL.h"
|
|
|
|
#include "SDL/SDL_ttf.h"
|
2017-09-17 16:46:48 +02:00
|
|
|
#include "mapdata.h"
|
2017-09-14 05:21:36 +02:00
|
|
|
|
2017-09-16 04:25:26 +02:00
|
|
|
#ifdef RPI
|
|
|
|
#include <wiringPi.h>
|
|
|
|
#endif
|
|
|
|
|
2017-09-14 05:21:36 +02:00
|
|
|
#define SCREEN_WIDTH 320
|
2017-10-05 16:58:23 +02:00
|
|
|
#define SCREEN_HEIGHT 480
|
|
|
|
|
2017-10-07 01:44:08 +02:00
|
|
|
#define UPSCALE 1
|
2018-10-01 08:44:17 +02:00
|
|
|
#define UISCALE 1
|
2017-10-06 05:25:30 +02:00
|
|
|
|
|
|
|
#define LOGMAXDIST 1000.0
|
2018-10-02 08:54:15 +02:00
|
|
|
#define MAXDIST 25.0
|
2017-10-06 05:25:30 +02:00
|
|
|
|
|
|
|
#define AA 0
|
|
|
|
|
|
|
|
#define MAGMA 0
|