aboutsummaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2015-05-27 20:58:07 -0400
committerFranklin Wei <git@fwei.tk>2015-05-27 20:58:07 -0400
commit34b11c33ff5b0df5466642b577bf32b529fc66fd (patch)
treecd079ea23e7c46de1421f9b990abf96e70d41f0b /src/globals.h
parent8b61f947daa7b64a2dd8ee7d6340c64fa7787f07 (diff)
downloadmarket-sim-34b11c33ff5b0df5466642b577bf32b529fc66fd.zip
market-sim-34b11c33ff5b0df5466642b577bf32b529fc66fd.tar.gz
market-sim-34b11c33ff5b0df5466642b577bf32b529fc66fd.tar.bz2
market-sim-34b11c33ff5b0df5466642b577bf32b529fc66fd.tar.xz
add colorized html output
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index bb5450e..6403327 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -28,6 +28,7 @@
#define ARG_NOCURSES (1<<3)
#define ARG_BATCHMODE (1<<4)
#define ARG_RESTRICTED (1<<5)
+#define ARG_HTML (1<<6)
/* don't change this, it will corrupt existing saves */
#define EPOCH_YEAR 2000
@@ -94,6 +95,7 @@ struct command_t {
/*** prototypes ***/
extern bool have_color;
+extern bool html_out;
/* restricted mode disables things that would be considered "dangerous" when
used in a web-facing script such as interactive loading/saving */