]> icculus.org git repositories - divverent/darkplaces.git/log
divverent/darkplaces.git
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

14 years agoclean up lightmap merge power code
divverent [Thu, 20 Aug 2009 08:24:00 +0000 (08:24 +0000)]
clean up lightmap merge  power code

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

14 years agoalso rename these fields, so nobody starts using them
divverent [Thu, 20 Aug 2009 07:53:38 +0000 (07:53 +0000)]
also rename these fields, so nobody starts using them

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

14 years agoshut up jpeg warnings another way
divverent [Thu, 20 Aug 2009 07:51:23 +0000 (07:51 +0000)]
shut up jpeg warnings another way

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

14 years agofix all the () problems, and make gcc warn for them
divverent [Thu, 20 Aug 2009 07:36:16 +0000 (07:36 +0000)]
fix all the () problems, and make gcc warn for them

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

14 years agofix lightmap merging with external lightmaps
divverent [Thu, 20 Aug 2009 07:34:50 +0000 (07:34 +0000)]
fix lightmap merging with external lightmaps

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

14 years agoFix warnings in div0's commits using functions with () as parameter list but a protot...
havoc [Thu, 20 Aug 2009 03:17:28 +0000 (03:17 +0000)]
Fix warnings in div0's commits using functions with () as parameter list but a prototype of (void), MSVC does not like this mistake.

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

14 years ago64 bit comments
Wolfgang (Blub) Bumiller [Wed, 19 Aug 2009 12:52:12 +0000 (14:52 +0200)]
64 bit comments

14 years agoupdated PTR_ISVALID, removed PTR_FROMPTR, added ptrvalC
Wolfgang (Blub) Bumiller [Wed, 19 Aug 2009 12:43:45 +0000 (14:43 +0200)]
updated PTR_ISVALID, removed PTR_FROMPTR, added ptrvalC

14 years agothink in ints, not real pointer offsets
Wolfgang (Blub) Bumiller [Wed, 19 Aug 2009 10:23:55 +0000 (12:23 +0200)]
think in ints, not real pointer offsets

14 years agono string access for pointers, removed OP_LOADP_C, swapped pointer-type bit of fields...
Wolfgang (Blub) Bumiller [Wed, 19 Aug 2009 09:52:09 +0000 (11:52 +0200)]
no string access for pointers, removed OP_LOADP_C, swapped pointer-type bit of fields and globals

14 years agomerged with svn
Wolfgang (Blub) Bumiller [Wed, 19 Aug 2009 09:42:55 +0000 (11:42 +0200)]
merged with svn

14 years ago* renamed OP_POWER_I to OP_XOR_I (seriously... sense?)
Wolfgang (Blub) Bumiller [Wed, 19 Aug 2009 09:24:34 +0000 (11:24 +0200)]
* renamed OP_POWER_I to OP_XOR_I (seriously... sense?)
* changed OP_BOUNDCHECK to work the way it does in FTE, I have no idea how I came up with the original code
* added the new ops to prvm_edict.c by going through the list generated using check_for_missing_ops.sh

14 years agoscript to check which ops are missing in prvm_edict.c
Wolfgang (Blub) Bumiller [Wed, 19 Aug 2009 09:24:24 +0000 (11:24 +0200)]
script to check which ops are missing in prvm_edict.c

14 years agofix glDrawRangeElements issue with mesa
havoc [Wed, 19 Aug 2009 08:29:31 +0000 (08:29 +0000)]
fix glDrawRangeElements issue with mesa

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

14 years agosnd_mutewhenidle 0: do NOT still mute when app is hidden (e.g. virtual desktop change)
divverent [Wed, 19 Aug 2009 06:23:22 +0000 (06:23 +0000)]
snd_mutewhenidle 0: do NOT still mute when app is hidden (e.g. virtual desktop change)

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

14 years agofix that bounds check, it was stupid (< 0 = builtin)
divverent [Wed, 19 Aug 2009 06:21:14 +0000 (06:21 +0000)]
fix that bounds check, it was stupid (< 0 = builtin)

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

