viz1090/defs.h
nathan 0a014bdd99 all map and drawing is now c++
Former-commit-id: ae9ea92b06a7782e3f12bcf7ebfc6979c7c28cbd
Former-commit-id: 2e197fa5c161f7b44779120e9af25f911e7511bf
2020-03-18 22:22:59 -07:00

22 lines
419 B
C

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include "SDL2/SDL.h"
#include "SDL2/SDL_ttf.h"
#define ROUND_RADIUS 3 //radius of text box corners
#define CENTEROFFSET .375 //vertical offset for middle of screen
#define TRAIL_LENGTH 120
#define TRAIL_TTL 240.0
#define DISPLAY_ACTIVE 30
#define TRAIL_TTL_STEP 2
#define MIN_MAP_FEATURE 2
#define FRAMETIME 33
#define PAD 5