Commit Graph

959 Commits

Author SHA1 Message Date
Spoike 7ece1c70cb Fix misc bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4631 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-03 02:16:21 +00:00
Spoike f18c928973 Add gl_lightmap_nearest.
Add a warning if the world moves.
Fix tags to not loop on non-looping animations.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4630 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-02 00:58:02 +00:00
Spoike 7cbb9d61ca double leafbrushes limit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4629 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-01 23:43:45 +00:00
Spoike e75cbadc11 fix iqm models.
rename some things.
don't reload filesystem(twice) when quitting.
add savegame_legacy command for saved games that can be loaded in vanilla engines.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4628 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-03-31 17:06:41 +00:00
Spoike 42d428df5a fix misc things that I previously missed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4625 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-03-30 10:43:05 +00:00
Spoike 2e1a70e319 rewrote ban code, merging bans+nonbans+cuffs+mute+cripple+deaf+lagged+vip. added timeouts. new penalties have no dedicated command. use the addip command for it.
maplist command now generates links.
implemented skin objects for q3. added a csqc builtin for it. also supports compositing skins.
playing demos inside zips/pk3s/paks should now work.
bumped default rate cvar.
added cl_transfer to attempt to connect to a new server without disconnecting first.
rewrote fog command. alpha and mindist arguments are now supported. fog change also happens over a short time period.
added new args to the showpic console command. can now create clickable items for touchscreen/absmouse users.
fixed menus to properly support right-aligned text. this finally fixes variable-width fonts.
rewrote console tab completion suggestions display. now clickable links.
strings obtained from qc are now marked as const. this has required quite a few added consts all over the place.
probably crappy attempt at adding joypad support to the sdl port. no idea if it works.
changed key bind event code. buttons now track which event they should trigger when released, instead of being the same one the whole time. this allows +forward etc clickable buttons on screen. Also simplified modifier keys - they no longer trigger random events when pressing the modifier key itself.
Right modifiers can now be bound separately from left modifiers. Right will use left's binding if not otherwise bound. Bind assumes left if there's no prefix.
multiplayer->setup->network menu no longer crashes. added rgb colours to the translation view (but not to the colour-changing keys).
added modelviewer command to view models.
added menu_mods menu to switch mods in a more friendly way. will be shown by default if multiple manifests exist in the binarydir.
clamped classic tracer density. scrag particles no longer look quite so buggy.
added ifdefs to facilitate a potential winrt port. the engine should now have no extra dependencies, but still needs system code+audio drivers to be written.
if it can't set a renderer, it'll now try to use *every* renderer until it finds one that works.
added experimental mapcluster server mode (that console command). New maps will be started up as required.
rewrote skeletal blending code a bit.
added cylinder geomtypes.
fix cfg_save writing to the wrong path bug.
VFS_CLOSE now returns a boolean. false means there was some sort of fatal error (either crc when reading was bad, or the write got corrupted or something). Typically ignorable, depends how robust you want to be.
win32 tls code now supports running as a server. added connect tls://address support, as well as equivalent sv_addport support.
exposed basic model loading api to plugins.
d3d11 backend now optionally supports tessellation hlsl. no suitable hlsl provided by default. !!tess to enable.
attempted to add gamma ramp support for d3d11.
added support for shader blobs to speed up load times. r_shaderblobs 1 to enable. almost vital for d3d11.
added vid_srgb cvar.
shadowless lights are no longer disabled if shadows are not supported.
attempt to add support for touchscreens in win7/8.
Wrote gimmicky lua support, using lua instead of ssqc. define VM_LUA to enable.
updated saved game code. can again load saved games from vanilla-like engines.
changed scale clamping. 0.0001 should no longer appear as 1.
changed default mintic from 0.03 to 0.013 to match vanilla qw. I don't know why it was at 0.03. probably a typo.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4623 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-03-30 08:55:06 +00:00
Spoike 7e80062ab9 Added x11 unicode input support. Added wayland support (FTE_TARGET=linux-wayland). Added properly support for rpi+egl (FTE_TARGET=linux-rpi, warning: expects to cross-compile).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4622 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-03-30 00:39:37 +00:00
Spoike c604c0c17f Fix a bug that mushi got stuck on.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4619 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-22 00:28:22 +00:00
Spoike 4deebba5ee and fix dedicated servers again...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4612 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-14 13:19:00 +00:00
Spoike 8f6c1a3e92 fix misc junk that was buggy. hurrah for handy test cases.
q3 shader remapping now a bit more robust.
portals finally work properly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4610 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-14 09:59:32 +00:00
Spoike fd70ec0c62 fix misc warnings.
add support for q3's shader remapping feature.
don't mask sky depth on q3bsp. apparently it causes problems.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4609 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-13 23:54:57 +00:00
Spoike 324e0b9334 updated qc key codes to match 2004+ dp builds.
added qc key code defines to fteextensions.qc
removed map planes limit, lives on as only a sanity limit. should perhaps cvar them.
added cl_run cvar, for q2 compat.
fix \r char not printing properly.
attempt to support holes in terrain again.
fix issue with q3 bspmodel culling.
clamp q3 movement, to not overflow-then-bug-out.
fixed recent zip bug.
now sending an empty string instead of a null string to gamecode when playing a cinematic map, gamecode should be less likely to crash this way.
added 'game' cvar. exactly like gamedir, except a cvar and q2 compatible.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4606 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-11 17:51:29 +00:00
Spoike 13b586ea06 Tweaked svn stuff a little more. Should be more robust now. 3rd party SVN headers+libs are no longer on svn.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4605 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-09 09:25:28 +00:00
Spoike ae55a11a1c Tweaks to fix stuff that I broke.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4599 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-07 14:57:07 +00:00
Spoike db77a84453 try that again. I hate platform-specific code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4598 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-07 09:39:18 +00:00
Spoike 9140cccb9f Fix a couple of bugs that I didn't catch.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4597 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-07 09:36:04 +00:00
Spoike 1bb752b582 sdl2 support.
hacky rendertarget stuff. not polished. don't use except for testing. feedback desired.
switched file system to use a qofs_t type instead. define FS_64BIT to make it 64bit (standard on 64bit cpus).
rewrote zip support, ditching unzip.c. this provided zip64 support, and unicode in zips.
changed local address enumeration to not be so stupid.
updated ode support a little to match some dp features.
changed fs_cache scheme, to not rebuild needlessly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4596 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-07 08:38:40 +00:00
Spoike b05e0a051c attempt to clean up log rotation names. again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4593 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-17 08:31:16 +00:00
Spoike caa2fa5177 add some compat back in for bigfoot
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4588 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-16 03:53:36 +00:00
Spoike 20c69342a2 make sure the language cvar is registered properly, even if we don't read registry settings on windows dedicated servers. fixes dedicated servers crashing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4587 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-16 02:44:43 +00:00
Spoike d9085d414b lets try that one again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4579 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-14 21:56:41 +00:00
Spoike 38a9770253 add support for symlinks in zips.
try to fix normalmaps on q3bsps. could do with verification, but at least I'm not the only one with a bug if its still buggy.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4578 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-13 02:42:25 +00:00
Spoike bfe545222e added con_textsize to resize console separately from everything else.
qcc: added support for variable arguments via the va_arg intrinsic.
qcc: fix up some comment/whitespace issues with the preprocessor.
random hacks to try to improve dp compatibility a little.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4573 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-29 22:48:28 +00:00
Spoike 4a19ae4627 try to resolve rjlan's forgetting-configs issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4568 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-19 16:36:17 +00:00
Spoike f762446a7d make cheat cvars allowed in single player by default.
fix an issue with referenced packs getting forgotten when running non-dedicated servers.
whichpack now always references packs even if allow_download_refpackages is disabled.
add setcursormode for compat with dp's csqc.
fix some qcc issues that came up.
bump some q3bsp sanity limits a little.
greater precision for android's vibrate feature.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4567 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-17 22:45:37 +00:00
Spoike e2081b565f webquake-compatible websocket support. yuck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4563 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-09 01:18:27 +00:00
Spoike 483403dc9a misc bugfixes for things reported by 1path0gen1.
and a few added bugs for fun.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4562 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-08 20:06:55 +00:00
Spoike a62660d5e7 don't crash with pipes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4561 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-07 23:26:10 +00:00
Spoike 591b848148 trying improve ftedroid and fix the issue with opera+file urls.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4558 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-07 00:30:48 +00:00
Spoike 218006198d fix q2 bsp texture animations.
fix q2 prediction.
fix q2 saved games issues.
fix q2bsp fullbright/fullwhite lights.
fix potential issues from svs.clients no longer being preallocated.
fix rtlights not doing q1 bsp texture animations.
misc crash fixes.
hack to allow a clickable hud when using a touchscreen.
gl_max_size no longer affects 2d images.
select faithful fps preset option by default.
gl_font a,b,c works to select fallback fonts. freetype fonts reused to reduce memory usage when the same font is used multiple times either with different sizes or as fallbacks as part of other fonts.
allow static member functions. allow static locals.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4552 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-02 14:30:30 +00:00
Spoike 87564c9d79 stripped out my ancient form of in-engine translation. Implemented gettext style translation instead. Automatically determine language from environment settings.
try to imitate cyrillic chars if the charset doesn't support them using koi8 mappings, so russian-speaking users don't get so easily pissed about not knowing how to select a font that actually contains chars for their language.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4544 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-29 14:36:47 +00:00
Spoike ad8d634916 misc tweaks to support:
opening (qtv) urls with android browser. mvds should stream using the same mechanism, if they have the right mime type.
arbitrary unicode basedirs in windows should work, and commandlines. not sure what else still doesn't work.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4539 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-28 00:45:22 +00:00
Spoike d6e089d87f small bug there when not running any progs...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4537 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-24 17:31:59 +00:00
Spoike ad2ee5ddd1 (too lazy to boot linux to test this before committing)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4536 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-24 16:49:56 +00:00
Spoike 494d794f95 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4535 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-11-24 16:47:17 +00:00
Spoike 70ac2fa5a3 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4533 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-11-24 16:38:57 +00:00
Spoike c9bc1e135a nacl tweaks.
attempt to list local ips properly on linux (needed for ICE).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4532 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-24 16:35:52 +00:00
Spoike 2c253d6635 fix some bugs...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4530 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-22 01:54:26 +00:00
Spoike 05644d07b4 fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4525 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-21 23:16:59 +00:00
Spoike f08489f141 .po support for qc.
rewrote messagemode to support utf8 properly, as well as left-arrow etc keys.
support for mouse-over images on console links and stuff.
added r_lerpmuzzlehack for certain viewmodels.
use libtool's dlopen stuff on cygwin to try to cover some cygwin path differences.
try to support utf-8 in filenames even in windows (only in nt, 9x is still ascii only).
added certificate validation for gnutls. gnutls now enabled by default in linux.
d3d11 tweaks. shadowmapping works.
tweaks for updated terrain format, to try to fix some inefficiencies/limitations.
xmpp plugin can now display avatars (xmpp /set avatars 1)
xmpp file transfers supported by default, but capability is disabled by default (can be enabled by hacking config).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4523 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-21 23:02:28 +00:00
Spoike 84315e641d iqms are NOT psks... some people... :P
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4522 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-11 05:14:45 +00:00
Spoike fb86222fc7 made max_clients more dynamic on the server to attempt to reduce bss usage. hopefully this will help the webgl port without resulting in extra crashes.
tweaked shadowmaps. now seems faster than stencil shadows. cubemap orientation should now match other engines.
tweaked terrain. rtlights work. added pvs tests for embedded terrain. sections are now saved in chunks instead, which should mean windows doesn't have a panic attack at 16 million files in a single directory. hurrah.
first pass at realigning menu options to cope with variable-width fonts. still need to do pure-text items.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4514 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-29 17:38:22 +00:00
Spoike 7f8bdb4cfa fix non-windows ports.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4503 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-09 01:00:24 +00:00
Spoike d396450a0a log file defaults changed to be more readable. timestamps now included by default. also fixed a bug in the location the log is written.
fixed numerous shadowmapping bugs. actually seems to work now. appears to draw more lights than is actually needed, however.
changed how keyboard focus works. can now have menu+console open at once, although you probably need shift+escape to get at it.
fixed a few issues with nexuiz compat. there are *still* other issues.
greatly refactored cd playback code. cd driver code is now a backend only and does not provide its own commands. track remapping accepts named faketracks. worked around missing notifications in vista+, so looping will now work.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4491 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-08 14:28:11 +00:00
Spoike d938fc9751 final q2 fix I think...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4487 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-29 17:11:47 +00:00
Spoike 89ed71b134 Fix q2 cinematic maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4485 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-29 15:06:42 +00:00
Spoike f9685cde37 Fix a bug with md2 loading.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4484 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-29 15:04:49 +00:00
Spoike db3f55f24a Try to fix a couple of issues raised by beloko.
One was a bug with registered not getting set properly (configs hid the bug from me). The registered check is now updated on (and AFTER) gamedir changes, ensuring the filesystem is up and running properly before determining if we have any proof of purchase in it.
The other was a bug due to pak/path precedence which broke hexen2 maplist.txt support, this update should match the new filesystem path/pak ordering fixing the bug.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4481 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-26 09:24:52 +00:00
Spoike 18ac985526 Don't realloc console lines quite so much. Should let spammy stuff like timedemos run a tiny smidge faster.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4479 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-22 06:28:14 +00:00
Spoike 763cef2441 added mic input device option.
reworked prediction code, now more generic.
added cl_lerp_smooth, cl_predict_extrapolate, cl_predict_timenudge cvars to allow tweaking player prediction/smoothness in a few different ways. cl_lerp_smooth's default changed to not smooth out live games in order to avoid unnecessary lag (was effectively set to 1, and would be 0 in vanilla).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4471 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-06 22:57:44 +00:00