about summary refs log tree commit diff homepage
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-24 18:14:34 -0400
committerJune McEnroe <june@causal.agency>2018-08-24 18:14:34 -0400
commit6a53db288a4698cb51b540b062d63a297fb806e3 (patch)
tree6d6ffaf795672da2967da6ca15aec291cef3ec5d /Makefile
parentRemove help (diff)
downloadtorus-6a53db288a4698cb51b540b062d63a297fb806e3.tar.gz
torus-6a53db288a4698cb51b540b062d63a297fb806e3.zip
Add client-side help page
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2b0ca87..9d00e9e 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,15 @@ all: tags $(BINS)
 
 $(OBJS): torus.h
 
+client.o: help.h
+
+help.h:
+	head -c 4096 torus.dat \
+		| file2c -s -x 'static const uint8_t HELP_DATA[] = {' '};' \
+		> help.h
+	echo 'static const struct Tile *HELP = (const struct Tile *)HELP_DATA;' \
+		>> help.h
+
 tags: *.h *.c
 	ctags -w *.h *.c
 
_colors! 2018-08-05Refactor color initializationJune McEnroe 2018-08-05Add ^L redrawJune McEnroe 2018-08-05Use 16 colors if availableJune McEnroe Fall back to using bold if there are only 8 colors. This also allowed bright background colors in 16-color terminals. I must port this system to torus. I'll be able to remove the awful termcap patch hack. 2018-08-05Limit parsed colors to number of mIRC colorsJune McEnroe Oh boy that's embarrassing. 2018-08-04Show source link on exitJune McEnroe 2018-08-04Implement line editing, scrollingJune McEnroe Don't really have a way to implement the M-* keys, and currently missing C-w. 2018-08-04Handle /topicJune McEnroe