mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
Switch to showing commit dates for version numbers instead of borrowing the QS version we're forked from.
This commit is contained in:
parent
e83edff77b
commit
35aa21f27c
4 changed files with 15 additions and 2 deletions
|
@ -50,9 +50,11 @@ STRIP = strip
|
|||
#CPUFLAGS= -march=pentium4
|
||||
CPUFLAGS=
|
||||
LDFLAGS = -m32 -mwindows -Wl,--large-address-aware
|
||||
LDFLAGS += $(QSS_LDFLAGS)
|
||||
DFLAGS ?=
|
||||
CFLAGS ?= -m32 -Wall -Wno-trigraphs
|
||||
CFLAGS += $(CPUFLAGS)
|
||||
CFLAGS += $(QSS_CFLAGS)
|
||||
|
||||
ifneq ($(DEBUG),0)
|
||||
DFLAGS += -DDEBUG
|
||||
|
|
|
@ -48,9 +48,11 @@ STRIP = strip
|
|||
|
||||
CPUFLAGS=
|
||||
LDFLAGS = -m64 -mwindows
|
||||
LDFLAGS += $(QSS_LDFLAGS)
|
||||
DFLAGS ?=
|
||||
CFLAGS ?= -m64 -Wall -Wno-trigraphs
|
||||
CFLAGS += $(CPUFLAGS)
|
||||
CFLAGS += $(QSS_CFLAGS)
|
||||
|
||||
ifneq ($(DEBUG),0)
|
||||
DFLAGS += -DDEBUG
|
||||
|
|
|
@ -263,7 +263,11 @@ void Host_Version_f (void)
|
|||
#ifdef QSS_REVISION
|
||||
Con_Printf ("QSS Git Revision " QS_STRINGIFY(QSS_REVISION) "\n");
|
||||
#endif
|
||||
#ifdef QSS_DATE
|
||||
Con_Printf ("QuakeSpasm-Spiked Build " QS_STRINGIFY(QSS_DATE) "\n");
|
||||
#else
|
||||
Con_Printf ("Exe: " __TIME__ " " __DATE__ "\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
/* cvar callback functions : */
|
||||
|
|
|
@ -46,9 +46,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#define QS_STRINGIFY(x) QS_STRINGIFY_(x)
|
||||
|
||||
// combined version string like "0.92.1-beta1"
|
||||
#define QUAKESPASM_VER_STRING QS_STRINGIFY(QUAKESPASM_VERSION) "." QS_STRINGIFY(QUAKESPASM_VER_PATCH) QUAKESPASM_VER_SUFFIX
|
||||
#define QUAKESPASM_VER_STRING QS_STRINGIFY(QUAKESPASM_VERSION) "." QS_STRINGIFY(QUAKESPASM_VER_PATCH)
|
||||
|
||||
#define ENGINE_NAME_AND_VER "QSS" " " QUAKESPASM_VER_STRING
|
||||
#ifdef QSS_DATE
|
||||
// combined version string like "2020-10-20-beta1"
|
||||
#define ENGINE_NAME_AND_VER "QSS " QS_STRINGIFY(QSS_DATE) QUAKESPASM_VER_SUFFIX
|
||||
#else
|
||||
#define ENGINE_NAME_AND_VER "QSS" " " QUAKESPASM_VER_STRING
|
||||
#endif
|
||||
|
||||
//define PARANOID // speed sapping error checking
|
||||
|
||||
|
|
Loading…
Reference in a new issue