]> icculus.org git repositories - divverent/darkplaces.git/log
divverent/darkplaces.git
18 years agoRedid the coloring of the embedded font to use random colored pixels to make it look...
tomaz [Thu, 2 Jun 2005 19:06:40 +0000 (19:06 +0000)]
Redid the coloring of the embedded font to use random colored pixels to make it look a bit more like the worn look of the original quake conchar.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5380 d7cf8633-e32d-0410-b094-e92efae38249

18 years ago-Changed host_abortserver to host_abortframe.
black [Thu, 2 Jun 2005 19:00:05 +0000 (19:00 +0000)]
-Changed host_abortserver to host_abortframe.
-Added a hack to allow the menu crash in Host_Init without it taking down
 the whole host (please intergrate this into the general design somehow ASAP).
-Changed the hostcache code to always add servers at the right position and
 to eject 'worse' servers from the viewlist.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5379 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoUpdated the embedded font to contain the 2 top rows of signs/chars/thingies. Also...
tomaz [Thu, 2 Jun 2005 18:45:19 +0000 (18:45 +0000)]
Updated the embedded font to contain the 2 top rows of signs/chars/thingies. Also made the coloring of it to better match the original quake conchar.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5378 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix some potential buffer overflows
havoc [Thu, 2 Jun 2005 11:42:18 +0000 (11:42 +0000)]
fix some potential buffer overflows

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5377 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix a stack smash possibility in loadimagepixels
havoc [Thu, 2 Jun 2005 09:51:34 +0000 (09:51 +0000)]
fix a stack smash possibility in loadimagepixels

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5376 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix two severe geometry bugs in the zym loader
havoc [Thu, 2 Jun 2005 09:02:55 +0000 (09:02 +0000)]
fix two severe geometry bugs in the zym loader

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5375 d7cf8633-e32d-0410-b094-e92efae38249

18 years ago-Added Host_AbortCurrentFrame to hide the longjump and make it usable by
black [Wed, 1 Jun 2005 19:21:09 +0000 (19:21 +0000)]
-Added Host_AbortCurrentFrame to hide the longjump and make it usable by
 the VM error functions.
-Moved the static variables of Host_Error into the function body.
-Changed the definition of error_cmd to be called instead of Host_Error,
 so the VM control code is in full control of the error processing.
-Added MP_Error to the menu, so a menu crash wont shutdown the server anymore.
-Fixed an annying bug caused by a typo, that crashes Nexuiz if you query for
 a string in the serverlist.
