mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 13:21:04 +00:00
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:
parent
6daf42a959
commit
ae2bcdd1a6
3 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue