forked from fte/fteqw
1
0
Fork 0
Commit Graph

4404 Commits

Author SHA1 Message Date
Spoike 9ecc276ce3 fix crash from dodgy skies.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4945 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-14 15:50:18 +00:00
Spoike dca5fee18a bother. silly comments. try that again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4944 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-14 15:02:06 +00:00
Spoike 510175058e forgot to rebuild the builtin shaders.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4943 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-14 14:49:47 +00:00
Spoike 869e544ad4 fix glsl not being used for skeletal animations (10->50 fps jump)
fix vbos not being used for skeletal animations (50->770 fps jump, yes, really. OOPS!)
so yeah, 7700% speedup there. lol... *sigh*
fixed update notification prompt not appearing by splitting menu key dest into emenu+gmenu. thus the prompt is no longer killed by menu.dat starting up.
fog command now displays a the extra params.
rewrote console char handling to support 32bit unicode chars. font code does not support more than 16bit codepoints still, however.
rewrote beam code in order to restore models on vid_restart. this solves a crash where they were invalid pointers afterwards.
revived old menu_media, because jogi wanted shuffle.
music now fades out for a sec when changing fake-cd-tracks.
music no longer abruptly stops when changing maps.
added fxaa support.
reworked bloom a bit. can now bloom further.
added r_renderscale cvar, for people that want supersampling (max 2), or subsampling for more speed or whatever.
$timer now favours cvars with that name, rather than the $time macro.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4942 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-14 14:47:00 +00:00
Spoike 9b058ce95b sky should accept fog somehow. this is the glass ceiling method. every method sucks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4941 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-12 00:35:11 +00:00
Spoike 2a2a53af2e z_ext was bugged since my qwfwd stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4940 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-10 02:43:15 +00:00
Spoike 89a33f317a attempt to fix autoid revealing spies in TF.
fix issues with converted qizmo demos that appear to contain connectionless packets.
clarify some spam a little.
made demos menu re-open in the same path as before, with the same demo selected. still no mouse.
attempt to cope with gles2's potential lower attribute limit.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4939 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-09 18:02:49 +00:00
Spoike b247f3e076 fix crash caused by missing bsp.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4938 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-09 16:22:43 +00:00
Spoike 845c0782cf I've been writing too much qc lately, apparently.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4937 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-08 19:36:23 +00:00
Spoike 2d6952b84e fix a few bugs and quirks. yay.
including one that crashes while playing ctf demos. oops.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4936 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-08 19:32:16 +00:00
Spoike 198410cfe7 disable vfs_flush when recording demos, there's some significant slowdown, and I don't see what else it could be (doesn't affect me).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4935 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-07 02:44:27 +00:00
Spoike 67786a2601 ignore proxies if they claim to be able to ping a lan, because it probably won't be yours.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4934 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-07 02:33:00 +00:00
Spoike 6f5f8c3e34 implement connectbr command, along with providing best-route info from the server browser.
does not use proxies by default. this is the first pass at this, and I'm not sure the ping values are reliable enough to have any faith in the routes selected.
fix a couple of other issues too.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4933 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-07 02:03:31 +00:00
Spoike d789a2c81a fix HOM issue with out-of-world r_projection. also gave 20% speedup.
refuse to load certain dxt images for premultiplied alpha, as these cannot otherwise work.
fteqcc now tries to be more relative with its paths, so #pragma sourcefile "subdir/foo.src" can work as expected.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4932 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-06 14:47:46 +00:00
Spoike 83f0179906 fix tracker.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4931 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-06 14:33:22 +00:00
Spoike 761049b00a fix gameclock on certain servers.
fix kill not working on ktx (ktx is weird).
fix missing scoreboard.
fix possible crash on /cmd kill.
fix missing disconnect messages.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4930 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-04 02:04:46 +00:00
Spoike c1b23f843b be a little more relaxed about fteextensions.qc / dpextensions.qc conflicts.
disable ssl3 support because its too outdated.
add autocvar intrinsic, so that defining autocvars inline inside code is easier: autocvar(fred, 5) will create the 'fred' cvar and return its current value. does not make sense at global scope.
qcc -v -v double-verbose argument will now generate autocvar listings (parses comments / intrinsic 3rd arg to provide a comment). These can be directly copied into your mod's default.cfg file in the appropriate place, if you wish to publicise all such autocvars easily.
tweak fteqccgui to not repaint so often. this solves issues with mods with thousands of warnings spamming like crazy and taking ages to compile. these mods exist.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4929 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-03 22:00:45 +00:00
Spoike a85f3c5c71 Added two new projection modes. use r_projection to select alternative projections.
make sure demos freeze at the start, instead of reading everything out of the file while we're still loading content.
added a couple of lame 'list' commands.
added 'in' command.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4928 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-03 02:07:41 +00:00
Spoike 667e8dec10 add geometry shader support. because why not.
bind command now makes it a bit easier to edit the binding. and any alias.
autoid tweaks.
slightly better q1qvm/ktx support. extend the api a little.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4927 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-01 23:15:25 +00:00
Spoike 6515417cd6 tweak teaminfo a little.
make sure locs are available during demo playback too, now that there's an actual need for that.
display teaminfo above people's heads.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4926 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-30 14:05:45 +00:00
Spoike 365c11181c wait now correctly waits until the start of the next input frame (thus ensuring that -attack is delayed for long enough).
implemented hud_teaminfo_show ezhud element. _LOTS_ of hacks. ezhud needs updated engine.
fix issue with overly friendly prints.
handle svc_setinfo more gracefully, for the next time OMC makes a bug.
allow glsl to embed default values for float cvars, in case they're not already set. this can save some docs...
removed prints about "wad" "foo\", fixing a crash concerning just which print function to call.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4925 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-29 23:46:31 +00:00
Spoike ad9b98f73c gah.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4924 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-28 14:59:02 +00:00
Spoike 4e9d4dcc27 fixed over-prediction issue. added two new cvars to control prediction nudging of other players.
fixed some serverbrowser issues.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4923 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-28 03:43:10 +00:00
Spoike 5ef22569cd finally fix fbsp lightgrid.
fix issue where framegroups with no poses were causing a crash. now causes spam.
implement sneaky trick to munge lightmaps a little, greatly accelerating stuff like sock's map.
fix q3 physics issue (was probably bugging out q2 too).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4922 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-28 00:42:00 +00:00
Spoike d81bf36c68 attempt to support MD16 models.
fix issue with blend weights not adding to 1 (issue happens when mixing pose types, typically due to invalid framegroup indexes).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4921 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-26 23:42:09 +00:00
Spoike df31b15073 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4920 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-06-26 13:29:40 +00:00
Spoike 24b8fff515 fix some issues with rulesets being reapplied and nuking framerates due to shader reloads.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4919 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-26 13:21:04 +00:00
Spoike f7b61a1dd8 fix the iqm loader to be more versatile, so we now support more exotic forms of iqm.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4918 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-26 12:15:56 +00:00
Spoike f35aa1d123 try to fix entertimes.
try to fix gameclock (when joining mid-game on servers that don't support stat_matchstarttime).
fix iqm loader issue using the same skin for every surface.
modelviewer now allows displaying per-surface info.
fix qcc ptr->foo bug.
console commands with a leading space are considered to be say messages

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4917 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-24 17:59:57 +00:00
Spoike 0ced7ec194 guess at the current match time based upon mod-specific hints, required to correct for joining mid-game.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4916 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-23 17:29:12 +00:00
Spoike 59cbcfe355 rewrote cam tracking code. should make cl_chasecam 0 more robust and avoid spam about invalid clients to track (and the associated ptrack spam).
smoothed out cl_chasecam 0 angles.
server browser no longer counts spectators as players. also sorts players by frags.
fix ezhud r_tracking_frame issue, by making it technically 0 height when not tracking.
r_showfields is now a separate cvar, instead of being rolled into r_showbboxes. now shows only a single entity.
fix qport issue.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4915 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-22 11:49:15 +00:00
Spoike 6853a4fd1e fix recent saved game bug (reported by shpuld).
fixes for fteqcc to better compile 'classic fortress' (reported by zel).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4914 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-21 12:10:25 +00:00
Spoike 06e26d3808 tweaks for ktx/nq clients.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4913 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-20 14:22:06 +00:00
Spoike 2f4f8d2878 array=0; should be an error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4912 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-20 14:19:17 +00:00
Spoike 3079756b7e polish for the server browser. a little more friendly now.
fix 'was punctured by' frags to be parsed properly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4911 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-19 16:56:50 +00:00
Spoike 96f3f841da reported by shpuld. fix my fix for ktx memory leaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4910 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-19 16:51:45 +00:00
Spoike 2ee86c0314 rework server browser slightly.
reimplement -Flogicops in qcc.
fix qcc problems with if_float fix enabled.
remove redundant norefs.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4909 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-18 22:11:30 +00:00
Spoike bb4003396b whoops... that NEEDS fixing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4908 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-18 06:16:28 +00:00
Spoike 1337503fe8 fix ezhud text scaling.
fix ezhud gameclock.
fix fteqcc treating somearray as somearray[0] instead of &somearray[0]
fix sometype*foo[]; issues.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4907 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-17 13:05:20 +00:00
Spoike cc8ceb4894 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4906 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-06-17 06:42:27 +00:00
Spoike 8efd3f15be fix qcc typeinfo limit.
changed triggers so that some can be used in demos.
demo_setspeed is now a command, in order to handle 100 being 1:1 speed.
avoid weirdness at the start of demos.
only display flag columns if someone grabbed a flag.
reworked internal server browser. now has a filter, sorts by addresses, preserves sort columns, 

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4905 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-16 23:53:58 +00:00
Spoike 6f93c5cc95 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4904 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-06-15 21:07:52 +00:00
Spoike bf63109ad3 added some cvar descriptions.
flagged some cvars as archived.
cfg_save writes cvar descriptions
cfg_save writes buttons
fix nq dwarf bug
crosshaircolor 0x00ff00 now works.
snd_device none inhibits any fallback device.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4903 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-15 20:11:27 +00:00
Spoike 13a9b36bb3 make sure ktx gets shut down properly.
condition on -nowmfullscreen was inverted.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4902 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-15 07:40:58 +00:00
Spoike c12cb2f9bb fix pvs/phs memory leak when the same world map is used multiple times without getting flushed.
back off on per-client memory use.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4901 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-14 12:26:01 +00:00
Spoike 18c1326be9 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4900 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-06-14 09:34:55 +00:00
Spoike 3a4200f0ee fix some valgrind issues.
linux port now finally reports detected ip addresses.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4899 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-14 08:16:15 +00:00
Spoike c07f7ef10c git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4898 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-06-14 04:03:22 +00:00
Spoike a0e124c370 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4897 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-06-14 01:44:54 +00:00
Spoike bdc8ae1281 fix autotrack issues.
tweak gameclock to work properly with demos.
tried to fix stealth chat messages.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4896 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-14 01:28:01 +00:00
Spoike cb5bbfee2a git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4895 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-06-12 14:52:15 +00:00
Spoike 3fd21ea6ea implemented autotracking, hightrack is no longer quite so obnoxious.
implement cfg_save_all cvar, so cfg_save can save all.
downloads attempt to avoid using the fte/ gamedir
actually registering r_tracker_frags cvar.
fix ezhud wad image issues.
fix mouse binds not working when running fullscreen.
dedicated servers can now use getsurface builtins.
gl_font can now attempt to use conchars subdir too.
terrain editor can now display the areas which cannot accept the selected texture for painting. this should help reduce edges.
attempt to fix some of the less-supported ports.
don't be annoying with entity foo = someclass;
fteqcc now offers to create files if you try opening one that doesn't exist.
plugins can now query ping etc info properly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4893 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-12 14:44:50 +00:00
Spoike daa4496b7c fix for ktx compat.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4892 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-11 23:33:13 +00:00
Spoike 7ce8a329ec fix call nesting issue with -TFTE
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4891 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-08 08:07:42 +00:00
Spoike a1159e3e2b fix lag issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4890 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-08 02:55:29 +00:00
Spoike 16a62f26a1 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4889 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-06-06 08:26:40 +00:00
Spoike 7ff8286a66 oops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4888 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-06 08:15:23 +00:00
Spoike 1b5b04dfa7 fix some demo playback/capture issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4887 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-05 09:04:05 +00:00
Spoike e3939dfb58 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4886 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-06-05 03:47:36 +00:00
Spoike 3a994a3a99 add net_enabled cvar. set to 0 to block all network stuff (might need a map change to take full effect).
fix capturedemo and qwd files.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4885 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-05 03:45:01 +00:00
Spoike df8758c986 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4884 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-06-04 07:03:08 +00:00
Spoike 7b1fa381ce git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4883 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-06-04 06:22:50 +00:00
Spoike 3a5a3312cd git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4882 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-06-04 06:18:40 +00:00
Spoike f4d3df7bf5 make sure the capture command doesn't switch between gamedirs while capturing.
added dimension_default global to provide default dimensions. expected to be a (var) constant.
support setcustomskin in menuqc.
implement some considerations for win95, so it can actually run on that horrendously outdated system.
provide scr_autoid and r_showbbox-field info when running csqc.
ignore vid_restarts at the end of config.cfg files from other engines. in fte, these are at best redundant and at worst overrides user settings.
fix issue with latched cvars not flagging the config as modified.
path command always shows filenames properly.
fix some fteqcc inlining bugs.
added precaches command to display all active precaches.
added docs for mapcluster.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4881 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-04 06:15:14 +00:00
Spoike a52fb38c7d git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4879 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-06-03 15:21:24 +00:00
Spoike 45fd9d3544 fix a silly bug that breaks capturedemo.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4878 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-03 14:20:49 +00:00
Spoike 5c64a659c4 enable WEBCLIENT in dedicated servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4877 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-05-16 17:51:03 +00:00
Spoike d5dbdff1d1 enable WEBCLIENT in dedicated servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4876 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-05-16 15:57:04 +00:00
Spoike d6bf654215 enable WEBCLIENT in dedicated servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4875 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-05-16 15:51:39 +00:00
Spoike 26402942f8 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4874 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-05-16 08:14:14 +00:00
Spoike 1fed11d012 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4873 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-05-16 08:08:30 +00:00
Spoike 03919e0dd4 fix vector arrays.
try to fix some misc issues.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4872 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-05-16 08:02:05 +00:00
Spoike 31506617f0 Implemented device enumeration for SDL+ALSA+OSS4 audio drivers. Back to using the 'default' alsa device by default, warts and all.
Fixed openal linux .so name, now usable in linux.
sdl audio code now uses sdl2 audio, and thus can support multiple devices simultaneously.
linux non-sdl builds now dynamically link to SDL2 for audio. This is now the default audio system in ALL non-android linux builds. This is the only real option to cope with the mess that is alsa.
Fix netgraph when running q2. No longer makes palette assumptions.
Fixed q2 ping values.
Tweaked a load of windows code to use wide chars, because microsoft do not support utf-8.
fixed an issue with winsspi where data from large packets could get lost.
now tries to read .lit2 files (although still refuses to read them for now).
Fixed motionblur. To make Shpuld happy... :P

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4871 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-05-14 03:06:58 +00:00
Spoike 6cd5a6a076 for dedicated servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4870 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-05-03 20:31:30 +00:00
Spoike 5ba3ed97ee messy. very messy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4869 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-05-03 20:15:32 +00:00
Spoike 2afefb77ca reworked the shader system slightly.
$diffuse can now sample animmaps correctly (although this only makes sense when using glsl or replacement shaders (read: rtlights)).
$fullbright now defaults according to the animmap too.
added reflectcube and reflectmask (the latter defaults according to map/animmap, the former needs to be explicitly stated).
fix d3d9+d3d11 renderers a little. needs much more work.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4868 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-05-03 19:57:46 +00:00
Spoike 5ecd9cc5dd git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4867 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-04-27 12:55:48 +00:00
Spoike 56b8f125a1 hack some sort of hdr in there, because we can. I'm sure it could be improved.
provide xz support, because we might as well.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4866 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-04-27 12:51:42 +00:00
Spoike 410db5d6b0 in_forceseat will not break clientcmds any more.
tweak drawtextfield to understand fonts. now available to menuqc too.
provide player and full server info to qc server browsers.
allow qc to actually use cfg_save. I've been issuing that on quit for a while now and not noticed that it was getting denied.
fix some focus issues with cwindows.
tweak splitscreens to display centerprints+scoreboards in more suitable places. harder to glitch out.
path command can now displays hashes (in tooltips), which can be useful for creating fmf files.
fix q3game crash.
fix some qcc issues with hexenc and -O0.
fix some qccgui unicode issues, now preserves encoding when saving.
provide easy upgrade path for qccx syntax to fteqcc: string[%1] -> string+1 (which is still potentially unsafe (tempstrings), and thus generates a compiler warning).
rework xmpp plugin to use cwindows for chats and the buddylist. this should make it more intuitive and thus more userfriendly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4865 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-04-27 06:19:33 +00:00
Spoike ad641efab3 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4863 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-04-22 00:27:59 +00:00
Spoike 18e0176f70 not my day.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4862 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-04-21 23:22:34 +00:00
Spoike 4a582f949a git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4861 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-04-21 23:11:26 +00:00
Spoike e444af899f git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4860 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-04-21 21:56:50 +00:00
Spoike 1d72e710fa blurgh
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4859 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-04-21 21:49:08 +00:00
Spoike edbe154e19 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4858 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-04-21 21:15:01 +00:00
Spoike 7139478ae1 fix compile error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4857 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-04-21 20:51:18 +00:00
Spoike f60069e8e8 fix some csqc.
give up with glsl+bones+emscripten. emscripten just prevents it from being viable.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4856 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-04-21 20:43:01 +00:00
Spoike 21d6185e26 fix skeletal models in webgl by emulating mat3x4. also fixes lighting issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4855 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-04-21 20:08:55 +00:00
Spoike 10e91c5771 fix deltalisten bug found by shpuld, and possible entity number overflow bug.
also make csqc_ent_remove even more optional.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4854 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-04-21 20:06:27 +00:00
Spoike afe18bec95 fix pointer lock.
r_nolerp should affect skeletal framegroups too.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4853 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-04-21 14:58:29 +00:00
Spoike 906b705bf0 after much breaking, the webgl port now utilises the browser's ogg/mp3 decoder, and the browser's png decompresser. pngs/jpegs do not provide size information.
fixed non-browser ogg decoding and openal logic. should finally be fixed, I guess.
wasted some time on an ezhud plugin, along with ensuring certain info is available to the plugin. this is still a work in progress however.
non-web builds are now able to download images from urls.
download progress does not display for uri_get/uri_post builtins, nor other non-saved things.
q1qvm logic now uses pr_maxedicts cvar. the gamecode api still provides no way to tell how many are permissable, so set at own risk.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4852 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-04-21 04:12:00 +00:00
Spoike 2201b920c8 fix colormod
added frag message filter, and dedicated frag tracker.
added 'windowed consoles' for social-type stuff without depending upon csqc mods for it.
added in_deviceids command which allows listing/renumbering device ids.
slider widgets now support inverted ranges, so gamma selection isn't so weird.
fix top/bottom colour selection bug.
software banding feature is now part of the 'software' preset (now that it supports mipmaps).
support for loading .maps, and editing their brushes etc (with appropriate qc mod). 'map mymap.map' to use. expect problems with missing wads and replacement textures overriding them and messing up texture scales.
snd_inactive is now default.
fix threading issue with wavs, no more error from 0-sample-but-otherwise-valid wavs.
added -makeinstaller option to embed a manifest inside the exe (and icon).
the resulting program will insist on installing the game if its run from outside a valid basedir.
framegroup support for q1mdl.
textures are now loaded on multiple worker threads, for reduced load times. moo har har.
netgraph shows packet+byte rates too.
added r_lightstylescale, pretty similar to contrast, but doesn't impose any framerate cost, but may have overbrighting issues.
r_softwarebanding now works on q2bsp too.
fixed crepuscular lights.
gzip transfer encoding is performed while downloading, instead of inducing stalls.
FINALLY fix ezquake download compat issue (dimman found the issue).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4851 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-04-14 23:12:17 +00:00
Spoike 18de6445ba rewrote huge chunks of qcc code to track which symbols were used where.
this makes inlining more efficient, and allows stripping irrelevant defs.
(there may still be things broken due to this)
gui version behaves a little better now, and saves debug+optimisation etc settings on a per-mod basis, instead of using the windows registry to store which engine+path+args to run.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4850 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-04-14 12:24:05 +00:00
Spoike 178a0117ff try to fix an omitted function that can apparently result in crashes where libpng is dynamically linked.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4849 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-03-20 12:53:43 +00:00
Spoike e1269ddd35 much needed lerp fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4847 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-03-12 14:59:53 +00:00
Spoike d2c6bb1c6e fix omc's lock-up bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4846 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-03-08 12:11:02 +00:00
Spoike 8dc525e53f fix brushlist clipping issue with submodels.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4845 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-03-06 03:20:59 +00:00
Spoike 1ba434bb17 finally implement stat_matchstarttime iiuc.
add a new gimmick. there's a cvar to enable it.
fix up rbe plugins to be usable in dedicated servers.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4844 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-03-05 22:14:21 +00:00
Spoike 086841f1b8 fix 64bit inconsistent types bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4843 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-03-03 07:55:49 +00:00
Spoike f13a87f021 Added EF_BRIGHTFIELD to classic particles.
fix r_softwarebanding
fix r_waterstyle

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4842 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-03-03 07:54:10 +00:00