1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 01:47:39 +00:00

removed DOSHMUP

This commit is contained in:
Zeno Rogue
2018-07-09 20:38:20 +02:00
parent 6303b8033b
commit f721c243d2
4 changed files with 15 additions and 16 deletions

View File

@@ -465,6 +465,8 @@ void resize_screen_to(int x, int y) {
setvideomode();
}
int timetowait;
void mainloopiter() {
DEBB(DF_GRAPH, (debugfile,"main loop\n"));
@@ -481,17 +483,16 @@ void mainloopiter() {
ticks = SDL_GetTicks();
callhooks(hooks_fixticks);
int timetowait = lastt + 1000 / cframelimit - ticks;
timetowait = lastt + 1000 / cframelimit - ticks;
cframelimit = vid.framelimit;
if(outoffocus && cframelimit > 10) cframelimit = 10;
bool normal = cmode & sm::NORMAL;
if(DOSHMUP && normal)
timetowait = 0, shmup::turn(ticks - lastt);
shmup::turn(ticks - lastt);
if(!DOSHMUP && (multi::alwaysuse || multi::players > 1) && normal)
if(!shmup::on && (multi::alwaysuse || multi::players > 1) && normal)
timetowait = 0, multi::handleMulti(ticks - lastt);
if(vid.sspeed >= 5 && gmatrix.count(cwt.c) && !elliptic) {