Commit Graph

119 Commits

Author SHA1 Message Date
Spoike 589ef03c05 FTE, now with added C support - no longer treating enums as regular ints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3509 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-02-06 01:25:04 +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 18ef542c7f autostatus was annoying with a default that actually prints useless stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3383 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:25:54 +00:00
Spoike 4671892cce Removed some unused variables.
Added support for 32bit player skins (with pants/shirt overlays).
Updated spectating name tags to not lag, and be centered. Also visible by default.
Smoothed out viewweapons slightly in certain cases (when they're not animating at 10fps).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3290 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 22:28:16 +00:00
Spoike 4974c57c2c Big fat-off commit.
A few changes. Half-Life support is finally getting committed.
Some unnecessary filesystem code changes.
And there's code for nsapi - meaning we can embed FTE in a browser (firefox and opera on windows work).
A couple of CSQC changes, trying to move towards a final EXT_CSQC_1.
Revised ruleset format finally implemented.
Doesn't compile with msvc6 due to issues with libjpeg not being a clean library.
Presumably its fine in vs2005.
Your mileage may vary.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-01 22:03:56 +00:00
Spoike b763b5594d My monthly commit. I wonder what I broke.
Contains some stuff to get twig working a little better.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3132 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-03 01:52:30 +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
Spoike 751e3df851 Added colourise command. 'colourise playername top.bot skin' where top/bot can be xf00 for red, xf00000 for slightly less red, off to disable forcing (for that part, eg: x0f0.off to force only top), or a regular number between 0 and 14 for regular skin colour ranges. Will not persist through configs. If .bot is not present, top is used for bot. Only works on team members.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3000 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-05 07:45:34 +00:00
Molgrum 6e1e9a6438 Typo.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2997 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-04 19:02:54 +00:00
Spoike 519983dee2 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2992 fc73d0e0-1445-4013-8a0c-d673dee63da5 2008-06-01 22:06:22 +00:00
Spoike 654eabc4c2 Reworked stats for csqc to match LH's suggestion. CSQC can read the 'delta' entities (experimental). Fixed up sv_getrealip, made banning work based on realip too. Added a ban command to easily ban a single client. Renamed some svcs for clarification. Added pvsflags to ssqc for greater control over how ents are sent to csqc. Broke some stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2977 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 22:23:43 +00:00
Molgrum 9bc87fc9ab Use tp_name cvars where possible.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2744 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-14 18:38:44 +00:00
Spoike bdebba9bfa Allowed plugins a way to get location info from the engine
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2707 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 10:46:26 +00:00
Molgrum 415ec86dc9 Replaced "banned by ruleset" with " " when reporting player counts.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2667 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 18:09:12 +00:00
Spoike 8a63e785b8 Added some anti-cheat measures, still needs lots of work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2610 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-23 21:25:18 +00:00
Spoike 5fc1d3fdea Added bugs relating to scr_scoreboard_* cvars, broken indepphysics, and generally screwed up
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2547 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-23 18:52:11 +00:00
TimeServ 50c00fb7bc add cl_gunx/cl_guny/cl_gunz, remove r_viewmodelsize until I implement it correctly, misc cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2279 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-17 23:01:06 +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 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 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
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 d27d3c5b6d Less warnings (none at the gcc-default warning level)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2046 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-04 20:43:48 +00:00
Spoike 38c36360f6 Mostly colourmod stuff. A few fixes for q3 menus, some gamma fixes for q2, more verbose messages for pngs, and hopefully a gamma fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2034 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-27 00:42:25 +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 f0feb82b90 rjlan wanted mingl to compile again, and moodles reported a demorecording bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1862 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-13 06:27:18 +00:00
Spoike da9536edf5 Say command now works on +setrenderer sv servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1836 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-10 18:50:06 +00:00
TimeServ a8889d8f24 THIS COMMIT MOST LIKELY BREAKS THINGS.
changed conchars from 16-bit to 32-bit
added support for RGBI fg and bg colors
better support for ^8/^9 text codes
fix to echoish menu sounds
added plugin stuff for centerprints/server messages/chat messages, not finalized (?)
GL/SW color character functions improved (although neither handle transparent characters, and SW needs improvement with the palette remapping)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1750 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-01 09:01:15 +00:00
Spoike 503eff6421 Reworked the filesystem. We now support a virtual filesystem. Many places accept stream usage, although many formats do not support this.
I'm not sure if this will break anything. It shouldn't do, but it might.

Not everything is ported over yet. Ideally there would be no more use of fopen anywhere else in the engine, and com_gamedir would be made static to fs.c
There are a couple of other changes too.

http/ftp stuff is currently disabled.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1728 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 03:07:33 +00:00
Spoike 339d478659 I wonder how much this will break. Ahh well. It works for me, and I need to go to bed.
Well, plugins should be able to read/write files through the engine. audio decoding plugin interface is in (might be changed later).
TCPConnect is in.
msg_filter and scr_centersbar.
some recording fixes too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 01:20:53 +00:00
TimeServ c916e40299 use player.team instead of infokey team
use player.name instead of infokey name
add weak per team hash for cl_standardchat/cl_standardmsg for cl.teamplay
use obtained freq for SDL


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1552 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-01 23:25:15 +00:00
TimeServ 5764597646 small fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1461 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-10 02:18:11 +00:00
Spoike 8ca97dc86b Getting rid of the version number, now using build numbers only.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1418 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-04 21:08:06 +00:00
TimeServ ad3f2c26ac warning fixes
log_* cvars (readable translation, cycling, custom dir/file, developer, etc)
cl_standardmsg (like cl_standardchat, colors names in standard net messages, defaults to 0 to annoy people)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1378 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-26 08:07:26 +00:00
TimeServ b7318bfaf4 warning fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1350 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-21 01:21:35 +00:00
Spoike 9d64ee3e51 Added $chealth macro, as origionally asked for by up2nogood..
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1310 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:11:56 +00:00
TimeServ a6bee2bc12 text parsing fixes
increased emit rate for explosionsprite


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1297 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-08 08:10:06 +00:00
TimeServ a49ca96a5a cl_parsewhitetext (rid#1239249)
non-standard text messages should be much better for use
server voting fix


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1281 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-07 14:55:25 +00:00
TimeServ 5d486ee23d msg_trigger buffer fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1269 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-05 00:08:12 +00:00
Spoike 50a59ff11f rewritten vast chunks of code to support MOVE_HITMODEL as well as clean some of it up a bit. Dedicated server should build now.
A couple of minor bugs fixed too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1146 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-16 00:53:08 +00:00
Spoike f1ea7c0c06 Q2 works, models are depth sorted (the same time as particles).
some extra macros added. We have a full set of dp te effect builtins (but not parsing them all yet... so not advertising them either).
Dedicated server does not build. I need to add some functions to svmodel.c
sound should work properly with roq/cin/avi playback.
gl_detail should work like in ezquake. there's also a new gl_detalscale cvar
bss size should be a small ammount smaller.
all the dp te builtins will send something. But fte can't parse all of them yet.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-14 01:57:34 +00:00
Spoike dfd8e1aaed Redesigned sound code for greater modularity.
Added support for dp6/dp7 protocols (ents are still broken).
md3 tags should work properly (still suffer from origin-of-parent interpolation bugs)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1089 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-14 04:52:10 +00:00
Spoike 3aeebf7a82 Fixed [ 1215000 ] Qizmo User Input Prompt bug
Removed an extra space, which was confusing qizmo.
Was actually a Qizmo bug with poor parsing.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1079 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-07 04:11:48 +00:00
Spoike c2930803d4 hopefully, everything will work that little bit better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1072 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-04 04:20:20 +00:00
Spoike e348dc30a2 Changed vec4_t down to vec3_t, got the server browser integrated with the menu.dat. csqc is having fun, and nexuiz should work better. Enjoy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1011 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-13 10:42:48 +00:00
Spoike db7e43b79e Fix some warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@981 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-27 09:10:03 +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 545b457f02 Trying to improve portability.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@969 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-19 21:09:29 +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 d7bb31a516 Some changes. QC execution has been tweeked a little. It needs further work still.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@925 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-28 00:11:59 +00:00
Spoike 5926f9f4cf *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@917 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-23 22:14:08 +00:00
Spoike 67950ee8ac couple of effect changes to do with q2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@904 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-18 06:14:07 +00:00
Spoike 9ae7e2621d SOFTWARE RENDERING IS BROKEN: DO NOT USE ASM VERSION.
Lots of changes.
CSQC should be functional, but is still tied to debug builds. It WILL have some bugs still, hopefully I'll be able to clean them up better if people test it a bit.
Precompiled headers are working properly now. Compile times are now much quicker in msvc. This takes most of the files this commit.
Restructured how client commands work. They're buffered outside the network message, some multithreaded code is in. It needs a bit of testing before it's active.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@885 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-28 07:16:19 +00:00
Spoike cb487034e9 csqc is now working in some ways. Hash tables use renamed functions, and a few other changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@871 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-09 19:32:09 +00:00
Spoike 95eafd7427 some bugfixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@867 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-06 02:47:36 +00:00
Spoike e23e1a8e1b So you don't need to use the skins command after changing either enemyskin or teamskin
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@823 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-23 17:47:53 +00:00
Spoike c2988990c2 I committed too much last time, so here goes for a big commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@774 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 16:29:20 +00:00
Spoike 2c17e2ca4d Skin forcing is now supported (and i've made some other teamplay fixes too)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@699 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-29 03:24:21 +00:00
Spoike 5c7b6b809f minor fixes to get the non-merged version to build properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@685 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-24 09:10:39 +00:00
Spoike 4b0395e079 Lots of stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@684 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-24 08:45:56 +00:00
Spoike 0322bdd338 mvd playback works properly now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@587 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-08 04:14:52 +00:00
Spoike 809bc88707 support for /me
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@456 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-17 18:02:19 +00:00
Spoike 0f6b5d1eef allow the minimal gl to compile
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@376 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 23:05:19 +00:00
Spoike 4f36d50f60 Few bug fixes and some q3 compatable shaders.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@354 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-19 16:10:14 +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 103cf9b7b0 couple of fixes there...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@260 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-30 22:25:55 +00:00
Spoike af8b141be8 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@248 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-26 03:34:26 +00:00
Spoike f25bf204a9 small bug fix, part way through adding plugin stuff for menu support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@247 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-26 00:30:42 +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 8184225473 Initial Checkin
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@15 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-23 00:15:46 +00:00