Skip to content

Commit

Permalink
Version 1.0.2 Last SDL1-based version
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjoffe committed Nov 19, 2022
1 parent f38cd96 commit 4e0d03f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -502,12 +502,14 @@ void DoMainMenu()
// Simple 1 to 1 blit .. later it might be worthwhile doing a stretch blit if size doesn't match resolution? [LOW - dj2019]
djgDrawImage( pVisBack, g_pImgMain, 0, 0, g_pImgMain->Width(), g_pImgMain->Height() );
}
char sz[100]={0};
//sprintf(sz,"%s","v1.0 - 3 Apr 2018");
sprintf(sz,"%s","v1.0.1 - 25 Apr 2020");
GraphDrawString(pVisBack, g_pFont8x8, 0, CFG_APPLICATION_RENDER_RES_H - 8, (unsigned char*)sz);
sprintf(sz,"%s","djoffe.com");
GraphDrawString(pVisBack, g_pFont8x8, CFG_APPLICATION_RENDER_RES_W - strlen(sz)*8, CFG_APPLICATION_RENDER_RES_H - 8, (unsigned char*)sz);
// 'version string history' here:
// "v1.0 - 3 Apr 2018" [version 1]
// "v1.0.1 - 25 Apr 2020"
// "v1.0.2 - 19 Nov 2022" [<- last version on SDL1 - about to update to SDL2]
const char* szVERSION = "v1.0.2 - 19 Nov 2022";
GraphDrawString(pVisBack, g_pFont8x8, 0, CFG_APPLICATION_RENDER_RES_H - 8, (unsigned char*)szVERSION);
const char* szURL = "djoffe.com";
GraphDrawString(pVisBack, g_pFont8x8, CFG_APPLICATION_RENDER_RES_W - strlen(szURL)*8, CFG_APPLICATION_RENDER_RES_H - 8, (unsigned char*)szURL);

GraphFlip(true);

Expand Down

0 comments on commit 4e0d03f

Please sign in to comment.