14 years agofix typo in 9126
divverent [Wed, 19 Aug 2009 06:20:31 +0000 (06:20 +0000)]
fix typo in 9126

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

14 years agobounds check function calls, and entity indexes in LOAD instructions
divverent [Wed, 19 Aug 2009 06:19:36 +0000 (06:19 +0000)]
bounds check function calls, and entity indexes in LOAD instructions

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

14 years agoadd comments for missing bounds checks; bounds check function start offsets
divverent [Wed, 19 Aug 2009 06:19:12 +0000 (06:19 +0000)]
add comments for missing bounds checks; bounds check function start offsets

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

14 years agoprogs: require the last statement to be GOTO, DONE or RETURN. Ensures the statement...
divverent [Wed, 19 Aug 2009 06:14:04 +0000 (06:14 +0000)]
progs: require the last statement to be GOTO, DONE or RETURN. Ensures the statement pointer can never fall out of the progs.

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

14 years agosupport mute-when-idle properly
divverent [Wed, 19 Aug 2009 06:11:51 +0000 (06:11 +0000)]
support mute-when-idle properly

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

14 years agofix motionblur cvar descriptions, also: First commit! :D
samual [Tue, 18 Aug 2009 23:57:47 +0000 (23:57 +0000)]
fix motionblur cvar descriptions, also: First commit! :D

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

14 years agofix div0's bug
havoc [Tue, 18 Aug 2009 23:40:33 +0000 (23:40 +0000)]
fix div0's bug

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

14 years agoadded bounds-checking, left the TODO comments to easily spot the checks for an audit
Wolfgang (Blub) Bumiller [Tue, 18 Aug 2009 20:02:36 +0000 (22:02 +0200)]
added bounds-checking, left the TODO comments to easily spot the checks for an audit

14 years agofix a broken svn commit
Wolfgang (Blub) Bumiller [Tue, 18 Aug 2009 19:32:52 +0000 (21:32 +0200)]
fix a broken svn commit

14 years agoMerge branch 'master' into dp1
Wolfgang (Blub) Bumiller [Tue, 18 Aug 2009 19:32:05 +0000 (21:32 +0200)]
Merge branch 'master' into dp1

14 years agomark another place of missing bounds check
divverent [Tue, 18 Aug 2009 16:27:16 +0000 (16:27 +0000)]
mark another place of missing bounds check

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

14 years agoidentify two missing bounds checks (fix them later)
divverent [Tue, 18 Aug 2009 16:02:51 +0000 (16:02 +0000)]
identify two missing bounds checks (fix them later)

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

14 years agoundef PTR_{IS,}{STR,MEM}
Wolfgang (Blub) Bumiller [Tue, 18 Aug 2009 09:33:56 +0000 (11:33 +0200)]
undef PTR_{IS,}{STR,MEM}

14 years agoprepare for string area and malloc area pointers
Wolfgang (Blub) Bumiller [Mon, 17 Aug 2009 21:23:43 +0000 (23:23 +0200)]
prepare for string area and malloc area pointers

14 years agoshorten repeated code using macros
Wolfgang (Blub) Bumiller [Mon, 17 Aug 2009 21:07:31 +0000 (23:07 +0200)]
shorten repeated code using macros

14 years agoOP_LOADP_C uses float indices
Wolfgang (Blub) Bumiller [Mon, 17 Aug 2009 17:51:56 +0000 (19:51 +0200)]
OP_LOADP_C uses float indices

14 years agoadded storep_C and loadp_C, and updated LOADP to use proper pointers
Wolfgang (Blub) Bumiller [Mon, 17 Aug 2009 17:40:05 +0000 (19:40 +0200)]
added storep_C and loadp_C, and updated LOADP to use proper pointers

14 years agoundef stuff, after all, the header is included multiple times with different configs
Wolfgang (Blub) Bumiller [Mon, 17 Aug 2009 17:01:20 +0000 (19:01 +0200)]
undef stuff, after all, the header is included multiple times with different configs

14 years agosupport for -TDP1
Wolfgang (Blub) Bumiller [Mon, 17 Aug 2009 12:27:54 +0000 (14:27 +0200)]
support for -TDP1

