viz1090/defs.h
nathan 645ee1ade5 misc fixes for label system. rudimentary LOD to speed up wide map drawing
Former-commit-id: 4be650caadfc461046d4e80564181ce30c57954d
Former-commit-id: fa6e5a793fdaca3a51b19a62822fdeba58539f5c
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