Commit Graph

159 Commits

Author SHA1 Message Date
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 9cd988a836 Added csqc->ssqc requests.
Fixed up cl_indepphysics. Sending is fully independent, bar sync points.
Fixed so #if 0 works in qc code.
Fixed up error conditions in qclib when features are not supported.
The webpage generator will now refcount properly.
Fixed error conditions when using glsl shaders.
If MULTITHREAD is defined, r_loadlit will not light inside a separate thread.
We now generate VBOs for bsp objects. Shaders/rtlights don't use them yet.
Fixed up MVD/multiview playback a bit. It now looks like it works! (cl_hightrack will no longer track the same person in all views).
Fixed error conditions when attempting to download versioned csprogs.
Reduced the number of places that a q3-style marked up string is expanded. I think there are a couple places left still though. Approximated ezquake colour codes.
Memory mapped read file access in win32, where we can. Not sure about this. Lets see how things pan out.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3195 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 10:11:17 +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 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 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
Molgrum c1747c23fb Draw the scoreboard correctly on largegames too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2888 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-30 16:42:49 +00:00
Spoike 08f0d8bcb2 Made qtvplay work a bit better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2886 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-30 02:32:00 +00:00
Molgrum c0e1da76db Compress the scoreboard to fit team names.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2854 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-12 02:52:33 +00:00
Molgrum 93ee9cba84 Patch by Spike to make pings update correctly on the scoreboard.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2853 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-11 15:22:18 +00:00
Spoike b583f3ce6d Nicer indentation. Nothing else.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2847 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:29:05 +00:00
Molgrum 3b66c049a1 New scoreboard stuff. scr_scoreboard_newstyle for a facelift, scr_scoreboard_teamscores for more info during teamplay. Both set to 1 as default. TODO: Alpha parameter in Draw_Fill(), sort players according to team and frags, not only frags.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2699 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-02 16:00:38 +00:00
Molgrum 5978a4a12a Fix so that pl is not outside the table margins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2602 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-20 06:24:39 +00:00
Molgrum af275580ec Draw "spec" for teamplay 0 and "spectator" for teamplay 1.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2601 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-20 05:56:52 +00:00
Molgrum 25d16782ee Cleanup, fixed so that spectators are shown with a "spectator"-tag like it should.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2600 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-20 02:57:11 +00:00
Molgrum 865a5a003d Fixed a few Cygwin warnings: Removed/commented unused variables, added newline at end of crc.c
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2584 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 17:49:35 +00:00
Molgrum 75d9afc8c7 Fixed _alot_ of warnings, happy reviewing!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2574 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-06 21:13:15 +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
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
Spoike 1f9484f93d One d3d renderer.
Wonder how much this breaks.
Place your bets now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2501 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-05-25 22:16:29 +00:00
Spoike d804efe0cb This commit brought to you to shut up bigfoot.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2473 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-04 19:17:16 +00:00
Spoike 2f059d7b59 Some minor tweeks to the hud plugin
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2470 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-02-26 03:00:25 +00:00
Spoike acf93f1548 qtv changes allow you to spectate annother spectator. FTE changes fix independant physics stuff a bit, and fix AVI recording a little also.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2440 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-03 15:53:04 +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 83e22715bc remove some unnecessary of unsafe caches, fixing menu_servers2 not being able to load without slidebar graphics
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2142 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-02 08:11:17 +00:00
TimeServ 0269b18460 column titles highlight on mouse hover in menu_servers2, fix to menu options, fixed infinite loop issue with Draw_FunStringLen
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2128 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-23 06:45:17 +00:00
Spoike fe79b40941 While playing with the new server browser, I noticed that the funstrings counted a ^7 escape as a character space towards the limit, rather than the number of printed chars.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2111 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-14 01:20:31 +00:00
Spoike 2046931e26 gameclock, roq/avis can play on shaders (sound is wrong though, so that's fine with avis!), snprintf changes (this is the bulk), up2's mcharset
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-06 01:41:09 +00:00
TimeServ 974f062cce fix to scoreboards (cosmetic)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2032 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-26 23:14:10 +00:00
Spoike 56a70d5743 There's now a row of console names across the top of the screen.
There's also a load of new bugfixes too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1925 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-02 01:13:52 +00:00
Spoike 05566ba996 trying to fix bigfoot's mobile phone hud
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1869 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-14 23:46:24 +00:00
TimeServ 664467e41c fix to sw colormaps (MSVC is stupid)
fixed clear command from crashing
added ^h for toggleable half-alpha (still not rendered yet)
added ^&?? for extended fg/bg colors: (poosibly temporary?)
- first ? corresponds to foreground
- second ? corresponds to background
- valid characters for ? are 0-9, A-F and -
- hexadecimal number represents a color from CGA RGBI colors
- -(dash) represents default color for FG, clear for BG


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1838 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-11 07:23:31 +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 b511be1e27 hud_tracking_show cvar and v_powerupshell 2 option
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1688 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-08 18:42:08 +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
Spoike 9355c7dda5 makeconfig.sh - the shell script that generates config.h either automagically or through prompts, use it through make
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 03:02:55 +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
Spoike 06b9226d8e Allow csqc to control the scoreboard.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1485 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 03:57:01 +00:00
Spoike fdf4e8c596 Get rid of the rankings pic.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1387 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-28 23:31:58 +00:00
Spoike eef2893546 Added colour support to the 'tacking blah' message on the hud.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1309 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:10:44 +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 a8295592a2 corrected scoreboard in scr_chatmode.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1291 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-08 01:59:13 +00:00
Spoike 95948b35ec Rewrote FTE's NQ-compatable networking code. The nqnet functions have gone, as we support both udp and ipx through the qw code.
cl_netfps has also had some work.
Added polling of http-based master servers (gameaholic).
Lots of darkplaces compatability things added, for nexuiz.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-26 12:55:34 +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 7e1ab9e29b *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@906 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-20 02:57:11 +00:00
TimeServ c324d0a3b8 hopefully this fixes q2 sbar with viewsize somewhat
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@899 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-15 03:25:37 +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 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 a9f3e56240 Now the sbar is able to draw decorated player names properly in various places.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@706 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-04 07:31:57 +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 2bc22c8e79 Added brackets around the dude that you are spectating.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-08 04:05:43 +00:00
Spoike 488af2771c Don't crash!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@492 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-20 01:11:07 +00:00
Spoike f3b305b600 Why does the scoreboard need the pic? It doesn't now!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@457 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-17 18:03:09 +00:00
Spoike 4d528922fd plugins
capture_codec tga/png/jpg
Changed intensity of hud images so that high-gamma settings work... (maybe too much)
Small progs changes that fixes hexenc


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-13 07:24:59 +00:00
TimeServ 1ba53e017e rogue sbar
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@296 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-03 22:13:30 +00:00
Spoike 41b248e00d Fixes the single player status bar - was showing memory addresses instead of kill counts/secrit counts
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@108 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-01 22:59:09 +00:00
Spoike 7e650f9e28 fix for q2 huds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@52 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-27 00:37:32 +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