1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-05 18:59:41 +01:00
VVVVVV/desktop_version/src/InterimVersion.h
Dav999-v c82e1f2902 Use PR_RIGHT for interim version info in main menu
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.
2023-02-13 23:27:00 -08:00

23 lines
337 B
C

#ifndef INTERIMVERSION_H
#define INTERIMVERSION_H
#ifdef INTERIM_VERSION_EXISTS
#ifdef __cplusplus
extern "C"
{
#endif
extern const char* INTERIM_COMMIT;
extern const char* COMMIT_DATE;
extern const char* BRANCH_NAME;
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* INTERIM_VERSION_EXISTS */
#endif /* INTERIMVERSION_H */