Commit Graph

216 Commits

Author SHA1 Message Date
Spoike e9de58cf6a couple of compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4130 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-14 11:20:14 +00:00
Spoike cac1e0fb57 Unified input subsystems. Should now all act the same.
_windowed_mouse 0 on windows is basically identical to mono-touch on android, at least the touchless emulator. :)
This needs testing on other platforms. Committing so I can easily get my source onto loonix.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4126 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-14 09:00:49 +00:00
Spoike c6c3d3f4e0 Trimmed some dead files.
Quick hack preliminary d3d11 renderer. I'm not likely to touch this again for quite some time.
Sys_Error works properly on android, with an error message shown. Should be less of a stab in the dark if you get errors. Seg faults are still instantly fatal. Not much I can reliably do about those - most of the juicy ones will likely occur within the gl drivers (even if its my fault) and java will still call in to it.
Stereoscopic (quad-buffered) rendering is in the gl renderer. You'll likely need a quatro to use it despite it being a gl 1.0 feature. No idea about ati. See r_stereo_method for non-quad-buffered alternatives.
Tweaked networking to not overflow so much. Needs testing against other qw clients.
Fixed an issue with surface numbers > 32k on limit-breaking maps.
Fixed a preparse issue resulting in QW clients dying with the ne_ruins map's progs.
Support for the DP-variant of BSP2. The depricated RMQ variant is still supported.
QTV proxy now uses ipv6 hybrid sockets where possible. Preliminary pext support.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4105 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-09-30 05:52:03 +00:00
Spoike d44b546b10 misc compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4103 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-08-04 12:27:24 +00:00
Spoike 65fb47c9f6 Android isn't really failing. Lets fix up the makefile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4089 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-21 07:36:26 +00:00
Spoike 8ae45223dc Android: fat presses, vibrator, onscreen keyboard, keep-screen-on, console scaling, touch-based console scrolling, additional bindables.
Some memory leaks fixed.
latency with the nq protocol over loopback is much reduced.
Terrain: now mostly a property of a (q1 for now) bsp map, file format changed, glsl now built in, terrain editor builtin improved/changed, holes supported.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4067 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 16:25:18 +00:00
Lance 46d38af14e Fix for Android under buildbot
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4048 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-11 04:44:18 +00:00
Lance 376324eacf Fixed Win64 SDL abit, and tweaked Android to work better with buildbot
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4046 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-11 01:20:36 +00:00
Lance 768b58b9ec Fixed MorphOS dedicated server to include some important headers
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4041 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 15:39:23 +00:00
Mark Olsen 05782350c4 Define __MORPHOS_SHAREDLIBS on MorphOS by default. FTE for MorphOS now requires MorphOS 2.0+.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4040 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 13:01:02 +00:00
Spoike 25ef3f02db Couple of bugs fixed - other-player prediction, net_preparse crashes, q2 gamecode no longer crashes.
Throttle getstatus requests (so we don't end up being used for udp escilation (d)dos attacks so usefully/expensively).
Added cl_predict_players_frac. vanilla QW effectively had a hardcoded value of 0.5.
Added simple fps preset menu, which keeps on appearing until they actually pick one. mwahaha.
Quit menu offers to save settings if some CVAR_ARCHIVE cvar was changed.
alias models do vertex blending on the gpu.
GL renderer now uses vao when available.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4031 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-24 07:59:11 +00:00
Spoike ffb3ddcbb8 compile fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4016 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-16 12:19:15 +00:00
Spoike 161f9e46b1 forgot to add that to the makefile
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4014 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-10 10:51:52 +00:00
Spoike 82542ae037 Committing this before I break it any more.
Massive terrain system rewrite.
Added a Native Client port (sound is stereo 44khz only, rendering is gles2, networking is websockets only (sv_port_tcp supports acting as a qw websockets server with non-nacl servers, filesystem is downloads-only - no saves/configs). Blame Zalon. Grr.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4013 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-09 19:12:12 +00:00
Lance 47b0283d10 Enabled BOTLIB (-DBOTLIB), and added it to virtually every target possible (except NPFTE and MinGL) which don't have a dedicated server. Let's see what we break...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4011 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-25 11:30:07 +00:00
Lance bc8ee99e3a Added botlib (BOTLIB_OBJS) but not enabled.
botlib errors when enabled: http://pastebin.com/YfQfeEB3

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4010 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-25 11:15:37 +00:00
Spoike 4149c85ab6 tweeks and changes for android.
audio mixer revamped to cope with threads. 'cache' memory functions no longer used for audio.
added windows acm code to decode mp3 files.
audio playback rates scale with game speed. snd_playbackrate added to control the rate of new samples.
sv_gamespeed no longer needs a map change.
fixed '=' on german keymaps and in_builtinkeymap 0 (and similar issues). bug: keybind names still use US keymap.
added support for rmqe's 24bit network precision.
fixed byterate reporting to no longer be protocol-dependant (nq rates are no longer wildly inaccurate).
removed waterjumping when already dead.
fixed model matrix for viewmodels (modelview unchanged), thus fixing rtlighting on viewmodels.
Added bspx support for rgblighting, lightingdir, and (preliminary)brushlists.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4001 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-27 12:23:15 +00:00
Spoike 121c693a13 use SDK level 8's tools and java classes, in order to support additional features (app-on-sd and multitouch). Should still run on droid 1.6+.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3971 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-02 04:19:24 +00:00
Spoike 44530bac44 And I suck too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3968 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-28 10:40:09 +00:00
Spoike 6cb98092de gmake sucks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3967 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-28 10:33:48 +00:00
Spoike 4496bb6ea0 Removed limit on strcat builtin's length.
Fixed issues with DP7 protocol.
Fixed .fatness.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3965 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-28 10:30:44 +00:00
Spoike fb214142a3 tcpconnect fixes
lots of hexen2 fixes
fixed clipped decals again, still not using any...
fixed zips over 2g
rewrote bloom to use glsl. should be slightly more usable now.
lots more hexen2 fixes

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3957 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-17 07:57:46 +00:00
Spoike 5651e77c30 Android fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3956 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-16 06:22:06 +00:00
Spoike 5ac53bf18c Added android signing rules.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3952 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-02 15:32:08 +00:00
Spoike d017f98870 thought I'd changed that. also, cygwin sucks, I just want to say that despite it having nothing to do with this actual commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3948 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 13:11:35 +00:00
Spoike 1e621416ce added support for ambient/diffuse/specular scale properties on rtlights.
attempting to fix up the avi code for mingw weirdness.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3947 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 11:22:24 +00:00
Spoike 1693ba6c58 revamped fog to use glsl. shouldn't harm framerate quite so much.
tweeked d3d renderer. certain shader constructs might be broken now so don't try q3 with it, but framerates are up when playing quake.
tweeked gl rendering too, timedemo results seem a little higher also.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3933 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-23 03:12:29 +00:00
Spoike 34f05c9aeb I shoulda modified the makefile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3928 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-06 00:35:24 +00:00
Spoike b91b32cd38 Just breaking stuff, trying to get axfte stuff working.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3916 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-29 19:01:33 +00:00
Lance 18179bcf48 .cpp handling in makefile added, lowercase'd an include file in sys_axfte
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3915 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-29 04:06:49 +00:00
Lance 39bb4fff81 sys_npqtv.o renamed to sys_npfte.o
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3913 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-28 17:46:38 +00:00
Spoike f33873ddb7 committing for fixes for OMC
some minor changes. Mostly bug fixes and internal reorganisation.
Added code to provide an activex control as part of the npfte.dll plugin. If the dll is registered the regsvr32 way, the plugin can be used with IE as well.
fisheye/panoramic view enable is now controlled by rulesets instead of serverinfo.
server will list all pak files it has loaded. client will probably do the wrong thing and still needs fixing properly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3910 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-27 16:16:29 +00:00
Lance 06d954479b npfte target now creates npfte.crx for Google Chrome
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3906 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-03 05:56:36 +00:00
Spoike 8d2cc63faf Audio support for droid. No idea how the latencies are. Probably terrible.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3903 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-09-22 15:57:16 +00:00
Spoike 4b27934867 Basic Android support. Icon resources still need to be replaced. No sound, no accelerometer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3901 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-09-16 05:56:54 +00:00
Spoike 5a7f34bd50 Couple of tweeks, breakages, and fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3898 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-09-05 01:48:23 +00:00
Lance c4c3c3f318 Mac OS X crosscompile target fixed, finally
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3864 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-09 09:43:49 +00:00
Lance 8bc858ec94 Fixed -rdynamic detection, linux will default to linux not mingw32 when FTE_TARGET isn't specified, SDL merged and SDL d3d client support for laughs, fix my typo $(BITS) not ($BITS), more accurate regexp, possibly fix macosx speex header issue
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3860 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 19:43:49 +00:00
Lance 94debdcaf3 Win64 mingl filename fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3856 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 16:27:10 +00:00
Lance 7336070ab5 Let's hope it's correct now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3855 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 11:33:26 +00:00
Lance 88c9027cbb Speex fix for Mac OS X
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3854 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 10:57:35 +00:00
Lance 8dd6cca23e Use 64bit zlib with native 64bit, not 32bit zlib
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3853 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 10:54:51 +00:00
Lance 3b3d3fed48 Regexp tweak
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3852 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 10:38:56 +00:00
Lance a5d270b27f Combined duplicate windows entries, and more other fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3851 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 09:17:23 +00:00
Lance 2fd61d78ba Makefile fix, debugging symbols are back
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3850 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 05:12:03 +00:00
Lance f870305702 Removed -rdynamic from MinGW targets, others are compile fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3842 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-01 07:27:38 +00:00
Spoike 78d4632097 Added -dumpstack option to catch fatal signals for stacktrace dumping. Writes to both stderr and a crash.log in the WORKING directory. Admins are expected to email a copy or something to an FTE dev, then delete it. Clients connecting will be notified, but unable to obtain actual details via quake.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3813 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-06 01:41:33 +00:00
Lance 323e267ba4 Fix MinGW merged and d3d-only client
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3768 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-01 12:52:58 +00:00
TimeServ cdb6dccb97 remove bulleten support, rename vidgles -> videgl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3756 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-24 14:35:24 +00:00
Spoike fcb7dbd04b Cleanups, wine fixes, generic stuff, added makefile directive for use of gccs -combine option.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3753 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-12 13:51:40 +00:00
Lance cb7269fddc MinGW built Windows 32bit & 64bit compiling again (SDL too)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3750 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-09 03:40:17 +00:00
TimeServ 85fc11e682 trash assembly, old d3d renderers (d3d7/d3d9/fakegl), projects and makefile broken in this commit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3742 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-03 12:57:34 +00:00
Spoike d7b9d1019a fix makefiles for the recent d3 proc hack
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3737 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-02-27 02:04:36 +00:00
Spoike 4fb854e261 Fix a couple of things I noticed while playing in linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3727 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-29 19:53:38 +00:00
Lance b3278577bb Let's not try to build merged clients for every OS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3725 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-28 09:56:45 +00:00
Lance 65138b6212 win32 and win64 now have a working d3d- target, win32_SDL has support in place to compile merged client (d3d+gl), also the d3d only client.. but both have undefined references to things in_win has and in_sdl doesn't etc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3724 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-28 08:35:19 +00:00
Lance 6942e100d3 Version prints if d3d renderer is available, the video menu now sets "d3d" instead of invalid "d3d9" when selecting the D3D renderer, fixes to the Makefile so win32's m-rel will compile with gl+d3d, win32_SDL+win64+win64_SDL need alittle work still to compile, win32 d3d-rel/dbg still needs alittle work to compile
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3723 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-28 05:39:40 +00:00
Lance 8b74b55034 Enable D3D renderer in windows merged clients, some other small fixes to help MinGW get closer to compiling the D3D renderer (things are undefined)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3722 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-28 05:06:20 +00:00
Lance 610e66b431 MacOSX and MorphOS header sources added
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3699 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-16 03:25:37 +00:00
Lance f71ac0220e FTE_TARGET=win64_SDL added. SDL updated from 1.2.13->1.2.14 (Better Win7 compatibility), also 64bit SDL static libs added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3693 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-10 13:41:31 +00:00
Lance d39ca9ac2f Fixed MorphOS dedicated server
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3690 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-09 07:37:22 +00:00
Lance 28321ce9c9 Speex support in MorphOS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3689 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-09 03:52:48 +00:00
Lance 6a0549acc1 FTE_TARGET=win64 (thanks to MinGW64), 64bit MinGW64 static libs, and fix for undefined references to vsnprintf within qclib when using MinGW64
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3688 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-08 14:42:05 +00:00
Lance 85c2d8afae Compile OpenAL into all builds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3687 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-07 13:19:19 +00:00
Lance 649aafac33 Hand edited MSVC project files yay, fix for speex header issue
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3669 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-24 02:54:28 +00:00
Lance 4d145039d2 Fixed some problems with targets not compiling, SDL being compiled into
non-SDL builds etc


git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3664 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-18 06:44:46 +00:00
Lance 6edfa34c98 #3662 didn't work as I expected, let's try the system's headers first
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3663 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-17 03:42:08 +00:00
Lance 956da68bda SDL fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3662 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-17 03:10:34 +00:00
Spoike 1cf4aed554 Those haven't been needed in a long time, and small fix for my last commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3657 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-15 02:45:59 +00:00
Lance e6ccb2c84f Use MinGW specific Zlib library with MinGW compiled dedicated server
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 15:07:15 +00:00
Spoike 3e9fd517c3 Compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3630 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 03:58:09 +00:00
Spoike 34e50e1489 don't spam that warning, its too annoying and hopefully not generally a problem
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3627 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 02:30:44 +00:00
Spoike f34a7fe277 Try to fix fteplug stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3623 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 02:12:35 +00:00
Spoike 0b1e3020d3 Trying to kill a few warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3542 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 10:53:13 +00:00
Lance 8f43c1297f Added zlib library to the SDL server target
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3461 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 11:00: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 ad83ffa7c8 Fixed dependencies. Finally.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3420 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-07 02:55:09 +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 5a649378f5 makefile works for the server again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3407 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-05 01:42:19 +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
Lance b773f51349 Added GCC profiling targets "-profile" which is just the release "-rel"
targets but with support for profiling. When FTE is exited cleanly it 
will create a profiling file (a.out or gmon.out) in the same 
directory depending on the compiler used. Can then "gprof programname 
gmon.out > humanreadable.txt" to read the profiling data.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3372 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-05 11:03:25 +00:00
Molgrum ae4a809407 Added a mingl-dbg target to the Makefile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3371 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-04 15:29:08 +00:00
Lance 8b086016f4 Removed all compiler optimizations from the crosscompiled MinGW32
binaries, so we're not chasing our tails with compiler bugs.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3367 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-02 15:14:50 +00:00
Lance d2f908b886 Makefile should be all happy cat now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3354 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 15:17:43 +00:00
Mark Olsen 959b204c3e Call svnversion only once.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3334 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-25 13:21:40 +00:00
Lance c88cdc4716 Added the SVN revision number to the 'version' command, but only for
compilers which use "Makefile" (which rules out MSVC)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3333 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-25 11:22:28 +00:00
Lance e14edce4fd FTE now looks for libraries & associated includes where Fink installs
them in addition to where MacPorts/Darwinports installs them in MacOSX 
while compiling


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3328 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-22 05:43:13 +00:00
Lance 72d41bc846 Added include directories for freetype, MinGW working again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3322 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-20 00:58:37 +00:00
Lance 150fdb2bd4 Minor MacOSX dedicated server tweak, zlib enabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3317 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 11:05:00 +00:00
Lance 2e10193d27 Enabled zlib, png & jpeg support in MacOSX.
If GCC complains about missing headers for libjpeg and libpng: 
1. Install Darwin Ports from darwinports.com. 
2. export PATH=$PATH:/opt/local/bin
3. sudo port -d selfupdate
4. sudo port install libpng
5. sudo port install jpeg


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 10:11:32 +00:00
Lance a55a2326f2 Temporarily remove merged release & debug (m-rel & m-dbg) from the
"all" target in the makefile until it's needed


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3295 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 05:19:09 +00:00
TimeServ d753d47758 fix "merged" sdl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3284 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 10:17:22 +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 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
Lance 17512cc406 Changed all instances of -lwsock32 to -lws2_32, "apparently wsock32 is old and shouldn't be used (since win95..)"
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3224 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-14 13:51:13 +00:00
Lance 226ae08d0a Use -DCLANG with clang (sv_rankin.c hotfix), Makefile cleanup (cleaner filenames) and -D_SDL added to the
win32_SDL 
targets


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3215 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-08 08:10:32 +00:00
Spoike 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
Lance 43d97c3e31 win_SDL binaries now have icons
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3168 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-10 03:39:47 +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
Lance 84117bd7e3 MinGL & Merged targets added to SDL. Dedicated server, OpenGL & Software rendered SDL clients now build in Linux
and run but untested. r3162 was to resolve the SDL MinGL's build error: undefined reference to `NET_Sleep'


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3163 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-07 03:48:32 +00:00