From f035201f330a3b1f50a2041ea9ad3f854f7d4e00 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sat, 17 Sep 2016 09:58:14 +0200 Subject: Move all options to a struct instead of using globals --- src/variable.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/variable.cc') diff --git a/src/variable.cc b/src/variable.cc index fd8ccd40..9bb78ca9 100644 --- a/src/variable.cc +++ b/src/variable.cc @@ -142,6 +142,11 @@ void (*text_out_hook)(byte a, cptr str) = text_out_to_screen; int text_out_indent = 0; +/* + * Options + */ +struct options *options = nullptr; + /* * Dungeon variables */ -- cgit v1.2.1