]> icculus.org git repositories - divverent/darkplaces.git/log
divverent/darkplaces.git
14 years agoMerge branch 'master' into dp1
Wolfgang (Blub) Bumiller [Wed, 16 Sep 2009 20:09:25 +0000 (22:09 +0200)]
Merge branch 'master' into dp1

14 years agofix TH's status patch to again send the same data as before
divverent [Wed, 16 Sep 2009 13:31:06 +0000 (13:31 +0000)]
fix TH's status patch to again send the same data as before

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

14 years agofix descriptions of cmdlist and cvarlist
divverent [Wed, 16 Sep 2009 10:19:34 +0000 (10:19 +0000)]
fix descriptions of cmdlist and cvarlist

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

14 years agoimproved r_shadows mode, new cvars for better use with overhead camera mods:
vortex [Tue, 15 Sep 2009 19:18:26 +0000 (19:18 +0000)]
improved r_shadows mode, new cvars for better use with overhead camera mods:
- r_shadows_darken : how much shadowed areas will be darkened (was constant 0.5)
- r_shadows_throwdirection : override shadow direction for r_shadows 2 (was constant 0 0 -1)
- r_shadows_drawafterrtlightning : this change fake shadows to draw AFTER realtime lightning is drawn, may be useful for simulating faster sunlight on large outdoor maps with only one noshadow rtlight. The price is less realistic appearance of dynamic light shadows.
- r_shadows_castfrombmodels : allow to cast fake shadows from bmodels

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

14 years agofix errors and warnings in MSVC when compiling as C++
havoc [Tue, 15 Sep 2009 13:09:09 +0000 (13:09 +0000)]
fix errors and warnings in MSVC when compiling as C++

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

14 years agouse correct type to fix a warning :P
divverent [Tue, 15 Sep 2009 12:26:04 +0000 (12:26 +0000)]
use correct type to fix a warning :P

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

14 years agofixed compile errors and warnings using Dev-C++ in "Compile as C++" mode
havoc [Tue, 15 Sep 2009 10:08:02 +0000 (10:08 +0000)]
fixed compile errors and warnings using Dev-C++ in "Compile as C++" mode

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

14 years agoalso check ticrate movevar
divverent [Tue, 15 Sep 2009 05:57:37 +0000 (05:57 +0000)]
also check ticrate movevar

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

14 years ago[04:31:11] <@LordHavoc> div0: 9179 (if (msecdelta <= 0) return;) wrecked connect...
divverent [Tue, 15 Sep 2009 05:28:30 +0000 (05:28 +0000)]
[04:31:11] <@LordHavoc> div0: 9179 (if (msecdelta <= 0) return;) wrecked connect time
[04:31:23] <@LordHavoc> div0: not enough packets coming in for the message exchange to work
[04:32:07] <@LordHavoc> div0: maybe if (msecdelta <= 0 && cl.movevars_ticrate > 0 && cls.signon == SIGNONS)
[04:32:34] <@LordHavoc> div0: maybe also && !cl.paused

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

14 years agoMerge branch 'master' into dp1
Wolfgang (Blub) Bumiller [Mon, 14 Sep 2009 18:47:37 +0000 (20:47 +0200)]
Merge branch 'master' into dp1

14 years agoPatch by FruitieX -- fixes speed
samual [Mon, 14 Sep 2009 18:38:59 +0000 (18:38 +0000)]
Patch by FruitieX -- fixes speed

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

