mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 01:47:39 +00:00
moved more includes to sysconfig.h
This commit is contained in:
14
rug.cpp
14
rug.cpp
@@ -1007,20 +1007,6 @@ void addNewPoints() {
|
||||
if(qvalid != oqvalid) { Xprintf("adding new points %4d %4d %4d %.9lf %9d %9d\n", oqvalid, qvalid, size(points), dist, dt, queueiter); }
|
||||
}
|
||||
|
||||
#if !CAP_SDL
|
||||
#include <stdlib.h>
|
||||
#include <sys/time.h>
|
||||
long long getVa() {
|
||||
struct timeval tval;
|
||||
gettimeofday(&tval, NULL);
|
||||
return tval.tv_sec * 1000000 + tval.tv_usec;
|
||||
}
|
||||
|
||||
int SDL_GetTicks() {
|
||||
return getVa() / 1000;
|
||||
}
|
||||
#endif
|
||||
|
||||
void physics() {
|
||||
|
||||
if(good_shape) return;
|
||||
|
Reference in New Issue
Block a user