viz1090/defs.h
nathan 081ecda409 moving everything out of dump1090.h and interactive.c
Former-commit-id: 09fc0bec299442fa1ac44ee6e41f237134ab2b73
Former-commit-id: 0f3edc36d54876849854abd4ef5ab8531f374b38
2019-09-08 23:23:38 -05:00

23 lines
468 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 SCREEN_WIDTH 320
#define SCREEN_HEIGHT 480
#define UISCALE 1
#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