Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Sunday, October 25, 2026

Diff for games/_shared/standart.c between version 1.3 and 1.4

version 1.3, 2003/08/03 21:34:18 version 1.4, 2003/10/21 10:23:43
Line 8 
Line 8 
  * All rights reserved.   * All rights reserved.
  */   */
   
 /* $Platon: games/_shared/standart.c,v 1.2 2003/06/27 21:58:29 nepto Exp $ */  /* $Platon: games/_shared/standart.c,v 1.3 2003/08/03 21:34:18 nepto Exp $ */
   
 /* NOTE: incorrect "standart" word in filename is kept  /* NOTE: incorrect "standart" word in filename is kept
    from historical reasons; correct word is "standard" */     from historical reasons; correct word is "standard" */
Line 32 
Line 32 
   
 void wait(double sec)  void wait(double sec)
 {  {
         wait_clocks(max(1, sec * CLOCKS_PER_SEC), wait_clocks_dummy_func);          clock_t start = clock();
           clock_t total = max(1, sec * CLOCKS_PER_SEC);
           while (clock() - start < total)
                   ;
 }  }
   
 WORD wround(double a)  WORD wround(double a)

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top