]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
***map loader generates portals for the map*** (can you tell this is a big deal? :)
[xonotic/darkplaces.git] / server.h
index c377acdc0dcc5b5225911e7a7be953e515726f84..426291af1a2b75c99474d9754d6cdb98dc0709c1 100644 (file)
--- a/server.h
+++ b/server.h
@@ -40,6 +40,8 @@ typedef struct
        qboolean        loadgame;                       // handle connections specially
 
        double          time;
+
+       double          frametime;
        
        int                     lastcheck;                      // used by PF_checkclient
        double          lastchecktime;
@@ -195,8 +197,6 @@ extern      client_t        *host_client;
 
 extern jmp_buf         host_abortserver;
 
-extern double          host_time;
-
 extern edict_t         *sv_player;
 
 //===========================================================
@@ -204,8 +204,8 @@ extern      edict_t         *sv_player;
 void SV_Init (void);
 
 void SV_StartParticle (vec3_t org, vec3_t dir, int color, int count);
-void SV_StartSound (edict_t *entity, int channel, char *sample, int volume,
-    float attenuation);
+void SV_StartEffect (vec3_t org, int modelindex, int startframe, int framecount, int framerate);
+void SV_StartSound (edict_t *entity, int channel, char *sample, int volume, float attenuation);
 
 void SV_DropClient (qboolean crash);