14 years agoif sideways friction is negative, make it never decrease total velocity (might be...
divverent [Mon, 14 Sep 2009 14:56:46 +0000 (14:56 +0000)]
if sideways friction is negative, make it never decrease total velocity (might be bad)

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

14 years agoMerge branch 'master' into dp1
Wolfgang (Blub) Bumiller [Mon, 14 Sep 2009 12:22:38 +0000 (14:22 +0200)]
Merge branch 'master' into dp1

14 years agouse winsock2 to fix linker errors
havoc [Mon, 14 Sep 2009 11:39:17 +0000 (11:39 +0000)]
use winsock2 to fix linker errors

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

14 years agoMerge branch 'master' into dp1
Wolfgang (Blub) Bumiller [Mon, 14 Sep 2009 08:44:38 +0000 (10:44 +0200)]
Merge branch 'master' into dp1

14 years agobetter view blend math for death fade
divverent [Mon, 14 Sep 2009 06:43:06 +0000 (06:43 +0000)]
better view blend math for death fade

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

14 years agotightly sync time if cl_nolerp is on
havoc [Mon, 14 Sep 2009 05:22:44 +0000 (05:22 +0000)]
tightly sync time if cl_nolerp is on

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

14 years agoadded cvar sv_gameplayfix_noairborncorpse_allowsuspendeditems
havoc [Sun, 13 Sep 2009 23:52:48 +0000 (23:52 +0000)]
added cvar sv_gameplayfix_noairborncorpse_allowsuspendeditems

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

14 years agoremove r_motionblur_debug, and replace with showblur which has been added to sbar.c
samual [Sun, 13 Sep 2009 15:23:25 +0000 (15:23 +0000)]
remove r_motionblur_debug, and replace with showblur which has been added to sbar.c

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

14 years agoMerge branch 'master' into dp1
Wolfgang (Blub) Bumiller [Sun, 13 Sep 2009 15:18:35 +0000 (17:18 +0200)]
Merge branch 'master' into dp1

14 years agofix broken VM_CL_lightstyle (CSQC): it was using MSG_ReadString instead of value...
vortex [Sun, 13 Sep 2009 14:50:20 +0000 (14:50 +0000)]
fix broken VM_CL_lightstyle (CSQC): it was using MSG_ReadString instead of value parm

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

14 years agocl_deathfade: new effect which makes the screen fade to dark red when you die......
samual [Sun, 13 Sep 2009 06:24:07 +0000 (06:24 +0000)]
cl_deathfade: new effect which makes the screen fade to dark red when you die... disabled by default

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

14 years agoadded detection of GL_EXT_framebuffer_object extension
havoc [Sun, 13 Sep 2009 04:16:46 +0000 (04:16 +0000)]
added detection of GL_EXT_framebuffer_object extension

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

14 years agoimplemented sv_gameplayfix_delayprojectiles -1 (force move on first
havoc [Sun, 13 Sep 2009 02:21:04 +0000 (02:21 +0000)]
implemented sv_gameplayfix_delayprojectiles -1 (force move on first
frame, even if spawned in earlier entity slot)

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

14 years agoMerge branch 'master' into dp1
Wolfgang (Blub) Bumiller [Sat, 12 Sep 2009 10:32:27 +0000 (12:32 +0200)]
Merge branch 'master' into dp1

14 years agopunctuation
havoc [Sat, 12 Sep 2009 09:21:14 +0000 (09:21 +0000)]
punctuation

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

14 years agotry not to crash on num_bones 0 in Mod_BuildBaseBonePoses
havoc [Sat, 12 Sep 2009 07:51:31 +0000 (07:51 +0000)]
try not to crash on num_bones 0 in Mod_BuildBaseBonePoses

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

14 years agodo not allow cl_netfps to be below the server framerate (as indicated by
havoc [Fri, 11 Sep 2009 14:38:34 +0000 (14:38 +0000)]
do not allow cl_netfps to be below the server framerate (as indicated by
sys_ticrate) if possible, to avoid jerky player movement

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

14 years agodoubled entity limit in animcache, we should never hit this
havoc [Fri, 11 Sep 2009 12:34:07 +0000 (12:34 +0000)]
doubled entity limit in animcache, we should never hit this

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

14 years agoremove maxnetfps stuff (never worked anyway), instead reject <0.5ms moves
divverent [Fri, 11 Sep 2009 11:52:32 +0000 (11:52 +0000)]
remove maxnetfps stuff (never worked anyway), instead reject <0.5ms moves

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

14 years agodo not send zero-length moves at >1000fps
divverent [Fri, 11 Sep 2009 11:52:01 +0000 (11:52 +0000)]
do not send zero-length moves at >1000fps

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

14 years agoinput: limit cl_netrepeatinput to 3
divverent [Fri, 11 Sep 2009 11:25:15 +0000 (11:25 +0000)]
input: limit cl_netrepeatinput to 3

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

14 years agonow generates animcaches for visible entities again like the original
havoc [Fri, 11 Sep 2009 10:05:22 +0000 (10:05 +0000)]
now generates animcaches for visible entities again like the original
code, this gives a slight speed gain in Nexuiz

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

14 years agorefactored and reformatted animcache code, now generates caches on
havoc [Fri, 11 Sep 2009 09:45:33 +0000 (09:45 +0000)]
refactored and reformatted animcache code, now generates caches on
demand (not ideal but never loses speed anymore)

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

14 years agoModel_*_AnimateVertices functions no longer write to NULL vertex3f
havoc [Fri, 11 Sep 2009 09:42:12 +0000 (09:42 +0000)]
Model_*_AnimateVertices functions no longer write to NULL vertex3f

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

14 years agoplay silence during timedemos
havoc [Fri, 11 Sep 2009 09:39:55 +0000 (09:39 +0000)]
play silence during timedemos

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

14 years agoreworked unreliable message queue to ALWAYS dequeue the first entry,
havoc [Fri, 11 Sep 2009 07:59:59 +0000 (07:59 +0000)]
reworked unreliable message queue to ALWAYS dequeue the first entry,
even if it does not fit (and throw it away if so)

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

14 years agoMerge branch 'master' into dp1
Wolfgang (Blub) Bumiller [Wed, 9 Sep 2009 19:58:32 +0000 (21:58 +0200)]
Merge branch 'master' into dp1

14 years agouse -developer automatically in debug builds
havoc [Wed, 9 Sep 2009 19:05:10 +0000 (19:05 +0000)]
use -developer automatically in debug builds

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

14 years agofix C++ compilation errors
havoc [Tue, 8 Sep 2009 21:18:17 +0000 (21:18 +0000)]
fix C++ compilation errors

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

14 years agoMerge branch 'master' into dp1
Wolfgang (Blub) Bumiller [Tue, 8 Sep 2009 19:37:39 +0000 (21:37 +0200)]
Merge branch 'master' into dp1

14 years agoOops!
echon [Tue, 8 Sep 2009 16:01:25 +0000 (16:01 +0000)]
Oops!

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

14 years agoNULL out RSurf_ActiveModelEntity rsurface fields that aren't wanted with an animcache...
echon [Tue, 8 Sep 2009 15:59:10 +0000 (15:59 +0000)]
NULL out RSurf_ActiveModelEntity rsurface fields that aren't wanted with an animcached entity.

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

14 years agoAdded an unreal-esque feature: snd_spatialization_occlusion, which when enabled uses...
echon [Sun, 6 Sep 2009 17:31:47 +0000 (17:31 +0000)]
Added an unreal-esque feature: snd_spatialization_occlusion, which when enabled uses a quick TraceLineOfSight to determine if a sound isn't "visibile" (blocked by world), and halves the volume.

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

14 years agoCompile as C code, not C++ (vcproj setting)
echon [Sun, 6 Sep 2009 17:04:31 +0000 (17:04 +0000)]
Compile as C code, not C++ (vcproj setting)
Include dinput8 libs if SUPPORTDIRECTX is defined
Default to defining SUPPORTDIRECTX on windows builds, otherwise you get crackly sound

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

14 years agoDon't generate tangent vectors when GLSL is off, small improvement to anim caching..
echon [Sun, 6 Sep 2009 16:20:53 +0000 (16:20 +0000)]
Don't generate tangent vectors when GLSL is off, small improvement to anim caching..

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

14 years agofixed two warnings
divverent [Sun, 6 Sep 2009 09:47:42 +0000 (09:47 +0000)]
fixed two warnings

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

14 years agoAdded animation caching, which speeds up re-renders of all animated meshes
echon [Sun, 6 Sep 2009 07:45:28 +0000 (07:45 +0000)]
Added animation caching, which speeds up re-renders of all animated meshes

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

14 years agoAdded a Profile build option, which is simply release with symbols
echon [Sun, 6 Sep 2009 07:13:55 +0000 (07:13 +0000)]
Added a Profile build option, which is simply release with symbols

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

14 years agoUpdate for 2k8 sp1... apparently they changed a comment in the solution file. Importa...
echon [Sun, 6 Sep 2009 05:28:45 +0000 (05:28 +0000)]
Update for 2k8 sp1... apparently they changed a comment in the solution file. Important stuff right here.

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

14 years agoIgnore *.suo and *.user visual studio local files
echon [Sun, 6 Sep 2009 05:24:59 +0000 (05:24 +0000)]
Ignore *.suo and *.user visual studio local files

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

14 years agoMerge commit 'origin/master' into dp1
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 13:02:22 +0000 (15:02 +0200)]
Merge commit 'origin/master' into dp1

14 years agoanother oops, sorry, forgot to commit this from at home
divverent [Thu, 3 Sep 2009 07:48:28 +0000 (07:48 +0000)]
another oops, sorry, forgot to commit this from at home

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

14 years agostuff I forgot to commit
divverent [Thu, 3 Sep 2009 07:42:22 +0000 (07:42 +0000)]
stuff I forgot to commit

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

14 years agoQuake menu: show DP's weird resolution set in windowed mode, and really detected...
divverent [Thu, 3 Sep 2009 05:47:07 +0000 (05:47 +0000)]
Quake menu: show DP's weird resolution set in windowed mode, and really detected modes in fullscreen.
menu QC: getresolution() now has an optional second arg "forfullscreen", that if 0 queries the "hardcoded" resolution list and if 1 (or left out) queries the system-provided list.

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

14 years agoas requested by LH, #if 0 out cycleweapon
divverent [Thu, 3 Sep 2009 05:25:55 +0000 (05:25 +0000)]
as requested by LH, #if 0 out cycleweapon

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

14 years agothis could be used - int stuff
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 21:29:10 +0000 (23:29 +0200)]
this could be used - int stuff

14 years agoMerge commit 'origin/master' into dp1
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 20:38:42 +0000 (22:38 +0200)]
Merge commit 'origin/master' into dp1

