Last change
on this file since 481 was
481,
checked in by Sam Hocevar, 11 years ago
|
Fuck the history, I'm renaming all .hpp files to .h for my own sanity.
|
-
Property svn:keywords set to
Id
|
File size:
613 bytes
|
Rev | Line | |
---|
[56] | 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 | |
---|
[2] | 10 | #ifndef __TIMING_HPP_ |
---|
| 11 | #define __TIMING_HPP_ |
---|
| 12 | |
---|
| 13 | class time_marker |
---|
| 14 | { |
---|
[112] | 15 | public: |
---|
| 16 | long seconds; |
---|
[124] | 17 | long micro_seconds; |
---|
[112] | 18 | void get_time(); |
---|
[124] | 19 | time_marker(); |
---|
[112] | 20 | double diff_time(time_marker *other); // return time diff in seconds |
---|
| 21 | }; |
---|
[2] | 22 | |
---|
[112] | 23 | void milli_wait(unsigned int wait_time); // sleep for a millisecond |
---|
[2] | 24 | void timer_init(); |
---|
| 25 | void timer_uninit(); |
---|
| 26 | |
---|
| 27 | #endif |
---|
| 28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.