Tim Angus
9732f1ba69
Now with less infinite recursion
2015-09-26 10:54:16 +01:00
Tim Angus
c70e10d15e
Effectively revert c2e146c1
2015-09-25 22:50:01 +01:00
SmileTheory
2f77a98afe
Use Windows uninstall path to find Steam Quake 3 install.
...
Thanks Pan- and Ensiform for pointing this out.
2015-09-25 04:55:41 -07:00
SmileTheory
3bd7a8d842
Search for mods in steam path as well as home and base paths.
2015-09-25 04:52:17 -07:00
Zack Middleton
7e96fd9cb6
Make steam path optional at compile time for standalone games
2015-09-22 19:25:16 -05:00
Zack Middleton
750fdc0e43
Align indent of defines at top of q_shared.h to 4 space tabs
2015-09-22 19:05:46 -05:00
Zack Middleton
68ab4e9548
Early out of Cmd_CompleteArgument and Cmd_SetCommandCompletionFunc
...
Reported by Ensiform.
2015-09-20 18:51:20 -05:00
Zack Middleton
5e09f20cd4
Use correct array size for facets in cm_patch.c
2015-09-17 18:46:01 -05:00
SmileTheory
f860a753e0
Add Steam's Quake 3 Arena dir to game dirs on Windows.
2015-09-17 02:53:19 -07:00
Zack Middleton
3001cacf89
Make add bots menu use standard menu drawing
...
Made add bots menu draw banner and background like remove bots menu.
2015-09-16 01:43:28 -05:00
Zack Middleton
b85935d30c
Fix glyph width calculation in Text_Paint_Limit
...
Text_Width's scale argument will be multiplied by glyphScale, so don't
pass useScale that is already multiplied by glyphScale as this makes
the scale too big.
2015-09-15 16:56:03 -05:00
Tim Angus
ec6916ded5
Fix the wonky fix to the wonky va_list usage
2015-09-09 23:33:36 +01:00
Tim Angus
566e2a18de
Fix wonky va_list usage
2015-09-09 22:32:12 +01:00
Tim Angus
9767a0e790
Merge pull request #152 from dionrhys/cvar-unset-notify
...
Fix Cvar_Unset not notifying cvar_modifiedFlags
2015-09-07 13:00:30 +01:00
Dion Williams
2917077323
Ensure reads from /dev/urandom are unbuffered
...
Upstream: JACoders/OpenJK@de6a9dfd40
2015-09-07 11:33:29 +01:00
Dion Williams
ce2b8db294
Fix Cvar_Unset not notifying cvar_modifiedFlags
...
Upstream: JACoders/OpenJK@9a5e9e87ff
2015-09-07 11:29:15 +01:00
Zachary J. Slater
87e0bf6eaf
Better language, less tense
2015-08-28 18:19:29 -07:00
Zachary J. Slater
4667210e1d
more helpful error message
...
Can’t find your pak0.pk3? Here’s where we tried looking.
2015-08-28 10:36:46 -07:00
Zack Middleton
f4aa39adc1
Remove unused define CG_FONT_THRESHOLD
2015-08-25 16:23:06 -05:00
Tobias Kuehnhammer
49ab0cc05e
Fix (unused) watertype checks in PM_WaterMove
2015-07-30 19:33:28 -05:00
Pan7
8fddf5d6cd
Fix va_list warning
2015-07-30 17:09:51 +02:00
Pan7
017af35969
Add missing qcurl handle cleanup
2015-07-29 16:44:59 +02:00
Tim Angus
4e1cf7ac9b
Return the result from qcurl_easy_setopt_warn
2015-07-29 13:39:27 +01:00
Tim Angus
eb3dda59e4
Merge pull request #143 from Pan7/qcurl_cleanup
...
qcurl_multi_cleanup check
2015-07-29 13:16:39 +01:00
Pan7
e9e1e25d77
qcurl_multi_cleanup check
2015-07-29 13:32:00 +02:00
Pan7
c2e146c145
qcurl_easy_setopt dev warning
2015-07-28 17:23:31 +02:00
Tim Angus
da79a3ed4e
Merge pull request #140 from Pan7/qcurl_remove
...
qcurl_multi_remove_handle check
2015-07-28 10:37:07 +01:00
Pan7
4db5c3af40
qcurl_multi_strerror not curl_multi_strerror
2015-07-27 21:04:47 +02:00
Pan7
85faec91ab
qcurl_multi_remove_handle check
2015-07-27 20:38:20 +02:00
Tim Angus
db941dcb5f
Merge pull request #138 from Pan7/SDL_Swap
...
SDL_GL_SetSwapInterval() check
2015-07-26 19:49:49 +01:00
Tim Angus
793708a010
Merge pull request #137 from Pan7/SDL_display
...
SDL_GetWindowDisplayIndex() check2
2015-07-26 19:49:04 +01:00
Tim Angus
0dad4ce9fe
Merge pull request #92 from Pan7/curl_error
...
qcurl_multi_add_handle error check
2015-07-26 19:48:03 +01:00
Pan7
525eac0d99
SDL_GL_SetSwapInterval() check
2015-07-26 20:23:48 +02:00
Pan7
56808ab51f
SDL_GetWindowDisplayIndex() check2
2015-07-26 19:46:07 +02:00
Tim Angus
c35e0faffb
Merge pull request #136 from Pan7/SDL_NULL
...
SDL_CreateWindow NULL check
2015-07-26 15:50:54 +01:00
Tim Angus
5a495d5824
Merge pull request #135 from Pan7/SDL_Index
...
SDL_GetWindowDisplayIndex check
2015-07-26 15:50:30 +01:00
Tim Angus
19fe4f8fbd
Merge pull request #134 from Pan7/GammaCheck
...
SDL_SetWindowGammaRamp check
2015-07-26 15:49:42 +01:00
Tim Angus
30c88442b2
Merge pull request #133 from Pan7/SDL_bool
...
SDL_FALSE/TRUE for SDL_SetWindowGrab
2015-07-26 15:48:59 +01:00
Pan7
19c4048315
Added SDL_GetError()
2015-07-26 15:45:21 +02:00
Pan7
4b176297e2
Added SDL_GetError()
2015-07-26 15:41:41 +02:00
Pan7
6fb47ce9bf
SDL_CreateWindow NULL check
2015-07-26 13:54:29 +02:00
Pan7
9694e93fd2
SDL_GetWindowDisplayIndex check
2015-07-26 13:03:47 +02:00
Pan7
2003a054f9
SDL_SetWindowGammaRamp check
2015-07-26 04:31:27 +02:00
Pan7
9e08cdb16a
SDL_FALSE/TRUE for SDL_SetWindowGrab
2015-07-26 03:21:45 +02:00
Tim Angus
605dfabb94
Merge pull request #132 from Pan7/SDL_Init
...
SDL_Init zero check
2015-07-25 11:54:12 +01:00
Pan7
2a38bca931
SDL_Init zero check
2015-07-24 22:56:00 +02:00
Tim Angus
61a49ba1db
Merge pull request #129 from smcv/generic-platform
...
Implement Linux architecture support generically
2015-07-15 13:37:51 +00:00
Simon McVittie
2a71948f21
build: define ARCH_STRING in Makefile on Linux and other GNU platforms
...
GNU platforms (Linux, kFreeBSD, Hurd) have endian.h to determine
endianness, so all architectures except x86_64 are in fact treated
identically, except that their ARCH_STRING is different.
The ARCH_STRING must always be identical to the ARCH from the Makefile,
otherwise the engine will not find its cgame, game and ui plugins
under their expected names and startup will fail. If we pass it in
from the Makefile, then an identical value is guaranteed, and we can
get rid of an increasingly long list of defined(__some_cpu__) tests.
The one remaining quirk is that we test __x86_64__ to determine
whether to define idx64; I've kept that, but separated it from
the ARCH_STRING.
On non-Linux platforms we only support a few architectures anyway,
so keeping the list up to date is less of a burden; *BSD porters
could probably use the same technique to get support for lots of
architectures with little effort, but I have not done that here,
because I cannot test it.
Windows must continue to support preprocessor-based architecture tests
in any case, so that the MSVC solutions (which do not use the Makefile)
can continue to work. However, Windows only runs on a few CPU families,
so this shouldn't be a significant burden in practice.
When cross-compiling, the tools are compiled for the build architecture
(COMPILE_PLATFORM, COMPILE_ARCH) rather than the host architecture
(PLATFORM, ARCH), so define ARCH_STRING to COMPILE_ARCH on a GNU
COMPILE_PLATFORM.
2015-07-14 22:51:57 +01:00
Zack Middleton
c91fe0bcfe
Fix handling too many teams in Team Arena UI
2015-07-13 00:09:22 -05:00
Zack Middleton
b4b68b8e80
Remove logically dead code from CL_GetServerStatus
...
Found by Coverity.
2015-07-12 21:14:04 -05:00