Commit graph

2347 commits

Author SHA1 Message Date
TimeServ
c32061184e sv_tcpport -> sv_port_tcp, added sv_port/sv_port_ipx/sv_port_ipv6 defaulting to 27500, use 0 to disable and shutdown protocol, -port/-svport redirect to these cvars
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2256 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 00:02:05 +00:00
TimeServ
6cbf2b2f32 fix snd_numspeakers 1, put DOOMWADS define stuff around doom sounds again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2255 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 23:06:50 +00:00
TimeServ
469fb50e57 use better mixing for 8-bit sounds, some cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2254 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 21:02:39 +00:00
TimeServ
de74e43c4a added snd_linearresample for better quality resampling, defaults to 1
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2253 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 06:44:47 +00:00
TimeServ
6197004228 add r_floortexture/r_walltexture, tweak to Doom speaker sounds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 04:30:04 +00:00
TimeServ
9d9b74c274 Doom sound support for both digital and PC speaker samples (might need changes with VFS)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2251 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 02:03:41 +00:00
TimeServ
913e26b1ae musicvolume uses callback, cosmetic fix to qclib, disabled sw r_drawflat until there's a solution to make it like gl's r_drawflat
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2250 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 20:57:30 +00:00
TimeServ
18de9855ae build fixes, miscalc on bar thing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2249 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 07:25:18 +00:00
TimeServ
f93e5f1657 progress loading bar thing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2248 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 07:17:34 +00:00
TimeServ
575df34f7e sv_tcpport to callback, reallocate command buffer properly (I'm sure this caused a few untracable bugs in the past)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2247 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 05:31:01 +00:00
TimeServ
6f64002cc3 support r_particlesdesc chain loading; use r_particledesc "x;y;etc" to load multiple configs, removed shaft effect from spikeset, created new tsshaft set and added it into sets, change r_particlesdesc default to "spikeset;tsshaft"
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2246 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 01:49:06 +00:00
TimeServ
9e8aa5ee66 add r_particlesdesc callback and removed latch, r_particlesdesc will now reload particle set on change
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2245 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 06:26:02 +00:00
TimeServ
0f2a193838 only attempt to load npr textures with r_drawflat 2, gamma/contrast use callbacks, vid_hardwaregamma switched to renderer latch (pretty much had to use vid_restart anyway)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 05:50:33 +00:00
TimeServ
551f37340b r_drawflat, r_wallcolour, r_floorcolour to callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2243 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 03:28:48 +00:00
TimeServ
f8a044b783 use macros as intended
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2242 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 02:58:57 +00:00
TimeServ
8e65ba98d5 minor fixes, change name and sys_linebuffer to callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2241 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 02:53:36 +00:00
Spoike
74d84a0ae6 These two platform-specific makefiles are outdated and obsolete. You should be using the common makefile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2240 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 00:39:59 +00:00
TimeServ
f0a60a1471 don't use va() within FS_Rename, fix logging logic, fix return values with morphos call
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2239 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-05 05:28:56 +00:00
Mark Olsen
d593604177 Typo, I swear\!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2238 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 06:13:11 +00:00
TimeServ
c18c51b7f6 attempting to fix SysGameAPI
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2237 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 03:30:21 +00:00
Mark Olsen
047500f9ad Quake 2 game code support for Linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2236 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 00:56:30 +00:00
Mark Olsen
771828d5fb Slight finetuning of Q2 game code loading.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2235 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 00:25:16 +00:00
Mark Olsen
603f07b5a3 Actually have the MorphOS-sw client link. Slightly smarter stripping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2234 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 00:11:29 +00:00
Mark Olsen
a6b4691c02 Load Quake 2 game code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2233 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 00:08:06 +00:00
TimeServ
dbdfc2e3d0 replace rename with proper VFS call
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2232 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-01 00:22:55 +00:00
TimeServ
f344eb9df0 changed grenade trail and te_railtrail in spikeset particle set, added a te_railtrail to highfps particle set
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2231 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-23 01:33:07 +00:00
Mark Olsen
e3e65b511c No, really.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2230 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 17:23:35 +00:00
Mark Olsen
618aa941b7 Fixed 2 remotely exploitable buffer overflow bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2229 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 16:25:25 +00:00
TimeServ
0cc2ba719c vid_wait aliased to _vid_wait_override properly, command completion will now show renamed cvars (like mapname, host_setspeed, vid_wait) correctly
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2228 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 06:02:06 +00:00
TimeServ
bd3cab06a3 probably overdoing the callback thing now but oh well! (changed r_explosionlight, r_stains, r_rocketlight, scr_conalpha)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2227 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 05:23:51 +00:00
TimeServ
fbe51078b2 fix to spiral trails
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2226 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-20 22:21:42 +00:00
TimeServ
81bd85742f particle field spawnparam2 changes starting degree for spiral trail
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2225 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-18 23:11:44 +00:00
TimeServ
8709f8ec1f gl_font should now update the menu cache conchars texture
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2224 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 07:22:56 +00:00
TimeServ
ba38acd1ce gl_overbright_all effects gl_lightmap_shift, and gl_overbright_all 0 correctly works for only Q2 vs Q3 however just noticed Q3 uses overbright 2 for maps and 1 for models... yay
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2223 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 07:01:06 +00:00
TimeServ
a7a6dcc92f add cvar gl_overbright_all, 0 (default) = use overbrights only on Q1/H2/Q2 models, 1 = use on all models, set an engineflag marking non-map stuff but Spike needs to implement a gl_overbright_models
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2222 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 06:03:58 +00:00
TimeServ
f57808caf0 warning cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2221 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 03:55:55 +00:00
Mark Olsen
219d49829d Take two, hopefully not fucking up the includes this time.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2220 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 02:49:39 +00:00
Mark Olsen
9f1f8850bb Same thing here. AFAIK, we only support IPv4 from master servers anyway, so once again, sue me (or fix it better :). Fixed sendto() size argument to be sizeof(struct sockaddr_in). Now uses netinc.h
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2219 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 02:46:26 +00:00
Mark Olsen
7f8dbdb90e Ugly fix, sue me. We don't support anything but IPv4 here anyway, so pass in sizeof(struct sockaddr_in) to connect(), since not all systems handle a wrong size there.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2218 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 02:28:59 +00:00
Mark Olsen
2332cc6623 Mousecursor support (cheers, TimeServ)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2217 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 02:10:36 +00:00
Mark Olsen
6394eec60a More endian bugs fixed. Swap table contents before doing Com_BlockChecksum, swap the generated checksum before comparison.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2216 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 01:48:40 +00:00
Mark Olsen
c60d2e48c1 I shouldn't commit when tired.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2215 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 01:20:24 +00:00
Mark Olsen
713b3ddeff Fixed some endian issues with FTE protocol extensions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2214 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 00:41:54 +00:00
TimeServ
b97416a2ab player model interpolation works again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2213 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 00:34:21 +00:00
TimeServ
70d31d2617 added gl_smoothcrosshair, defaults to 1, 0 = don't smooth, 1 = old behavior (smooth on crosshairsize > 16 or using image)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2212 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 07:10:49 +00:00
TimeServ
960b2b8d96 cl_sbar/vid_conautoscale/vid_conwidth/vid_conheight/gl_font/gl_fontedgeclamp/gl_smoothfont/gl_conback/fov/viewsize changed to callbacks, needs testing.. hopefully increases fps a bit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2211 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 06:57:13 +00:00
TimeServ
3fd1a224e3 internal cleanup, r_menutint and r_skybox use callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2210 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 05:28:44 +00:00
TimeServ
571ea11411 fix Linux build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2209 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 03:44:10 +00:00
TimeServ
ceafd30644 vid_width/vid_height/vid_bpp 0 will use default desktop settings, added vid_desktopsettings which uses default width/height/bpp/refresh rate, command line -current maps to vid_desktopsettings 1
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2208 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 03:31:23 +00:00
TimeServ
68a5e9d3b3 simplified r_floorcolour/r_wallcolour, switched gl_texturemode to callback, some cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2207 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 05:23:11 +00:00