14 years agodo not crash when zlib is missing, but instead do not use deflate/inflate
divverent [Wed, 2 Sep 2009 13:08:52 +0000 (13:08 +0000)]
do not crash when zlib is missing, but instead do not use deflate/inflate

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

14 years agoMerge commit 'origin/master' into dp1
Wolfgang (Blub) Bumiller [Mon, 31 Aug 2009 11:31:33 +0000 (13:31 +0200)]
Merge commit 'origin/master' into dp1

14 years agochange two more MAX_QPATH to MAX_OSPATH
divverent [Mon, 31 Aug 2009 07:06:53 +0000 (07:06 +0000)]
change two more MAX_QPATH to MAX_OSPATH

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

14 years agos/QPATH/OSPATH/g in libcurl
divverent [Mon, 31 Aug 2009 07:04:57 +0000 (07:04 +0000)]
s/QPATH/OSPATH/g in libcurl

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

14 years agospike fucking added OP_IF_F instead of OP_IF_I, blame him
Wolfgang (Blub) Bumiller [Sat, 29 Aug 2009 16:31:19 +0000 (18:31 +0200)]
spike fucking added OP_IF_F instead of OP_IF_I, blame him

14 years agoMerge commit 'origin/master' into dp1
Wolfgang (Blub) Bumiller [Fri, 28 Aug 2009 18:24:53 +0000 (20:24 +0200)]
Merge commit 'origin/master' into dp1

