Commit graph

614 commits

Author SHA1 Message Date
Spoike
8b16f7c7f6 Attempting to fix what I broke.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3398 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 08:12:29 +00:00
Spoike
8019ad0fae so botlib doesn't outright crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3397 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:47:07 +00:00
Spoike
2059803eb5 Fixes a few gcc warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3396 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:44:49 +00:00
Spoike
d950889fda Fixes a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3395 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:43:23 +00:00
Spoike
a01158a6e0 Improved name matching. Added a clientkick command to empty a specific client slot. This makes the q3 remove bot menu item work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3394 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:41:42 +00:00
Spoike
92b1572092 Removed some unused bss.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3393 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:40:15 +00:00
Spoike
aadd51a94c Fixed some warnings related to errors.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3392 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:39:35 +00:00
Spoike
e0edbe444d Fixed a warning message.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3391 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:38:42 +00:00
Spoike
db66fa07f5 Warning message bugfix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3390 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:37:47 +00:00
Mark Olsen
02fd259fab Don't crash when clients disconnect, kthx.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3373 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-08 14:52:32 +00:00
Spoike
ee25afa861 Ensure paths exist when saving games.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3353 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 15:09:35 +00:00
Spoike
38d8b7189b Use the correct field names for prydon cursor.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3352 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 15:08:39 +00:00
Spoike
1718aae24b Should boost q3 server stability slightly, by not sending so many gibberish wrong-protocol packets.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3348 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 13:41:22 +00:00
Spoike
00cca0ea84 Fixed some client protocol bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3343 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-08 12:43:35 +00:00
Spoike
cf62594631 Well that was a stupid bug. Allocate frames for the correct client type, instead of q1.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3342 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-08 12:42:12 +00:00
Spoike
10accd2908 Cleaned up GL a minor amount more.
Sounds can now be recorded while capturing to tga sequences (as raw sound). Fixed frame limits a little.
Passed the unicode key values around to a few more key input functions.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3332 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-25 11:05:06 +00:00
Spoike
f419538b37 Added skygroup command. Also polygon offset cvars. Even though its evil - I'm not sure how long it'll stay.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3321 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 20:43:07 +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
Spoike
5a9e576796 Fixed an old id bug. Slow moving objects will now always delta properly, instead of sticking.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3304 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:14:10 +00:00
Spoike
ba368d0210 FTE isn't mvdsv. But just in case someone thinks it is...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3302 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:09:07 +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
97f98672d2 Should be a bit less crashy and actually able to compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3286 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 18:55:50 +00:00
TimeServ
5038d72933 recommit revs 3280-3282
update dotnet2005 ignores

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3285 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 15:34:16 +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
0c5ee4d373 yeah, I know, I officially suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3280 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-15 07:38:36 +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
f7b9395261 Updated to support mvdsv's qvm api version 13 instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3255 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 18:22:02 +00:00
Spoike
03aa7fefaf Fixes a conflict.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3254 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 18:21:14 +00:00
Spoike
e1ab049608 Attempting to fix recent breakages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3239 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 07:45:46 +00:00
Spoike
18b617f4a1 vweps.
added builtin float(float modidx, float framenum) getframeduration = #277; to both csqc and ssqc.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3236 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 01:20:20 +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
ca7a6224a4 Fixed flickering entities bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3230 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-28 19:57:09 +00:00
Spoike
06b20185b5 cmd efpslist now shows incoming/outgoing packet rates per client, too (expressed in bytes per second - same as rates).
Semi-colon can now be bound properly in the menus.
Fixed a bug with one of my more recent commits.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3229 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-23 21:49:44 +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
Lance
226ae08d0a Use -DCLANG with clang (sv_rankin.c hotfix), Makefile cleanup (cleaner filenames) and -D_SDL added to the
win32_SDL 
targets


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3215 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-08 08:10:32 +00:00
Spoike
b7c8b33b98 Stopped Moodles from being quite so evil.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3197 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 10:37:50 +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
640aafdc34 Makes Q3 somewhat playable again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3193 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-20 23:59:17 +00:00
Mark Olsen
af09a50527 Fixed 'unban all' to unban all, not just the first.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3186 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-28 15:49:20 +00:00
Spoike
5f1a9d8cbf added cprint console command.
fixed nq client loading-screen persisting bug
fixed nq clients getting flooded by packets.
fixed nq clients not receiving any entities
removed a bit of redundant code in pmove
fteqcc: merged array function calls with real function calls, fixing return values in the process.
vid_preservegamma now defaults to off. windows sucks.
tweeked the prototype FTE_CSQC_SKELETONOBJECTS a bit. still not official nor advertised.
added a little bit more functionality to halflife support
csqc got some pmove tweeks. this is how I want it to work. nothing has been changed that is really incompatible with darkplaces in this commit.
added markers around some ext_csqc_1 features.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3178 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-19 00:50:42 +00:00
TimeServ
42b4577802 don't flash when already the active window
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3177 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-18 23:48:35 +00:00
Spoike
2adb420a6d Reworked the console/loading screen a little. The console is no longer directly shown at startup. MSVC2005 project files update for npqtv.
Added vid_wndalpha to make the window transparent (only supported in GL-win32).
Multiple issues with SW rendering, which I'll fix eventually. It does at least run, even if it looks ugly.
Plugins are now able to read the console input. Bigfoot, feel free to tweek.
Fixed up a few mismatched prototypes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3153 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-06 00:34:32 +00:00
Spoike
0eb7e83965 Stuff should compile a little better with GCC now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3150 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-02 22:25:54 +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
76f6ad0345 CSQC_DAT and MENU_DAT can now be enabled in CLIENTONLY/MINIMAL builds (so long as both are enabled).
Tweeked a statement that was causing crashes with msvc2008.
Dedicated servers should build again.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3139 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-07 05:05:54 +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
d18566f4e8 My god. I suck. I really do. I really really apologise. Sorry. Really really sorry. GAH!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3125 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-21 22:27:51 +00:00
Spoike
3b402813d8 Don't resolve master servers at startup. This stops huge stalls when you don't have complete internet access (lan games/single player).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3123 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-08 19:05:28 +00:00
Spoike
4e5e28b1ee Fixes the phantom grenades in twig.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3113 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-30 06:46:21 +00:00
Spoike
88aa502054 Reduced spam a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3111 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-30 06:31:51 +00:00