Rename faketimerhandler -> UpdateInputs and keep an empty

faketimerhandler stub in SW. This basically deprecates
the usage of faketimerhandler in the game.
This commit is contained in:
NY00123 2020-05-22 02:23:39 +03:00 committed by Christoph Oelckers
parent 6daf42a959
commit ae2bcdd1a6
3 changed files with 5 additions and 2 deletions

View file

@ -2602,7 +2602,7 @@ void RunLevel(void)
timerUpdateClock(); timerUpdateClock();
while (ready2send && (totalclock >= ototalclock + synctics)) while (ready2send && (totalclock >= ototalclock + synctics))
faketimerhandler(); UpdateInputs();
} }
ready2send = 0; ready2send = 0;

View file

@ -924,8 +924,10 @@ AddSyncInfoToPacket(int *j)
} }
} }
void faketimerhandler(void) { ; }
void void
faketimerhandler(void) UpdateInputs(void)
{ {
int i, j, k; int i, j, k;
PLAYERp pp; PLAYERp pp;

View file

@ -171,6 +171,7 @@ typedef struct
extern AUTO_NET Auto; extern AUTO_NET Auto;
extern SWBOOL AutoNet; extern SWBOOL AutoNet;
void UpdateInputs(void);
void getpackets(void); void getpackets(void);
void SendMulitNameChange(char *new_name); void SendMulitNameChange(char *new_name);
void InitNetVars(void); void InitNetVars(void);