]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
Mattia Basaglia [Mon, 2 Mar 2015 20:45:45 +0000 (21:45 +0100)]
0x3FFFFFFF
Mattia Basaglia [Mon, 2 Mar 2015 20:43:19 +0000 (21:43 +0100)]
Merge branch 'master' of ssh://gitlab.com/xonotic/darkplaces into Melanosuchus/preconnect
divverent [Mon, 2 Mar 2015 13:31:35 +0000 (13:31 +0000)]
Remove an unused type.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12168
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 2 Mar 2015 13:31:32 +0000 (13:31 +0000)]
Fix warnings for missing prototypes.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12167
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 2 Mar 2015 13:31:28 +0000 (13:31 +0000)]
Add a Code::Blocks project file for the SDL build.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12166
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 2 Mar 2015 08:52:30 +0000 (08:52 +0000)]
Argh. Fix my last fix :( changed the wrong field to GL_TEXTURE_2D.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12165
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 1 Mar 2015 18:54:11 +0000 (18:54 +0000)]
Fix texture type of renderbuffers (was random crap, now is GL_TEXTURE_2D).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12164
d7cf8633 -e32d-0410-b094-
e92efae38249
Mattia Basaglia [Sat, 28 Feb 2015 22:18:27 +0000 (23:18 +0100)]
Merge branch 'master' of ssh://gitlab.com/xonotic/darkplaces into Melanosuchus/preconnect
divverent [Fri, 27 Feb 2015 20:21:27 +0000 (20:21 +0000)]
Get rid of some funny console spam on some invalid clientcommands.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12163
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 27 Feb 2015 20:21:24 +0000 (20:21 +0000)]
Better handle invalid clc_ackframe commands.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12162
d7cf8633 -e32d-0410-b094-
e92efae38249
Mattia Basaglia [Wed, 18 Feb 2015 14:48:39 +0000 (15:48 +0100)]
Merge branch 'master' of ssh://gitlab.com/xonotic/darkplaces into Melanosuchus/preconnect
divverent [Mon, 9 Feb 2015 11:06:06 +0000 (11:06 +0000)]
Crypto: handle properly whether the a server key is signed or not.
Provide information about client key being signed or not to QC.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12161
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 9 Feb 2015 08:54:46 +0000 (08:54 +0000)]
Fix an useless NULL check, and a very funny overrun.
The overrun is in initialization of command line arguments, and thus not
exploitable.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12160
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 9 Feb 2015 08:46:35 +0000 (08:46 +0000)]
Fix dodgy use of plane.normal[3] as alias to plane.dist using a union.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12159
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 7 Feb 2015 21:15:41 +0000 (21:15 +0000)]
Oops, fix a printf.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12158
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 7 Feb 2015 21:15:00 +0000 (21:15 +0000)]
Remove an useless null check.
These functions can't be used in any way without passing a pointer there
anyway.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12157
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 7 Feb 2015 21:14:56 +0000 (21:14 +0000)]
Fix registered/shareware detection.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12156
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 7 Feb 2015 21:14:52 +0000 (21:14 +0000)]
Test return values of remove().
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12155
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 7 Feb 2015 21:14:49 +0000 (21:14 +0000)]
Fix userdir detection on Unix systems.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12154
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 7 Feb 2015 21:14:45 +0000 (21:14 +0000)]
Fix pak loading bugs.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12153
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 7 Feb 2015 21:14:40 +0000 (21:14 +0000)]
Make FS_mkdir static, and test for errors.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12152
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 7 Feb 2015 21:14:36 +0000 (21:14 +0000)]
Detect negative name size in pk3s.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12151
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 7 Feb 2015 21:14:32 +0000 (21:14 +0000)]
Check lseek return values.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12150
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 7 Feb 2015 21:14:27 +0000 (21:14 +0000)]
Reject pk3s with obviously broken central directory.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12149
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 5 Feb 2015 06:50:51 +0000 (06:50 +0000)]
More coverity.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12148
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 4 Feb 2015 12:27:19 +0000 (12:27 +0000)]
Fix $# in aliases.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12147
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 4 Feb 2015 12:24:22 +0000 (12:24 +0000)]
Kill more unreachable code.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12146
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 4 Feb 2015 12:24:18 +0000 (12:24 +0000)]
Fix check order of keygen_i.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12145
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 4 Feb 2015 12:24:14 +0000 (12:24 +0000)]
Fix dead code.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12144
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 4 Feb 2015 12:24:09 +0000 (12:24 +0000)]
Fix check/write order in LHNETADDRESS_ToString.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12143
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 4 Feb 2015 12:24:06 +0000 (12:24 +0000)]
Make vabuf static in rcon authentication check as it's returned.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12142
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 4 Feb 2015 12:24:00 +0000 (12:24 +0000)]
Use the correct bones count when parsing E5_COMPLEXANIMATION.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12141
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 4 Feb 2015 12:23:55 +0000 (12:23 +0000)]
Kill an useless NULL check that only confuses.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12140
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 3 Feb 2015 11:02:51 +0000 (11:02 +0000)]
Fix buffer size for injecting netname into demo files.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12139
d7cf8633 -e32d-0410-b094-
e92efae38249
Mattia Basaglia [Sat, 31 Jan 2015 21:44:50 +0000 (22:44 +0100)]
Merge branch 'master' of ssh://gitlab.com/xonotic/darkplaces into Melanosuchus/preconnect
divverent [Sat, 31 Jan 2015 20:29:57 +0000 (20:29 +0000)]
Don't match *default.cfg for default config matching.
Only match default.cfg and */default.cfg.
Rationale is that someone in Xonotic created a file called
binds-default.cfg and didn't know about this magic here, leading to
https://gitlab.com/xonotic/xonotic-data.pk3dir/issues/1444 and
https://gitlab.com/xonotic/xonotic-data.pk3dir/issues/1448
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12138
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 27 Jan 2015 13:30:15 +0000 (13:30 +0000)]
Set the proper @rpath in the OS X binaries.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12137
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 18 Jan 2015 15:32:27 +0000 (15:32 +0000)]
Try to insert the Xonotic icon another way (without resedit.exe).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12136
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 17 Jan 2015 17:37:53 +0000 (17:37 +0000)]
Set basealpha on sprites too. Makes them visible again :)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12135
d7cf8633 -e32d-0410-b094-
e92efae38249
Mattia Basaglia [Thu, 15 Jan 2015 09:20:02 +0000 (10:20 +0100)]
Call ClientPreConnect on server QC
divverent [Sat, 10 Jan 2015 14:56:12 +0000 (14:56 +0000)]
Looks we can get WinXP support back by sacrificing Win2k.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12134
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 9 Jan 2015 09:02:03 +0000 (09:02 +0000)]
Fix static linking.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12133
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 9 Jan 2015 08:51:03 +0000 (08:51 +0000)]
Use a newer build chain for win32/win64.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12132
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 9 Jan 2015 07:08:21 +0000 (07:08 +0000)]
Disable even mod_skeletal_animatevertices_sse on win32, as it's crashing too. Damn unaligned stack.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12131
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 8 Jan 2015 19:34:37 +0000 (19:34 +0000)]
Now that SSE is off, we can also kill -mstackrealign. GCC bug worked around!
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12130
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 8 Jan 2015 16:51:49 +0000 (16:51 +0000)]
Turn off SSE in the win32 binaries. Damn travis.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12129
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 8 Jan 2015 16:47:18 +0000 (16:47 +0000)]
Make 64bit binaries the new default in our travis scripts.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12128
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 8 Jan 2015 16:47:15 +0000 (16:47 +0000)]
Revert "If one compiler fails, try another."
This reverts commit
660001dce93be41b85d5d1e92d4a6afa5de2db33 .
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12127
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 8 Jan 2015 16:27:43 +0000 (16:27 +0000)]
If one compiler fails, try another.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12126
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 8 Jan 2015 16:27:40 +0000 (16:27 +0000)]
Revert "Try using incoming-stack-boundary=2 instead of stackrealign."
This reverts commit
438bc57b1be1f24b067056c8d26c1cf9e0cab26b .
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12125
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 8 Jan 2015 15:35:35 +0000 (15:35 +0000)]
Try using incoming-stack-boundary=2 instead of stackrealign.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12124
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 6 Jan 2015 23:26:52 +0000 (23:26 +0000)]
ODE depends on C++. So let's link that in too...
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12123
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 6 Jan 2015 22:50:42 +0000 (22:50 +0000)]
Oops, fix whitespace again. Aw man.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12122
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 6 Jan 2015 22:26:03 +0000 (22:26 +0000)]
Argh. Fix quotes.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12121
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 6 Jan 2015 16:36:10 +0000 (16:36 +0000)]
Oops. Fix whitespace.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12120
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 6 Jan 2015 15:20:38 +0000 (15:20 +0000)]
Reformat the makeflags.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12119
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 6 Jan 2015 15:20:35 +0000 (15:20 +0000)]
Add missing CFLAGS for ODE.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12118
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 6 Jan 2015 10:50:47 +0000 (10:50 +0000)]
Statically link to libjpeg again on Linux. Damn jpeg8 vs jpeg62 still...
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12117
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 4 Jan 2015 13:45:34 +0000 (13:45 +0000)]
Fix the name again.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12116
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 4 Jan 2015 13:20:37 +0000 (13:20 +0000)]
Fix an executable name (darkplaces.exe)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12115
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 3 Jan 2015 15:58:25 +0000 (15:58 +0000)]
Xonotic/Windows: make SDL the default build.
Rename the executables from xonotic-* to darkplaces-*. They are generic DP binaries, after all.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12114
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 29 Dec 2014 14:56:27 +0000 (14:56 +0000)]
SDL2: Fix dprint spam in the console when toggling vid_vsync on/off
Signed-off-by: terencehill <piuntn@gmail.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12113
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 29 Dec 2014 14:55:25 +0000 (14:55 +0000)]
Use proper Unicode defined characters for the "..." chat continuation sign
From: Severin Meyer <sev.ch@web.de>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12112
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 29 Dec 2014 11:11:15 +0000 (11:11 +0000)]
Realign stack for SDL/win32 builds. Yes, annoying, and costs performance.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12111
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 9 Dec 2014 23:30:50 +0000 (23:30 +0000)]
fix Con_Printf in Mod_Q2BSP_LoadNodes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12110
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 9 Dec 2014 23:08:33 +0000 (23:08 +0000)]
more miscellaneous fixes from graphitemaster
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12109
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 9 Dec 2014 14:17:22 +0000 (14:17 +0000)]
specify depth and stencil attachments separately (combined attachment is only available in GL >= 3.0)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12108
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 9 Dec 2014 13:38:22 +0000 (13:38 +0000)]
gltexture_t->glisdepthstencil fix
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12107
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 9 Dec 2014 13:30:53 +0000 (13:30 +0000)]
miscellaneous fixes from graphitemaster
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12106
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 7 Dec 2014 16:39:43 +0000 (16:39 +0000)]
curl: do not output requirements for files that are local.
Fixes a bug introduced by r12079.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12105
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 26 Nov 2014 12:58:32 +0000 (12:58 +0000)]
fixes some more Mac OS X buffer overlap errors
Error report: Mac OS X 10.10 (14A389)
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
detected source and destination buffer overlap
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff91017282 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff922aab73 abort + 129
2 libsystem_c.dylib 0x00007fff922aacea abort_report_np + 181
3 libsystem_c.dylib 0x00007fff922d0dd0 __chk_fail + 48
4 libsystem_c.dylib 0x00007fff922d0de0 __chk_fail_overlap + 16
5 libsystem_c.dylib 0x00007fff922d0e11 __chk_overlap + 49
6 libsystem_c.dylib 0x00007fff922d0e7e __strlcpy_chk + 68
7 darkplaces-sdl 0x0000000102903b3e SV_UpdateToReliableMessages + 398 (sv_main.c:2480)
8 darkplaces-sdl 0x00000001029038bb SV_SendClientMessages + 59 (sv_main.c:2575)
9 darkplaces-sdl 0x000000010278bb5e Host_Main + 3758 (host.c:910)
10 darkplaces-sdl 0x00000001025be64f main + 239 (sys_sdl.c:223)
11 libdyld.dylib 0x00007fff8e7735c9 start + 1
From: nyov <nyov@nexnode.net>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12104
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 26 Nov 2014 12:58:29 +0000 (12:58 +0000)]
fix a buffer overlap with newer mac osx strlcpy
this fails on strcpy overlap detection in newer Mac OSX releases.
Error report: Mac OS X 10.10 (14A389)
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
detected source and destination buffer overlap
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff91017282 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff922aab73 abort + 129
2 libsystem_c.dylib 0x00007fff922aacea abort_report_np + 181
3 libsystem_c.dylib 0x00007fff922d0dd0 __chk_fail + 48
4 libsystem_c.dylib 0x00007fff922d0de0 __chk_fail_overlap + 16
5 libsystem_c.dylib 0x00007fff922d0e11 __chk_overlap + 49
6 libsystem_c.dylib 0x00007fff922d0e7e __strlcpy_chk + 68
7 darkplaces-sdl 0x0000000104a3a29a Mod_LoadTextureFromQ3Shader + 74 (model_shared.c:2446)
8 darkplaces-sdl 0x0000000104a21010 Mod_Q3BSP_Load + 2224 (model_brush.c:5134)
9 darkplaces-sdl 0x0000000104a1e265 Mod_IBSP_Load + 85 (model_brush.c:7956)
10 darkplaces-sdl 0x0000000104a3398b Mod_LoadModel + 1419 (model_shared.c:498)
11 darkplaces-sdl 0x0000000104a37717 Mod_ForName + 55 (model_shared.c:616)
12 darkplaces-sdl 0x0000000104ad3f28 SV_SpawnServer + 424 (sv_main.c:3284)
13 darkplaces-sdl 0x00000001049e497f Host_Map_f + 319 (host_cmd.c:394)
14 darkplaces-sdl 0x00000001049e4bad Host_Changelevel_f + 221 (host_cmd.c:416)
15 darkplaces-sdl 0x000000010494d6f9 Cmd_ExecuteString + 617 (cmd.c:1936)
16 darkplaces-sdl 0x000000010494d14d Cbuf_Execute + 781 (cmd.c:368)
17 darkplaces-sdl 0x000000010494dbd5 Cbuf_Frame + 597 (cmd.c:384)
18 darkplaces-sdl 0x00000001049e0109 Host_Main + 1305 (host.c:781)
19 darkplaces-sdl 0x00000001048c2f06 main + 166 (sys_sdl.c:223)
20 libdyld.dylib 0x00007fff8e7735c9 start + 1
From: nyov <nyov@nexnode.net>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12103
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 16 Oct 2014 12:05:04 +0000 (12:05 +0000)]
Fix _alpha image loading.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12102
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 15 Oct 2014 12:06:06 +0000 (12:06 +0000)]
In current gccs, it is -mfpmath=sse, not -fpmath=sse.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12101
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 15 Oct 2014 11:56:32 +0000 (11:56 +0000)]
Fix possible endless loop in VM_sprintf.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12100
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 9 Oct 2014 12:24:14 +0000 (12:24 +0000)]
Regenerate SSH key.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12099
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 4 Oct 2014 20:20:22 +0000 (20:20 +0000)]
If vid_desktopfullscreen is set, manually initialize window with the current desktop resolution instead of with the default values and then letting sdl correct it automatically when they differ. It caused issues switching from fullscreen to window mode in the first game run
Signed-off-by: terencehill <piuntn@gmail.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12098
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 4 Oct 2014 20:16:54 +0000 (20:16 +0000)]
Implement proper support for utf8 characters in SDL2
From: terencehill <piuntn@gmail.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12097
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 4 Oct 2014 20:15:47 +0000 (20:15 +0000)]
SDL2: Make work numeric keypad keys when numlock is off, K_PRINTSCREEN, K_SCROLLOCK and K_NUMLOCK. Also fix a debug print (event.key.keysym.unicode doesn't exist anymore in SDL2)
From: terencehill <piuntn@gmail.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12096
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 4 Oct 2014 20:12:56 +0000 (20:12 +0000)]
Cache corona occlusion buffer
Rather than creating and destroying the occlusion buffer every frame, cache it.
This improves performance slightly.
From: Alex Goins <agoins@nvidia.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12095
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 4 Oct 2014 20:12:51 +0000 (20:12 +0000)]
Implement GPU-side corona fading
Uses GL_ARB_query_buffer_object to retrieve query results directly into a
buffer. This allows corona fading to be moved into the fragment shader,
preventing a round-trip to the CPU and synchronous rendering. Depending on the
machine's configuration, it can give a dramatic performance boost.
From: Alex Goins <agoins@nvidia.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12094
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 28 Aug 2014 12:47:58 +0000 (12:47 +0000)]
Disable SDLmain.m for SDL2.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12093
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 28 Aug 2014 12:47:55 +0000 (12:47 +0000)]
More Travis changes :) Use SDL2 in all builds now.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12092
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 27 Aug 2014 12:46:22 +0000 (12:46 +0000)]
Add Travis-CI integration for Xonotic.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12091
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 27 Aug 2014 12:45:55 +0000 (12:45 +0000)]
Fix build on OS X. Previously, building on OS X always assumed to be on an iDevice.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12090
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Jun 2014 04:08:58 +0000 (04:08 +0000)]
fix a /* warning in a comment
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12089
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 Jun 2014 18:48:02 +0000 (18:48 +0000)]
raise system requirements to Pentium3 so that we can force the math
pipeline to SSE, this fixes lightmap alignment issues in several
usermade quake maps (where the x87 increased precision was resulting in
different rounding than in the map compiler)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12088
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 8 Jun 2014 16:57:58 +0000 (16:57 +0000)]
Fixed many issues with q2bsp support, it now works properly.
Added sv_mapformat_quake2 cvar so that qc can check for this map format and change behavior if needed (also added sv_mapformat_quake3 cvar).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12087
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 8 Jun 2014 16:14:54 +0000 (16:14 +0000)]
Make PAK loading case insensitive for quake2 pak files...
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12086
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 4 Jun 2014 09:08:42 +0000 (09:08 +0000)]
Some fixes to the keyboard handler:
------- WGL -------
* Keyboard handler now returns Unicode chars
* Fix numlock key interpreted as pause key
* Fix numlock, scrollock and capslock binds not working
* When numlock is off numeric keypad keys now return K_END, K_DOWNARROW,
* etc... Previously they always returned K_KP_<num>
regardless of numlock state
------- SDL -------
* Simulate press and release events when numlock and capslock get
* pressed, so that they can work similarly to the other keys
(excluding key repetition, it doesn't and will never work). It's a
workaround for the default SDL behaviour with these keys:
it generate a press event when a key gets enabled, a release event when
the key gets disabled. Scrollock already works as a
normal key.
* When numlock is off numeric keypad keys now return K_END, K_DOWNARROW,
* etc... Previously they always returned K_KP_<num>
regardless of numlock state
------- GLX -------
* Add numlock, scrollock and capslock keys
From: terencehill <piuntn@gmail.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12085
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 1 Jun 2014 08:15:00 +0000 (08:15 +0000)]
Corrected two comments regarding IBSP version of the Q2 bsp format.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12084
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 1 Jun 2014 08:13:34 +0000 (08:13 +0000)]
Added Quake2 BSP support (IBSP38), this is a work in progress.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12083
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 29 May 2014 20:04:10 +0000 (20:04 +0000)]
Clarify comment in CURL_fwrite.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12082
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 29 May 2014 20:01:57 +0000 (20:01 +0000)]
Fixed a large number of WIN64 type conversion warnings.
Changed FS_Write to do multiple write calls if the size exceeds 1GB, this is to accommodate WIN64 where write() takes a UINT rather than size_t. We have no use of such large writes at this time, so this is a mostly theoretical feature.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12081
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 29 May 2014 19:36:03 +0000 (19:36 +0000)]
Enable multiprocessor compilation in the VS2012 projects, changed their build directories to not conflict with eachother.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12080
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 28 May 2014 15:14:24 +0000 (15:14 +0000)]
whichpack: distinguish file not found from file is physical.
csqc: add cltime global.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12079
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 27 May 2014 21:23:33 +0000 (21:23 +0000)]
change the isserver builtin to just return sv.active rather than
checking maxclients and dedicated
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12078
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 21 May 2014 22:23:20 +0000 (22:23 +0000)]
don't miscount the bgmvolume entry in the menu when CONFIG_CD is not
defined
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12077
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 13 May 2014 22:13:15 +0000 (22:13 +0000)]
Changed the collision code used by sv_gameplayfix_nudgeoutofsolid to not consider collision_impactnudge as that is already taken care of by the caller, and the way it was being done would typically reject such collisions anyway.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12076
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 13 May 2014 17:59:02 +0000 (17:59 +0000)]
Removed collision_enternudge, collision_leavenudge, collision_startnudge, collision_endnudge cvars, all replaced with their current value (0) as other values break collisions too badly to be of practical value.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12075
d7cf8633 -e32d-0410-b094-
e92efae38249