Commit Graph

312 Commits

Author SHA1 Message Date
Spoike 934a97c53e fix some compile issues (errors and warnings). sdl, ode, vulkan.
fix q2bsp textures.
fix some vulkan validation issues.
MOVE_OTHERONLY is now an official feature (replacing MOVE_ONLYENT which is now removed, same functionality, better behaved behaviour).
network up edited brushes on initial connect. still needs more work for entity editing, but should otherwise be okay for now.
add sys_browserredirect console command for emscripten builds (can be used to trigger window redirections - including download requests)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5001 fc73d0e0-1445-4013-8a0c-d673dee63da5
2016-07-15 12:26:24 +00:00
Spoike 27a59a0cbc LOTS OF CHANGES. was hoping to get revision 5000 perfect, but really that's never going to happen. this has gone on for too long now.
vulkan, wasapi, quake injector features added.
irc, avplug, cef plugins/drivers reworked/updated/added
openal reverb, doppler effects added.
'dir' console command now attempts to view clicked files.
lots of warning fixes, should now only be deprecation warnings for most targets (depending on compiler version anyway...).
SendEntity finally reworked to use flags properly.
effectinfo improved, other smc-targetted fixes.
mapcluster stuff now has support for linux.
.basebone+.baseframe now exist in ssqc.
qcc: -Fqccx supports qccx syntax, including qccx hacks. don't expect these to work in fteqw nor dp though.
qcc: rewrote function call handling to use refs rather than defs. this makes struct passing more efficient and makes the __out keyword usable with fields etc.
qccgui: can cope a little better with non-unicode files. can now represent most quake chars.
qcc: suppressed warnings from *extensions.qc

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5000 fc73d0e0-1445-4013-8a0c-d673dee63da5
2016-07-12 00:40:13 +00:00
Spoike e996609c73 added qccgui icon (courtesy of shpuld)
isolated transfers a little.
added preliminary support for r1q2 and q2pro protocols (no zlib).
fixed some missing q2 hud configstrings.
fixed models attached to particles not appearing the first time around.
fixed halos appearing on {foo fullbright textures.
fix particle crash bug from missing particlecubes.
implement r_converteffectinfo (instead of r_importeffectinfo with r_exportalleffects) for convenience. also now more complete and more accurate.
loadfont no longer auto-allocates slot 0.
fix issues with r_dynamic -1
don't restart audio on vid_reload (only reload it). this fixes audio issues with capturedemo with gamedir changes.
fix possible crash from loading sounds during an audio reload/restart.
now listens on both ports 27500 and 26000 when running quake, by default. sv_port or -port args will override.
work around surfedge corruption in some instance of the slide4 map that dimman found.
attempt to nudge players to travel at at least 200qu when travelling vertically through portals. this should help alieviate gravity-induced stuttering issues.
fix nested function types used in conjunction with op_state. now assumes static within the parent.
optimise array indexes slightly.
fix issue with ptr[float].foo
fix some qcc bugs to do with implicit type conversions
fix a portal / angle protocol extension issue, so legacy clients can use portals, they just can't see the other side (nor predict them).
fix q2 victory.pcx issue at the end of the game.
use abort/sigabort instead of sigsegv on linux sys_errors. this should help get people to report stuff better.
reformat the nq server advertising to be more helpful.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4996 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-12-28 17:41:39 +00:00
Spoike b1d2179394 glibc workaround
fix some q2 (demo-)incompatibilities + omissions. rework some effects too (and implement some missing stuff, like flies). more work required.
a hack to hide a well-known bot from q2 player counts in the server browser.
fix some server browser colours.
fixed some lighting issues.
sv_protocol_nq now accepts protocol names.
fix some ezhud issues, like the 'hide all' command.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4995 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-12-12 19:25:15 +00:00
Spoike 71319a8852 add hud_miniscores_show cvar to hide the mini deathmatch overlay
fix some issues with ezhud. ownfrags, text alphas, RGB player colours.
tweak gamecontroller input a little, to make axis slightly more usable.
fix issue with menuqc/csqc not being able to query binds reliably.
fix csqc gravitydir.
bump r_particle_tracelimit so that its no longer a limitation by default.
tweak fog to allow far-clip-plane culling on entities (but still not on world, due to issues with glClear).
fix performance issue with q1bspx BRUSHLIST lump.
fix mvd recording bug.
fix limitation that becomes apparent on maps with lots of ents visible at once. will now use more bandwidth in such cases, however.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4994 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-11-18 07:37:39 +00:00
Spoike 9000f497ec misc fixes and tweaks:
added //it stuffcmd.
now parsing //wps stuffcmds for ezhud use.
rework worker threads a little so that the main thread is no longer guaranteed to be stalled at least once. This speeds up load times a little.
fix nq server player counts in the server browser.
fix switching from/to spectator mode from destroying frag counts.
tweak custom bf args a little.
fix issue with player names starting with char 0x80.
fix menu.dat not loading.
attempt to fix flush lag on windows.
some fixes for stencil shadows.
try to fix public builds not knowing their svn revision. this should fix autoupdates.
added global_gravitydir vector, for mods that want to be really weird. doesn't clear onground flags however.
reworked the status command a little to attempt to report bursts a little better.
fix multicasts missing in mvds issue.
fix illegible server message with dpp7 downloads.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4992 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-10-27 15:20:15 +00:00
Spoike ca09c08072 added a -plugwrapper argument, so that libcef can be a little more efficient with regards to new processes, at least in terms of quake resources eaten in subprocesses that will not be running quake.
fixed -watchdog, no longer conflicts with other exception handling.
try to be more efficient on behalf of videomaps

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4971 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-08-24 03:54:39 +00:00
Spoike 6e6a767ba6 fix hitmodel.
allow providing a videomap shader as a cwindow background. because I can.
move all the tenebrae hacks over to only explicitly detected tenebrae progs.
small irc plugin update.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4969 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-08-22 02:59:01 +00:00
Spoike a26a373d15 fixed picmip simpleitems issue.
fixed double picmip bug.
use pbos for videocapture, for extra speed. mwahaha.
fix issues with 2d batching. including drawflags.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4962 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-08-14 02:46:38 +00:00
Spoike fc691d5be8 implemented gl_simpleitems.
load times reduced slightly.
don't show autoid armour if they're dead. its just not relevant.
fix csqc staticsound builtin.
fix some shader leaks/double-frees in certain situations.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4960 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-08-10 18:28:23 +00:00
Spoike aab72de84b more webgl tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4956 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-08-02 19:08:36 +00:00
Spoike 6d36834f8e Reworked client support for DPP5+. less code now, its much more graceful.
added waterfog command. waterfog overrides regular fog only when the view is in water.
fixed 64bit printf format specifiers. should work better on winxp64.
fixed some spec angle weirdness.
fixed viewsize 99.99 weirdness with ezhud.
fixed extra offset on the console (exhibited in 64bit builds, but not limited to).
fixed .avi playback, can now actually display frames again.
reimplemented line sparks.
fixed r_editlights_save flipping the light's pitch.
fixed issue with oggs failing to load.
fixed condump to cope with unicode properly.
made sv_bigcoords default except in quake. hexen2 kinda needs it for bsp angle precision.
fixed nq server to not stall weirdly on map changes.
fixed qwprogs svc_cdtrack not bugging out with nq clients on the server.
fixed restart command to load the last map run by the server, instead of start.bsp (when idle)
optimised d3d9 renderer a little. now uses less draw calls, especially with complex scenes. seems to get higher framerates than opengl now.
fixed d3d9 renderer to not bug out quite so much when run fullscreen (shader subsystem is now correctly initialised).
fixed a couple of bugs from font change. also now supports utf-8 in a few more places.
r_editlights_reload no longer generates rtlights inside the void. this resolves a few glitches (but should also help framerates a little).
fixed so corona-only lights won't generate shadowmaps and waste lots of time.
removed lots of #defines from qclib. I should never have made them in the first place, but I was lazy. obviously there's more left that I cba to remove yet.
fixed nested calls with variant-vectors. this fixes csaddon's light editor.
fixed qcc hc calling conventions using redundant stores.
disabled keywords can still be used by using __keyword instead.
fixed ftegccgui grep feature.
fixed motionless-dog qcc bug.
tweaked qcc warnings a little. -Wall is now a viable setting. you should be able to fix all those warnings.
fixed qw svc_intermission + dpp5+ clients bug.
fixed annoying spam about disconnecting in hexen2.
rewrote status command a little to cope with ipv6 addresses more gracefully
fixed significant stall when hibernating/debugging a server with a player sitting on it.
fixed truelightning.
fixed rocketlight overriding pflags.
fixed torches vanishing on vid_restart.
fixed issue with decal scaling.
fixed findentityfield builtin.
fixed fteqcc issue with ptr+1
fixed use of arrays inside class functions.
fixed/implemented fteqcc emulation of pointer opcodes.
added __inout keyword to fteqcc, so that it doesn't feel so horrendous.
fixed sizeof(*foo)
fixed *struct = struct;
fixed recursive structs.
fixed fteqcc warning report.
fixed sdl2 controller support, hopefully.
attempted to implement xinput, including per-player audio playback.
slightly fixed relaxed attitude to mouse focus when running fullscreen.
fixed weird warnings/errors with 'ent.arrayhead' terms. now generates sane errors.
implemented bindmaps (for csqc).
fixed crashing bug with eprint builtin.
implemented subset of music_playlist_* functionality. significant changes to music playback.
fixed some more dpcsqc compat.
fixed binds menu. now displays and accepts modifiers.
fixed issues with huge lightmaps.
fixed protocol determinism with dp clients connecting to fte servers. the initial getchallenge request now inhibits vanilla nq connection requests.
implemented support for 'dupe' userinfo key, allowing clients to request client->server packet duplication. should probably queue them tbh.
implemented sv_saveentfile command.
fixed resume after breaking inside a stepped-over function.
fixed erroneous footer after debugging.
(I wonder just how many things I broke with these fixes)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4946 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-26 10:56:18 +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 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 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 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 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 12d80eba33 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4894 fc73d0e0-1445-4013-8a0c-d673dee63da5 2015-06-12 14:45: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 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 4bfb34a8c0 build ezhud by default.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4880 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-06-03 16:42:37 +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 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 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 911f98ffaa fix demo menu with system paths.
tweak some dp compatibility things. probably futile.
moved ode to a plugin.
added screenshot_mega command to take massive screenshots that are not tied to current video mode.
removed offscreen-gecko code completely.
added cvars to rescale offsetmapping from paletted sources, so it can be disabled where its ugly.
added support for zip weak encryption. the password defaults to 'thisispublic'. nothing is fool-proof.
gl: fix stereoscopic rendering.
gl: fix rendertargets with depth.
qc: added support for named builtins that do not have any specific number.
qc: added some new builtins. drawrotpic, drawtextfield, search_getfilemtime, and a few others.
qc: PF_Fixme now attempts to figure out which builtin you tried to call, for more friendly fatal error messages.
qccgui: stepover and stepout are now implemented, as is setnextstatement.
qccgui: added a way to annotate code with the asm statements generated from them.
qccgui: fixed double-clicking a src file.
qccgui: handles multiple .src files more usefully.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4832 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-02-02 08:01:53 +00:00
Spoike 7f6c2054d9 threaded loading code and associated/extensive tweaks.
unified image loading code a little between renderers.
support switching worldmodel in csqc. also associated bugfixes.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4758 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-05 20:04:11 +00:00
Spoike 402aa52362 misc fixes, tweaks, and hacks.
qc rt target api now uses names instead of numbers. shaders can name such rendertargets in advance.
added timing info to qc profiling, instead of just opcodes executed.
added sv_showconnectionlessmessages, to show all messages that don't relate to a client, so omc can see if he's getting DDOSed easily.
try to show proper error messages with the xmpp plugin, at least for certain things.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4714 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-03 14:47:47 +00:00
Spoike 957e9b494c more correct types.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4698 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-24 03:04:30 +00:00
Spoike dd8628eb2a tweak particle system a little for more compat.
added a couple extra effects to r_particledesc high
try and solve the trailparticles madness once and for all by autodetecting which set of arguments is used.
fix some annoyances with menuqc.
rebuild fs cache when doing vid_restart, to avoid insane reload times.
add profiling support.
qcc: be more permissive with {a,b,} in array definitions.
tweaked logfrag builtin to not loose frags quite so easily. should be more robust now. Whether tools agree or not is a different matter... but there's always the possibility that it'll just work.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4644 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-24 01:53:01 +00:00
Spoike e849ff8003 /msg should work on bare jids.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4643 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-20 02:18:51 +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 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 55d7433708 fix irc client plugin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4559 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-07 01:01:53 +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 f14682bee4 Fix up the irc client a little. Build the plugin by default, so that its available for people to actually download and use instead of just rotting.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4548 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-29 17:13:19 +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 e4757aedf6 Fix up the irc client a little. Build the plugin by default, so that its available for people to actually download and use instead of just rotting.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4543 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-29 14:27:23 +00:00
Spoike 1b8c2d4255 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4534 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-11-24 16:45:47 +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 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 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 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 eec7dba110 tiny tweak to help out on linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4473 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-08 19:01:12 +00:00
Spoike 094fac4b24 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4468 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-08-21 08:59:26 +00:00
Spoike 5b633e8781 xmpp tweaks in a vague attempt at compatibility with google's official clients with voice support (which lag behind the jingle spec).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4463 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-21 07:42:42 +00:00
Spoike cf893a1921 minor tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4455 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-07 14:13:18 +00:00
Spoike c74ad5cd53 Added the md5 auth dependancy for the xmpp plugin to the makefile so it actually builds again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4446 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-31 00:36:17 +00:00
Spoike a05f3f36a0 slightly better doom3 compat
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4439 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-29 17:36:44 +00:00
Spoike fceb09fe37 reworked demo playback and interpolation.
added support for recording nq demos, but only if not already on the server.
added capturedriver as a sane way to select between screenshots, avi, or various plugins.
output sound device can now be selected via the menu. not all drivers provide device enumeration (openal and dsound do).
enabled openal, but not using it unless an openal device is explicitly requested as its still a little buggy.
added \"\"" markup in the console.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4427 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-26 17:19:06 +00:00
Spoike c1fde0e079 fix join/observe not updating spectator userinfo properly in mvds. fix a couple of other recent mvd bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4422 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-14 16:39:21 +00:00
Spoike 4a1416a5d2 removed hunk memory (as well as -mem argument).
removed cache memory.
added fallback normalmap texture.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4421 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-14 12:22:51 +00:00
Spoike 902a5adb26 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4420 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-07-13 19:56:18 +00:00
Spoike 520ce49f9e add that, makes this easier.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4419 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-13 13:30:42 +00:00
Spoike b2f5ae8f1c removed userinfobasic, things should be kept in sync more easily now.
xmpp got some major tweaks. more sasl methods etc. multiple accounts.
misc other tweaks.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4418 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-13 12:14:32 +00:00
Spoike 229eb39bfc fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4416 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-29 23:46:34 +00:00
Spoike 609f6b423c stop it from crashing pretty much instantly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4415 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-29 21:29:56 +00:00
Spoike 8db6963fc4 fix terrain issues.
xmpp: add support for /poke and /slap.
lame notify hack. need to work out what I'm doing with that stuff.
xmpp: easier targeting of friends (engine finds it easier too... yay less bugs).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4414 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-29 21:08:09 +00:00
Spoike 0823eb0968 xmpp NAT holepunching (ICE) is now implemented. it doesn't know how to do relays.
xmpp voip support (speex only). just because.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4413 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-29 16:01:07 +00:00
Spoike 2ff17aed07 Reworked the gnutls code. Now more consistant with windows, and more generic. Still does not validate the server's certificate, so disabled by default.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4402 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-24 09:04:00 +00:00
Spoike da322c528f Remove silly linux symbol conflicts.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4400 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-23 18:43:59 +00:00
Spoike 1e423d106f berkelium plugin no longer has annoying rescaling.
jabber plugin greatly extended. now uses links, automatically connects the next time its started, supports adding contacts, can cope with < a little better. started work towards support for NAT hole punching - can currently connect if the server has a correctly guessed public ip (first detected ipv4 address needs to work), needs more work for other scenarios.
other plugins required a little maintenance.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4398 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-23 02:33:52 +00:00
Spoike 9dbf5b5837 changed to not load gamecode from quake paths, to avoid issues with buggy quakeworld clients that will freely download stuff from anywhere (not sure what to do about ktx, but it can be reenabled with a cvar).
image_width is now only set by a single function.
tweaked scancode inputs slightly. added support for printscreen binds.
changed the way gamma works. glsl gamma now used when running windows, or hardware gamma is not available. removed gl_contrast+gl_brightness.
q2 gamecode support no longer has a system componant. this means that ports only need the generic stuff.
misc tweaks to the d3d11 renderer.
added brief descriptions to many builtins. need to add comments to constants, globals, and fields too, somehow.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4355 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-11 14:02:55 +00:00
Spoike 78185c2721 my attempt at linux-friendly plugin code. cross compiling for win32 should be okay now, just need to add the setting to the buildbot.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4335 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 10:40:05 +00:00
Spoike bd2205bcad unimportant valgrind warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4332 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 10:29:53 +00:00
Spoike 98d4e12ffc added mpq archive support for the luls
updated plugin apis.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4325 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-03 04:29:36 +00:00
Spoike ed26b8d380 Added support for streaming from inside quake's various data files.
Also added audio playback support.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4322 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-03 03:30:22 +00:00
Spoike f8749a242a spelling correction
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4320 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-14 09:58:23 +00:00
Spoike 6a831e2f99 qwsvdef.h is no more. Many files changed because of this.
enabled ssl support in windows for plugins.
updated jabber plugin.
tweaked downloading logic in an effort to end the madness.
Updated sql code to support sleeping the qc thread until query completion, as a more readable alternative to callbacks.
Client updates should be more explicit now, removing a potential bug.
networked terrain editing should now be in a better state.
updated the dir command to show paths too (so when the same file is listed twice, the pak its in will at least be different). Many files changed because of this.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4273 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-31 04:21:08 +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 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 c0d19c48fb ------------------------------------------------------------------------
r4173 | acceptthis | 2013-01-17 11:21:20 +0000 (Thu, 17 Jan 2013) | 1 line

buildbot doesn't have RegGetString, which is too recent for xp anyway, too.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:31:40 +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 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 3a6f3fd66c 64bit plugin fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4120 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-08 05:29:52 +00:00
Spoike c39db1d7a4 A Makefile. Merely compiling it is only half the fun.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4119 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-08 05:11:36 +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 904eb552fa I suck. big time. Sorry gb.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4113 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-07 19:28:48 +00:00
Spoike 459c99efec FTE plugin for support to run berkelium. This is an in-game web browser, that can be used with playfilm or with custom shaders. CSQC also has some control over it, for feeding it mouse/keyboard events.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4109 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-07 18:26:22 +00:00
Spoike 33a540806e Small tweeks, bugfixes, breakages, cleanups...
Added $reflection texture map for (water) shaders. Just renders the screen to an fbo before rendering the surface.
hub/savegame fixes.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4034 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-09 15:30:53 +00:00
Spoike 8fa45f2c65 Small update for the X11 server/plugin, for the luls. This update moves the x11 server from a menu and into a media decoder, allowing it to be specified in shaders and played on walls etc (muh_bad or whatever).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4025 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-23 05:07:40 +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
Spoike c889ac9225 TLS bugfixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3183 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-19 01:48:10 +00:00
Spoike ed78c773e5 I wonder what these changes do.
Oh yeah, spell check api stuff.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3182 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-19 01:46:52 +00:00
Molgrum 121ea522fe make qvm almost works...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2999 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-04 21:09:30 +00:00
Molgrum ef8c96667e Oops
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2974 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 21:53:19 +00:00
Molgrum 2b6c05d71c Send blackness to the back when created. The code works but the number 12 should perhaps be an enumeration or something else?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2973 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 20:48:31 +00:00
Molgrum 11c8d5957c Looks prettier
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2972 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 14:28:38 +00:00
Molgrum 633387d7a9 Updated Makefile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2971 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 14:23:03 +00:00
Molgrum 1134af84f2 Some notes about q3asm.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2970 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 14:20:00 +00:00
Molgrum be25425644 Small annoyance fix, removed some cvar links already supported.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2924 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-15 06:17:08 +00:00
Spoike 775e3d3311 Include a couple more paths within the fte source tree for easier dependencies.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2914 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-11 22:41:48 +00:00
Spoike 9e3c465a79 Fixes a compile error (this doesn't stop native modules from compiling).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2912 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-11 22:36:48 +00:00
Molgrum 7178261e39 Enable teamoverlay without using setinfo.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2841 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-05 10:18:02 +00:00
Lance ebb397ddf4 Readme that will hopefully help people build QVM's from Linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2797 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-27 16:39:32 +00:00
Lance 9702e7c044 QVM targets for possible QVM compileable plugins
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2796 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-27 16:03:33 +00:00
Molgrum 83129688a5 Teamoverlay is now well formatted.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2757 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-23 07:02:19 +00:00
Molgrum 6af5e510e9 Fixed a teamoverlay TODO, it now provides spacing after nicknames for a good readable format.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2739 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-11 19:21:22 +00:00
Molgrum 609ea3a9d9 Basic team overlay. TODO: Tabs for formatting. Translate $5 and similar macros in loc names.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 11:45:37 +00:00
Molgrum ed0a3ac9f1 Error ;)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2709 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 10:58:50 +00:00
Spoike 0e0869e1c6 Added prototypes for the GetLocationName builtin I just added to the engine.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2708 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 10:50:13 +00:00
Molgrum 8e80eff85c Updating the plugin Makefiles a little
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2705 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 09:59:27 +00:00
Molgrum b23217d785 Added cl_fakeshaft -> cl_truelightning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2693 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-25 21:54:01 +00:00
Molgrum 3629c87b3b Add Makefile for ezscript.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2692 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-24 21:35:05 +00:00
Molgrum 1e21805c70 Update Makefiles for plugins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2691 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-24 21:09:33 +00:00
Molgrum 79d348a9e5 Fixed b_switch and w_switch to be stripped out of ezscript. Fixed warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2666 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-21 11:19:41 +00:00
Spoike ddf8b91984 Gave meaningful error messages, should be more obvious how to use it now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2662 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-17 20:55:15 +00:00
Spoike f6a8eb23f7 Added 3 builtins which fte already supports
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2661 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-17 20:54:26 +00:00
Molgrum 55cf7068fd Fixed 2 warnings in plugin.c. Added magic fix for UI_DrawChar by TimeServ. Fixed hud_save and hud_load so you don't have to write the .hud file extension when saving/loading. Added partially working "tracking" hud element, it needs to be fixed so it doesn't show if the local player is a spectator, any ideas how to check that?
Also starting to implement a feature to modify hud elements from the console.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2589 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-11 15:20:35 +00:00
Molgrum 633ccc534e Removed existing FTE cvars. Added new ezQuake cvars.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2517 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-18 22:15:53 +00:00
Spoike 2c64085f12 not sure on the usefulness of this patch, though it is at least more correct.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2516 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-15 01:28:24 +00:00
Spoike 2f059d7b59 Some minor tweeks to the hud plugin
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2470 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-02-26 03:00:25 +00:00
TimeServ 0939c0e46c respect return value with hud plugin call, disable scoreboard in hud plugin
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2376 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-08-20 01:35:56 +00:00
Spoike 2fabcc0904 botlib stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2334 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-27 08:30:48 +00:00
TimeServ 36416234fb fix save on context menu, fix cotext menu without selected item
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2267 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-10 02:45:45 +00:00
TimeServ efe118cb22 don't crash with no object selected, don't draw twice while editing, misc cleanups
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2266 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-10 02:28:31 +00:00
Spoike ad0c14548a Fixes the quad replacements issue - which was caused by me wrongfully assuming quake actually used it's content.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2205 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 02:26:38 +00:00
Lance ae586b599a Added ezscript_silentmode, with the spam default off. Uncommented ezScript_InitCvars & ezScript_CvarUpdate, the .qvm has magically lost 3kb too.. even though more code was added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2201 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 01:37:40 +00:00
Spoike c7d690011d Make builtins returning floats work properly when not compiled as a qvm.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2200 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 01:18:46 +00:00
Spoike 95a623820f Butchered around with the hud plugin a little.
It's now much easier to add new elements. Almost releasable. :)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2198 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 00:45:31 +00:00
TimeServ 02176f8853 remove more cvsignore files
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-02 23:25:51 +00:00
Lance d8b5ebb7e4 added more stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2050 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-05 02:49:16 +00:00
Lance 10e7d1c98d minor fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1969 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-13 07:39:22 +00:00
Spoike 851b73afe3 I'm being paranoid. Cursor should definatly work. Hopefully this'll stop the big nasty deaththreats coming from up2 :(
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1965 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-13 00:18:37 +00:00
Spoike 8684c02705 keyboard works, cursor should workd too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1964 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-13 00:16:57 +00:00
Spoike 3af05720c5 LoadImage does actually return a value.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1947 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 13:48:31 +00:00
Spoike 724d77bc67 Insertable positions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1946 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 13:48:17 +00:00
Lance 6a88733622 forgot about this one
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1940 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-10 06:41:04 +00:00
Spoike 1e0fe6bbaf yeah, let's update these.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1938 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-09 02:04:12 +00:00
Spoike f94fef6b3a Stop the annoying files.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1937 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-09 01:59:39 +00:00
Spoike 2e06035ee3 up2 wanted one.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1936 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-09 01:58:42 +00:00
Spoike 6e60e1fba9 A small fix. ho hum
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1932 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-02 19:01:48 +00:00
Spoike 689cc00c34 Make these work, moodles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1931 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-02 18:55:09 +00:00
Lance 01b59ae643 some more misc fixes, list is one of them
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1930 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-02 13:26:26 +00:00
Lance dc361e4037 fixed private channel exploit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1929 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-02 13:00:42 +00:00
Lance c0c7db487b mega fixes, recoding, nick stuff more compatible etc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1928 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-02 12:06:31 +00:00
Lance bcea75ae31 channel joining noob request by up2nogood
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1927 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-02 08:32:57 +00:00
Lance 6f891f1a6a fixed #alientrap bug (because it was secret thats way), and added code attn of spike
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1926 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-02 07:34:35 +00:00
Lance 5a097121a5 slight version control
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1919 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-01 08:21:36 +00:00
Lance 74d9fd53e8 fixed up stuff.. weeee.. must less buggy, things work now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1918 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-01 07:59:19 +00:00
Spoike c816d21a74 Has a cursor thingie.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1917 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-30 21:10:17 +00:00
Spoike 4807ec631b Still could do with some tweeks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1885 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-21 00:08:17 +00:00
Spoike 48514d4807 Some new stuff for the hud plugin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1884 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-21 00:07:47 +00:00
Lance 44476382fe still does funky stuff, nick stuff works better (hopefully).. had to write a hack to support etg
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1882 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-19 03:26:40 +00:00
Spoike eeb89caa80 The green box is the resize area. It doesn't work properly when you scale an item negativly though. Shift and stuff work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1861 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-13 06:12:57 +00:00
Spoike d4b4e657bf Fixed some parameter types to match the engine.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1860 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-13 06:11:47 +00:00
Spoike bfb9bbb371 Added some additional sub-console functions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1720 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-16 18:08:40 +00:00
Spoike 2297980427 A bug hunting I will go, a bug hunting I will go, traa la la.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1719 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-16 18:06:44 +00:00
Spoike 55fe54ae60 Maybe this will make rjlan happy.
probably not, but it's worth a try.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1710 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-15 18:52:03 +00:00
Spoike 2ba9c0e2e8 A small update.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1709 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-15 02:01:57 +00:00