mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 04:26:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
	
		
			511 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
	
		
			511 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef _ESM_DIAL_H
 | 
						|
#define _ESM_DIAL_H
 | 
						|
 | 
						|
#include <vector>
 | 
						|
 | 
						|
#include "esm_reader.hpp"
 | 
						|
#include "loadinfo.hpp"
 | 
						|
 | 
						|
namespace ESM
 | 
						|
{
 | 
						|
 | 
						|
/*
 | 
						|
 * Dialogue topic and journal entries. The actual data is contained in
 | 
						|
 * the INFO records following the DIAL.
 | 
						|
 */
 | 
						|
 | 
						|
struct Dialogue
 | 
						|
{
 | 
						|
    enum Type
 | 
						|
    {
 | 
						|
        Topic = 0,
 | 
						|
        Voice = 1,
 | 
						|
        Greeting = 2,
 | 
						|
        Persuasion = 3,
 | 
						|
        Journal = 4,
 | 
						|
        Deleted = -1
 | 
						|
    };
 | 
						|
 | 
						|
    char type;
 | 
						|
    std::vector<DialInfo> mInfo;
 | 
						|
 | 
						|
    void load(ESMReader &esm);
 | 
						|
};
 | 
						|
}
 | 
						|
#endif
 |