Commit Graph

394 Commits

Author SHA1 Message Date
Spoike 64bc9464fe ------------------------------------------------------------------------
r4250 | acceptthis | 2013-03-08 03:32:56 +0000 (Fri, 08 Mar 2013) | 1 line

make sure -ldl is used.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4246 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:20:07 +00:00
Spoike 7b700555a9 ------------------------------------------------------------------------
r4249 | acceptthis | 2013-03-08 03:31:52 +0000 (Fri, 08 Mar 2013) | 1 line

make sure -lpthread is used.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4245 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:19:45 +00:00
Spoike edffd6c787 ------------------------------------------------------------------------
r4248 | acceptthis | 2013-03-08 03:29:24 +0000 (Fri, 08 Mar 2013) | 1 line

clumsy but hopefully more robust.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:19:24 +00:00
Spoike 2e009e1d26 ------------------------------------------------------------------------
r4227 | acceptthis | 2013-02-26 16:29:38 +0000 (Tue, 26 Feb 2013) | 2 lines

numerous small fixes and tweaks for the nacl+npfte ports.
support for q3bsp tangent-space deluxemaps.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4223 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:09:25 +00:00
Spoike 5cb6c9f190 ------------------------------------------------------------------------
r4225 | acceptthis | 2013-02-22 10:59:41 +0000 (Fri, 22 Feb 2013) | 1 line

Make npfte link dynamically to X11+Xt so we can print something meaningful and avoid random crashes if those libraries are missing.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4222 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:06:15 +00:00
Spoike 4dd127dc14 ------------------------------------------------------------------------
r4224 | acceptthis | 2013-02-22 01:28:16 +0000 (Fri, 22 Feb 2013) | 1 line

More explicit dependancies.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4221 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:05:47 +00:00
Spoike 584dba6ae6 ------------------------------------------------------------------------
r4223 | acceptthis | 2013-02-21 14:43:49 +0000 (Thu, 21 Feb 2013) | 1 line

use multithreading in linux too, because we can. Fix extra-quotes issue.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4220 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:05:17 +00:00
Spoike 4ddcdbb5f6 ------------------------------------------------------------------------
r4221 | acceptthis | 2013-02-21 10:29:11 +0000 (Thu, 21 Feb 2013) | 1 line

npfte now links against lib png/jpeg fully dynamically on linux, and thus optionally, reducing dependancies.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4218 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:04:31 +00:00
Spoike 6567fe92dd ------------------------------------------------------------------------
r4219 | acceptthis | 2013-02-21 04:54:35 +0000 (Thu, 21 Feb 2013) | 1 line

npapi support on linux too.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4216 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:03:46 +00:00
Spoike b8e29f5a47 ------------------------------------------------------------------------
r4198 | acceptthis | 2013-02-13 19:35:33 +0000 (Wed, 13 Feb 2013) | 1 line

Use xinput2, if available, for "raw" mouse input without mouse acceleration or middle-button emulation or anything.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4196 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:54:12 +00:00
Spoike 6299d07c0a ------------------------------------------------------------------------
r4192 | acceptthis | 2013-02-10 17:21:31 +0000 (Sun, 10 Feb 2013) | 1 line

-DUSE_EGL no longer excludes the use of glx
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4190 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:49:04 +00:00
Spoike 0ecf71adaf ------------------------------------------------------------------------
r4189 | acceptthis | 2013-02-05 12:54:29 +0000 (Tue, 05 Feb 2013) | 1 line

clipboard, icon, fullscreen support for glx. Numerous fixes for compile-time warnings.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4187 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:47:42 +00:00
Spoike 602e8cfb45 ------------------------------------------------------------------------
r4180 | acceptthis | 2013-01-27 13:24:22 +0000 (Sun, 27 Jan 2013) | 1 line

fix menu tint.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4178 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:37:59 +00:00
Spoike a339c727d0 ------------------------------------------------------------------------
r4175 | acceptthis | 2013-01-26 18:23:37 +0000 (Sat, 26 Jan 2013) | 8 lines

improved replacementdeltas+nq a little, still needs work.
embrace the menuqc! pr_dumpplatform now includes MENU defs+builtins.
swapped search ordering of paks+dirs, so progs.dat will be used instead of pak0.pak/progs.dat.
fteqcc slightly more sensible with if statements and void+vector types.
fteqcc shows the first line where models are precached/used instead of showing no line at all.
fix missing explosions when running qw gamecode.
accept channels between 8 and 255. 
support for sending fitzquake's increased stat limits.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4173 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:35:33 +00:00
Spoike 8d5b217266 ------------------------------------------------------------------------
r4169 | acceptthis | 2013-01-17 08:55:12 +0000 (Thu, 17 Jan 2013) | 31 lines

