1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#include "sprites.h"
struct speechLine {
char * textLine;
speechLine * next;
int x;
};
struct speechStruct {
onScreenPerson * currentTalker;
speechLine * allSpeech;
int speechY, lastFile, lookWhosTalking;
spritePalette talkCol;
};
int wrapSpeech (char * theText, int objT, int sampleFile, bool);
void viewSpeech ();
void killAllSpeech ();
int isThereAnySpeechGoingOn ();
void initSpeech ();
void saveSpeech (speechStruct * sS, FILE * fp);
bool loadSpeech (speechStruct * sS, FILE * fp);
|