P2-2 Harris Barton
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
Diff: speech.cpp
- Revision:
- 1:10330bce85cb
diff -r 81b6a2933214 -r 10330bce85cb speech.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/speech.cpp Fri Oct 23 16:18:39 2020 -0400 @@ -0,0 +1,53 @@ +#include "speech.h" + +#include "globals.h" +#include "hardware.h" + +/** + * Draw the speech bubble background. + */ +static void draw_speech_bubble(); + +/** + * Erase the speech bubble. + */ +static void erase_speech_bubble(); + +/** + * Draw a single line of the speech bubble. + * @param line The text to display + * @param which If TOP, the first line; if BOTTOM, the second line. + */ +#define TOP 0 +#define BOTTOM 1 +static void draw_speech_line(const char* line, int which); + +void draw_speech_bubble() +{ + +} + +void erase_speech_bubble() +{ + +} + +void draw_speech_line(const char* line, int which) +{ + +} + +void speech_bubble_wait() +{ + +} + +void speech(const char* line1, const char* line2) +{ + +} + +void long_speech(const char* lines[], int n) +{ + +}