removed MAX_VISEDICTS limit.
PEXT2_REPLACEMENTDELTAS tweaked, now has 4 million entity limit. still not enabled by default.
TE_BEAM now maps to a separate TEQW_BEAM to avoid conflicts with QW.
added android multitouch emulation for windows/rawinput (in_simulatemultitouch).
split topcolor/bottomcolor from scoreboard, for dp's colormap|1024 feature.
now using utf-8 for windows consoles.
qcc warnings/errors now give clickable console links for quick+easy editing.
disabled menutint when the currently active item changes contrast or gamma (for OneManClan).
Added support for drawfont/drawfontscale.
tweaked the qcvm a little to reduce the number of pointers.
.doll file loading. still experimental and will likely crash. requires csqc active, even if its a dummy progs. this will be fixed in time. Still other things that need cleaning up.
windows: gl_font "?" shows the standard windows font-selection dialog, and can be used to select windows fonts. not all work. and you probably don't want to use windings.
fixed splitscreen support when playing mvds. added mini-scoreboards to splitscreen. 
editor/debugger now shows asm if there's no linenumber info. also, pressing f1 for help shows the shortcuts.
Added support for .framegroups files for psk(psa) and iqm formats.
True support for ezquake's colour codes. Mutually exclusive with background colours.
path command output slightly more readable.
added support for digest_hex (MD4, SHA1, CRC16).
skingroups now colourmap correctly.
Fix terrain colour hints, and litdata from the wrong bsp.
fix ftp dual-homed issue. support epsv command, and enable ipv6 (eprt still not supported).
remove d3d11 compilation from the makefile. the required headers are not provided by mingw, and are not available to the build bot, so don't bother.
fix v *= v.x and similar opcodes.
fteqcc: fixed support for áéíóú type chars in names. utf-8 files now properly supported (even with the utf-8 bom/identifier). utf-16 also supported.
fteqcc: fixed '#if 1 == 3 && 4' parsing.
fteqcc: -Werror acts on the warning, rather than as a separate error. Line numbers are thus more readable.
fteqcc: copyright message now includes compile date instead.
fteqccgui: the treeview control is now coloured depending on whether there were warnings/errors in the last compile.
fteqccgui: the output window is now focused and scrolls down as compilation progresses.
pr_dumpplatform command dumps out some pragmas to convert more serious warnings to errors. This is to avoid the infamous 'fteqcc sucks cos my code sucks' issue.
rewrote prespawn/modelist/soundlist code. server tracks progress now.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4167 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:29:40 +00:00
Spoike 95266f8215 d3d11 fixes. mipmapping implemented, vertex streaming more performant. Still behind the d3d9 renderer.
Fixed d3d11 vs d3d9 conflicts when switching renderers.
Fixed hlsl-less d3d9 lava.
Added gl_specular_fallback to override the default gloss level.
Added these cvars to give more control over imported/dlight lighting r_shadow_realtime_dlight_ambient r_shadow_realtime_dlight_diffuse r_shadow_realtime_dlight_specular r_editlights_import_radius r_editlights_import_ambient r_editlights_import_diffuse r_editlights_import_specular. Effective value of r_editlights_import_specular is now 1. Was 4.
Fixed spot/cube/smap lights.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4160 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-12-04 19:37:57 +00:00
Spoike d248ce223f added support for persistent particle effects in hexen2.
tweaked shutdown of sql to not make sql unusable after 'disconnect' on a listen server, fixed a couple of mem leaks.
audio no longer starts up twice in windows.
removed specular permutation. its either globally active or globally inactive.
Use oblique near-plane clipping instead of a clipplane, fixing our rtlighting+water warping.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4156 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-11-29 13:37:48 +00:00
Spoike 53a7b3d47c added support for external capture plugins - and using avcodec as a plugin.c.
The ragdoll API is potentially usable now, but still really limited.
Enabled SQL requests by default using sqlite. Note that you'll need the sqlite dll to use this. MySQL should still be usable, but I didn't try. MySQL requires -DUSE_MYSQL to compile it, and a dll and -mysql argument to enable it.
Fixed nacl.
NPFTE plugin now invokes an exe to run the game rather than running the game within the browser.
externvalue builtin now accepts & prefix to return a pointer instead.
Fixed vector autocvars.
uri_get, bufstr_add, bufstr_free, now functional.
QC debugger can now show asm if line numbers are not available.
Added support for QC watchpoints. Use the watchpoint command.
gl_specular now give specular even without rtlights, thankfully not as blatently, but its there.
android will not crash due to supported audio formats, and gles2 can be selected via a cvar (requires full FTEDroidActivity/program restart).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4152 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-11-27 03:23:19 +00:00
Lance 9552e7fb64 Tweaking Speex still
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4150 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-25 07:02:09 +00:00
Lance cc0f60c2f7 Let's hope I got it right this time
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4149 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-25 06:10:20 +00:00
Lance 978af08cbf Fix my mistake in last commit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-25 06:05:20 +00:00
Lance 5747d75042 Added Speex development files, updated headers as well.
Makefile changed to statically compile Speex into FTEQW where possible.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4146 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-25 04:52:55 +00:00
Lance 8d4a0a671c Disable Ogg for Mac too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-24 14:05:19 +00:00
Lance c8d3f617e0 MorphOS doesn't need Ogg
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4144 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-24 12:57:12 +00:00
Lance 089f40b8e6 Prefer the stable MinGW 64bit compiler over the experimental one.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4143 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-24 12:49:23 +00:00
Lance 70c0818c4c Enabled Ogg in Linux builds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4141 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-24 04:16:38 +00:00
Lance c16517fbcb OggVorbis support now turned on (AVAIL_OGGVORBIS)
Ogg/Vorbis: Will now look for 'libvorbisfile-3.dll' as well as 'vorbisfile.dll' in Windows.
MinGW builds now have OggVorbis statically linked. (LIBVORBISFILE_STATIC)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4138 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-24 02:59:31 +00:00
Lance 78b59d54c3 Allow win32 fte to be large address aware (access beyond 2GB address space).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4135 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-22 14:26:47 +00:00
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
Lance 648caa9c57 Just make the help output alittle more helpful, added crosscompiling
comments


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3157 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-06 02:45:11 +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 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
Mark Olsen aed3e4258b No, you are not bigfoot.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3086 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-03 07:39:50 +00:00
Lance c020463677 Fixed the MingW32 crosscompile to use i586-mingw32msvc-strip instead of
the native strip program


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3070 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-18 03:20:10 +00:00
Mark Olsen 311a71ecf8 Also build pr_bgcmd.o
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3068 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-15 02:12:55 +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
Molgrum c4b17eb23a Enable DGA support by default (override with -nodga or -nomdga)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2955 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-13 12:03:52 +00:00
Lance 1224b3ea42 Changed the RELEASE_CFLAGS from -O6 and the other wierd optimizations to
just: -O2 -fno-strict-aliasing


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2803 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-03 13:34:37 +00:00
Lance 3d5541a976 MorphOS crosscompile target & Mac OSX crosscompile targets (ppc32,
ppc64 and x86) added. Changed output names of morphos and macosx to be unique 
to their OS so they werent the same as linux's binary names exactly the 
same as the linux output, reason was it made batch cross-compiling 
difficult when "fteqw.sv" is the same filename for Linux, MorphOS & Mac 
OSX binaries.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2776 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-02 00:30:47 +00:00
Molgrum 4e29e25f90 Added missing DGA LDFLAGS in Linux targets.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2766 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-26 14:51:12 +00:00
Mark Olsen 4815ec3a20 Fixed some USEASM horribleness.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2765 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-26 14:25:34 +00:00
Lance a9e59cde63 addition to revision 2763, to use i586-mingw32msvc-windres instead
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2764 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-26 09:05:59 +00:00
Molgrum ed6f19408d Updated the MinGW targets to link winquake.rc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2763 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-25 17:59:01 +00:00
Molgrum 24d0f46fe6 Fix up BSD targets requiring certain libraries.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2755 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-20 19:58:32 +00:00
Molgrum 726ab4977c Fixed the BSD mingl target.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2754 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-20 19:52:02 +00:00
Mark Olsen 67ea2a8fa6 MacOS X is not MorphOS. Don't link with libsyscall on MorphOS anymore. Do use IMAGELDFLAGS when linking the MorphOS software renderer too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2751 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-20 14:23:41 +00:00
Molgrum 6909915de1 Fix the check for mingw compilers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2746 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-14 22:02:30 +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
Spoike f37e6d8e10 windows server should compile with mingw now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2702 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-04 15:24:48 +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
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
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
Spoike 6aa8ca01bd Added some secrit build names to the makefile help
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2622 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-30 20:44:46 +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 436aad096f Fixed bugs caused by last commit...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2549 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-23 18:55:10 +00:00
Mark Olsen 3d8535f358 Added com_mesh.o
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2506 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-05-27 13:59:39 +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
Mark Olsen 87b13077cd Don't pass -s to GCC. Stripping is done later anyway. Updated MorphOS compile and link flags.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2347 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-08 23:26:47 +00:00
Mark Olsen 603f07b5a3 Actually have the MorphOS-sw client link. Slightly smarter stripping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2234 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 00:11:29 +00:00
Spoike 5bdbd0698e Should have slightly more luck with BSD systems.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2115 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-14 01:29:45 +00:00
Mark Olsen d5e67377df No, really.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2068 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-06 22:17:43 +00:00
Mark Olsen 5d44e35ef7 MorphOS build, some random fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2067 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-06 22:15:40 +00:00
Spoike 0fe03c7b25 blooming stuff. I hope I got enough of the bugs out.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2042 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-03 03:31:19 +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
TimeServ 6c23765cc9 removed internal irc client as it is obsolete compared to the plugin version
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1933 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-04 04:42:47 +00:00
Spoike 503eff6421 Reworked the filesystem. We now support a virtual filesystem. Many places accept stream usage, although many formats do not support this.
I'm not sure if this will break anything. It shouldn't do, but it might.

