Commit Graph

819 Commits

Author SHA1 Message Date
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 5c108ea81f ------------------------------------------------------------------------
r4188 | acceptthis | 2013-02-04 06:54:57 +0000 (Mon, 04 Feb 2013) | 1 line

try to fix osx compile errors.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4186 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:44:37 +00:00
Spoike 630af9dc7c ------------------------------------------------------------------------
r4187 | acceptthis | 2013-02-04 04:52:32 +0000 (Mon, 04 Feb 2013) | 9 lines

fix particle effect index insanity.
.modelflags support.
fix laggy mvds issue.
replacementdeltas works in mvds.
fix issues with not knowing which mvd is currently being recorded.
input line now permanently functions as utf-8.
cope with double-chevron links in the input line.
Add support for ^{xxxx}, but don't generate it. can only cope with 16bit anyway.
fix skins issues.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4185 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:44:00 +00:00
Spoike be21617b87 ------------------------------------------------------------------------
r4185 | acceptthis | 2013-01-29 03:23:49 +0000 (Tue, 29 Jan 2013) | 1 line

one fix for messed up fonts occasionally.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4183 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:41:08 +00:00
Spoike 02f7e7e9f2 ------------------------------------------------------------------------
r4183 | acceptthis | 2013-01-28 01:13:22 +0000 (Mon, 28 Jan 2013) | 8 lines

visedicts limit tuned to be more aggressive/pre-emptive.
binds now triggers the quit option's cfg_save prompt.
quit console command now shows cfg_save prompt if a preset was applied.
fix fatal menu-related crash at startup.
add r_noframegrouplerp cvar to uglify flame/torch model animations.
fix gl_texturemode(2d) affecting skins and lightmaps and stuff. Its all more explicit now.
extend saved game string limits.
extend default pr_maxedicts value.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4181 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:40:16 +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 2532507afd fix up non-shadowmap spot lights.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4161 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-12-04 19:39:25 +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
Spoike 1eb9fa0d76 avoid potential crash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4131 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-18 10:10:11 +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 e31ebac4cb make the linux port act a bit more like the windows port, for better or worse
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4129 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-14 10:57:11 +00:00
Spoike b84d03a87c validate that we actually have a proper implementation of GL_ARB_vertex_array_object, to avoid virtualbox crashes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4128 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-14 10:55:09 +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 5d9ba4b548 Added console-links support.
Shift click IPs/words/links on the console to enter them as arguments.
Fixed some utf-8 issues.
Fixed issue with csaddon.dat not loading in release builds.
Fixed berkelium inputs, should have a full range of keys now, though there's still no 'back' support.
Bad name rejection made more paranoid.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4124 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-13 00:56:31 +00:00
Spoike 4cc1341b22 couple of fixes for q2 + berkelium.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4122 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-10 22:58:51 +00:00
Spoike c9d051b710 fix mingl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4121 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-08 05:30:46 +00:00
Spoike 50f7b34b80 fix a small issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4117 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-08 04:42:18 +00:00
Spoike 63994793c9 audio on android is now configurable, hopefully.
tweaks to the media decoder's input controls and media plugin decoder stability.
lame basic volumetric fog support. needs improvements.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4115 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-08 04:36:10 +00:00
Spoike e70af9bb9e Make shared object errors more debuggable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4114 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-08 01:30:41 +00:00
Spoike d806f20230 dedicated server should compile now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4106 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-09-30 10:54:43 +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 e759ac90bc random fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4101 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-08-04 11:28:39 +00:00
Spoike 197f716f75 r_wireframe. requires cheats.
omni shadowmaps should work, but do still have issues.
added colour tints to terrain, and clipped decals.
fixed issue where fixed-function shaders were getting drawn with the glsl rendering functions.
tweeked mvd recording code a little. don't use until next mvd-related commit.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4100 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-08-04 01:35:52 +00:00
Spoike 8d3f45587e Forgot to reload holes, sorry.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4093 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-22 04:30:09 +00:00
Spoike 95aa0b5eeb Added an extra column/row of height info to each section, to get alignment correct in respect to holes.
Also, first texture painted is considered the base texture

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4092 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-22 02:56:22 +00:00
Spoike 9baba9adcd Limit the number of active sections. This allows stupidly huge maps without running out of memory.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4090 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-21 08:06:07 +00:00
Spoike 8a7d87fa8e more Heightmap fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4088 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-21 06:04:44 +00:00
Spoike 678012e3fb more Heightmap fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4087 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-21 05:52:35 +00:00
Spoike e6f3e0d019 fix the linux-specific input/csqc weirdness that gb reported
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4086 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-21 05:21:06 +00:00
Spoike f15532d525 Gave terrain limited thickness, re-added support for holes with clipping.
fixed potential vid_restart/particle crash.
fixed a win32 consize resize bug when alt-tabbing.
added a hack to assume stepping behaviour for monsters on mvdsv servers.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4085 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-21 04:43:31 +00:00
Spoike 60d490fce6 stupid stupid bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4084 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-20 18:54:52 +00:00
Spoike 41fa068b72 aaaaand fix the dedicated server.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4083 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-20 01:55:42 +00:00
Spoike e7752c49bd console should activate on android
fixed a crash that can happen when just starting a new map
fixed a q3bsp pvs crash
IF_CLAMP now generates dupes as needed.
terrain: water, shading, static meshes, collision rewritten.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4080 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-20 01:46:05 +00:00
Spoike 8463ccc861 compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4077 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-15 04:52:57 +00:00
Spoike ddc9183f11 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4073 fc73d0e0-1445-4013-8a0c-d673dee63da5 2012-07-15 02:40:30 +00:00
Spoike 584d2776cc Added terrain to q3/rbsp maps too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4071 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 23:17:54 +00:00
Spoike a2f7763d97 grr
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4070 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 17:33:44 +00:00
Spoike 71dce10318 Trying to fix stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4069 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 17:25:21 +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
Spoike f58b9802b8 misc fixes, mostly for q3bsp+no pvs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4062 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-07 05:17:43 +00:00
Spoike eaae31aec1 Fix 'Building a vbo with too many verticies' error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4061 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-07 02:52:39 +00:00
Spoike 765642b1e2 Sorry, some bits I missed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4060 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-06 21:34:23 +00:00
Spoike fe23d72d69 Android tweeks
memory freeing tweeks
batch data rearranged a little (to try to reduce memory).
RBSP/FBSP fixed. lightstyles now supported.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4059 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-05 19:42:36 +00:00
Spoike f96c737175 Slightly more verbose output for glsl linker errors.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4052 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-14 15:07:03 +00:00