X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_timer.c;h=c1716567221b88c3ce711dc9e2ad9b644ed69d0f;hb=a9fe632397649ac62b1d7febda9a62bc517c5c53;hp=a9dba5d5d26eeeb58792e1bf0bfdc8ecffe0d7ea;hpb=7473a2ca27ea7bd740f5a0d271d89c6fdca68a49;p=16.git diff --git a/src/lib/16_timer.c b/src/lib/16_timer.c index a9dba5d5..c1716567 100755 --- a/src/lib/16_timer.c +++ b/src/lib/16_timer.c @@ -41,7 +41,7 @@ clock_t start_timer(global_game_variables_t *gv) break; default: gv->kurokku.fpscap=1; - gv->kurokku.frames_per_second=60; + gv->kurokku.frames_per_second=FPSVALUE; break; } return gv->kurokku.t; @@ -65,10 +65,6 @@ double time_in_seconds(global_game_variables_t *gv) return (gv->kurokku.t) / CLOCKS_PER_SEC; } -// big global status text buffer -char global_temp_status_text[512]; -char global_temp_status_text2[512]; - /*double time_in_seconds(time_t in_t) { return (in_t) / CLOCKS_PER_SEC; @@ -100,6 +96,7 @@ void shinkutxt(global_game_variables_t *gv) // } } +#if 0 void WaitPee() { while(inp(INPUT_STATUS_1) & 8) { @@ -110,3 +107,4 @@ void WaitPee() /* spin */ } } +#endif