Commit Graph

42 Commits

Author SHA1 Message Date
Spoike e6d1ae1a8f more cleanups: csqc now shares collision code with ssqc. Still lacks physics.
gl_rsurf.c has been split into gl specific and generic code - the d3d renderer can now draw the world.
ifdef removed the old server-side mvd playback which had been disabled all this time anyway.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3426 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-07 13:29:15 +00:00
Spoike 66b78c0b11 Work In Progress branch.
In this version: replacement GL backend. Replacement D3D backend sharing code with GL. Lots of code reorganisation.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3401 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-04 21:16:50 +00:00
Spoike 58af42990d Fixed up some EXT_CSQC expectations.
Tweeked interpolation.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3313 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:46:42 +00:00
TimeServ a94a33212c destroy software rendering and break everything (and that won't be all!)
also note that merged builds on non-windows no longer make much sense

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3283 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-16 22:06:59 +00:00
Spoike 57c9515b39 Updated QVM apiFixed up some of the slowness in the sky/water warping code.
Enabled freetype in gl builds. It'll try to link dynamically. Headers are included for windows users. unix users will need the freetype2-dev package for their system, sorry. you could probably get away with editing the makefile to include the headers if that's a problem.
Fixed occasional missing skies.
Updated q1qvm api stuff version (to 13).
Cleaned up the ban code. There are no longer two separate mechanisms to ban people.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3279 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 23:42:54 +00:00
Spoike a80214290d Oh noes! Everything is broken!
Rewrote much of the console code. Should be no obvious differences.
Nearly all conchar parsing goes via a single function. Still some left in the dedicated server code.
Added the ability to parse utf-8 text, disabled by default.
Added the ability to input unicode chars using whatever keymap the user has set up in windows (not enabled by default).
Reworked vbo stuff to be a little more versatile.
Added toggle console command.
Added freetype2 support (not compiled by default).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3234 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-05 18:45:53 +00:00
Spoike f2cce499f6 Multiple minor cleanups. Chunks of dead code removed.
Added com_parseutf8.
Z_EXT_VWEAP is supposedly supported serverside, but not clientside. It is not advertised, and not used, yet.
Fixed csqc mouse issues in linux, supposedly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3226 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-21 17:45:33 +00:00
Spoike dce284811e Minor update...
Q3 clients can connect to q1 gamecode (sv_listen_q3).
hacked support for SendFlags. It'll work compatibly, just not efficiently.
Unified shared qc builtins.
fteqcc supports int |= float, more params in macros, &~= operator.
Additional recent DP QC extensions.
Particle system abstraction. 'r_particlesystem classic' (vs null or script) will revert to truly classic particles.
Nexuiz might run again.
Network address revamp (sv_port and sv_port_ipv6 can both be used to specify an ipv4 address:port and both corrently accept clients). localhost now properly favours ipv4 (use ::1 for ipv6 localhost).
Download system revamp.
Numerous other changes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3051 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-09 22:29:28 +00:00
TimeServ 9f09a30019 r_fastskycolour accepts rgb format
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2857 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-13 05:05:30 +00:00
Spoike 0a682a76d6 Resolved conflicts with macosx header files
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2671 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 19:28:27 +00:00
Spoike dcec305bd9 Fixed Ogg support a bit. Enhanced DarkPlaces/Nuxuiz compatability. Fixed a couple other minor bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2519 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-20 00:02:54 +00:00
TimeServ 2e4995fdaa gl_fontedgeclamp to gl_fontinwardstep, fix gl_fontinwardstep and make it accept a float range (0-1)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2328 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-15 22:03:34 +00:00
TimeServ 3866a4c292 add r_drawflat_nonworldmodel, defaults to 0
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2315 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-04 16:02:03 +00:00
TimeServ 15fac4ad44 optimization to dlights, slight FPS increase
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2274 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-11 03:14:41 +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 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 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 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 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 aeea639fc2 Filename security paranoia. Added a glsl extension to the shader system. using serverinfo, you can enable shaders without cheats now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2079 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 03:12:10 +00:00
Spoike 0fe03c7b25 blooming stuff. I hope I got enough of the bugs out.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2042 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-03 03:31:19 +00:00
Spoike 6430b9b214 added a macro for specifying all the cvar properties. This will simplify stuff for Q2.
Also added trace_endcontents and trace_surfaceflags.
File system (still too selectivly) reads gz files.
Fixed a buffer overflow in the http client.
Made server downloads decompress zipped files to a temporary file. This should make it download them faster.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1943 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 02:09:43 +00:00
Spoike 348a1024be Now compiles and works fine in linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1300 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-09 23:40:55 +00:00
Spoike 4a0c02b685 Hopefully, the server will now run on 64bit archetectures.
Also, a piece of unitialialized memory should now be fixed.
there's a con_centertext cvar added
an extra default particle texture.
further dp protocol compatability stuff.
EF_ADDATIVE works on models and supposedly sprites. will do sw sprites too at some point.

Linux makefile needs work still.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1017 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-17 02:36:54 +00:00
Spoike a9d9293fc1 Changed spikeset.
Some csqc tweeks, bugfixes, additional work (yay - prediction, keyboard input!)
Some teamplay tweeks, supports much more fuhquake-compatable teamplay stuff.
Changed the texture naming scheme a bit.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@979 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-26 16:04:12 +00:00
Spoike f43b221896 Stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@942 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-16 16:21:27 +00:00
Spoike ce3c561cfe CSQC is standard now, and secure via the same md4 as a map currently has.
Particle system functions renamed a bit, a few other cleanups in that area.
Console handling tweeked. Better rules for subconsoles and plugins. Commands are coloured if it'll be execed, which should help reduce occurences of chat being commands. tab compleation tweeked, partial compleation no longer changes the suggestion.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@895 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-10 03:55:18 +00:00
Spoike 90d183cb14 Added GL only GetPalette. Changed gl->qgl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@758 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:04:42 +00:00
Spoike 925edaf345 Hmm. Looks like that function wasn't used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@698 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-29 03:22:49 +00:00
Spoike 9db52890b2 Added profiling code, added schematics, drawflat, and stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@654 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-15 19:53:30 +00:00
Spoike 2eb8db11d0 parse lightstyles for real-time lights.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@629 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-11 03:46:37 +00:00
Spoike 73966f4eb0 Okay, so that just quadroupled my framerate...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@614 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-10 01:19:07 +00:00
Spoike 9af4c7df7f we can connect to DP servers, dynamic lighting code was revised a little, a new cvar was added to control the extra feature, lights can be flagged with where they should appear, skin code was revised (to include models), fruity textures fixed, r_loadlit 2 failing to save is fixed. NQ demos smoothed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@537 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-27 08:16:25 +00:00
Spoike ac284a1b94 Adding a few tiny optimisations and playdemo working on qwd files again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@470 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-18 17:55:04 +00:00
Spoike 8dc7815228 changes angles->axis and stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@467 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-17 18:13:33 +00:00
Spoike ea5c476ced I need to commit more often...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-10 06:32:29 +00:00
Spoike 705d84c214 teamplay info
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@271 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-30 22:47:31 +00:00
Spoike 9c59fafc3e lots of changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@228 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-20 23:25:38 +00:00
Spoike c0c2130978 Adding stuff like specular highlights - required changes to texture loading to prevent gamma adjustments on all textures.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@203 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-13 03:20:04 +00:00
Spoike 8aa0eee611 Initial checkin of OpenGL renderer
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-22 22:29:09 +00:00