Allow changes to individual characters
[uccvend-snackrom.git] / ROM2 / display.h
index c9af212..384ef8d 100644 (file)
@@ -4,14 +4,16 @@
 #include "types.h"
 
 /* scrolling modes */
-#define WRAP_SCROLL_L  1  /* scroll to the left     */
-#define WRAP_SCROLL_R  2  /* scroll to the right    */
+#define WRAP_NONE      0  /* trailing chars get left off */
+#define WRAP_SCROLL_L  1  /* scroll to the left */
+#define WRAP_SCROLL_R  2  /* scroll to the right */
 #define WRAP_ALTERNATE 3  /* alternate between text */
 
 extern char current_message[256];
 
 void display_init();
-void set_msg(char* newmsg);
+void set_msg(char* newmsg, u8 wrap);
+void set_char(char c, u8 pos);
 void set_wrap_mode(u8 new_wrap_mode);
 void display_refresh();
 

UCC git Repository :: git.ucc.asn.au