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
This commit is contained in:
parent
fa9252cefa
commit
1e423d106f
11 changed files with 2047 additions and 578 deletions
|
@ -18,8 +18,8 @@
|
|||
#define avio_alloc_context av_alloc_put_byte
|
||||
*/
|
||||
|
||||
#define ARGNAMES ,sourceid, data, speed, samples, channels, width
|
||||
BUILTIN(void, S_RawAudio, (int sourceid, void *data, int speed, int samples, int channels, int width));
|
||||
#define ARGNAMES ,sourceid, data, speed, samples, channels, width, volume
|
||||
BUILTIN(void, S_RawAudio, (int sourceid, void *data, int speed, int samples, int channels, int width, float volume));
|
||||
#undef ARGNAMES
|
||||
|
||||
/*should probably try threading this*/
|
||||
|
|
|
@ -412,6 +412,30 @@ static media_encoder_funcs_t encoderfuncs =
|
|||
AVEnc_End
|
||||
};
|
||||
|
||||
/*
|
||||
qintptr_t AVEnc_ExecuteCommand(qintptr_t *args)
|
||||
{
|
||||
char cmd[256];
|
||||
Cmd_Argv(0, cmd, sizeof(cmd));
|
||||
if (!strcmp(cmd, "avcapture"))
|
||||
{
|
||||
menuclear
|
||||
menualias menucallback
|
||||
|
||||
menubox 0 0 320 8
|
||||
menutext 0 0 "GO GO GO!!!" "radio21"
|
||||
menutext 0 8 "Fall back" "radio22"
|
||||
menutext 0 8 "Stick together" "radio23"
|
||||
menutext 0 16 "Get in position" "radio24"
|
||||
menutext 0 24 "Storm the front" "radio25"
|
||||
menutext 0 24 "Report in" "radio26"
|
||||
menutext 0 24 "Cancel"
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
qboolean AVEnc_Init(void)
|
||||
{
|
||||
pCvar_Register("avplug_format", "", 0, "avplug");
|
||||
|
@ -430,6 +454,9 @@ qboolean AVEnc_Init(void)
|
|||
return false;
|
||||
}
|
||||
|
||||
// if (Plug_Export("ExecuteCommand", AVEnc_ExecuteCommand))
|
||||
// Cmd_AddCommand("avcapture");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue