Files
oboe/osx/classes/talking.h
Celtic Minstrel 92bda1c100 - Cleaned out some of the compiler warnings in the scenario editor (removing unused variables mostly).
- Finally removed the grow box in the corner of the scenario editor window.
- Changed #include <iostream> in several headers to #include <iosfwd>, since they were only present for the use of
  the ostream and istream classes, and cout/cin were unneeded.
- Changed bool to Boolean in the old structs, since that's what it was originally.
- Small changes to graphtool, including an overload of get_custom_rect.
- Added gcd function to mathutil; was needed for something in the new dialog engine


git-svn-id: http://openexile.googlecode.com/svn/trunk@71 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-05-25 03:41:29 +00:00

35 lines
583 B
C++

/*
* talking.h
* BoE
*
* Created by Celtic Minstrel on 22/04/09.
*
*/
#ifndef TALKING_H
#define TALKING_H
#include <iosfwd>
namespace legacy {
struct talking_record_type;
struct talking_node_type;
};
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];
};
unsigned char strlens[200];
char talk_strs[170][256];
cNode talk_nodes[60];
cSpeech& operator = (legacy::talking_record_type& old);
void writeTo(std::ostream& file);
};
#endif