Not everything is ported over yet. Ideally there would be no more use of fopen anywhere else in the engine, and com_gamedir would be made static to fs.c
There are a couple of other changes too.

http/ftp stuff is currently disabled.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1728 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 03:07:33 +00:00
Mark Olsen 0c4dc8dfec Use the CC variable when guessing build type.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1725 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-20 22:27:31 +00:00
Spoike 1a844576a4 Make rjlan happy
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1724 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-17 22:50:02 +00:00
Spoike 13d0a98133 cygwin, mingw should compile, plugins in dedicated servers, and stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-15 19:15:39 +00:00
Spoike 339d478659 I wonder how much this will break. Ahh well. It works for me, and I need to go to bed.
Well, plugins should be able to read/write files through the engine. audio decoding plugin interface is in (might be changed later).
TCPConnect is in.
msg_filter and scr_centersbar.
some recording fixes too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 01:20:53 +00:00
Spoike b318d46ea7 Added q3 stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1579 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-21 22:16:53 +00:00
Spoike 9f4c677384 Servers need the model loader.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1545 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-30 22:59:14 +00:00
Spoike 014eabdbed Added snd_directx.c to the makefile, for linux cross compiles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1468 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-14 18:30:13 +00:00
Spoike ad96c59e77 TimeServ added a log.c
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1383 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-27 19:48:42 +00:00
Spoike 13cade8fe9 fixed some minor issues
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1337 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-15 05:55:43 +00:00
Spoike 348a1024be Now compiles and works fine in linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1300 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-09 23:40:55 +00:00
Mark Olsen 59246c341d Use -p for mkdir to avoid spam when typing make :P
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1161 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-25 13:37:57 +00:00
Spoike 8cd2855713 forgot to add gl_alias.c to the dedicated server - which uses the same loading/tags code as the client version. Ideally these would be split up properly, but I'm too lazy for that today.
This adds MOVE_HITMODEL support and tags.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1147 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-16 14:37:38 +00:00
Spoike 95948b35ec Rewrote FTE's NQ-compatable networking code. The nqnet functions have gone, as we support both udp and ipx through the qw code.
cl_netfps has also had some work.
Added polling of http-based master servers (gameaholic).
Lots of darkplaces compatability things added, for nexuiz.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-26 12:55:34 +00:00
Spoike 7c133ec53f CVS clients lie.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1040 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-20 08:13:48 +00:00
Spoike 59619dbf74 Needed to compile in linux
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1039 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-20 03:33:10 +00:00
Spoike 1d0140019e Small fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@968 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-19 19:33:49 +00:00
Spoike d1d52a49ac sw client builds and runs now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@959 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-18 03:21:16 +00:00
Spoike ef975c65d5 A small fix...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@951 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-17 03:32:39 +00:00
Spoike f12f7db6cc Added a new FTE_TARGET - bsd!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@950 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-17 03:31:03 +00:00
Spoike 4a9c299884 Removed some files to a plugin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@946 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-16 20:18:56 +00:00
Spoike d7bb31a516 Some changes. QC execution has been tweeked a little. It needs further work still.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@925 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-28 00:11:59 +00:00
Spoike f1e139d0d6 X stuff was moved to a plugin
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@918 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-24 17:16:22 +00:00
Spoike d4e494488b *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@896 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-12 23:40:42 +00:00
Spoike 95eafd7427 some bugfixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@867 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-06 02:47:36 +00:00
Spoike 7dfa8ee86c Asm rendering of alias models is back in now - and it works
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@833 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-26 17:16:08 +00:00
Spoike 51da6d3abf Fixed some warnings and stuph.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@829 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-24 23:47:32 +00:00
Spoike 7e3dfe33ae Tweeked the makefile, it now accepts CFLAGS environment variables for passing into GCC, which is handy. :) Also added the pr_csqc.c 'module'.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@827 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-24 05:06:16 +00:00
Spoike f19a02ed3e One makefile to rule them all... Well, replace them all at least. This one detects your target and uses SDL if linux or mingw fail.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@821 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-23 17:44:11 +00:00