Commit graph

868 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
TimeServ
363223186e change crosshairimage/crosshair/crosshaircolor to use callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2206 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 04:31:29 +00:00
Spoike
7a7ce6a7bf don't fail to load 16bits-per-plane rgb png images.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2204 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 02:05:39 +00:00
Spoike
961b474e73 Fix cl_chatmode 1, and allow autorepeats on everything.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2202 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 01:52:15 +00:00
TimeServ
75648fd2ff fix warnings, add cvar flag to force renderer callback on vid_restart, switched a few cvars from modified checking to callback usage
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2192 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-12 00:17:02 +00:00
Spoike
7d89845224 Some fixes for Quake2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2187 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-11 20:09:39 +00:00
Spoike
d15dc50739 Get rid of the mapname macro, which ironically fixes $mapname.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2186 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-10 01:12:33 +00:00
Spoike
39bc3f4ff9 Fixes the q2 'wireframe players' bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2183 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-09 02:02:44 +00:00
Spoike
b22df9d2d0 LordHavoc is the one for noticing this.
By using snd_mixahead.value, the start time was being cast to a float, which eventually resulted in inaccuracies with longer uptimes.
This extra cast will ensure starttime is independant of uptime (it's an int).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2182 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-09 01:59:07 +00:00
Spoike
68afaaacd0 Fixes the 6 speaker sound issues (turned out that dsound was changing the buffer size to be a multiple of the number of speakers. I don't blame it!)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2181 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-09 01:53:26 +00:00
TimeServ
15e372e2c5 fix default sky box for Q2 maps
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2179 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-08 07:32:24 +00:00
TimeServ
b85e3c46ca fixes to several Q2 trails/tempents
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2178 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-08 06:43:42 +00:00
TimeServ
e40c7f8a87 fix crash with Q2 server, server/client handles Q2 map checksum, server sets Q2 airaccelerate on init
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2177 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-08 05:43:53 +00:00
Spoike
4265caa79d Tollerate 16bpc pngs with no alpha channel.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2173 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-06 23:20:23 +00:00
Spoike
22b43705d9 Fixes FTE's NQ client (remember to set cl_nolerp 0)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2172 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-06 22:14:29 +00:00
TimeServ
3d0489e736 fix to failed renderer restart logic
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-06 22:07:34 +00:00
TimeServ
bcb4f10991 try to fix extended character parsing some more
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2170 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-06 20:57:46 +00:00
TimeServ
2f2e0290b3 attempt to fix extended code parsing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2167 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-06 08:42:24 +00:00
Spoike
6b8fac1fa4 Fixes deathmatch/map caching for loc files (still needs 'deathmatch' set to load locs automagically).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2164 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-05 21:52:22 +00:00
TimeServ
c574d3d6f3 change browser to old browser
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2163 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-05 06:40:27 +00:00