summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-07Update headers in VS (10 and 11) projectsZack Middleton
So VS doesn't always want to rebuild. Reported by @shearer12345.
2016-04-07Make msvc10/11 x86_64 copy SDL264.dllZack Middleton
2016-04-07add post-build event for msvc10/11 to copy SDL2.dll to build foldershearer12345
2016-04-07Update msvc10/11 for SDL2shearer12345
update AdditionalIncludeDirectories to use SDL2 update AdditionalDependencies to use SDL2 add AdditionalLibraryDirectory to SDL2 libs set sub-system as console
2016-04-07Make msvc10/11 use UseOfMfc false and CharacterSet "NotSet"shearer12345
2016-04-07Copy msvc11 build changes to msvc10Zack Middleton
2016-04-07Fix mscv11 libcurl include pathZack Middleton
2016-04-07Fix msvc11 x86_64 runtimeZack Middleton
2016-04-07Update msvc10 renderer filenames (copied from msvc11)Zack Middleton
2016-04-07Ignore MSVC non-project filesZack Middleton
Ignore auto generated or user configuration for MSVC projects. Note: .user is ignored in Xcode section but applies to MSVC too. Patch by @shearer12345.
2016-04-07Remove MSVC user configuation filesZack Middleton
2016-04-07Fix (unused) watertype checks in PM_WaterMoveTobias Kuehnhammer
2016-04-07Fix va_list warningPan7
2016-04-07Add missing qcurl handle cleanupPan7
2016-04-07Return the result from qcurl_easy_setopt_warnTim Angus
2016-04-07qcurl_multi_cleanup checkPan7
2016-04-07qcurl_easy_setopt dev warningPan7
2016-04-07qcurl_multi_strerror not curl_multi_strerrorPan7
2016-04-07qcurl_multi_remove_handle checkPan7
2016-04-07Fix 'Invalid architecture' message in make-macosx-app.shZack Middleton
2016-04-07SDL_GL_SetSwapInterval() checkPan7
2016-04-07SDL_GetWindowDisplayIndex() check2Pan7
2016-04-07Added SDL_GetError()Pan7
2016-04-07Added SDL_GetError()Pan7
2016-04-07SDL_CreateWindow NULL checkPan7
2016-04-07SDL_GetWindowDisplayIndex checkPan7
2016-04-07SDL_SetWindowGammaRamp checkPan7
2016-04-07SDL_FALSE/TRUE for SDL_SetWindowGrabPan7
2016-04-07SDL_Init zero checkPan7
2016-04-07build: if tput fails, fall back to a reasonable text widthSimon McVittie
If TERM is not set (which can happen in autobuilders and other batch environments), or if tput cannot determine the number of columns for some other reason, then it can fail and not produce any output. Prior to this change, that would result in passing field width -4 to fmt, which is an error and causes fmt to produce no output.
2016-04-07build: define ARCH_STRING in Makefile on Linux and other GNU platformsSimon McVittie
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.
2016-04-07build: canonicalize all ARM variants to "arm", matching q_platform.hSimon McVittie
The ARCH in the Makefile must match the ARCH_STRING in q_platform.h; otherwise, ioquake3 will install (for instance) uiARCH.so but look for uiARCH_STRING.so, which isn't going to go well (particularly for the modular renderer). Like i386, but unlike most (all?) other Linux platforms, uname -m on 32-bit ARM machines can have various results starting with "arm", depending on the specific CPU version (e.g. Raspberry Pi is armv6l, RPi2 is armv7l). Again similar to the x86 family, it's appropriate for them to share an architecture suffix; q_platform.h has traditionally used "arm" so let's use that. 64-bit ARM makes a clean break from this, much like 64-bit x86 does: uname -m produces a string not starting with arm (specifically "aarch64"), and gcc predefines __aarch64__ instead of __arm__. As a result, it is unaffected by this change.
2016-04-07Makefile: confine $(LIB) to the one platform that needs it, namely irix64Simon McVittie
It isn't mentioned anywhere else, and deleting it from the Linux code path means we don't need to maintain an exhaustive list of 64-bit architectures.
2016-04-07Fix handling too many teams in Team Arena UIZack Middleton
2016-04-07Remove logically dead code from CL_GetServerStatusZack Middleton
Found by Coverity.
2016-04-07Fix cgs.teamVoteString buffer overflow in CG_ConfigStringModifiedZack Middleton
Found by Coverity.
2016-04-07Fix alloc size for default skin and single shader skinZack Middleton
Found by Coverity.
2016-04-07Remove logically dead code in R_CheckFBOZack Middleton
Found by Coverity.
2016-04-07Don't segfault in FS_CreatePath when there are no path seperatorsZack Middleton
2016-04-07Make more vm_x86 macros use braces so they work with if blah run macroZack Middleton
MASK_REG in EmitMovEDXStack would incorrectly emit asm if 'andit' was 0. 'andit' would never be 0 though so it wasn't causing issues. Found by Coverity.
2016-04-07Fix range checks for numBorders in CM_AddFacetBevelsZack Middleton
Found by Coverity.
2016-04-07Backport ignoring values outside lightgrid to OpenGL1Zack Middleton
Fixes possibly of reading memory past end of lightGridData or reading wrong light grid data (wrapping around to next row).
2016-04-07Fix OpenGL2 ignoring last light grid point on each axisZack Middleton
Also change light grid bounds clamping to make it more clear what invalid values are.
2016-04-07Remove unused fpucw from snapvector.asmZack Middleton
It's usage was removed in commit 8a500d71.
2016-04-07Fix server_compile.sh to exit after completedZack Middleton
Also, convert '\n's to real new lines because the literal '\n's were printed.
2016-04-07server_compile.sh & start_server.sh for Linux ioq3 sysadminsZachary J. Slater
If your distribution doesn’t include such niceties, these could help a newbie get started with a compiled build of ioquake3 for servers and a short script to get started.
2016-04-07Fix Windows file list extension checkZack Middleton
Windows' Sys_ListFiles would add files that contain the extension anywhere, not only at the end of the file name. Example: "word.pk3omghacks" use to be loaded as a pk3 file.
2016-04-07Don't fog 3D crosshair spriteZack Middleton
2016-04-07Apply greyscaling to fog blocksZack Middleton
2016-04-07Fix CGame CG_WaterLevel() comparisonsZack Middleton
My last commit made it so that CGame "waterlevel 1" is feet in water, but before it was erroneously about waist deep in water. The places where it is checked it is suppose to be view position underwater. Change comparisons to use correct value for view position underwater.