openxr plugin: tweaked - inputs should be working properly now, and are visible to csqc. subject to further breaking changes, however.
_pext_vrinputs: added cvar to enable vr inputs protocol extension allowing vr inputs to be networked to ssqc too. defaults to 0 for now, will be renamed when deemed final. updates menu: the prompt to enable sources is now more explicit instead of expecting the user to have a clue. updates menu: added a v3 sources format, which should be more maintainable. not final. updates menu: try to give reasons why sources might be failing (to help blame ISPs if they try fucking over TTH dns again). presets menu: no longer closes the instant a preset is chosen. some presets have a couple of modifiers listed. force the demo loop in the background to serve as a preview. prompts menus: now does word wrapping. ftemaster: support importing server lists from other master servers (requested by Eukara). server: try to detect when non-reply inbound packets are blocked by firewalls/nats/etc (using ftemaster to do so). qcvm: added pointcontentsmask builtin, allowing it to probe more than just world, with fte's full contentbit range instead of just q1 legacy. qcvm: memfill8 builtin now works on createbuffer() pointers. qcvm: add missing unsigned ops. Fixed double comparison ops. fixed bug with op_store_i64. added missing OP_LOADP_I64 qcc: added '#pragma framerate RATE' for overriding implicit nextthink durations. qcc: fixed '#pragma DONT_COMPILE_THIS_FILE' to not screw up comments. qcc: added __GITURL__ __GITHASH__ __GITDATE__ __GITDATETIME__ __GITDESC__ for any mods that might want to make use of that. qcc: fix up -Fhashonly a little setrenderer: support for vulkan gpu enumeration. rulesets: reworked to support custom rulesets (using hashes to catch haxxors, though still nothing prevents just changing the client to ignore rulesets) bspx: use our BIH code for the bspx BRUSHLIST lump instead of the older less efficient code. (static)iqm+obj: these model formats can now be used for the worldmodel (with a suitable .ent file). Also using BIH for much better collision performance. pmove: tried to optimise PM_NudgePosition, should boost fps in stress tests. wayland: fix a crash on startup. mousegrabs now works better. imagetool: uses sdl for previews. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5813 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
cd50a54a5a
commit
b9cd6ec91b
160 changed files with 13078 additions and 5542 deletions
|
@ -60,7 +60,7 @@ typedef struct cvar_s
|
|||
//must match q2's definition
|
||||
char *name;
|
||||
char *string;
|
||||
char *latched_string; // for CVAR_LATCH vars
|
||||
char *latched_string; // for CVAR_LATCHMASK vars
|
||||
unsigned int flags;
|
||||
int modified; // increased each time the cvar is changed
|
||||
float value;
|
||||
|
@ -116,7 +116,7 @@ typedef struct cvar_group_s
|
|||
#define CVAR_SERVERINFO (1<<2) // added to serverinfo when changed
|
||||
#define CVAR_NOSET (1<<3) // don't allow change from console at all,
|
||||
// but can be set from the command line
|
||||
#define CVAR_LATCH (1<<4) // save changes until server restart
|
||||
#define CVAR_MAPLATCH (1<<4) // save changes until server restart, to avoid q2 gamecode bugging out.
|
||||
|
||||
//freestyle
|
||||
#define CVAR_POINTER (1<<5) // q2 style. May be converted to q1 if needed. These are often specified on the command line and then converted into q1 when registered properly.
|
||||
|
@ -143,7 +143,7 @@ typedef struct cvar_group_s
|
|||
|
||||
#define CVAR_LASTFLAG CVAR_VIDEOLATCH
|
||||
|
||||
#define CVAR_LATCHMASK (CVAR_LATCH|CVAR_RENDERERLATCH|CVAR_SERVEROVERRIDE|CVAR_CHEAT|CVAR_SEMICHEAT) //you're only allowed one of these.
|
||||
#define CVAR_LATCHMASK (CVAR_MAPLATCH|CVAR_RENDERERLATCH|CVAR_VIDEOLATCH|CVAR_SERVEROVERRIDE|CVAR_CHEAT|CVAR_SEMICHEAT) //you're only allowed one of these.
|
||||
#define CVAR_NEEDDEFAULT CVAR_CHEAT
|
||||
|
||||
//an alias
|
||||
|
@ -166,7 +166,7 @@ void Cvar_ForceSetValue (cvar_t *var, float value);
|
|||
void Cvar_SetValue (cvar_t *var, float value);
|
||||
// expands value to a string and calls Cvar_Set
|
||||
|
||||
qboolean Cvar_ApplyLatchFlag(cvar_t *var, char *value, int flag);
|
||||
qboolean Cvar_ApplyLatchFlag(cvar_t *var, char *value, unsigned int newflag, unsigned int ignoreflags);
|
||||
|
||||
qboolean Cvar_UnsavedArchive(void);
|
||||
void Cvar_Saved(void);
|
||||
|
@ -175,8 +175,8 @@ void Cvar_ConfigChanged(void);
|
|||
extern int cvar_watched; //so that cmd.c knows that it should add messages when configs are execed
|
||||
void Cvar_ParseWatches(void); //parse -watch args
|
||||
|
||||
int Cvar_ApplyLatches(int latchflag);
|
||||
//sets vars to their latched values
|
||||
int Cvar_ApplyLatches(int latchflag, qboolean clearflag);
|
||||
//sets vars to their latched values (and optionally forgets the cvarflag in question)
|
||||
|
||||
void Cvar_Hook(cvar_t *cvar, void (QDECL *callback) (struct cvar_s *var, char *oldvalue));
|
||||
//hook a cvar with a given callback function at runtime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue