viz1090/defs.h
nathan cc3a4f3e88 misc fixes for label system. rudimentary LOD to speed up wide map drawing
Former-commit-id: 84c0bc68e284508d9e16ccceb6f7b7dc35dd4b60
Former-commit-id: 4a3065e9d6762bee1f8d854a176022290563fa5f
2019-09-21 20:46:52 -05:00

21 lines
413 B
C

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include "SDL2/SDL.h"
#include "SDL2/SDL_ttf.h"
#include "mapdata.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 FRAMETIME 33
#define PAD 5