14 years agofix two SOCKLEN_Ts
divverent [Sun, 16 Aug 2009 17:11:32 +0000 (17:11 +0000)]
fix two SOCKLEN_Ts

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

14 years agofix pitchsign warnings in dev-c++
divverent [Sun, 16 Aug 2009 17:06:34 +0000 (17:06 +0000)]
fix pitchsign warnings in dev-c++

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

14 years agocvar con_chatsound (by Surb)
divverent [Sun, 16 Aug 2009 16:28:46 +0000 (16:28 +0000)]
cvar con_chatsound (by Surb)

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

14 years agohonor alpha in showsurfaces 3
divverent [Sun, 16 Aug 2009 16:21:37 +0000 (16:21 +0000)]
honor alpha in showsurfaces 3

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

14 years agofix reset of capturevideo fps
divverent [Sun, 16 Aug 2009 11:26:44 +0000 (11:26 +0000)]
fix reset of capturevideo fps

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

14 years agoremove wait states for SDL
divverent [Fri, 14 Aug 2009 20:26:53 +0000 (20:26 +0000)]
remove wait states for SDL

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

14 years agoexperimental change: do a float compare for OP_IF and OP_IFNOT, so negative
divverent [Fri, 14 Aug 2009 19:39:24 +0000 (19:39 +0000)]
experimental change: do a float compare for OP_IF and OP_IFNOT, so negative
zero float value counts as false. No other value in QC can have the bit pattern
0x80000000 as long as no int type is added.