14 years agobugfix
divverent [Fri, 28 Aug 2009 16:21:42 +0000 (16:21 +0000)]
bugfix

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

14 years agoparticles: allow a particlefont.txt file (same dir as particlefont.tga) to override...
divverent [Fri, 28 Aug 2009 16:15:48 +0000 (16:15 +0000)]
particles: allow a particlefont.txt file (same dir as particlefont.tga) to override the particle texcoords, so one can put more particles on the particle font

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

14 years agoMerge commit 'origin/master' into dp1
Wolfgang (Blub) Bumiller [Thu, 27 Aug 2009 13:24:08 +0000 (15:24 +0200)]
Merge commit 'origin/master' into dp1

14 years agore-enable saturation on sidebyside and stereobuffer (it's harmless there), only keep...
divverent [Thu, 27 Aug 2009 12:19:28 +0000 (12:19 +0000)]
re-enable saturation on sidebyside and stereobuffer (it's harmless there), only keep it disabled in colormasked stereo

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

14 years agoturn off saturation and motion/damage blur if a stereo rendering mode is active ...
divverent [Thu, 27 Aug 2009 12:09:07 +0000 (12:09 +0000)]
turn off saturation and motion/damage blur if a stereo rendering mode is active (as they do not work there)

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

14 years agomerged OP_STORE_I with the others, removed {ADD,SUB,DIV,MUL}STORE_ but kept the ...
Wolfgang (Blub) Bumiller [Thu, 27 Aug 2009 09:10:22 +0000 (11:10 +0200)]
merged OP_STORE_I with the others, removed {ADD,SUB,DIV,MUL}STORE_ but kept the *STOREP_ ones

14 years agoadded OP_CP_ITOF, OP_CP_FTOI
Wolfgang (Blub) Bumiller [Thu, 27 Aug 2009 08:44:28 +0000 (10:44 +0200)]
added OP_CP_ITOF, OP_CP_FTOI

14 years agoremoving OP_BITSET and OP_BITCLR - we had them disabled in fteqcc DP1 anyway
Wolfgang (Blub) Bumiller [Thu, 27 Aug 2009 08:33:43 +0000 (10:33 +0200)]
removing OP_BITSET and OP_BITCLR - we had them disabled in fteqcc DP1 anyway

14 years agoOP_POINTER_ADD: *1 not *4, consistency - see the NOTE line
Wolfgang (Blub) Bumiller [Thu, 27 Aug 2009 08:25:07 +0000 (10:25 +0200)]
OP_POINTER_ADD: *1 not *4, consistency - see the NOTE line

14 years agoremoved OP_FETCH_GBL, and moved OP_STOREP_C to OP_LOADP_C, both are still commented out
Wolfgang (Blub) Bumiller [Thu, 27 Aug 2009 08:20:31 +0000 (10:20 +0200)]
removed OP_FETCH_GBL, and moved OP_STOREP_C to OP_LOADP_C, both are still commented out

14 years agoadded profiling code to OP_CASEs
Wolfgang (Blub) Bumiller [Thu, 27 Aug 2009 08:17:23 +0000 (10:17 +0200)]
added profiling code to OP_CASEs

14 years agoPTR_ptrX now don't take sizes but itemcounts, so 3 for a vector, not 12
Wolfgang (Blub) Bumiller [Thu, 27 Aug 2009 08:16:29 +0000 (10:16 +0200)]
PTR_ptrX now don't take sizes but itemcounts, so 3 for a vector, not 12

14 years agoPTR_ptr3 for access-length checking (to use PTR_ptr3(x, 0, 12) for OP_STOREP_V
Wolfgang (Blub) Bumiller [Thu, 27 Aug 2009 08:02:09 +0000 (10:02 +0200)]
PTR_ptr3 for access-length checking (to use PTR_ptr3(x, 0, 12) for OP_STOREP_V

14 years agoupdate startst in SWITCH
Wolfgang (Blub) Bumiller [Wed, 26 Aug 2009 19:07:28 +0000 (21:07 +0200)]
update startst in SWITCH

14 years agocomment about pointer-add
Wolfgang (Blub) Bumiller [Wed, 26 Aug 2009 18:47:15 +0000 (20:47 +0200)]
comment about pointer-add

14 years ago* removed GSTORE instructions
Wolfgang (Blub) Bumiller [Wed, 26 Aug 2009 18:39:52 +0000 (20:39 +0200)]
* removed GSTORE instructions
* added profiling to OP_SWITCH*
* merged OP_CALLxH with OP_CALLx

14 years agofixed error text for OP_CASE and OP_CASERANGE
Wolfgang (Blub) Bumiller [Wed, 26 Aug 2009 18:20:39 +0000 (20:20 +0200)]
fixed error text for OP_CASE and OP_CASERANGE

14 years agoMerge commit 'origin/master' into dp1
Wolfgang (Blub) Bumiller [Wed, 26 Aug 2009 18:18:22 +0000 (20:18 +0200)]
Merge commit 'origin/master' into dp1

14 years agochange scr_screenshot_name_use_mapname to scr_screenshot_name_in_mapdir, and use...
divverent [Mon, 24 Aug 2009 14:08:03 +0000 (14:08 +0000)]
change scr_screenshot_name_use_mapname to scr_screenshot_name_in_mapdir, and use mapname/nexuiz000001.jpg like names when set (idea by both r00t and Spaceman)

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

14 years agocvar scr_screenshot_name_use_mapname: if set to 1, saves screenshots as nexuizbasemen...
divverent [Mon, 24 Aug 2009 13:04:22 +0000 (13:04 +0000)]
cvar scr_screenshot_name_use_mapname: if set to 1, saves screenshots as nexuizbasement00001.jpg (i.e. map name inside screenshot name)

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

14 years agoyet another typo :( typing with lag sucks
divverent [Mon, 24 Aug 2009 09:54:41 +0000 (09:54 +0000)]
yet another typo :( typing with lag sucks

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

14 years agoMerge commit 'origin/master' into dp1
Wolfgang (Blub) Bumiller [Mon, 24 Aug 2009 09:54:08 +0000 (11:54 +0200)]
Merge commit 'origin/master' into dp1

14 years agonow this is getting funny
Wolfgang (Blub) Bumiller [Mon, 24 Aug 2009 09:52:52 +0000 (11:52 +0200)]
now this is getting funny

14 years agofix typo
divverent [Mon, 24 Aug 2009 09:49:15 +0000 (09:49 +0000)]
fix typo

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

14 years agookay, fix the latest fix :P
divverent [Mon, 24 Aug 2009 09:45:28 +0000 (09:45 +0000)]
okay, fix the latest fix :P

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

14 years agoif != ifnot
Wolfgang (Blub) Bumiller [Mon, 24 Aug 2009 09:08:15 +0000 (11:08 +0200)]
if != ifnot

14 years agooops
Wolfgang (Blub) Bumiller [Mon, 24 Aug 2009 08:57:36 +0000 (10:57 +0200)]
oops

14 years agoMerge commit 'origin' into dp1
Wolfgang (Blub) Bumiller [Mon, 24 Aug 2009 08:52:17 +0000 (10:52 +0200)]
Merge commit 'origin' into dp1

Conflicts:
prvm_execprogram.h

14 years agochnage "negative zero" check to actually check the bit pattern of IEEE negative zeros...
divverent [Mon, 24 Aug 2009 05:41:33 +0000 (05:41 +0000)]
chnage "negative zero" check to actually check the bit pattern of IEEE negative zeros; might fix motorsep's problems on Win32/SDL only (maybe SDL changes FPU parameters?)

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

14 years agoadd bounds check on OP_ADDRESS
divverent [Mon, 24 Aug 2009 05:39:51 +0000 (05:39 +0000)]
add bounds check on OP_ADDRESS

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

14 years agoChange recommended value for motionblur to 0.5 due to 0.7 looking slightly excessive
samual [Sun, 23 Aug 2009 09:07:07 +0000 (09:07 +0000)]
Change recommended value for motionblur to 0.5 due to 0.7 looking slightly excessive

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

14 years agoMerge commit 'origin/master' into dp1
Wolfgang (Blub) Bumiller [Fri, 21 Aug 2009 17:55:15 +0000 (19:55 +0200)]
Merge commit 'origin/master' into dp1

14 years ago--Trninghis line, and those below, will be ignored--
divverent [Fri, 21 Aug 2009 14:04:09 +0000 (14:04 +0000)]
--Trninghis line, and those below, will be ignored--

M    vid_sdl.c

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

14 years agothere is no OP_FETCH_GBL_ENT
Wolfgang (Blub) Bumiller [Thu, 20 Aug 2009 09:57:22 +0000 (11:57 +0200)]
there is no OP_FETCH_GBL_ENT

14 years ago* "fixed" check_for_missing_ops.sh
Wolfgang (Blub) Bumiller [Thu, 20 Aug 2009 09:52:37 +0000 (11:52 +0200)]
* "fixed" check_for_missing_ops.sh
* added OP_STORE_I to prvm_edict.c
* added (but commented out!) OP_FETCH_GBL_x for completeness sake
  they're not generated by fteqcc even when enabled for the target
  (by default)

14 years agoMerge commit 'origin/master' into dp1
Wolfgang (Blub) Bumiller [Thu, 20 Aug 2009 09:35:49 +0000 (11:35 +0200)]
Merge commit 'origin/master' into dp1