source: abuse/trunk/src/imlib/timing.hpp @ 57

Last change on this file since 57 was 57, checked in by Sam Hocevar, 11 years ago
  • Move each header to the same directory as its corresponding source, to get a better idea of which files are likely to export symbols.
File size: 650 bytes
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *
5 *  This software was released into the Public Domain. As with most public
6 *  domain software, no warranty is made or implied by Crack dot Com or
7 *  Jonathan Clark.
8 */
9
10#ifndef __TIMING_HPP_
11#define __TIMING_HPP_
12
13class time_marker
14{
15public :
16  long seconds;
17  long micro_seconds; 
18  void get_time();
19  time_marker(); 
20  double diff_time(time_marker *other);    // returns time diff in seconds                   
21} ;
22
23void milli_wait(unsigned wait_time);  // sleeps for a milli second 1000 millies=1 sec
24void timer_init();
25void timer_uninit();
26
27#endif
28
Note: See TracBrowser for help on using the repository browser.