[iortcw] 71/95: All: Function headers / alignment with sys_win32
Simon McVittie
smcv at debian.org
Fri Sep 8 10:42:20 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to tag 1.51
in repository iortcw.
commit 9e308867077df8c19863604befa8e32e3ea7afde
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date: Thu May 25 12:25:51 2017 -0400
All: Function headers / alignment with sys_win32
---
MP/code/sys/sys_unix.c | 27 ++++++++++++++++++---------
SP/code/sys/sys_unix.c | 12 +++++++++---
2 files changed, 27 insertions(+), 12 deletions(-)
diff --git a/MP/code/sys/sys_unix.c b/MP/code/sys/sys_unix.c
index a84ed70..acd3bc2 100644
--- a/MP/code/sys/sys_unix.c
+++ b/MP/code/sys/sys_unix.c
@@ -991,6 +991,24 @@ qboolean Sys_DllExtension( const char *name ) {
}
/*
+==============
+Sys_GetDLLName
+==============
+*/
+char* Sys_GetDLLName( const char *name ) {
+ return va("%s.mp." ARCH_STRING DLL_EXT, name);
+}
+
+/*
+==============
+Sys_GetHighQualityCPU
+==============
+*/
+int Sys_GetHighQualityCPU() {
+ return 1;
+}
+
+/*
==================
chmod OR on a file
==================
@@ -1132,12 +1150,3 @@ void Sys_OpenURL( const char *url, qboolean doexit ) {
}
-// TTimo - Wolf MP specific, adding .mp. to shared objects
-char* Sys_GetDLLName( const char *name ) {
- return va("%s.mp." ARCH_STRING DLL_EXT, name);
-}
-
-int Sys_GetHighQualityCPU() {
- // TODO TTimo see win_shared.c IsP3 || IsAthlon
- return 1;
-}
diff --git a/SP/code/sys/sys_unix.c b/SP/code/sys/sys_unix.c
index 690c81d..324b414 100644
--- a/SP/code/sys/sys_unix.c
+++ b/SP/code/sys/sys_unix.c
@@ -992,6 +992,15 @@ qboolean Sys_DllExtension( const char *name ) {
/*
==============
+Sys_GetDLLName
+==============
+*/
+char* Sys_GetDLLName( const char *name ) {
+ return va("%s.sp." ARCH_STRING DLL_EXT, name);
+}
+
+/*
+==============
Sys_GetHighQualityCPU
==============
*/
@@ -1122,6 +1131,3 @@ void Sys_OpenURL( char *url, qboolean doexit ) {
}
-char* Sys_GetDLLName( const char *name ) {
- return va("%s.sp." ARCH_STRING DLL_EXT, name);
-}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git
More information about the Pkg-games-commits
mailing list