mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Use svn revision numbers in synthesis build strings
git-svn-id: https://svn.eduke32.com/eduke32@1821 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
323008432a
commit
8c47f34c7c
5 changed files with 9 additions and 7 deletions
|
@ -1998,7 +1998,7 @@ void G_GameExit(const char *t)
|
|||
if (!(t[0] == ' ' && t[1] == 0))
|
||||
{
|
||||
char titlebuf[256];
|
||||
Bsprintf(titlebuf,HEAD2 " %s",s_buildDate);
|
||||
Bsprintf(titlebuf,HEAD2 " %s",s_buildRev);
|
||||
wm_msgbox(titlebuf, "%s", (char *)t);
|
||||
}
|
||||
}
|
||||
|
@ -7751,7 +7751,7 @@ static void G_ShowParameterHelp(void)
|
|||
"\nSee eduke32 -debughelp for debug parameters"
|
||||
;
|
||||
#if defined RENDERTYPEWIN
|
||||
Bsnprintf(tempbuf, sizeof(tempbuf), HEAD2 " %s", s_buildDate);
|
||||
Bsnprintf(tempbuf, sizeof(tempbuf), HEAD2 " %s", s_buildRev);
|
||||
wm_msgbox(tempbuf,s);
|
||||
#else
|
||||
initprintf("%s\n",s);
|
||||
|
@ -7777,7 +7777,7 @@ static void G_ShowDebugHelp(void)
|
|||
"-conversion YYYYMMDD\tSelects CON script version for compatibility with older mods\n"
|
||||
;
|
||||
#if defined RENDERTYPEWIN
|
||||
Bsnprintf(tempbuf, sizeof(tempbuf), HEAD2 " %s", s_buildDate);
|
||||
Bsnprintf(tempbuf, sizeof(tempbuf), HEAD2 " %s", s_buildRev);
|
||||
wm_msgbox(tempbuf,s);
|
||||
#else
|
||||
initprintf("%s\n",s);
|
||||
|
@ -9359,7 +9359,7 @@ int32_t app_main(int32_t argc,const char **argv)
|
|||
Bstrcpy(tempbuf, APPNAME);
|
||||
wm_setapptitle(tempbuf);
|
||||
|
||||
initprintf(HEAD2 " %s\n", s_buildDate);
|
||||
initprintf(HEAD2 " %s\n", s_buildRev);
|
||||
|
||||
#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
addsearchpath("/usr/share/games/jfduke3d");
|
||||
|
@ -9853,7 +9853,7 @@ CLEAN_DIRECTORY:
|
|||
|
||||
initprintf("Initializing OSD...\n");
|
||||
|
||||
Bsprintf(tempbuf, HEAD2 " %s", s_buildDate);
|
||||
Bsprintf(tempbuf, HEAD2 " %s", s_buildRev);
|
||||
OSD_SetVersion(tempbuf, 10,0);
|
||||
registerosdcommands();
|
||||
|
||||
|
|
|
@ -1697,7 +1697,7 @@ skip_check:
|
|||
Bstrcpy(ScriptQuotes[i],g_player[vm.g_p].user_name);
|
||||
break;
|
||||
case STR_VERSION:
|
||||
Bsprintf(tempbuf,HEAD2 " %s",s_buildDate);
|
||||
Bsprintf(tempbuf,HEAD2 " %s",s_buildRev);
|
||||
Bstrcpy(ScriptQuotes[i],tempbuf);
|
||||
break;
|
||||
case STR_GAMETYPE:
|
||||
|
|
|
@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#define __global_c__
|
||||
#include "global.h"
|
||||
#include "duke3d.h"
|
||||
|
||||
#include "rev.h"
|
||||
|
||||
const char *s_buildDate = "20110109";
|
||||
char *MusicPtr = NULL;
|
||||
|
|
|
@ -36,6 +36,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
#define MAXINTERPOLATIONS MAXSPRITES
|
||||
|
||||
G_EXTERN const char *s_buildRev;
|
||||
G_EXTERN DukeStatus_t sbar;
|
||||
G_EXTERN actor_t actor[MAXSPRITES];
|
||||
G_EXTERN animwalltype animwall[MAXANIMWALLS];
|
||||
|
|
1
polymer/eduke32/source/rev.h
Normal file
1
polymer/eduke32/source/rev.h
Normal file
|
@ -0,0 +1 @@
|
|||
const char *s_buildRev = "rXXXX";
|
Loading…
Reference in a new issue