Commit graph

1347 commits

Author SHA1 Message Date
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
Molgrum
71076ab1ca Made D3D compile, check this and rearrange however you like. Removed "gammaworks", copied GL_RoundDimensions and modded it for D3D (ugly, fix this), removed GetPalette and D_FlushCaches from vid_d3d9.c since it's already declared in vid_d3d.c, inserted vid_gamma (and I have no idea what this is good for, it seems it could just as well be a #define).
Happy time!

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2597 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-20 02:23:53 +00:00
Molgrum
11588468c7 Fixed warnings related to passing (char **) when (const char **) is excpected, just casting.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2596 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-20 02:13:51 +00:00
Molgrum
8b45b55143 Killed a warning here, I assume that Mod_GetTag is _never_ null.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2595 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-20 00:53:55 +00:00
Molgrum
d1907666fb Moved declaration of COM_FileSize to common.h to fix warnings. Fixed one GCC warning in pr_cmds.c, added one ifdef in gl_alias.c
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2594 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-18 02:46:10 +00:00
Molgrum
f5c9311935 Added pm_pground by Tonik, just some copy/paste, hope nothing broke :P
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2590 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-14 17:07:40 +00:00
TimeServ
03ce73bb55 fix rare error condition with downloads under DP protocol
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2587 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-08 03:02:36 +00:00
Molgrum
cf1a12ee11 Trying to fix the remaining warnings. Is this correct? Builds that now compiles with no warnings in VS 2005: Debug, Debug Dedicated Server and GLDebug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-08 02:37:59 +00:00
Molgrum
2dfb03ee03 Fixed 1000 warnings, changed switch-statements to handle all enumerations. Sorted it up abit too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2585 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 19:16:32 +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
TimeServ
10045b4dcf add MENU_DAT defines
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2582 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 16:30:49 +00:00
Molgrum
273dedc28c Added endifs, moved log.c declarations to common.h but kept SV_LogPlayer in server.h (is this ugly? probably)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2579 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 14:41:23 +00:00
Spoike
eadc9f6d6a Removed an extra semicolon, a minor cleanup... very minor.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2578 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 10:08:29 +00:00
Molgrum
8dfe7e4656 Fix this warning once and for all.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2577 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 03:51:00 +00:00
Molgrum
4ddcb057ac Fixed 2 warnings. I added #include <float.h> to quakedef.h which I hope is fine, and the fix should be fina as well.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2576 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 00:30:25 +00:00
Molgrum
1675ef566e Fixed more warnings, not so many left now. Needs lookie as usual!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2575 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 00:11:21 +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
869f6535d4 Ah, whoops\!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2572 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-06 14:26:40 +00:00
Spoike
eb94fb00d6 Should fix beam bug
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2571 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-06 14:22:58 +00:00
Molgrum
275a3fdc63 Bigfoot was right, hope this fix works.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2570 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-05 01:21:18 +00:00
Molgrum
f94c5290c5 Added some functions from cl_cam.c to reduce warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2568 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-04 14:35:22 +00:00
Molgrum
4c4f8d991f Fixed scr_autoid: Don't draw it for the local player, tracked player and dead players.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2567 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-04 14:13:50 +00:00
Spoike
7b4f6508b9 A few changes, I hope it makes people very happy
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2555 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-27 21:24:31 +00:00