summaryrefslogtreecommitdiff
path: root/src/q_library.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-02-13 13:56:52 +0100
committerBardur Arantsson <bardur@scientician.net>2016-02-13 13:56:52 +0100
commit4d237a87eb76eb4c6bcc5d8cbf7544a8f3184f30 (patch)
tree5e87923522f444880a6be4239e162c16312408a4 /src/q_library.hpp
parentf13c5091e4864e957c83a35621365c8b510b80ba (diff)
Reduce file-open/close boilerplate and simplify formatting
- We introduce a show_string() which will allow us to go without actually writing a file if we want to later. - Use cppformat to simplify the output formatting.
Diffstat (limited to 'src/q_library.hpp')
-rw-r--r--src/q_library.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/q_library.hpp b/src/q_library.hpp
index 8150893e..4c085472 100644
--- a/src/q_library.hpp
+++ b/src/q_library.hpp
@@ -2,7 +2,9 @@
#include "h-basic.h"
+#include <string>
+
bool_ quest_library_init_hook(int q);
-bool_ quest_library_describe(FILE *fff);
+std::string quest_library_describe();
void quest_library_building(bool_ *paid, bool_ *recreate);
void initialize_bookable_spells();