diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-03-07 16:55:42 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-03-07 16:55:42 +0100 |
commit | 6f612c6e6cf9b20c00fd2f515d3694d2b7f7f444 (patch) | |
tree | 0c090679f4a130f023c22eaf48f66da31afb2dee /src/variable.cc | |
parent | 50a8089bb44ffeb21b9f8bca2c3b6596b617e0d0 (diff) |
Split variables.cc declarations to separate header files
- Can now remove externs.h. Yay!
- Put a stray option variable into its rightful place in options.hpp
Diffstat (limited to 'src/variable.cc')
-rw-r--r-- | src/variable.cc | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/variable.cc b/src/variable.cc index 3307dbbe..ca7696dd 100644 --- a/src/variable.cc +++ b/src/variable.cc @@ -1,7 +1,3 @@ -/* File: variable.c */ - -/* Purpose: Angband variables */ - /* * Copyright (c) 1989 James E. Wilson, Robert A. Koeneke * @@ -10,7 +6,8 @@ * included in all such copies. */ -#include "angband.h" +#include "variable.hpp" +#include "variable.h" #include "util.hpp" @@ -953,11 +950,6 @@ bool_ *k_allow_special; bool_ *a_allow_special; /* - * Center view - */ -bool_ center_player = FALSE; - -/* * Plots */ s16b plots[MAX_PLOTS]; |