WarpZones: - entities with a camera_transform function field arguments: vector origin, vector angles global input: v_forward, v_right, v_up = camera orientation return value: new origin global output: v_forward, v_right, v_up = new camera orientation global output: trace_endpos = origin on "remote side" for culling purposes - on server, only the trace_endpos return value is used, and '0 0 0' angles are passed, and only the trace_endpos is used (this may be subject to change) - a warpzone is an above described entity that contains a surface of a shader that uses the keywords dp_camera AND dp_refract - a camera is an above described entity that contains a surface of a shader that JUST uses the keyword dp_camera - in case of a camera, preferably the camera_transform function shall not use the input values (except for use for certain special effects) - rendering of these warpzones is not recursive (yet) - the warpzones do not have any impact on gameplay - QC support code is needed both on client and server - example support code will be committed to Nexuiz SVN - the interface is not stable yet and may be subject to change git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10035 d7cf8633-e32d-0410-b094-e92efae38249
added RF_FULLBRIGHT and RF_NOSHADOW renderflags for CSQC git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9982 d7cf8633-e32d-0410-b094-e92efae38249
fix a compile error git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9907 d7cf8633-e32d-0410-b094-e92efae38249
implemented FTE_CSQC_SKELETONOBJECTS (clientside support) implemented DP_SKELETONOBJECTS (serverside support) reworked all tag queries to support animation lerp and skeletonindex MOVE_HITMODEL / SOLID_BSP now support animation lerp and skeletonindex server qc now has identical animation fields to that of csqc (engine networking still only networks .frame however) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9510 d7cf8633-e32d-0410-b094-e92efae38249
fix typo compile erorr git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9452 d7cf8633-e32d-0410-b094-e92efae38249
more stupid error code passing git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9451 d7cf8633-e32d-0410-b094-e92efae38249
try fixing gettaginfo in client with frameblend etc. stuff git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9448 d7cf8633-e32d-0410-b094-e92efae38249
-added game Blood Omnicide -added r_shadow_gloss2exponent (gloss exponent for forced gloss surfaces), this don't work for Dot3 pieline however, i'm used this to make "wet surfaces when rain falls" in Blood Omnicide -added DP_CSQC_ENTITYTRANSPARENTSORTING_OFFSET, DP_CSQC_ENTITYNOCULL, DP_CSQC_SPAWNPARTICLE. Definitions are here: http://darkmaster.quakedev.com/work/csqc_new_ext.qc git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9304 d7cf8633-e32d-0410-b094-e92efae38249
prevent information leakage from trace_ globals to prvm_global client to prevent very simple console in/out parsing based triggerbots git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9230 d7cf8633-e32d-0410-b094-e92efae38249
make csqc entity sounds follow their entity git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8653 d7cf8633-e32d-0410-b094-e92efae38249
fix Sajt's errors (in Visual Studio, I assume) in a better way - by changing the variable types, not casting. Also, only record one instance of the same csprogs into the demo. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8472 d7cf8633-e32d-0410-b094-e92efae38249
demo recording: stuff csprogs.dat files into .dem files so demos can always be played back git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8443 d7cf8633-e32d-0410-b094-e92efae38249
swap VF_SIZE_X and VF_SIZE_Y definitions to what they should be (this has no effect on behavior, they were simply misnamed internally) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8235 d7cf8633-e32d-0410-b094-e92efae38249
R_SetView now supports VF_CLEARSCREEN which decides whether to clear the screen or not when rendering the view (this is of particular interest for rendering view in views or for the menu). git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8026 d7cf8633-e32d-0410-b094-e92efae38249
implemented csqc VF_PERSPECTIVE, still needs more work but it's a start git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7419 d7cf8633-e32d-0410-b094-e92efae38249
rewrote server sendstates building code, no longer builds two entity_state_t arrays (where one of them is global and one per-client), this is a slight efficiency loss but saves a few megabytes and makes the customizeentityforclient code more straightforward merged some global variables into cl. and sv. structs, and others became arrays on the stack git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7243 d7cf8633-e32d-0410-b094-e92efae38249
cleaned up client qc, menu qc, and server qc VM initialization a bit so they have shared field/global/function lookup code, changed world.c to not be server specific, moved server-specific functions to sv_phys.c git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6843 d7cf8633-e32d-0410-b094-e92efae38249
redesigned input networking code (still same protocol) and did a lot of cleaning, now predicts movement even if server packets are lost added cl_netinputpacketlosstolerance cvar (default 4, qw used 2, can be up to 16) to repeat old input messages in each packet so that they can only be lost by heavy packet loss changed sv_clmovement_waitforinput default to 16 to match this capability reworked a lot of timing code related to input networking fixed some bugs when frametime is 0 in player physics git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6796 d7cf8633-e32d-0410-b094-e92efae38249
significant cleanup of CL_UpdateEntities, GL_UpdateNetworkEntity, CL_LinkNetworkEntity, V_CalcRefdef handling, and CSQC issues related to these eliminated linkframe from entity_t (this means CL_UpdateNetworkEntity may sometimes process an entity twice, and CL_LinkNetworkEntity is no longer recursive as it does not need to be) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6736 d7cf8633-e32d-0410-b094-e92efae38249
implemented csprogs.dat downloading with special dlcache/name.size.crc file naming, this is in need of testing added csqc_progsize cvar to csqc signon process (still compatible with old servers) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6732 d7cf8633-e32d-0410-b094-e92efae38249