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
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.
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)
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.
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)
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)
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
havoc [Fri, 13 May 2005 03:24:13 +0000 (03:24 +0000)]
finished model/map rendering merge, model renderer has been completely removed
model_t num_textures now lies a bit to keep things simple, it equals num_surfaces on models, even if there are multiple skins, in data_textures these extra textures really do exist even though num_textures does not count them (this was done so that UpdateAllTextureInfo won't crash trying to index later skins on the later skins themselves)
havoc [Thu, 12 May 2005 20:44:12 +0000 (20:44 +0000)]
labeled todo items (at least ones not done yet) with a category before the program name, to prioritize bugfixes over changes and features and so on within a difficulty rating
cleaned out a lot of stale or duplicate todo items
376 (-20)
black [Wed, 11 May 2005 20:26:12 +0000 (20:26 +0000)]
-Changed VM_precache_pic to check CachePic for successful loading of the pictures.
(The old check hasnt worked because CachePic always returns a valid pic pointer.)
havoc [Wed, 11 May 2005 18:22:48 +0000 (18:22 +0000)]
the merging of alias and bsp model rendering begins... purely cosmetic changes in this first step
merged model_alias_t into model_t and removed alias prefixes from those fields
merged model_brush_t surface and texture stuff into model_t (num_surfaces, num_textures, etc)
made alias model code use model_t data_surfaces instead of alias meshes
havoc [Mon, 9 May 2005 13:03:18 +0000 (13:03 +0000)]
fixed problems in the Host_Init Cbuf_InsertText stuff (by changing it to Cbuf_AddText, and some other cleanups)
added Host_StartVideo to a few more places
havoc [Sun, 8 May 2005 19:57:24 +0000 (19:57 +0000)]
implemented caching of DNS names in lhnet.c
changed sv_masterextra* servers back to DNS names (but kept IP addresses as comments, note the dpmaster.deathmask.net IP has changed)
havoc [Sun, 8 May 2005 13:22:50 +0000 (13:22 +0000)]
revised a number of terminology notes at the beginning of r_shadow.c, including notes about the Creative Labs patent on the Carmack's Reverse technique
havoc [Sun, 8 May 2005 12:59:38 +0000 (12:59 +0000)]
added rmesh_t and R_Mesh_AddVertex3f, R_Mesh_AddPolygon3f, R_Mesh_AddBrushMeshFromPlanes functions
R_Shadow_ScissorForBBox now uses R_Mesh_AddBrushMeshFromPlanes function to get an exact clipped box-brush vertex set for calculating scissor area, this should reduce the scissor area used in some cases compared to the old hacky method
added nearclip plane to frustum[] array (only used by R_Shadow_ScissorForBBox)
havoc [Fri, 6 May 2005 11:37:35 +0000 (11:37 +0000)]
changed Host_Init to execute configs only once
cleaned up Host_Init (and related functions like Con_Init, COM_Init, Cbuf_Init, etc) a great deal
now uses host_framecount >= 3 checks instead of host_loopactive or host_initialized checks, this should fix any problems with crashes erasing config.cfg
VID_Open and friends are now called from Host_StartVideo which is called by SCR_BeginLoadingPlaque (such as by SV_SpawnServer) as well as the end of Host_Init, this only calls them the first time it is called, so it can be called during config parsing (such as +map start on the commandline)
moved sys_usetimegettime and dedicated server console opening in sys_wgl.c into Sys_InitConsole and Sys_Init_Commands functions called by Host_Init
merged Sys_Shared_EarlyInit and Sys_Shared_LateInit into Host_Init
got rid of sys_usetimegettime (windows-only) cvar in sys_sdl.c
changed type of a number of vid_* variables from int to qboolean
renamed vidmode_active to vid_isfullscreen in vid_glx.c for more code consistency
fixed a bug in vid_glx.c that made it grab the mouse/keyboard even when it was not the active window
no longer grabs mouse while playing demos in a window
havoc [Fri, 6 May 2005 11:28:31 +0000 (11:28 +0000)]
moved mod_shared.c detail texture and distortion texture stuff to gl_rmain.c (renamed mod_shared_* to r_texture_*)
got rid of unused mod_q1bsp_novis array
moved Mod_Q1BSP_Collision_Init into the boxhull code (which isn't even used anyway)
made r_restart reload models (as was intended) by making Mod_UnloadModel preserve the ->use field
havoc [Fri, 6 May 2005 06:09:33 +0000 (06:09 +0000)]
removed a clear of names in the render modules init code, this allows it to be called AFTER some modules are registered (for a minor cleanup of the Host_Init code)
havoc [Fri, 6 May 2005 00:36:07 +0000 (00:36 +0000)]
added cl.movement_velocity to allow view bobbing to match up with cl_movement
fixed some bugs in cl_movement timing, it now applies input to the next move not the current one, making it work properly (assuming cl_movement_latency is exact)