1 /** 2 * generic.h - SDL interface, generic useful user interface utility functions. 3 * 4 * Generic useful user interface utility functions. 5 */ 6 7 #ifndef FROTZ_GENERIC_H_ 8 #define FROTZ_GENERIC_H_ 9 10 #include "../common/frotz.h" 11 12 void gen_add_to_history(zchar *buf); 13 void gen_history_reset(void); 14 int gen_history_back(zchar *str, int searchlen, int maxlen); 15 int gen_history_forward(zchar *str, int searchlen, int maxlen); 16 17 #endif 18