Fix ignore command.
Add cl_lerp_driftbias and cl_lerp_driftfrac cvars, to tweak drifting. changed defaults to try to reduce clamping. Implement ladders with nq player physics. Fix submodel contents with nq player physics. Implemented drawrotpic_dp for compat (incompatible with fte's earlier implementation) Added con_textfont cvar to set fonts without uglifying menuqc/csqc drawstrings that don't specify explicit fonts. Enemycolor and teamcolor are now true cvars, which means they now work with seta. Move the homedir from CSIDL_PERSONAL to CSIDL_LOCAL_APPDATA, because microsoft apparently scrape all CSIDL_PERSONAL data for upload to their servers, because they don't understand 'personal'. Will still use the old homedir if it exists. Pack signon data without wasting so much, primarily to allow abusive mods to spew larger individual signon messages (hurrah for packet fragmentation). git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5546 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
40b7193cef
commit
131a6be4bc
27 changed files with 523 additions and 165 deletions
|
@ -21,8 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
#define QW_SERVER
|
||||
|
||||
#define MAX_SIGNON_BUFFERS 16
|
||||
|
||||
typedef enum {
|
||||
ss_dead, // no map loaded
|
||||
ss_clustermode,
|
||||
|
@ -229,9 +227,8 @@ typedef struct
|
|||
// multiple signon messages are kept
|
||||
// fte only stores writebyted stuff in here. everything else is regenerated based upon the client's extensions.
|
||||
sizebuf_t signon;
|
||||
int num_signon_buffers;
|
||||
int signon_buffer_size[MAX_SIGNON_BUFFERS];
|
||||
qbyte signon_buffers[MAX_SIGNON_BUFFERS][MAX_DATAGRAM];
|
||||
int used_signon_space;
|
||||
qbyte signon_buffer[MAX_OVERALLMSGLEN]; //flushed after every 512 bytes (two leading bytes says the size of the buffer).
|
||||
|
||||
qboolean gamedirchanged;
|
||||
|
||||
|
@ -1261,7 +1258,7 @@ void MSV_OpenUserDatabase(void);
|
|||
//
|
||||
void SV_SpawnServer (const char *server, const char *startspot, qboolean noents, qboolean usecinematic);
|
||||
void SV_UnspawnServer (void);
|
||||
void SV_FlushSignon (void);
|
||||
void SV_FlushSignon (qboolean force);
|
||||
void SV_UpdateMaxPlayers(int newmax);
|
||||
|
||||
void SV_FilterImpulseInit(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue