summaryrefslogtreecommitdiff
path: root/src/common.hpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-17 08:17:40 +0000
committerPaweł Redman <pawel.redman@gmail.com>2017-12-17 08:17:40 +0000
commitc8e7fcc5f2cac58785baf2556cffc5727a48e957 (patch)
tree2045c65c88ddb377f68171ec5b8b38866d8d871d /src/common.hpp
parenta44122dc7336640c4f20cd9845f26e38a55ec1cd (diff)
Display total S/T/E counts.
Diffstat (limited to 'src/common.hpp')
-rw-r--r--src/common.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common.hpp b/src/common.hpp
index 5510f95..f269370 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -128,7 +128,10 @@ namespace world {
bool test_rect(const cmodel_t *cmodel, const entity_t *ignore);
trace_t trace(v2f_t start, v2f_t end, cflags_t cflags);
- void debug_point(sf::Vector2f point);
+ struct {
+ size_t sectors = 0, tiles = 0;
+ size_t entities = 0;
+ } stats;
};
class entity_t {