Files
oboe/src/classes/talking.h
Celtic Minstrel b11199d7d9 Set up a Visual Studio project and tweak things until it compiles
- It doesn't link yet, but that was expected
- Fixed some issues with global variables having different types in different files.
2014-12-29 14:52:54 -05:00

44 lines
761 B
C++

/*
* talking.h
* BoE
*
* Created by Celtic Minstrel on 22/04/09.
*
*/
#ifndef BOE_DATA_TALKING_H
#define BOE_DATA_TALKING_H
#include <iosfwd>
namespace legacy {
struct talking_record_type;
struct talking_node_type;
};
class cPersonality {
public:
std::string title;
std::string look, name, job, dunno;
};
class cSpeech { // formerly talking_record_type
public:
class cNode { // formerly talking_node_type
public:
short personality,type;
char link1[4],link2[4];
short extras[4];
std::string str1, str2;
cNode() {std::fill(extras, extras + 4, -1);}
};
unsigned char strlens[200];
cPersonality people[10];
cNode talk_nodes[60];
void append(legacy::talking_record_type& old);
void writeTo(std::ostream& file) const;
};
#endif