Commit graph

1569 commits

Author SHA1 Message Date
Lance
d55c03b072 Menu work in progress, additions, tweaks etc, still more to do
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3495 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-15 05:35:27 +00:00
Mark Olsen
8901f51133 Fixed Sys_EnumerateFiles(): Doesn't treat directories as files anymore and actually manages to figure out file sizes now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3494 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-11 18:15:42 +00:00
Lance
4062c0b387 Updated gl_max_size to be renderer latched requiring a vid_restart to take effect
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3488 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-30 04:29:14 +00:00
Lance
22df64de91 Gasp, teamplay menus, and fixups to other menus I added last commit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3487 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-30 04:06:14 +00:00
Lance
7f0e91037c Menu code work in progress, menu_video is less cluttered, new menus
within menu_options, sound, 3d rendering, texture, shadow & lighting etc


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3486 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-29 14:00:56 +00:00
Lance
77056f58ed Same as r3484, but applied to the WIP branch
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3485 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-25 03:06:13 +00:00
Lance
df42139913 Added various 4:3, 16:10 (8:5), 16:9, 5:4 aspect-based resolutions,
cleaned up the video mode list, added refresh rate option to video menu 
(driver default (0), 59hz, 60hz, 70hz, 72hz, 75hz, 85hz, 100hz)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3484 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-25 02:57:16 +00:00
Spoike
1f34680832 Random hacks, ODE works in csqc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3464 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-17 00:15:44 +00:00
Mark Olsen
9c69d3fa3a Mmm, const...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3460 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 10:22:26 +00:00
Spoike
49c3dc75d4 Removed redundant cases.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3457 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 03:22:07 +00:00
Spoike
acc77b4f36 Release the mutex if we go dedicated.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3453 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 03:07:52 +00:00
Lance
eed5e36382 Fixed syntax error (hopefully) in how the MinGW32 windres tool reads the winquake resource script
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3451 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-14 03:40:53 +00:00
Mark Olsen
2e3a833a2b Updated to match the new prototype for Sys_LoadLibrary().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3448 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 18:42:11 +00:00
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
e6498c778e only send qw prydoncursor when we're fully connected.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3422 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-07 04:32:07 +00:00
Spoike
4c37c34c13 Fixed some stuff. Cygwin stuff compiles now, so maybe linux will too. I've not tested it though cos cygwin uses software gl rendering, and I'm impatient. Also boosted NUM_SPAWN_PARMS a little, so saved games will break.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3408 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-05 03:07:52 +00:00
Spoike
f6b3416ce7 Fixed up some stuff so it actually compiles now. Also corrected pixel offsets on d3d chars so fonts are like in GL. Removed the unneeded gl_ppl file.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3403 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-04 23:20:50 +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
7184ac46d1 Slightly less weird console histories.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3400 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 23:37:05 +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
b0d29915c5 Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3382 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:24:07 +00:00
Spoike
17bc508348 Calm down, its just a missing new line...
Silly gcc.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3381 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:23:21 +00:00
Spoike
e3dc3fb7b3 Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3380 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:22:28 +00:00
Spoike
abc8b40d31 Yes, I have more changes than just that.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3379 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:20:48 +00:00
Spoike
f52ebd3f00 should fix the crash that happens after a while (actually about 1024 con prints).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3376 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-04 22:03:16 +00:00
Spoike
492e01192a Replaced one of the built in crosshairs with a single pixel one.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3340 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-04 23:57:33 +00:00
Spoike
fd713df2e1 Fixes the rawinput not working without in_restart bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3339 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-04 23:56:43 +00:00
Spoike
3fb15701b1 Fix the missing final character in the server browser.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3338 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-01 13:29:52 +00:00
Spoike
fb95c21dcd Attempt to load truncated wav files. Because everything else does. And then people complain that its a bug. But do warn (just clamp chunk length).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3337 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-27 07:38:11 +00:00
Spoike
fab8161e68 Yeah... That was a stupid bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3336 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-27 07:34:10 +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
bce186834f Sound mixing was failing to add sound effects on certain sound outputs...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3331 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-25 09:15:42 +00:00
Spoike
1d68abc578 Should fix vweps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3330 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-24 20:20:31 +00:00
Spoike
ad07e50ee8 Allow lumas if the server doesn't care.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3329 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-24 19:46:32 +00:00
Spoike
b60e062fc7 Fixes shift in message mode stuff. I prolly need to fix it elsewhere too... mneh.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3327 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-21 00:48:19 +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
4cc13b2bbf fixed vweps when spectating.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3318 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 15:08:30 +00:00
Spoike
696b1365d6 I thought I already committed that...
Fixes for the interpolation changes - csqc needs to receive lerped ents too.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3314 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 01:55:21 +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
d119e7fadb Added scr_turtlefps - sets the framerate that the engine has to maintain in order for the turtle to hibernate. Because... why not?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3312 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:26:24 +00:00
Spoike
b2b371f44b Removed unused variables.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3311 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:25:09 +00:00
Spoike
0cc6e71ca6 Code so I can copy from the console again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3310 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:24:23 +00:00
Spoike
622254e036 Code so I can copy from the console again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3309 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:23:56 +00:00
Spoike
5b94a0b20d native plugin support for 64bit platforms. Supposedly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3308 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:23:00 +00:00
Spoike
7df1428358 Let the cursor work in demos/console when playing demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3300 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 19:47:37 +00:00
Spoike
0cf3e1ff54 Freeze NQ demos while content is being loaded, so it starts at, urm, the start.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3299 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 19:46:32 +00:00
Spoike
db97dd67d0 Check bounds before, not after.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3296 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 09:33:30 +00:00
TimeServ
d0a8a8ee9d default vid_width/vid_height cvars to 0 to use desktop params (unless windowed then use 640x480x32)
don't try to switch to 640x480 if we already attempted it

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3291 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 23:11:34 +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
TimeServ
4b2c4ed77a remove more unused sw variables
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3289 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 22:15:37 +00:00
TimeServ
1b101bab97 remove ram icon (no longer makes sense with non-sw)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3287 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 21:25:53 +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
fb2b58979b Tiny tiny boost.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3282 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-15 23:40:50 +00:00
Spoike
85f9b6bc0e Always release the mouse when not the active application.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3281 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-15 20:15:53 +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
a79b7f90cf sbar compiles again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3277 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:58:07 +00:00
Spoike
cd619e991f Only start timedemo counters once the map has actually finished loading, and force the console up.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3273 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:10:07 +00:00
Spoike
8c66660fe0 Don't show the deathmatch scoreboard in single player.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3272 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:07:14 +00:00
Spoike
294e82f158 That spam was annoying.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3271 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:05:56 +00:00
Spoike
e7b05772b6 Menus broken again. On behalf of bigfoot.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3270 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:04:32 +00:00
Spoike
12a72a64f3 console should now compile again. mneh.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3269 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 14:19:45 +00:00
Spoike
9cccfe2f35 Particles will now have the correct trails when switching to the classic particle system.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3268 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-13 01:17:22 +00:00
Spoike
0135abdf5e Fixing bugs (including a massive slowdown with high con_maxlines).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3267 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-13 00:32:31 +00:00
Spoike
b5ac90d523 More stuff broken.
Added control over texture coords on particles. Switched them to batch based on common render state. Less state changes there now.
Inverted sorting, to aid depth culling.
fullbrights use vbos too now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3261 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 20:56:09 +00:00
Spoike
d0e156d4b5 Fixing warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3260 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 18:27:06 +00:00
Spoike
0cf09d8063 Well that was a stupid bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3253 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 16:49:36 +00:00
Spoike
b1ac73b6cb Should help mingl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-09 22:12:29 +00:00
Spoike
eda16ea10f Permit precaching of just an md5anim with no md5model. You'll see a debug wireframe skeleton if you actually try drawing it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3250 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-08 01:17:27 +00:00
Spoike
699104d667 Notify text should no longer be in the middle of the screen.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 20:00:19 +00:00
Spoike
c021324009 Fixed non-square dds images.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3242 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 06:34:07 +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
4767b7215d Blame the monkey.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3238 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 06:09:49 +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
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
Spoike
bd51fb8e9d Fixed unproject to work as originally intended. Rather than just being a steaming pile of poo (it was the matrix inversion routine that was broken).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3219 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-11 21:09:39 +00:00
Spoike
f472410ad2 Fixes the angle clamping issue in q3. The cgame is meant to clamp, not the engine.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3209 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-31 11:46:57 +00:00
Spoike
d010181ff7 Work around for mvdsv's latest incompatibilities.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3207 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-30 23:48:18 +00:00
Spoike
bd22b975d0 Attempt 2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3201 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 11:24:57 +00:00
Spoike
252face9c5 Should fix my breakage of morphos builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3200 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 11:20:21 +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
0afe8f9dc5 Didn't test all targets.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3196 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 10:28:26 +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
80e511ec1e Try and get alsa to start up and work a bit more reliably, an impossible task, I know.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3192 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-20 17:28:15 +00:00
Spoike
88085a1cbc Strip out some dead code
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3191 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-20 17:25:48 +00:00
Lance
4e21d2c88d Blub\0's FTEQCC patch, to fix intrinsics: http://stud4.tuwien.ac.at/~e0725517/patches/fteqcc_fix_intrinsics.diff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3190 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-19 01:54:00 +00:00
Mark Olsen
2decc6d5c8 Please do not try to shut down the video code twice, kthx.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3188 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-10 21:44:13 +00:00
TimeServ
022e1dc76e possible sw linux build fix, add tooltip code (but no tooltip text associated with anything yet)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3185 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-19 10:50:31 +00:00
Spoike
a96b5ee4e9 okay, the cprint builtin I just added will now actually do something useful. ho hum.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3179 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-19 01:02:56 +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
TimeServ
2f6fb049e4 revert splitclient, fte->fteh2 for hexen 2, fix sw console background drawing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3174 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-18 22:55:00 +00:00
TimeServ
5381de8bd5 set splitclients to 1 for q2 sendcmd
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3172 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-18 21:21:27 +00:00
Spoike
b8bd024a1d Tweeked the filesystem some more, now prompts if a game directory could not be found.
Fixed up clipped decals slightly. They should now be usable.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3169 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-12 16:57:30 +00:00
Spoike
aa8ca7c111 Can script some things now, including playername and connecting it to other servers. Though its still a little limited in what it can do.
Scripting does work with both firefox and opera. Don't know about others.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3167 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-10 00:33:02 +00:00
Spoike
1c644b51e7 Fixes a crash with demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3166 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-09 07:19:59 +00:00
Lance
e71b59bf92 Crosscompile all Win32 SDL binaries from Linux with FTE_TARGET=win32_SDL, binaries have been tested alittle and still have bugs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3165 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-08 08:12:29 +00:00
Spoike
9a2ed9307a Quick fix for something that noone noticed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3164 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-07 20:03:25 +00:00
TimeServ
aac9ba3f4f oh hey look i can code without looking at the specs oh wait
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3162 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-07 03:41:24 +00:00
TimeServ
e79171082f sdl wait code possible fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3161 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-07 03:38:08 +00:00
Spoike
e403cebc65 Should be more robust with first-run config execs now.
Multiple download sources can be specified (eg for mod+map). Takes the form "providedfile:urltodownload providedfile:urltodownload". This comes via the browser so relative urls = woot. The old single-url-only path is no longer supported. This is an incompatible change, but we're still young. The unpacking process is still the same, and still only paks/pk3s are extracted. Note that the providedfile is relative to the base dir rather than the game dir. You can specify potential alternate gamedirs.
The QTV file is not mandatory, you can use map="blah" join="blah" stream="0@blah", so long as you set the mime type as: type="application/x-fteplugin". src="someqtvfile" still works, of course (and doesn't mandate the type= field, although that should probably be specified to make life easier on configuring servers to use the correct mime types).
The splash image can be set with: splash="myurlhere". Note that only jpg and png files are supported. This comes via the browser so relative urls = woot.
Game property can take multiple game dirs now, too. First argument is the basic game. If its one of the special ones then FTE is meant to hunt down your prior install for that. If its not recognised then its added as the only game directory. Additional ones are added after (eg: "id1 fortress" adds just id1+fortress while "q1 fortress" adds id1+qw+fte+fortress). Use appropriately.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3160 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-07 01:26:47 +00:00
Lance
f2688e7866 My attempt to get SDL binaries under Linux to compile
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3159 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-06 14:19:29 +00:00
Lance
030e080baa Wrapped sv.state with #ifndef CLIENTONLY to resolve npqtv's compile
error (I hope it's the proper fix, Spike please check if I did the 
right thing):
./client/cl_main.c: In function "Host_Init"
./client/cl_main.c:3708: error: "sv" undeclared (first use in this 
function)
./client/cl_main.c:3708: error: (Each undeclared identifier is reported 
only once


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3158 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-06 05:46:17 +00:00
Spoike
a838650a40 try that
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3155 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-06 01:01:31 +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
6ebabd8d88 GCC-built plugins no longer insta-crash. Go Mozilla! You rule!...
'make npqtv-dbg' works for me.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3152 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-03 07:31:54 +00:00
Spoike
616200895b I blame bigfoot
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3151 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-03 06:36:00 +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
eb6d283806 Does that get past the msvc2008 bug yet?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3140 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-07 05:22:17 +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
75fb5f5398 The different aspects of directx are now activated independently from each other, allowing greater custom build control.
Tweeked win64 options so as not to conflict with 32bit builds.
Win64 builds now with NO_LIBRARIES added. Yes, you need to provide 64bit libraries yourself if you want to use them (dinput/dsound should be part of the directx sdk and are, strictly speaking, not re-distributable). See bothdefs.h for how to activate individual 64bit libs.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3138 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-07 04:37:24 +00:00
Spoike
dad710ee27 Fixes the other IRC plugin crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3137 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-07 03:55:51 +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
99c153199e version console command is now common, instead of client only.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3130 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-22 13:50:17 +00:00
Spoike
eff6909662 Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3129 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-22 13:48:40 +00:00
Spoike
32591b4df6 second attempt at ctrl+enter
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3122 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-08 18:42:41 +00:00
Spoike
40742dcc55 Forgot to commit this. Whoops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3120 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-08 14:29:19 +00:00
Spoike
c8f10aa212 Allow the user to change the protocol used by FTE to connect to itself. Only 'qw' is fully reliable at the moment, and that's the default. Eventually this can be cleared out to default to match the running progs type.
Also made the 'user' command semi-work in NQ.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3118 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-08 04:39:46 +00:00
Mark Olsen
1e02645c08 Caps lock, work!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3116 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-07 00:02:03 +00:00
Spoike
c11da690e1 Fix for player colormaps with NQ protocol.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3114 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-03 00:08:32 +00:00
Spoike
51ec8d2912 trying to make bigfoot happy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3110 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-30 04:42:26 +00:00
Spoike
d3bcc14e5a Should allow bigfoot to aim with the lightning gun.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3109 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-30 04:20:46 +00:00
Spoike
40a24ea7f2 Please insert volume...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3108 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-30 03:54:03 +00:00
Spoike
02b53fc859 When acting as an NQ client, actually send impulses please.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3107 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-30 02:50:01 +00:00
TimeServ
8b658df029 attempted vs2008 compile fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3102 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-18 01:47:48 +00:00
Spoike
4b1032c337 Script particles and d3d renderer will now build again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3099 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-15 04:58:12 +00:00
Spoike
9fc7a20e9c old fixes including for rgb_gen_topcolor in shaders
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3098 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-15 04:56:44 +00:00
Spoike
7f90f66bfc Strip all extensions before trying to add new ones to image file names.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3097 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-14 16:08:57 +00:00
Spoike
45692d1d1e an old new feature which had been on the wrong comp for a while.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3096 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-14 16:07:07 +00:00
Spoike
6e3f69f504 d3d rendering is diabled (framestate, read later - merged will compile just sw+gl for now).
fte particle scripts are disabled (classic works).
I'll fix these in the new year.
Redid framestate stuff again. Slightly better now, but this is the bulk of the changes here.
Reworked the renderqueue to provide batches of items instead of individual items. This cleans up the particle rendering code significantly, and is a step towards multiple concurrent particle systems. fte's scripted particles are broken as I'm trying to find a way to rework them to batch types together, rather than having to restart each batch after each particle when you have two particles in a trail. I'll fix it some time.
Reworked some alias model code regarding skeletal models. Added some conceptual skeletal bone control builtins available to csqc. Currently it can query the bone names and save off animation states, but can't animate - its just not complete.
Added more info to glsl custom shaders.
Updated surface sorting on halflife maps to properly cope with alphaed entities, rather than just texture-based blends (q2-style).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3095 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-23 02:55:20 +00:00
Spoike
493fdd453d Don't crash on string stats.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3092 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-07 00:04:12 +00:00
Spoike
4e1f6daf9f Split cl_nolerp into cl_nolerp and cl_nolerp_netquake. This means that netquake can have a different default. This allows it to be smoother without arcane tweeking.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3084 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-03 02:42:05 +00:00
Spoike
41da9e4655 more stuff broken
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3075 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-01 02:56:32 +00:00
Spoike
6fb100e8b5 more stuff broken
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3071 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-28 20:34:51 +00:00
Mark Olsen
7c4d2a2309 Added #error for invalid C code that SMVC happily compiles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3065 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 16:50:45 +00:00
Mark Olsen
eda9cfded4 Added #error for invalid C code that SMVC happily compiles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3062 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 16:46:30 +00:00
Mark Olsen
fc60c486e8 Marked CL_CheckModelResources() as static. Prototyped the function to make compilation of broken code fail on SMVC too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3061 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 16:43:28 +00:00
Spoike
c41148705c nexuiz support: menu cvar_defstring = #89
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3057 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-12 04:23:13 +00:00
Spoike
498173e878 It has come to light that I suck. This incorporates the fixes already made to sys_linux since my huge commit. Again, these have not been tested. But they are more likely to work properly... As in the syntax errors are fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3056 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-12 04:19:22 +00:00
Mark Olsen
308962afa9 Since this code doesn't even compile, I guess it is fair to assume that it hasn't been tested o:)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3055 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-11 12:20:46 +00:00
Spoike
e8c6d25fe1 Should compile now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-11 10:09:41 +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
a44068f9b4 Slightly better handling of .qtv files.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3038 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-05 02:56:11 +00:00
TimeServ
fcbfb0e22c change registry entry for win32 dedicated for future use
misc sound fix

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3032 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-11 03:39:34 +00:00
Spoike
c29cf3db99 Framerate will be more stable when picking up items/getting shot/etc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3025 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-16 00:19:33 +00:00
TimeServ
d1a489d83f don't do cl_netfps stuff twice in sendcmd
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3014 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-22 11:30:16 +00:00
Molgrum
b115f8998b Don't change the viewheight when the player is dead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3013 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-20 21:44:10 +00:00
TimeServ
5ddfd68b11 q2 workaround
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3010 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-13 02:26:08 +00:00
TimeServ
0adc1e1054 clear colorshifts on disconnect, don't decrease cshifts on gamma change, fix warning
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3009 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-12 23:19:47 +00:00
TimeServ
01d05dc3b6 forgot #ifdef Q2CLIENT around q2 stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3008 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-12 20:49:42 +00:00
TimeServ
3a7d339c38 new cvar cl_sparemsec (you shouldn't have to mess with this really), modified the sendcmd logic so cl_netfps works better and remote connections are a bit more efficient
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3007 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-12 20:47:13 +00:00
Molgrum
d73b9c0735 Minimal client compiles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3005 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-08 20:46:58 +00:00
Molgrum
33140dbf24 Ruleset expanded with ruleset_allow_localvolume. Set to 0 in 'nqr' and 'strict'. Made NET_AdrToString return a non-static pointer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3002 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-08 14:37:57 +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
TimeServ
a631205fe7 added conditional variables for win/linux/sdl, switched sql thread worker to conditional to avoid busy looping, corrected a spikeism
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2991 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-01 05:42:23 +00:00
Molgrum
5d64f13a18 Double precision for gameclock.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2990 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-01 02:42:18 +00:00
Spoike
f63468f1d7 Stat strings will actually be received properly now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2988 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-31 10:33:03 +00:00
Spoike
eafb021179 Fix up scoreboard entry times.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2987 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-31 10:31:47 +00:00
Spoike
9b33803764 Fixed challenged acks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2980 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-26 21:04:42 +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
Spoike
40952dabf4 Let q2bsps work again when they're lacking textures.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2976 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 22:08:29 +00:00
Spoike
3bf676b1bb Improvements for using FTE as a Q2 client. Helps connecting to r1q2 servers (tastyspleen being an example).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2969 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:17:16 +00:00
Spoike
548256dbc5 Was gonna try fixing the 64-bit stuff myself, but mneh. Small coding style improvement (well, more consistent with the rest of the engine anyway).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2968 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:15:49 +00:00
Spoike
413ef694cd Fixed a typo or something in the download menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2967 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:14:17 +00:00
Molgrum
43e55824ba Fix for LG beams end position not being stored when spectating with cl_truelightning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2961 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-17 16:11:42 +00:00
TimeServ
0a03e2bc3b ogg vorbis streams resample change (they don't crash, although 22100->48000 sounds horrible due to problems)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2953 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-11 14:38:19 +00:00
TimeServ
ce5cb75832 this commit will most likely break things: main Z_*/BZ_* calls no longer have zone logic, tagged allocs redone and now partially thread safe (still Sys_Error), code using reallocs should no longer assume new memory is zeroed, minor mysql fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2951 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-09 14:22:37 +00:00
Mark Olsen
74c6f76f50 More bounds checking.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2950 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-01 12:24:20 +00:00
Molgrum
9bda9e9fc1 Don't crash on invalid input in the Microsoft Wave reader. /bigfoot
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2949 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-01 11:59:22 +00:00
Molgrum
5852614cf5 Messed up previous commit...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2948 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-29 22:14:16 +00:00
Molgrum
dfb02eebbf Scan for alternative libasound filenames. http://www.quakeworld.nu/forum/viewtopic.php?pid=37690#p37690
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2947 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-29 22:11:17 +00:00
Molgrum
7235d9f9fc Patch by Bigfoot: spike sucks donkey balls
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2946 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-28 16:14:02 +00:00
TimeServ
1673ca7a7a PROTOCOL_VERSION to PROTOCOL_VERSION_QW to resolve a future header conflict
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2940 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-12 23:24:19 +00:00
Molgrum
ece33d0b2a Debug printout.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2939 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-03-29 07:10:21 +00:00
Spoike
f82d20e078 Implemented fromwad in precache_pic as per csqc specification.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2937 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-03-11 13:36:18 +00:00
Spoike
9a59674c19 helps if we clear the right buffer. This is clearly pointless as it took so long to be noticed, but lets do it anyway.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2935 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-03-02 10:20:25 +00:00
Molgrum
caf84feda8 Fix to the previous commit: Also toggle the console if it's down
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2933 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-23 09:52:55 +00:00
Molgrum
f312748879 Close the menu when a demo is selected.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2932 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-22 22:57:28 +00:00
Molgrum
a066b43bf9 show_*_* < 0 now works.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2931 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-22 22:43:34 +00:00
Lance
0ab09daa6e Fix to plugin system and image loading, Space Invaders plugin works
again.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2928 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-19 12:36:51 +00:00
Spoike
333339782b The renderer code actually listens to the video code failing again.
Also added an extra attempt to try 640*480 before giving up and reverting to console.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2925 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-16 03:40:32 +00:00
Mark Olsen
e136f38f63 Newline after that error message, please.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2923 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-14 12:46:11 +00:00
Lance
4f755cf39e Changed the downloadables.txt source from the old sf.net site, to the
fteqw.com domain.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2920 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-13 07:57:42 +00:00
Molgrum
00cd20b9a6 Use MAX_QPATH instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2907 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-05 00:31:34 +00:00
Spoike
20cc7dc9f5 Updated the menu_demo code. The list is now sorted. Miscellaneous paths from pk3 files are not shown any more either.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2906 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-05 00:19:57 +00:00
Spoike
28351eb001 Don't flood the client with packets if its not really ready to receive them yet.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2905 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-04 23:41:04 +00:00
Lance
12d0492566 Silly mistake, made the directx9 option select the d3d7 renderer by
mistake.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2903 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-02 15:52:14 +00:00
Lance
4ffbf6fe06 Fix to r2901 hopefully, if it isn't, revert back to r2900
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2902 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-02 15:46:14 +00:00
Lance
5cbcec8283 DirectX7 menu option fixed to select the d3d7 renderer, and DirectX9
menu option to select the d3d9 renderer.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2901 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-02 15:16:16 +00:00
TimeServ
dd4e46f220 fix to PCX loading (Spike made a typo)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2899 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-02 07:14:56 +00:00
Molgrum
1e64dfd76d Patch from Spike. Two new ruleset cvars, one that prevents custom eyes models, one that prevents custom skins on packs/eyes (this doesn't work yet, needs fix).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2898 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-01 15:21:14 +00:00
Spoike
59ca1f6cee FTE works on nq servers again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2889 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-30 22:04:38 +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
Molgrum
072933be96 mingl compiles again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2887 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-30 09:42:00 +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
Spoike
266906ec55 Fixes molgrums skin bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2884 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-28 23:03:42 +00:00
Mark Olsen
83d23423ab characture -> character
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2882 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-28 13:27:30 +00:00
Mark Olsen
0aa29e47e7 Endian bugs suck; CSQC now works on big endian systems.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2881 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-27 13:52:54 +00:00
Spoike
2801b70dd2 Attempts to fix the quad/pent glows not appearing on bots (normal style). More changes than strictly necessary to clean up combined gl_flashblend and r_dynamic usage.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2877 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-24 01:24:10 +00:00
Spoike
ed953da8ed Fixes the own-lightning not updating after spectating bug molgrum moaned about ages ago.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2876 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 21:05:18 +00:00
Spoike
10577d2e95 Fixes the enemy skin on team mates bug molgrum moaned at me about
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2875 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 21:04:16 +00:00
Spoike
433ade6f5c Updated the pcx loader(s), to ensure that min offsets are handled correctly and consistently.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2873 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 01:41:25 +00:00
Spoike
18ee105ed5 Make playqtv slightly more robust. Only slightly. There really should be a better fix for this.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2872 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 01:36:51 +00:00
Molgrum
004ffebb66 Patch from Spike to toggle impulse-queueing. Only Hexn 2 would require this to be 1.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2867 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-22 17:00:05 +00:00
Molgrum
8a7f755c72 Changed name of ruleset to 'nqr'. Allowed playercount in 'nqr'.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2866 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-21 08:41:59 +00:00
Spoike
cc14795cba Model clamping finally implemented. Please test :)
Moved the call to PreNewMap to a bit earlier.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2864 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-19 05:59:00 +00:00
TimeServ
ae54e4712f surround netquake stuff around NQPROT defines so minimal GL can build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2863 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-16 06:36:24 +00:00
TimeServ
d46a2ca5d5 remove GL_Smoothfont_Callback in reinit
set gl_smoothfont as CVAR_RENDERERCALLBACK

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2862 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-16 04:57:44 +00:00
Spoike
4dcbbf5054 Fixed bugs regarding reading the pcx file format for player skins.
Fixed a bug in the colour-mapping code regarding player skins with sizes smaller than the player's model's skin, and optimised the uploaded image size when small skins are used.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2860 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-16 03:19:14 +00:00
Molgrum
28a7f7165e More consistent archiving.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2858 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-15 19:24: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
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
776faf1bc4 Added initial support for eztv extensions. This is the bulk of the changes. Downloading isn't implemented yet though. Also fixed some demo playback sbar stats, and fixed NQ demo playback.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2852 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:52:31 +00:00
Spoike
e7b74777f3 Small fix for d3d-only binaries.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2851 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:40:23 +00:00
Spoike
aeef86dc62 New cvar, vid_preservegamma. Set it to 0 to obliterate your old gamma settings when you leave FTE. This mimics the use of quake3 to reset your gamma settings should FTE crash on you. The default is to restore gamma settings to how they were when you first loaded FTE, the same as before. You can now use FTE to reset your gamma if FTE crashed and broke it. Only applies to the windows version so far.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2850 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:37:17 +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
Spoike
2c1bb8ea73 Link engine viewmodels if the specified draw mask is specified. This matches DarkPlaces behaviour, but can result in a bit of wierdness for existing fte-specific mods. This greatly simplifies the addition of viewmodels in csqc (although it was possible before, bigfoot!)
I apologise if you get bitten by the behaviour change. r_drawviewmodel 0 will mimic the old behaviour.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2846 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:27:59 +00:00
Spoike
35176c44b3 Finally fixed lightning beam origins for spectated players.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2845 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:22:13 +00:00
Spoike
88c32fb291 The ultra-lazy guaranteed-to-work solution to static beams.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2844 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-08 23:34:41 +00:00
TimeServ
16caf0e1da added another thread call and fixed up some thread creation logic
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2834 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 20:05:49 +00:00
Molgrum
776980a491 Changed sound cvars, backwards compability using the name2-field.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2833 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 19:01:43 +00:00
Molgrum
69ca88da5c Basic ezQuake color code stripping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2832 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 19:00:48 +00:00
TimeServ
a6617581c8 thread creation/mutex stubs, code is probably wrong but everything is surronded by #define MULTITHREAD so shouldn't break anything
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2831 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 00:09:34 +00:00
Mark Olsen
fa9ffe86b4 thier -> their
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2818 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-23 20:28:40 +00:00
Molgrum
e855f380cd New default rate by Spike.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2817 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-18 16:05:02 +00:00
Spoike
7c312dc581 Small code clean up.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2816 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-15 18:51:34 +00:00
Spoike
5bfa1829d6 a qtvplay bug fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2815 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-15 18:45:40 +00:00
Spoike
9d5b7f8d63 d3d renderers actually render stuff now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2814 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-15 17:16:01 +00:00
Spoike
81b91a422d Fixed a couple of qtvplay bugs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2811 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-12 11:04:04 +00:00
Lance
c413839e56 A proper fix for the setjmp bug converning non-jpeg's being passed to
the jpeg library, for the "Bad 
number of componants in jpeg" console print.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2804 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-03 15:11:13 +00:00
Spoike
c77d0a981a Fixed qtvplay, added a workaround for eztv proxies.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2799 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-01 05:55:44 +00:00
Molgrum
925987dfbe Security measures to prevent cheating with instant-join.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2795 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-23 18:27:30 +00:00
Molgrum
51bb724964 Fixed faulty logic regarding allow_luma. Added a rule to allow everything when you're spectating.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2793 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-23 14:15:27 +00:00
Molgrum
dbb78b3825 Spike's fix to prevent a crash due to particles being loaded before the map.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2792 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-22 17:08:18 +00:00
Molgrum
b56789be74 Set D3D9 as the D3D default renderer, just so it compiles for now and to see the bugs in the rendering. Plans are to fall back on D3D7 if it cannot find D3D9.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2780 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-06 16:31:38 +00:00
Molgrum
f4eca4b936 Spectating is a bit more pleasant now that you can see a difference between the teams...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2777 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-03 15:09:12 +00:00
Molgrum
3b1ac20640 s/componants/components + missing newline.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2767 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-29 06:06:20 +00:00
TimeServ
4761de632a small fix to q2 model code
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2761 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-24 02:10:38 +00:00
Mark Olsen
c99fd300a5 Cosmetics.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2752 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-20 15:53:39 +00:00
Molgrum
47c305e852 Stripped the X11 header out from the Mac OS X target.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2750 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-19 18:31:23 +00:00
Spoike
5993f78949 fixed a minor quirk where it was checking if the sound card supports 8bit audio when its trying to use 16bit audio instead - blame alsa for this ever being noticed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2748 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-16 21:52:55 +00:00
Molgrum
af06d6e6f8 s/challange/challenge :)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2747 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-15 01:49:28 +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
Molgrum
d598dbbe64 Naming standard being followed: DP_QC_BOTCLIENT -> DP_SV_BOTCLIENT
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2743 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-14 01:52:42 +00:00
Lance
b211170f9c mingw32 crosscompiling: libjpeg, libpng and zlib support added.
Speedburst/Speedhack/Z-Fighting/libjpeg/conback etc problems resolved within 
mingwcross compiled binaries with removal of -O6 and -funroll-loops optimizations. 
Added static libraries and headers to their own directory: 
libjpeg, libpng, zlib and libogg (ogg support not ready)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2740 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-12 10:27:51 +00:00
Molgrum
880be49f9a Cygwin now builds. Fixed warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2737 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-11 14:47:11 +00:00
Molgrum
0b046e2f5e s/possabilities/possibilities, sv_displaypossabilities has changed name.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2727 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-08 12:56:17 +00:00
TimeServ
f2bc3029f8 small fix to quake 2 model loading
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2725 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-06 21:05:06 +00:00
Molgrum
82fcde59e1 Cleanup. Fixed the last warnings in GLDebug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2719 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 19:10:43 +00:00
Molgrum
0f02f12b8b s/compatable/compatible (take notice that sv_compatablehulls will have a changed name too)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2717 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 18:08:47 +00:00
Molgrum
379efc8376 s/thier/their
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2716 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 17:43:26 +00:00
Spoike
f9277a9e74 Made minimal builds compile again, hopefully.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2712 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 14:11:17 +00:00
Molgrum
882132f765 Basic team overlay. TODO: Tabs for formatting. Translate $5 and similar macros in loc names.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2710 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 11:45:18 +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
93ea2511c3 Fix a crash that happens with a too long uptime.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2701 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-03 09:09:08 +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
c52dd5c291 Spelling :(
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2698 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-02 15:56:16 +00:00
Spoike
c54e656470 Fixes molgrum's crash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2695 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-27 10:48:16 +00:00
Mark Olsen
1a504ba342 Build with GCC<4 again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2690 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 22:08:55 +00:00
Spoike
e59d02ed52 We now have a really crappy gl renderer for macosx.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2689 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 22:00:19 +00:00
Mark Olsen
faac72835c SP_#? -> CON_#?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2686 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 15:28:06 +00:00
Mark Olsen
b97f2c5d69 No more HandlePause crap.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2685 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 15:20:46 +00:00
Mark Olsen
6f0d7dc679 Protection against multiple inclusion.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2684 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 15:05:42 +00:00
Mark Olsen
7bbd3c539d Fixing some fallout from Spike's commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2678 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 22:43:05 +00:00
Spoike
d5cfe54913 more consistant behaviour
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2675 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 22:10:08 +00:00
Spoike
f596fce114 minor cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2674 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 22:09:42 +00:00
Mark Olsen
f9b3c08f96 Fixed some poor spelling.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2673 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 19:31:01 +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
Molgrum
5e61d7f952 Don't do #warning on MSVS crap compilers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2668 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 18:16:59 +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
Molgrum
128aac08bc Fixed b_switch and w_switch to be stripped out of ezscript. Diverse cleanup.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2665 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-21 11:15:12 +00:00
Molgrum
9893099eb6 Fixed errors and warnings from the last commits.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2663 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-18 01:08:49 +00:00
Spoike
9af1ba84cc A few things... f_ruleset stuff, 64bit qvm compatability, added cvars so you can put the built in http server on a custom port, added #warnings to annoy molgrum.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2659 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-17 20:35:39 +00:00
TimeServ
13eeec99a2 removed gl_loadmd2/gl_loadmd3, added r_replacemodels, r_particlesdesc is now separated by spaces and ;
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2658 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-13 22:27:56 +00:00
Mark Olsen
9b519c10f8 Added copyright header.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2644 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-09 14:28:59 +00:00
Molgrum
2b3dbb3d15 Forgot some files.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2639 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-06 23:25:14 +00:00
Spoike
dc3e0d5872 Added support for q1-like qvms (mvdsv style). only tested with ktx so disabled by default for now, couple of related cleanups too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2633 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-02 19:55:17 +00:00
TimeServ
c0b1291df8 fix for getstatf with 2 params
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2628 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-01 02:09:54 +00:00
Spoike
d33ea9a76b So we can steal ezquake's fragstats files without warnings appearing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2618 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-30 18:23:57 +00:00
Molgrum
324c93ff10 Made an error message more verbose.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2617 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-30 02:58:45 +00:00
Molgrum
e5357ebc09 Some more strcat-replacements i forgot.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2616 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-30 02:31:47 +00:00
Molgrum
70c4b63f61 Changed some of the strcat to Q_strncatz, might have solved a crash I frequently got before but not since these modifications.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2615 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-30 02:15:25 +00:00
Molgrum
6afef2b2f0 Fixed a warning, but the names of the stuff I added are only suggestions so you might want to tweak them.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2614 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-30 02:05:50 +00:00
Spoike
d7dbd4bb21 Shortened the ruleset sound length to 10 secs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2611 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-24 17:40:31 +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
Molgrum
a3a5828300 Added gl_loadmd2 and gl_loadmd3 to the FPS presets. Just suggestions, change it to whatever pleases you.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2609 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-23 01:09:10 +00:00
TimeServ
fe5efe8b0b fix minimal builds and d3d build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2608 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-22 22:41:41 +00:00
TimeServ
1fbe5d1755 fixed up rcon a bit more, fixed merge build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2606 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-22 16:52:13 +00:00
Molgrum
8fcb33d00e MAJOR MAJOR MAJOR cleanup in renderer.c, see if you like it. Added gl_loadmd3 and gl_loadmd2 cvars, set to 1 as default for consistency.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2605 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-21 22:41:15 +00:00
Molgrum
bb7975a47a Fixed an error that I caused. Modified the rcon-command so you can write "rcon <password> cmd" without needing to set rcon_password every time.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2603 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-21 17:16:52 +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
0a463a7413 This was not supposed to be commented!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2599 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-20 02:41:34 +00:00