Spike
2ac22f6c5c
Misaligned bsp lumps should have been a developer thing.
...
If anyone didn't fix their maps yet, they probably never will.
2018-08-04 16:38:26 +01:00
Spike
1eac6c1978
Don't try doing mouse grabs in dedicated servers...
2018-08-04 16:37:21 +01:00
Spike
211c3e3f43
Fix p999 issue (was checking for only 666 on makestatic).
2018-07-19 22:05:16 +01:00
Spike
4b77db179a
Fix slowmo issue caused by framerates lower than 72 with network independance.
2018-07-19 22:03:42 +01:00
Spike
d3bd4566a5
Fix possible networked out-of-bounds access.
2018-07-19 22:02:25 +01:00
Spike
843ba06637
Reinstate the DoublePrecisionDotProducts.
...
They are still needed for ericw's testcase (oms3).
2018-07-16 00:59:35 +01:00
Spike
60ec7ab505
Replaced SV_RecursiveHullCheck with a more numerically stable and faster alternative.
2018-07-15 00:52:34 +01:00
Spike
9a038da2eb
Fix some csqc bugs+omissions.
2018-07-07 15:05:34 +01:00
Spike
2c53c4574d
Avoid csqc crashes from setorigin etc.
...
Also avoid issues from csqc errors while scissor is enabled.
2018-06-28 05:42:28 +01:00
Spike
4cd709ab27
Decode oggs for in-game sounds.
2018-06-28 05:40:25 +01:00
Spike
0b796bdfe4
Fixed issue with Z_Realloc not guarenteeing 0-filled memory (due to alignment).
2018-06-28 05:32:43 +01:00
sezero
66f09d4815
gl_texmgr.h (struct gltexture_s): change 'pants' and 'shirt' to signed char
...
otherwise negative value checks wouldn't work if char is unsigned by
default. Fixes bug #28 (https://sourceforge.net/p/quakespasm/bugs/28/ ,
also see: https://github.com/Novum/vkQuake/issues/145 )
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1588 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-06-18 07:15:58 +00:00
Spike
50a7b25833
Some compile fixes.
2018-05-31 17:02:35 +01:00
sezero
61fe97411e
pr_edict.c: replaced another strcpy() call with q_strlcpy(), tweaked a warning message.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1586 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-30 15:01:22 +00:00
sezero
a000174857
lodepng.c: max 5552 instead of 5550 sums before adler32 overflow
...
(lorepng github mainstream commit 81cf5de55f)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1585 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-30 04:04:47 +00:00
Spike
1bb27f22a6
Bugfix - make dlights move correctly with respect to moving bsp entities, instead of the light being in the wrong place.
...
Obviously this doesn't affect baked lights, but at least mappers have more control over those.
2018-05-25 11:54:33 +01:00
Spike
caa5694170
Add warnings for any misaligned lumps. These crash on arm ports of engines.
2018-05-25 11:51:10 +01:00
Spike
f6b4de9fd7
Fix https://github.com/Shpoike/Quakespasm/issues/1
2018-05-25 11:50:13 +01:00
Spike
683d0e67c7
Hopefully this will fix the lingering issues with pics getting screwed on game changes.
2018-05-19 19:41:18 +01:00
sezero
169e45e2e1
SDL2, windows: put the windows 10 mouse bug workaround back in.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1584 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-16 11:29:51 +00:00
Spike
2788c89acf
Added missing header.
2018-05-16 04:15:14 +01:00
Spike
27a395d085
Docs update
2018-05-15 09:09:20 +01:00
Spike
086f104502
Make the bf command fade smoothly, instead of rounding down and disappearing almost instantly.
2018-05-13 08:07:15 +01:00
Spike
125c28aa96
Throttle networking to 72 if host_maxfps is set any higher (or 0).
...
This means that you can just disable vsync and set host_maxfps to 0 for uncapped framerates without any new physics issues.
Note that this commit does not fix bf flashes.
2018-05-13 08:00:41 +01:00
sezero
f22822b54b
oslibs, codecs: rebuilt vorbis decoder after applying fix for CVE-2017-14160.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1583 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-11 20:39:21 +00:00
sezero
5b5b4338ba
applied fix for SDL bug #4159
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1582 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-11 20:32:57 +00:00
Spike
72814e70d8
Allow ints to save too, in case anyone tries using them, ever.
2018-05-08 23:45:33 +01:00
Spike
583ed981a7
Fix crash when saving the game.
2018-05-08 23:42:36 +01:00
Spike
4683958937
Fix stupid oversight - I forgot to actually set qcvm->GetModel.
2018-05-07 19:32:50 +01:00
Spike
550e9ecd56
Fix issue with pr_dumpplatform writing a prior version of the simplecsqc entry points.
...
Also print the path that the qsextensions.qc file was written to.
2018-05-07 08:49:22 +01:00
Spike
c194f2cf80
Docs update
2018-05-05 16:21:09 +01:00
Spike
cc7a0f114b
Some misc qc-related bugfixes.
2018-05-05 16:18:07 +01:00
Spike
0dc79fa354
Make mwheelup/down less annoying when scrolling in the console whenever they're not bound.
2018-05-05 16:14:05 +01:00
sezero
0552632169
oslibs, codecs: rebuilt libxmp (lite version) from latest git
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1581 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-05 05:01:28 +00:00
sezero
c5e560b321
SDL2 rebuild:
...
Windows:
- Remove the windows 10 mouse bug workaround: the issue is fixed in
windows 10 version 1803 (i.e. the April 2018 update build 17134.)
(see SDL bug #4152.)
- SDL_ShowWindow() should not activate the window if the window has
the WS_EX_NOACTIVATE window flag (mainstream commit 11939.)
Mac OS X:
- fix pthread_mutex_trylock() error checks (mainstream commit 11950)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1580 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-03 17:42:24 +00:00
Shpoike
eabd9d3b3b
Fix some warnings.
2018-05-01 12:48:47 +01:00
Shpoike
cd8b6e0df5
Merge remote-tracking branch 'upstream/master'
2018-05-01 01:57:14 +01:00
Spike
e17abc5cef
Added support for simple csqc.
...
This is a subset of csqc, with alternative entry points that can be invoked by compat wrappers.
Also added sv_gameplayfix_setmodelrealbox cvar. Default value of 1 matches QuakeSpasm, whereas a value of 0 matches vanilla quake's behaviour.
2018-05-01 01:35:14 +01:00
sezero
c99bec3122
bgmusic.c: mark *.opus files as cdrip types.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1579 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-04-27 17:30:38 +00:00
sezero
5ab8546f6f
apply the same double precision change to PF_normalize() as was done to PF_vlen() in r1554.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1578 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-04-23 09:20:31 +00:00
sezero
2386448c51
net_udp.c (UDP_Init): lose the goto in OSX workaround, restrict the workaround to OSX builds only.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1577 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-04-20 14:35:32 +00:00
sezero
a4dbe9b0c6
SDL2: rebuilt for windows after applying commit rev. 11938 from mainstream.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1576 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-26 23:55:17 +00:00
sezero
07428251fa
SDL2: rebuilt for macOS:
...
rebuilt using clang-5.0.1 and latest cctools-port (895) on an up-to-date
Fedora 27 / x86_64 setup. the x86 part is built against 10.8.5 SDK, and
the x86_64 part is built against 10.12.4 SDK.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1575 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-26 21:20:39 +00:00
sezero
04cac5547e
snd_vorbis.c: remove leftovers, tidyup.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1574 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-26 21:10:07 +00:00
sezero
0704e1e322
lodepng sync with mainstream: merged commits d4d8f1aa and d03d7df9
...
(excluded 64 bit warning fix commits 9ab58e3 and 116f5b2e for now)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1573 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-26 21:04:10 +00:00
sezero
848fae3c24
SDL2: updated SDL_cpuinfo.h (SDL bug 4103)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1572 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-17 08:01:50 +00:00
sezero
cc2d1f8806
rebuilt vorbis after applying CVE-2018-5146 fixes (vorbis-1.3.6).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1571 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-17 07:56:58 +00:00
sezero
ad3d644177
SDL-1.2: rebuilt after applying a patch for SDL bug 4108.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1570 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-14 14:00:17 +00:00
sezero
2806d174b3
cd_sdl.c: change SDL_CD error return checks from '== -1' back to '< 0'
...
SDL man pages are wrong. e.g. their macosx cdrom backend returns some
negative value, but not strictly -1.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1569 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-13 08:50:03 +00:00
sezero
e6d38a8372
SDL2: rebuilt for Mac OS X after applying a patch from Eric to cure a
...
mouse-wheel issue happening since SDL-2.0.6 as noticed by Steve. (SDL
changeset 11300:68a80d7afec3 for SDL bug 2293 - the patch reverts the
changes made to SDL_cocoamouse.m in that commit.)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1568 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-07 18:50:02 +00:00