Track areas properly, so we don't bug out when a client has multiple cameras in different areas.
Fix up r_ignoreentpvs 0 to check areas properly. checkpvs builtin can no longer mess up area checks elsewhere. Write out foo.db files for release builds, in the hopes of at least getting function names from release-build crashes. Implement _skyroom worldspawn field, still needs a few tweaks though. Try to fix android surface-related crashes, AGAIN. Separate parsing of connect requests, in preparation for formal logins (and removal of the old ranking code). A few tweaks to try to improve compatibility with q3 mods. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5484 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
6c7220324e
commit
8197e0875f
64 changed files with 1336 additions and 959 deletions
|
@ -95,10 +95,10 @@ typedef struct sqlserver_s
|
|||
|
||||
/* prototypes */
|
||||
void SQL_Init(void);
|
||||
void SQL_KillServers(void);
|
||||
void SQL_KillServers(void *owner);
|
||||
void SQL_DeInit(void);
|
||||
|
||||
sqlserver_t *SQL_GetServer (int serveridx, qboolean inactives);
|
||||
sqlserver_t *SQL_GetServer (void *owner, int serveridx, qboolean inactives);
|
||||
queryrequest_t *SQL_GetQueryRequest (sqlserver_t *server, int queryidx);
|
||||
queryresult_t *SQL_GetQueryResult (sqlserver_t *server, int queryidx, int row);
|
||||
//void SQL_DeallocResult(sqlserver_t *server, queryresult_t *qres);
|
||||
|
@ -107,7 +107,7 @@ void SQL_CloseResult(sqlserver_t *server, queryresult_t *qres);
|
|||
void SQL_CloseRequest(sqlserver_t *server, queryrequest_t *qres, qboolean force);
|
||||
void SQL_CloseAllResults(sqlserver_t *server);
|
||||
char *SQL_ReadField (sqlserver_t *server, queryresult_t *qres, int row, int col, qboolean fields, size_t *resultsize);
|
||||
int SQL_NewServer(const char *driver, const char **paramstr);
|
||||
int SQL_NewServer(void *owner, const char *driver, const char **paramstr);
|
||||
int SQL_NewQuery(sqlserver_t *server, qboolean (*callback)(queryrequest_t *req, int firstrow, int numrows, int numcols, qboolean eof), const char *str, queryrequest_t **reqout); //callback will be called on the main thread once the result is back
|
||||
void SQL_Disconnect(sqlserver_t *server);
|
||||
void SQL_Escape(sqlserver_t *server, const char *src, char *dst, int dstlen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue