diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-04-12 23:17:02 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-04-12 23:17:02 +0200 |
commit | 545b0a1e0870aaf5032d8b2b96dcfc13ae97126f (patch) | |
tree | 11ab528d70030e3b89a6b84b09de7ff202c83b28 /src/common.hpp | |
parent | f274f281da32c829e20c5012d67431d6a4348cce (diff) |
Misc. gameplay improvements.
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.hpp b/src/common.hpp index bb95f0e..3d7483d 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -40,6 +40,8 @@ extern bool debug_AI; typedef uint64_t ntime_t; ntime_t nclock(void); +#define MSEC(x) ((ntime_t)x * 1000000) + class freq_counter_t { ntime_t *samples; size_t num_samples, collected = 0; |