mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
c82e1f2902
This used some constants counting numbers of characters (LEN_INTERIM_COMMIT and LEN_BRANCH_NAME) and even an SDL_arraysize, all multiplied by 8, to get the length of the displayed text. Now it just uses the new PR_RIGHT flag of font::print. I did also force the 8x8 font for all the interim information, since the date kinda overlapped with the menu options... And all of these lines only show up in interim versions anyway, except for the version number - which is left in the interface font for consistency with the rest of the menu in non-interim versions. The inconsistency in interim versions doesn't really matter all that much I think, it's just some technical/debug info.
5 lines
137 B
C
5 lines
137 B
C
const char* INTERIM_COMMIT = "@INTERIM_COMMIT@";
|
|
|
|
const char* COMMIT_DATE = "@COMMIT_DATE@";
|
|
|
|
const char* BRANCH_NAME = "@BRANCH_NAME@";
|