diff --git a/draw.c b/draw.c index 5a2acf4..2b3afb5 100644 --- a/draw.c +++ b/draw.c @@ -324,10 +324,10 @@ void drawTrail(float *oldDx, float *oldDy, float *oldHeading, time_t * oldSeen, //most recent reported location - if(i == 0) { - boxRGBA(appData.renderer,currentX - 2 * appData.screen_uiscale, currentY - 2 * appData.screen_uiscale, currentX + 2 * appData.screen_uiscale, currentY - 2 * appData.screen_uiscale, - orange.r, orange.g, orange.b, 255); - } + // if(i == 0) { + // boxRGBA(appData.renderer,currentX - 2 * appData.screen_uiscale, currentY - 2 * appData.screen_uiscale, currentX + 2 * appData.screen_uiscale, currentY + 2 * appData.screen_uiscale, + // orange.r, orange.g, orange.b, 255); + // } //tick marks @@ -1026,7 +1026,6 @@ void draw() { SDL_RenderPresent(appData.renderer); - appData.lastFrameTime = mstime(); if ((mstime() - drawStartTime) < FRAMETIME) { diff --git a/init.c b/init.c index a56f7f6..3003d00 100644 --- a/init.c +++ b/init.c @@ -46,7 +46,7 @@ void init(char *title) { selectedPlane = NULL; if(appData.fullscreen) { - //\SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear"); // make the scaled rendering look smoother. + //SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear"); // make the scaled rendering look smoother. SDL_RenderSetLogicalSize(appData.renderer, appData.screen_width, appData.screen_height); } diff --git a/view1090.REMOVED.git-id b/view1090.REMOVED.git-id index abd6991..55b52cd 100644 --- a/view1090.REMOVED.git-id +++ b/view1090.REMOVED.git-id @@ -1 +1 @@ -cd3abc894d6c0a4ec31ca1210552bf4da06145a5 \ No newline at end of file +07df3964a61c9028e5b598c82409b849e2edc971 \ No newline at end of file diff --git a/view1090.c b/view1090.c index 806ac66..e1bb485 100644 --- a/view1090.c +++ b/view1090.c @@ -54,6 +54,9 @@ void view1090InitConfig(void) { Modes.check_crc = 1; strcpy(View1090.net_input_beast_ipaddr,VIEW1090_NET_OUTPUT_IP_ADDRESS); Modes.net_input_beast_port = MODES_NET_OUTPUT_BEAST_PORT; + Modes.interactive_rows = MODES_INTERACTIVE_ROWS; + Modes.interactive_delete_ttl = MODES_INTERACTIVE_DELETE_TTL; + Modes.interactive_display_ttl = MODES_INTERACTIVE_DISPLAY_TTL; Modes.fUserLat = MODES_USER_LATITUDE_DFLT; Modes.fUserLon = MODES_USER_LONGITUDE_DFLT;