-PRVM_Crash resets the prog pointer now.
-PRVM_Begin use Con_Printf again (but PRVM_DEBUGPRSTACK has been disabled again).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5374 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoenable unicode and keyrepeat every time a video mode is initialized, this seems to...
havoc [Wed, 1 Jun 2005 08:38:30 +0000 (08:38 +0000)]
enable unicode and keyrepeat every time a video mode is initialized, this seems to fix the bug where typing stops working after a vid_restart

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5373 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoshortened movement queue back to 64 items to prevent a runaway loop (falling behind...
havoc [Wed, 1 Jun 2005 08:37:33 +0000 (08:37 +0000)]
shortened movement queue back to 64 items to prevent a runaway loop (falling behind and not being able to run the collisions fast enough) in Nexuiz maps on my machine

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5372 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix some crashes with server commands (kick, view* commands)
havoc [Wed, 1 Jun 2005 04:03:43 +0000 (04:03 +0000)]
fix some crashes with server commands (kick, view* commands)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5371 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoless confusing messages from Sys_LoadLibrary
havoc [Wed, 1 Jun 2005 00:55:06 +0000 (00:55 +0000)]
less confusing messages from Sys_LoadLibrary

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5370 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoit helps to mangle the correct string...
havoc [Wed, 1 Jun 2005 00:05:49 +0000 (00:05 +0000)]
it helps to mangle the correct string...

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5369 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix the library search code (replaced / with 0, should've kept it and replaced the...
havoc [Tue, 31 May 2005 23:59:51 +0000 (23:59 +0000)]
fix the library search code (replaced / with 0, should've kept it and replaced the next character)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5368 d7cf8633-e32d-0410-b094-e92efae38249

18 years agomade Sys_LoadLibrary search in the executable path if the normal load fails (this...
havoc [Tue, 31 May 2005 23:48:57 +0000 (23:48 +0000)]
made Sys_LoadLibrary search in the executable path if the normal load fails (this should help on Mac OSX)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5367 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofixed Mod_Q3BSP_LoadPlanes to use LittleFloat instead of LittleLong
havoc [Tue, 31 May 2005 22:35:40 +0000 (22:35 +0000)]
fixed Mod_Q3BSP_LoadPlanes to use LittleFloat instead of LittleLong

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5366 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoprint to console before printing to terminal (which needs mangled characters), why...
havoc [Tue, 31 May 2005 22:00:06 +0000 (22:00 +0000)]
print to console before printing to terminal (which needs mangled characters), why was this backwards?

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5365 d7cf8633-e32d-0410-b094-e92efae38249

18 years ago.app directory for Mac OSX builds
havoc [Mon, 30 May 2005 23:10:50 +0000 (23:10 +0000)]
.app directory for Mac OSX builds

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5364 d7cf8633-e32d-0410-b094-e92efae38249

18 years agodon't echo player messages if not a dedicated server (as it produces double echoes)
havoc [Mon, 30 May 2005 23:09:32 +0000 (23:09 +0000)]
don't echo player messages if not a dedicated server (as it produces double echoes)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5363 d7cf8633-e32d-0410-b094-e92efae38249

18 years agopick apart com_argv[0] to find basedir in Mac OSX when running from a .app package
havoc [Mon, 30 May 2005 22:34:17 +0000 (22:34 +0000)]
pick apart com_argv[0] to find basedir in Mac OSX when running from a .app package

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5362 d7cf8633-e32d-0410-b094-e92efae38249

18 years agotry to detect a .app package in MacOSX and use a basedir outside the .app
havoc [Mon, 30 May 2005 21:58:45 +0000 (21:58 +0000)]
try to detect a .app package in MacOSX and use a basedir outside the .app

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5361 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoreenabled echoing of player messages to server console (why were they disabled??)
havoc [Mon, 30 May 2005 21:10:24 +0000 (21:10 +0000)]
reenabled echoing of player messages to server console (why were they disabled??)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5360 d7cf8633-e32d-0410-b094-e92efae38249

18 years agorewrote character insertion/replacement in console commandline, fixing all known...
havoc [Mon, 30 May 2005 10:31:05 +0000 (10:31 +0000)]
rewrote character insertion/replacement in console commandline, fixing all known bugs with it and reducing code

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5359 d7cf8633-e32d-0410-b094-e92efae38249

18 years agomade bmodel trails (if anyone ever dares to try them) come from the center of the...
havoc [Mon, 30 May 2005 08:38:51 +0000 (08:38 +0000)]
made bmodel trails (if anyone ever dares to try them) come from the center of the bmodel, this also cleaned up the sound code (and fixed a weird bug with a sound played in the same frame as an entity is removed)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5358 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoupdated dsp files from Willis
havoc [Mon, 30 May 2005 08:37:12 +0000 (08:37 +0000)]
updated dsp files from Willis

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5357 d7cf8633-e32d-0410-b094-e92efae38249

18 years agodisable some effect sounds in nexuiz
havoc [Mon, 30 May 2005 08:36:25 +0000 (08:36 +0000)]
disable some effect sounds in nexuiz

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5356 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoignore RENDER_VIEWMODEL if tagentity is set
havoc [Mon, 30 May 2005 06:42:41 +0000 (06:42 +0000)]
ignore RENDER_VIEWMODEL if tagentity is set

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5355 d7cf8633-e32d-0410-b094-e92efae38249

18 years agodefault protocol changed to DP7
havoc [Sun, 29 May 2005 22:48:49 +0000 (22:48 +0000)]
default protocol changed to DP7

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5354 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofixed EF_NODEPTHTEST support on q1bsp/q3bsp/models
havoc [Sun, 29 May 2005 22:48:14 +0000 (22:48 +0000)]
fixed EF_NODEPTHTEST support on q1bsp/q3bsp/models

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5353 d7cf8633-e32d-0410-b094-e92efae38249

18 years agodisabled cl_movement when in intermission
havoc [Sun, 29 May 2005 22:47:06 +0000 (22:47 +0000)]
disabled cl_movement when in intermission

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5352 d7cf8633-e32d-0410-b094-e92efae38249

18 years ago361
havoc [Sun, 29 May 2005 22:31:38 +0000 (22:31 +0000)]
361

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5351 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoadded DP_QUAKE3_MAP extension
havoc [Sun, 29 May 2005 22:28:20 +0000 (22:28 +0000)]
added DP_QUAKE3_MAP extension

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5350 d7cf8633-e32d-0410-b094-e92efae38249

18 years agodisable h2ohit.wav in GAME_NEXUIZ
havoc [Sun, 29 May 2005 21:29:11 +0000 (21:29 +0000)]
disable h2ohit.wav in GAME_NEXUIZ

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5349 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoAdded back pr_checkextension.
black [Sun, 29 May 2005 13:11:22 +0000 (13:11 +0000)]
Added back pr_checkextension.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5348 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoQuick fix for the "0 not loaded" bug (error on trying to connect to a server).
black [Sun, 29 May 2005 12:51:42 +0000 (12:51 +0000)]
Quick fix for the "0 not loaded" bug (error on trying to connect to a server).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5347 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix bug causing impulses to often be lost
havoc [Sun, 29 May 2005 06:17:40 +0000 (06:17 +0000)]
fix bug causing impulses to often be lost

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5346 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofixed makefile (it is not possible to comment out lines with \ at the end)
havoc [Sun, 29 May 2005 04:58:38 +0000 (04:58 +0000)]
fixed makefile (it is not possible to comment out lines with \ at the end)
fixed two warnings

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5345 d7cf8633-e32d-0410-b094-e92efae38249

18 years ago-CVS: ----------------------------------------------------------------------
black [Fri, 27 May 2005 15:43:48 +0000 (15:43 +0000)]
-CVS: ----------------------------------------------------------------------
-Merged the old VM into the new one. The pr_* files are mess right now and
 will be removed as soon as they are not needed as semi-reference (to trace
 bugs)
-There is a certain risk that the server could crash now and then since some
 parts of the code can only be debugged (- checking them by looking at the code
 would be quite tedious to put it nicely)
-Changed all references to the old VM to point to the new VM (also hopefully
 all todo items)
-Im working on a cleanup for the SV_VM_Begin/End mess.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5344 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoWay to tired... Fixed all 3 project files to include mvm_cmds.c and made sure all...
tomaz [Wed, 25 May 2005 09:25:52 +0000 (09:25 +0000)]
Way to tired... Fixed all 3 project files to include mvm_cmds.c and made sure all used headers are in the header section.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5342 d7cf8633-e32d-0410-b094-e92efae38249

18 years agodarkplaces.dsp
tomaz [Wed, 25 May 2005 09:24:07 +0000 (09:24 +0000)]
darkplaces.dsp

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5341 d7cf8633-e32d-0410-b094-e92efae38249

18 years ago-LoadProgs now expects to be called after InitProg, so it wont do any
black [Wed, 25 May 2005 09:07:38 +0000 (09:07 +0000)]
-LoadProgs now expects to be called after InitProg, so it wont do any
 unnecessary clean-ups.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5340 d7cf8633-e32d-0410-b094-e92efae38249

18 years agopatch from Willis to add mvm_cmds.c
havoc [Wed, 25 May 2005 08:55:24 +0000 (08:55 +0000)]
patch from Willis to add mvm_cmds.c

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5339 d7cf8633-e32d-0410-b094-e92efae38249

18 years agodon't set cl.movement true if cl_movement cvar is off
havoc [Wed, 25 May 2005 08:26:12 +0000 (08:26 +0000)]
don't set cl.movement true if cl_movement cvar is off

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5338 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix bug in last commit (msg->, not buf.)
havoc [Wed, 25 May 2005 08:04:25 +0000 (08:04 +0000)]
fix bug in last commit (msg->, not buf.)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5337 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix an overflow without allowoverflow set error in EntityFrame5 sending of stats
havoc [Wed, 25 May 2005 07:57:04 +0000 (07:57 +0000)]
fix an overflow without allowoverflow set error in EntityFrame5 sending of stats

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5336 d7cf8633-e32d-0410-b094-e92efae38249

18 years agodefault to "DP6" protocol (not "DARKPLACES6")
havoc [Wed, 25 May 2005 07:25:31 +0000 (07:25 +0000)]
default to "DP6" protocol (not "DARKPLACES6")

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5335 d7cf8633-e32d-0410-b094-e92efae38249

18 years agozym models now support TraceBox calls
havoc [Wed, 25 May 2005 07:21:29 +0000 (07:21 +0000)]
zym models now support TraceBox calls

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5334 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix bug with ClientDisconnect not being called if a client drops between "spawn"...
havoc [Wed, 25 May 2005 07:17:44 +0000 (07:17 +0000)]
fix bug with ClientDisconnect not being called if a client drops between "spawn" and "begin" commands, now it is reliably called

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5333 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoadded newline at end of file to hush a gcc warning
havoc [Wed, 25 May 2005 00:05:42 +0000 (00:05 +0000)]
added newline at end of file to hush a gcc warning

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5332 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoadded mvm_cmds.o
havoc [Wed, 25 May 2005 00:00:49 +0000 (00:00 +0000)]
added mvm_cmds.o

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5331 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoreordered the protocolversion_t values to have preferred protocols first
havoc [Tue, 24 May 2005 23:58:04 +0000 (23:58 +0000)]
reordered the protocolversion_t values to have preferred protocols first
changed client connect message to list all supported protocols
shortened PROTOCOL_DARKPLACES* names to "DP1" and such to make connect message shorter

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5330 d7cf8633-e32d-0410-b094-e92efae38249

18 years ago-Split prvm_cmds.c into prvm_cmds.c, prvm_cmds.h and mvm_cmds.c (clvm_cmds.c
black [Tue, 24 May 2005 22:30:18 +0000 (22:30 +0000)]
-Split prvm_cmds.c into prvm_cmds.c, prvm_cmds.h and mvm_cmds.c (clvm_cmds.c
 and svm_cmds.c will perhaps be added soon)
-Added another union to prvm_edict_s to have different pointers to the
 edict fields.
-Changed the naming of some fields in prvm_edict_s (longer names instead of
 single letter ones)
-Changed PRVM_LoadProgs to only reset the CMD system if it has be initialized
 before.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5329 d7cf8633-e32d-0410-b094-e92efae38249

18 years agodefault to DARKPLACES6 protocol (somehow this was not showing up in my diffs)
havoc [Tue, 24 May 2005 22:04:03 +0000 (22:04 +0000)]
default to DARKPLACES6 protocol (somehow this was not showing up in my diffs)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5328 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoadded onground clearing before each move so that going down slopes doesn't resemble...
havoc [Tue, 24 May 2005 21:53:03 +0000 (21:53 +0000)]
added onground clearing before each move so that going down slopes doesn't resemble a Road Runner cartoon

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5327 d7cf8633-e32d-0410-b094-e92efae38249

18 years agorewrote protocol version system (including splitting PROTOCOL_QUAKE into PROTOCOL_QUA...
havoc [Tue, 24 May 2005 21:37:32 +0000 (21:37 +0000)]
rewrote protocol version system (including splitting PROTOCOL_QUAKE into PROTOCOL_QUAKE, PROTOCOL_QUAKEDP, and PROTOCOL_NEHAHRAMOVIE)
made server able to host PROTOCOL_NEHAHRAMOVIE protocol for completeness
added PROTOCOL_DARKPLACES7 protocol (still in development, not enabled by default) which allows players to use QW-style movement messages (makes prediction rock solid but has speedcheat/lagaport potential)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5326 d7cf8633-e32d-0410-b094-e92efae38249

18 years ago-Now netconn also accepts infoRespones from LAN servers when there is no
black [Tue, 24 May 2005 19:04:49 +0000 (19:04 +0000)]
-Now netconn also accepts infoRespones from LAN servers when there is no
 master server around ï¿½_�

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5325 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoNetConn_ReceivedMessage now verifies that the packet's internal length value matches...
havoc [Mon, 23 May 2005 22:29:14 +0000 (22:29 +0000)]
NetConn_ReceivedMessage now verifies that the packet's internal length value matches the data length

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5324 d7cf8633-e32d-0410-b094-e92efae38249

18 years ago-Fix checking the length before knowing its actual value(??)
black [Mon, 23 May 2005 22:11:43 +0000 (22:11 +0000)]
-Fix checking the length before knowing its actual value(??)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5323 d7cf8633-e32d-0410-b094-e92efae38249

18 years ago-Fixed a possible buffer overflow bug in NetConn_ReceivedMessage (thanks Spike!)
black [Mon, 23 May 2005 14:07:00 +0000 (14:07 +0000)]
-Fixed a possible buffer overflow bug in NetConn_ReceivedMessage (thanks Spike!)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5322 d7cf8633-e32d-0410-b094-e92efae38249

18 years agovid_usemouse doesn't need to be a global variable
molivier [Mon, 23 May 2005 12:36:03 +0000 (12:36 +0000)]
vid_usemouse doesn't need to be a global variable

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5321 d7cf8633-e32d-0410-b094-e92efae38249

18 years ago-Added an comment ('[INIT]') to all fields of vm_prog that can/should be
black [Sat, 21 May 2005 22:25:12 +0000 (22:25 +0000)]
-Added an comment ('[INIT]') to all fields of vm_prog that can/should be
 initialized after calling PRVM_InitProg.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5320 d7cf8633-e32d-0410-b094-e92efae38249

18 years ago-Added the callcount field to the mfunction_t structure.
black [Fri, 20 May 2005 19:20:39 +0000 (19:20 +0000)]
-Added the callcount field to the mfunction_t structure.
-Both vms now record how often a function has been called and the profile cmd
 now outputs the callcount with the other information.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5319 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoremoved unused applytime field from usercmd_t
havoc [Fri, 20 May 2005 06:33:44 +0000 (06:33 +0000)]
removed unused applytime field from usercmd_t

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5318 d7cf8633-e32d-0410-b094-e92efae38249

18 years agocleaned up prediction code somewhat, no longer uses times for much (instead storing...
havoc [Fri, 20 May 2005 06:05:32 +0000 (06:05 +0000)]
cleaned up prediction code somewhat, no longer uses times for much (instead storing frametimes)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5317 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoslight cleanup (complete removal) of the "base" variable in surface rendering
havoc [Fri, 20 May 2005 06:04:36 +0000 (06:04 +0000)]
slight cleanup (complete removal) of the "base" variable in surface rendering

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5316 d7cf8633-e32d-0410-b094-e92efae38249

18 years agochanged default heartbeat_period to 120 seconds so that usually two packets come...
havoc [Thu, 19 May 2005 21:20:08 +0000 (21:20 +0000)]
changed default heartbeat_period to 120 seconds so that usually two packets come in before the 5 minute timeout, this should help with packet loss

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5315 d7cf8633-e32d-0410-b094-e92efae38249

18 years agochanged EntityFrame5_ExpandEdicts call from using sv.num_edicts to sv.max_edicts...
havoc [Thu, 19 May 2005 18:42:55 +0000 (18:42 +0000)]
changed EntityFrame5_ExpandEdicts call from using sv.num_edicts to sv.max_edicts to fix a crash

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5314 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix lingering tracers in nexuiz (among other possible problems)
havoc [Wed, 18 May 2005 22:43:23 +0000 (22:43 +0000)]
fix lingering tracers in nexuiz (among other possible problems)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5313 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofixed r_showtris bug (individual state changes were not being ignored in showtris...
havoc [Wed, 18 May 2005 06:39:14 +0000 (06:39 +0000)]
fixed r_showtris bug (individual state changes were not being ignored in showtris pass

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5312 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoadded onground tracking to cl_movement code, instead of checking constantly (which...
havoc [Wed, 18 May 2005 06:38:36 +0000 (06:38 +0000)]
added onground tracking to cl_movement code, instead of checking constantly (which caused unintended double jumping/strafe jumping)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5311 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix a severe bug with viewangles in cl_movement mode
havoc [Wed, 18 May 2005 04:24:19 +0000 (04:24 +0000)]
fix a severe bug with viewangles in cl_movement mode

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5310 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix interpolation of cl_movement
havoc [Wed, 18 May 2005 04:08:47 +0000 (04:08 +0000)]
fix interpolation of cl_movement

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5309 d7cf8633-e32d-0410-b094-e92efae38249

18 years ago-Fixed some bugs in the altstr functions, now they should work 1:1 like the
black [Mon, 16 May 2005 15:51:24 +0000 (15:51 +0000)]
-Fixed some bugs in the altstr functions, now they should work 1:1 like the
 scmenu's ones

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5308 d7cf8633-e32d-0410-b094-e92efae38249

18 years agosplit SV_ReadClientMove into two functions, SV_ReadClientMove and SV_ApplyClientMove
havoc [Mon, 16 May 2005 05:04:46 +0000 (05:04 +0000)]
split SV_ReadClientMove into two functions, SV_ReadClientMove and SV_ApplyClientMove
merged away SV_RunClients (part of its code has been moved to SV_Physics)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5307 d7cf8633-e32d-0410-b094-e92efae38249

18 years agocleaned up suspendedinairflag a bit
havoc [Mon, 16 May 2005 03:15:34 +0000 (03:15 +0000)]
cleaned up suspendedinairflag a bit

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5306 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoremoved deadsocket field from server client struct, changed connect handling to resen...
havoc [Mon, 16 May 2005 03:14:49 +0000 (03:14 +0000)]
removed deadsocket field from server client struct, changed connect handling to resend the serverinfo, but then disabled the reconnect handling entirely (so you can't reclaim your ghost)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5305 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoadded a commented out Con_Printf for debugging spatialization
havoc [Mon, 16 May 2005 03:11:14 +0000 (03:11 +0000)]
added a commented out Con_Printf for debugging spatialization

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5304 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix bug that rotated all sounds 90 degrees to the right in Nexuiz (because it has...
havoc [Mon, 16 May 2005 03:08:04 +0000 (03:08 +0000)]
fix bug that rotated all sounds 90 degrees to the right in Nexuiz (because it has seriously messed up player models)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5303 d7cf8633-e32d-0410-b094-e92efae38249

18 years agochanged matrix_attenuation declarations to not be static (since they are externed...
havoc [Sun, 15 May 2005 20:34:29 +0000 (20:34 +0000)]
changed matrix_attenuation declarations to not be static (since they are externed in the header)
fixed some signedness warnings

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5302 d7cf8633-e32d-0410-b094-e92efae38249

18 years agodisabled some of the server client connect code that may be causing problems
havoc [Sun, 15 May 2005 18:57:04 +0000 (18:57 +0000)]
disabled some of the server client connect code that may be causing problems

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5301 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix a crash with getlighting builtin
havoc [Sat, 14 May 2005 06:36:15 +0000 (06:36 +0000)]
fix a crash with getlighting builtin

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5300 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix a crash with mdl skingroups
havoc [Sat, 14 May 2005 06:35:54 +0000 (06:35 +0000)]
fix a crash with mdl skingroups

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5299 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoan extra Mem_CheckSentinelsGlobal at start of Serverinfo parsing
havoc [Sat, 14 May 2005 06:32:41 +0000 (06:32 +0000)]
an extra Mem_CheckSentinelsGlobal at start of Serverinfo parsing

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5298 d7cf8633-e32d-0410-b094-e92efae38249

18 years ago366
havoc [Sat, 14 May 2005 05:39:59 +0000 (05:39 +0000)]
366

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5297 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoadded a couple checks to hopefully fix a lit sprite dlight problem (an organe dlight...
havoc [Sat, 14 May 2005 05:38:40 +0000 (05:38 +0000)]
added a couple checks to hopefully fix a lit sprite dlight problem (an organe dlight causing a sprite to turn blue suddenly) reported by Cheapy

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5296 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofixed r_drawcollisionbrushes 2
havoc [Sat, 14 May 2005 05:25:25 +0000 (05:25 +0000)]
fixed r_drawcollisionbrushes 2

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5295 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix a crash when loading q3 maps with flares
havoc [Sat, 14 May 2005 05:17:19 +0000 (05:17 +0000)]
fix a crash when loading q3 maps with flares

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5294 d7cf8633-e32d-0410-b094-e92efae38249

18 years agogl_combine cvar is no longer saved
havoc [Sat, 14 May 2005 05:05:27 +0000 (05:05 +0000)]
gl_combine cvar is no longer saved
gl_combine cvar is no longer forced off if r_textureunits is less than 2

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5293 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix portal lighting in a single cluster map (box map)
havoc [Sat, 14 May 2005 03:56:53 +0000 (03:56 +0000)]
fix portal lighting in a single cluster map (box map)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5292 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofixed rtlighting on colormap capable skins
havoc [Sat, 14 May 2005 03:47:39 +0000 (03:47 +0000)]
fixed rtlighting on colormap capable skins
implemented colormapped rtlighting on models

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5291 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofixed r_shadow_realtime_world_lightmap support in gl_combine 1 mode
havoc [Sat, 14 May 2005 03:25:50 +0000 (03:25 +0000)]
fixed r_shadow_realtime_world_lightmap support in gl_combine 1 mode
fixed animated q1bsp texture support

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5290 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofixed snow fluttering
havoc [Sat, 14 May 2005 02:11:04 +0000 (02:11 +0000)]
fixed snow fluttering

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5289 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoremove an unneeded cast
havoc [Sat, 14 May 2005 02:09:54 +0000 (02:09 +0000)]
remove an unneeded cast

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5288 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix some warnings
havoc [Sat, 14 May 2005 01:59:56 +0000 (01:59 +0000)]
fix some warnings

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5287 d7cf8633-e32d-0410-b094-e92efae38249

18 years agouse Con_Printf instead of Host_Error when an unknown model format is encountered
havoc [Fri, 13 May 2005 23:49:16 +0000 (23:49 +0000)]
use Con_Printf instead of Host_Error when an unknown model format is encountered

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5286 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoonly load .lit file if its file size matches 8 + lump->filelen * 3
havoc [Fri, 13 May 2005 23:47:58 +0000 (23:47 +0000)]
only load .lit file if its file size matches 8 + lump->filelen * 3

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5285 d7cf8633-e32d-0410-b094-e92efae38249

18 years agoreplaced all references to vid.conwidth and vid.conheight with vid_conwidth.integer...
havoc [Fri, 13 May 2005 23:41:24 +0000 (23:41 +0000)]
replaced all references to vid.conwidth and vid.conheight with vid_conwidth.integer and vid_conheight.integer
replaced all references to vid.realx/vid.realy with 0
replaced all references to vid.realwidth and vid.realheight with vid.width and vid.height
replaced current_vid_* variables with vid. fields (vid.width, vid.height, vid.bitsperpixel, vid.fullscreen)
vid_glx.c: replaced scr_width/height with vid.width/height
vid_wgl.c: replaced window_center_x/y with calculations as needed, and replaced window_width/height with vid.width/height, and some other minor cleanups
removed VID_GetWindowSize function

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5284 d7cf8633-e32d-0410-b094-e92efae38249

18 years agomore clean up of IN_Activate, added cl_ignoremousemove to merge some code
havoc [Fri, 13 May 2005 23:10:38 +0000 (23:10 +0000)]
more clean up of IN_Activate, added cl_ignoremousemove to merge some code

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5283 d7cf8633-e32d-0410-b094-e92efae38249

18 years agocorrected envmap saving for ft/rt/bk/lf/up/dn layout (px/py/nx/ny/pz/nz layout alread...
havoc [Fri, 13 May 2005 22:03:51 +0000 (22:03 +0000)]
corrected envmap saving for ft/rt/bk/lf/up/dn layout (px/py/nx/ny/pz/nz layout already worked fine) and disabled gamma correction on envmap saves

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5282 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix Mod_BuildAliasSkinsFromSkinFiles to work with the new skin layout, this should...
havoc [Fri, 13 May 2005 21:30:26 +0000 (21:30 +0000)]
fix Mod_BuildAliasSkinsFromSkinFiles to work with the new skin layout, this should fix md3 skin file crashes

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5281 d7cf8633-e32d-0410-b094-e92efae38249

18 years agofix a warning
havoc [Fri, 13 May 2005 21:27:58 +0000 (21:27 +0000)]
fix a warning

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5280 d7cf8633-e32d-0410-b094-e92efae38249