summaryrefslogtreecommitdiff
path: root/src/util.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
commit6adef091b0713941e1149ecf21a5ab6feee3b06d (patch)
tree92011ccd85a65581c600f63d14c3eb38227cb68c /src/util.hpp
parent902611ac55dbd2c967f244b27c54d37540964c47 (diff)
Introduce std::string overloads for prt() and c_prt()
Diffstat (limited to 'src/util.hpp')
-rw-r--r--src/util.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.hpp b/src/util.hpp
index c682b2f2..583fd4aa 100644
--- a/src/util.hpp
+++ b/src/util.hpp
@@ -38,6 +38,8 @@ extern void screen_load(void);
extern void c_put_str(byte attr, cptr str, int row, int col);
extern void put_str(cptr str, int row, int col);
extern void c_prt(byte attr, cptr str, int row, int col);
+extern void c_prt(byte attr, std::string const &s, int row, int col);
+extern void prt(std::string const &s, int row, int col);
extern void text_out_to_screen(byte a, cptr str);
extern void text_out_to_file(byte a, cptr str);
extern void text_out(cptr str);