I have verified that the only false floats on x86_64 and i386 are 0 and
0x80000000.  However, this may fail on other platforms! (but then, OR_F and
others would also fail in some cases, as fteqcc also uses it for "float ||
entity").

When an "int" type is introduced, we'll need a new IF_I and IFNOT_I instruction
as then this would REALLY have a bad impact.

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

14 years agofix a small bug in prvm_getstring (returning NULL instead of "")
divverent [Fri, 14 Aug 2009 19:29:03 +0000 (19:29 +0000)]
fix a small bug in prvm_getstring (returning NULL instead of "")

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

14 years agocvar cl_movecliptokeyboard: clip movement vectors to the keyboard states (1), or...
divverent [Fri, 14 Aug 2009 12:02:31 +0000 (12:02 +0000)]
cvar cl_movecliptokeyboard: clip movement vectors to the keyboard states (1), or directions (2) (in case they are generated by an analog way, e.g. mouse move, or joystick).

Mostly for matching Nexuiz's anti-strafebot code.

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

14 years agoSDL/Win32: queue a vid_restart if resized; this should fix vid_resizable issue on...
divverent [Fri, 14 Aug 2009 05:29:50 +0000 (05:29 +0000)]
SDL/Win32: queue a vid_restart if resized; this should fix vid_resizable issue on Win32 with SDL

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

14 years ago493
havoc [Wed, 12 Aug 2009 01:29:45 +0000 (01:29 +0000)]
493

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

14 years agopatch from Jason Hatton adding a release-profile build target that uses
havoc [Sun, 9 Aug 2009 00:31:17 +0000 (00:31 +0000)]
patch from Jason Hatton adding a release-profile build target that uses
the results of -fprofile-arcs on a previous run of the profile build,
and says it greatly improves framerates

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

14 years agonew command line option -modname to override DP's idea of com_modname (useful to...
divverent [Sat, 8 Aug 2009 15:42:09 +0000 (15:42 +0000)]
new command line option -modname to override DP's idea of com_modname (useful to e.g. send another mod name to the master server)

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

14 years agodisable sv_gameplayfix_slidemoveprojectiles in hipnotic mission pack
havoc [Sat, 8 Aug 2009 08:50:16 +0000 (08:50 +0000)]
disable sv_gameplayfix_slidemoveprojectiles in hipnotic mission pack
because it makes prox mines bounce off of surfaces

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

14 years agoactually, set the threshold to 10.
divverent [Fri, 7 Aug 2009 18:41:03 +0000 (18:41 +0000)]
actually, set the threshold to 10.
If an entity receive function takes now 0.2222 seconds, and repeatedly does so when the ent is received, it's insane even at initialization.

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

14 years agoStupid hack: force an entity frame once 5 frames were skipped.
divverent [Fri, 7 Aug 2009 18:39:53 +0000 (18:39 +0000)]
Stupid hack: force an entity frame once 5 frames were skipped.
Fixes issues with cl_movement replay taking longer and longer when standing still and nothing on the map moves, while not causing so many empty entity frames that replay of lost frames can cause problems (well, in theory it now can, if an entity takes 5+3 server frames to be processed on the client, that is 0.1sec at a sys_ticrate matching 72fps - so try to avoid doing overlong processing in CSQC entity receive functions).

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

14 years agoadd a fs_gamedir cvar containing the currently active gamedirs (for use by menu QC...
divverent [Fri, 7 Aug 2009 05:55:43 +0000 (05:55 +0000)]
add a fs_gamedir cvar containing the currently active gamedirs (for use by menu QC to know which one is active)

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

14 years agofor now, turn off MEMPARANOIA
divverent [Fri, 7 Aug 2009 05:55:22 +0000 (05:55 +0000)]
for now, turn off MEMPARANOIA

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

14 years agofix use of variable name "dir"
divverent [Fri, 7 Aug 2009 04:35:21 +0000 (04:35 +0000)]
fix use of variable name "dir"

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

14 years agomenu QC builtin getgamedirinfo(float gamedirno, float index);
divverent [Thu, 6 Aug 2009 19:14:30 +0000 (19:14 +0000)]
menu QC builtin getgamedirinfo(float gamedirno, float index);
index = 0: directory name
index = 1: description (modinfo.txt content)

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

14 years agoprovide a list of all gamedirs with modinfo.txt in fs_all_gamedirs for later use...
divverent [Thu, 6 Aug 2009 19:06:22 +0000 (19:06 +0000)]
provide a list of all gamedirs with modinfo.txt in fs_all_gamedirs for later use by menu

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

14 years agorestructuring for gamedir enumerating (cannot enumerate yet);
divverent [Thu, 6 Aug 2009 18:33:48 +0000 (18:33 +0000)]
restructuring for gamedir enumerating (cannot enumerate yet);
also accept "gamedir" when it only exists in the user home dir

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

14 years agomaybe it compiles now
divverent [Wed, 5 Aug 2009 18:41:55 +0000 (18:41 +0000)]
maybe it compiles now

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

14 years agoadd missing functions
divverent [Wed, 5 Aug 2009 18:41:01 +0000 (18:41 +0000)]
add missing functions

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

14 years agoadd missing mainDisplay ina gl
divverent [Wed, 5 Aug 2009 18:36:22 +0000 (18:36 +0000)]
add missing mainDisplay ina gl

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

14 years agoagl: experimental code to enumerate video modes (untested, uncompiled)
divverent [Wed, 5 Aug 2009 18:13:34 +0000 (18:13 +0000)]
agl: experimental code to enumerate video modes (untested, uncompiled)

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

14 years agofix crash in SDL mode listing
divverent [Wed, 5 Aug 2009 17:05:37 +0000 (17:05 +0000)]
fix crash in SDL mode listing

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

14 years agofixes for vid_wgl
divverent [Wed, 5 Aug 2009 13:36:58 +0000 (13:36 +0000)]
fixes for vid_wgl

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

14 years agomove resolution enumerating to the RIGHT point
divverent [Wed, 5 Aug 2009 13:30:03 +0000 (13:30 +0000)]
move resolution enumerating to the RIGHT point

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

14 years agoadd bounds check to menu function to query resolutions
divverent [Wed, 5 Aug 2009 13:04:50 +0000 (13:04 +0000)]
add bounds check to menu function to query resolutions

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

14 years agoglx, sdl, wgl: autodetect all supported video modes, override the Quake menu's list...
divverent [Wed, 5 Aug 2009 12:55:45 +0000 (12:55 +0000)]
glx, sdl, wgl: autodetect all supported video modes, override the Quake menu's list by it

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