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>
|
2019-09-08 01:11:20 +02:00
|
|
|
#include "SDL2/SDL.h"
|
|
|
|
#include "SDL2/SDL_ttf.h"
|
2017-09-17 16:46:48 +02:00
|
|
|
#include "mapdata.h"
|
2017-09-14 05:21:36 +02:00
|
|
|
|
|
|
|
#define SCREEN_WIDTH 320
|
2017-10-05 16:58:23 +02:00
|
|
|
#define SCREEN_HEIGHT 480
|
|
|
|
|
2018-10-01 08:44:17 +02:00
|
|
|
#define UISCALE 1
|
2017-10-06 05:25:30 +02:00
|
|
|
|
2019-09-09 06:23:38 +02:00
|
|
|
#define ROUND_RADIUS 3 //radius of text box corners
|
|
|
|
|
|
|
|
#define CENTEROFFSET .375 //vertical offset for middle of screen
|
2017-10-06 05:25:30 +02:00
|
|
|
|
2019-09-09 06:23:38 +02:00
|
|
|
#define TRAIL_LENGTH 120
|
|
|
|
#define TRAIL_TTL 240.0
|
|
|
|
#define DISPLAY_ACTIVE 30
|
|
|
|
#define TRAIL_TTL_STEP 2
|
2019-09-08 21:29:21 +02:00
|
|
|
|
2019-09-09 06:23:38 +02:00
|
|
|
#define FRAMETIME 33
|