Commit graph

2807 commits

Author SHA1 Message Date
Zack Middleton
81e2b6c0cf Fix reserved size for swap buffer command being too small on x86_64 2015-10-16 20:50:25 -05:00
Zack Middleton
e6209f3b7c Fix crash from reading past end of tr.refdef.drawSurfs
The number of draw surfaces was range checked against number of surfaces for
the current view but needs to check total for the frame otherwise can read
past the end of the tr.refdef.drawSurfs array when there are multiple views.
2015-10-16 20:21:15 -05:00
Zack Middleton
8531162bd9 Fix not swapping buffers because out of cmd buffer space
Reserve space for end of list and swap buffer commands. These are absolutely
required and cannot be dropped. Dropping swap buffer command causes screen
to not update and possible crash from drawsurf buffer overflow if not enough
cmd buffer space for many continous frames.
2015-10-16 19:38:49 -05:00
Zack Middleton
ce35188acd Add support for uncompressed image upload flag to OpenGL1 2015-10-16 03:29:27 -05:00
Zack Middleton
fad66ae222 Maybe fix old MSYS when there is an empty for loop
Based on ioquake3 svn r1485.
2015-10-04 17:20:56 -05:00
Zack Middleton
7f4b34bf09 Remove unused define MAC_EVENT_PUMP_MSEC 2015-10-04 17:20:56 -05:00
Tim Angus
7e0dac7517 Fix check for empty rconpassword in CL_Rcon_f 2015-10-04 21:11:35 +01:00
Zack Middleton
1902b6e659 Fix compiling on Windows without Steam path/appid 2015-09-26 19:26:21 -05:00
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
Zachary J. Slater
e0b58abf53 Don't quote me. 2015-09-24 11:26:10 -07:00
Zachary J. Slater
45162a395f Fixed the os x path and now both scripts will take arguments 2015-09-24 11:21:18 -07:00
Zachary J. Slater
c138659de1 A mac dedicated server script 2015-09-24 11:00:08 -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
Tim Angus
ed845a57c6 Merge pull request #153 from dionrhys/read-urandom-unbuffered
Ensure reads from /dev/urandom are unbuffered
2015-09-07 13:00:23 +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
11a65db8bb Removing more large chunks of outdated text 2015-08-28 14:45:36 -07:00
Zachary J. Slater
752b9bafa8 Point to the moved information 2015-08-28 14:30:55 -07:00
Zachary J. Slater
80a61f5b30 Moving large chunks of README to wiki step 1 2015-08-28 14:26:32 -07:00
Zachary J. Slater
ede113b7b0 Githalytics seems to have stopped being a thing. 2015-08-28 11:08:01 -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
Zack Middleton
1c628c0fe5 Update headers in VS (10 and 11) projects
So VS doesn't always want to rebuild.

Reported by @shearer12345.
2015-08-19 13:50:39 -05:00
Zack Middleton
b5e9e1357a Make msvc10/11 x86_64 copy SDL264.dll 2015-08-18 20:03:59 -05:00
shearer12345
d64a75f3cb add post-build event for msvc10/11 to copy SDL2.dll to build folder 2015-08-18 20:02:13 -05:00
shearer12345
1d83dcca3e Update msvc10/11 for SDL2
update AdditionalIncludeDirectories to use SDL2
update AdditionalDependencies to use SDL2
add AdditionalLibraryDirectory to SDL2 libs
set sub-system as console
2015-08-18 19:51:27 -05:00
shearer12345
40e9a31470 Make msvc10/11 use UseOfMfc false and CharacterSet "NotSet" 2015-08-18 19:51:18 -05:00
Zack Middleton
24c7563478 Copy msvc11 build changes to msvc10 2015-08-18 19:27:29 -05:00
Zack Middleton
d021150e04 Fix mscv11 libcurl include path 2015-08-18 19:27:27 -05:00
Zack Middleton
beddd710d2 Fix msvc11 x86_64 runtime 2015-08-18 19:27:26 -05:00
Zack Middleton
af30a0e70a Update msvc10 renderer filenames (copied from msvc11) 2015-08-18 19:27:25 -05:00
Zack Middleton
4ad0e516f5 Ignore MSVC non-project files
Ignore auto generated or user configuration for MSVC projects.
Note: .user is ignored in Xcode section but applies to MSVC too.

Patch by @shearer12345.
2015-08-18 19:27:23 -05:00
Zack Middleton
eaaaf62a16 Remove MSVC user configuation files 2015-08-18 19:27:22 -05:00
Tobias Kuehnhammer
49ab0cc05e Fix (unused) watertype checks in PM_WaterMove 2015-07-30 19:33:28 -05:00
Tim Angus
57a463dd5d Merge pull request #145 from Pan7/va_list
Fix va_list warning
2015-07-30 16:25:48 +01:00
Pan7
8fddf5d6cd Fix va_list warning 2015-07-30 17:09:51 +02:00
Tim Angus
ca2743c2f3 Merge pull request #144 from Pan7/qurl_handle2
Add missing qcurl handle cleanup
2015-07-29 16:14:53 +01:00