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
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
ad0c14548a
Fixes the quad replacements issue - which was caused by me wrongfully assuming quake actually used it's content.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2205 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 02:26:38 +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
0560842635
Prevent 8bpp opengl. I hate you Up2nOgOoD[ROCK].
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2203 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 01:55:12 +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
Lance
ae586b599a
Added ezscript_silentmode, with the spam default off. Uncommented ezScript_InitCvars & ezScript_CvarUpdate, the .qvm has magically lost 3kb too.. even though more code was added.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2201 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 01:37:40 +00:00
Spoike
c7d690011d
Make builtins returning floats work properly when not compiled as a qvm.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2200 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 01:18:46 +00:00
Spoike
ebac90e94b
Trying to make QTV more robust with connecting to remote sources.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2199 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 00:59:29 +00:00
Spoike
95a623820f
Butchered around with the hud plugin a little.
...
It's now much easier to add new elements. Almost releasable. :)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2198 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 00:45:31 +00:00
Spoike
36b97f60a0
shh, tuna
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2197 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-13 16:58:52 +00:00
Spoike
16e889bf4f
Make sure the proxy's simulation time is kept up to date.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2196 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-12 17:43:39 +00:00
TimeServ
3a67c414fb
fix crash with HTTP downloading
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2195 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-12 04:32:52 +00:00
TimeServ
1d6899434a
fix lightmap_textures with init function
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2194 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-12 03:36:31 +00:00
Lance
6d99113511
Updated - April 12 2006
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2193 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-12 03:01:59 +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
4430da6a00
Fixed a small error.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2191 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-11 23:26:39 +00:00
Spoike
40bfc9cce2
CRC functions to get around the movement command protection found in quakeworld servers.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2190 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-11 22:52:07 +00:00
Spoike
aaef149474
Corrupted the QTV proxy.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2189 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-11 22:15:09 +00:00
Spoike
b12ead1a7d
cvars can use callbacks now. Use Cvar_ForceSet inside to undo the change.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2188 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-11 20:42:05 +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
d71040af7a
Fixes halflife sprites on big-endian machines.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2185 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-09 15:35:50 +00:00
Spoike
fa471eb239
Makes Q2 with high visible entity counts more robust.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2184 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-09 02:04:40 +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
Spoike
9b9b696afe
Fixed the bloom/gl_max_size issues.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2180 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-08 15:16:47 +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
TimeServ
1adb96907a
remove the cfg_save x.cfg -> x.cfg.cfg situation, still not like the z-family cfg_save though
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2176 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-08 04:16:53 +00:00
TimeServ
6a67fa367e
fix loading graphic on reinit
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2175 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-07 02:59:17 +00:00
Spoike
1eb072ae0c
Don't spam the server's console quite so much with "Connection lost or aborted" when an NQ client disconnects.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2174 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-06 23:53:57 +00:00