Commit Graph

76 Commits

Author SHA1 Message Date
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 91da30299d Whoops, this fixes up the path.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3274 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:11:31 +00:00
Spoike f2cce499f6 Multiple minor cleanups. Chunks of dead code removed.
Added com_parseutf8.
Z_EXT_VWEAP is supposedly supported serverside, but not clientside. It is not advertised, and not used, yet.
Fixed csqc mouse issues in linux, supposedly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3226 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-21 17:45:33 +00:00
Lance 691f57ee80 Changed path to a SDL header, only affects mingw32 + SDL
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3212 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-07 13:25:02 +00:00
Lance a028aca503 r3120 take 2. Applied a parentwindow fix to the Windows SDL binary, now exits gracefully instead of a crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3211 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-03 09:13:55 +00:00
Lance 183461a428 Crossbuilt MinGW32 SDL binaries working again, applied a parentwindow
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3210 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-03 09:09:35 +00:00
Spoike f3970ede24 Hopefully fixes the recent +gamedir failures.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3208 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-30 23:54:41 +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 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 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
Spoike c3300cb0f7 Fix non-win32 builds again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3170 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-13 12:54:18 +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 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
Spoike 2adb420a6d Reworked the console/loading screen a little. The console is no longer directly shown at startup. MSVC2005 project files update for npqtv.
Added vid_wndalpha to make the window transparent (only supported in GL-win32).
Multiple issues with SW rendering, which I'll fix eventually. It does at least run, even if it looks ugly.
Plugins are now able to read the console input. Bigfoot, feel free to tweek.
Fixed up a few mismatched prototypes.

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

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-01 22:03:56 +00:00
Spoike 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 29e4982454 Fix for bigfoot with his weird trailing slash in his $HOME.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3115 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-03 00:12:50 +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 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
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
TimeServ e33bd0bff1 dynamically load CheckTokenMembership
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3012 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-13 07:24:11 +00:00
TimeServ 51989fe5f6 added better home dir detect with windows, use home dir by default on unix and Vista+, with 2000/XP/2003 use home dir by default when on a network or not an administrator
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3011 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-13 05:03:54 +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 073a9b9056 fs_cache works properly again now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2963 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:06:37 +00:00
Lance fe4d6a80da Fix for ZIP code in engine, incorrectly reporting Zip Error for .PK3's
which were fine.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2921 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-13 14:09:02 +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
Spoike e00f927c48 Report EOF only on eof, rather than if the user requested to fill a buffer that was already empty.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2849 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:33:06 +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
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
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
Molgrum a5e528fe60 Fix a declaration-warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2598 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-20 02:24:43 +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
Spoike dcec305bd9 Fixed Ogg support a bit. Enhanced DarkPlaces/Nuxuiz compatability. Fixed a couple other minor bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2519 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-20 00:02:54 +00:00
Spoike a0c7a347df Should fix some gcc 64bit issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2450 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-12-26 18:21:22 +00:00
Spoike b4cb2a66b6 Compiles in cygwin's mingw environment: make FTE_TARGET=win32
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2399 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-05 21:59:43 +00:00
TimeServ b67a5991dc sound resampling rehash, added snd_linearsample_stream, 1 will use linear resampling with RoQ/CIN playback (ogg resampling fix not there yet), defaults to 0
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2311 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-04 01:43:52 +00:00
TimeServ f0a60a1471 don't use va() within FS_Rename, fix logging logic, fix return values with morphos call
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2239 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-05 05:28:56 +00:00
Spoike f2a3436e6c Fixed the filesystem support for doom wads.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2151 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-02 23:49:06 +00:00
Spoike ea14d7facc If someone tries seeking in a compressed file, don't flush and redecompress, just copy it to a temp file instead and work from there (this is primarily for roq files like the one from q3f).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2121 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-15 20:05:25 +00:00
TimeServ 7140498c43 keep paths consistent
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2083 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 05:14:56 +00:00
TimeServ f9ea81d7cf fix to FS_OpenVFS with skins
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2082 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 05:12:33 +00:00
Spoike aeea639fc2 Filename security paranoia. Added a glsl extension to the shader system. using serverinfo, you can enable shaders without cheats now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2079 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 03:12:10 +00:00
Spoike 2046931e26 gameclock, roq/avis can play on shaders (sound is wrong though, so that's fine with avis!), snprintf changes (this is the bulk), up2's mcharset
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-06 01:41:09 +00:00
Spoike d27d3c5b6d Less warnings (none at the gcc-default warning level)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2046 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-04 20:43:48 +00:00
Mark Olsen 338d6a53ed If my memory doesn't fail me, this makes Q3 pak file contents case insentitive and thus makes Q3 map loading work
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2045 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-04 16:52:57 +00:00
Spoike 12c3b6b96e Paranoia.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2009 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 23:47:08 +00:00
TimeServ df16aa1400 fix Sys_Error with jpeg screenshots, standardize console warning/error/notice colors
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1984 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 01:24:22 +00:00
Spoike 6430b9b214 added a macro for specifying all the cvar properties. This will simplify stuff for Q2.
Also added trace_endcontents and trace_surfaceflags.
File system (still too selectivly) reads gz files.
Fixed a buffer overflow in the http client.
Made server downloads decompress zipped files to a temporary file. This should make it download them faster.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1943 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 02:09:43 +00:00
Spoike cf73c8b81e Copyable console, and up2's demand for aliases like fuhquake.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1935 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-06 01:06:17 +00:00