1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-10 04:42:38 +01:00
openrw/rwengine/include/ai/AIGraphNode.hpp
2014-06-06 17:17:39 +01:00

34 lines
533 B
C++

#pragma once
#ifndef _AIGRAPHNODE_HPP_
#define _AIGRAPHNODE_HPP_
#include <glm/glm.hpp>
#include <cstdint>
#include <vector>
struct AIGraphNode
{
enum NodeType {
Vehicle,
Pedestrian
};
enum {
None = 0,
CrossesRoad = 1 /// No documentation for other flags yet, but this is mentioned.
};
NodeType type;
glm::vec3 position;
float size;
int other_thing;
int other_thing2;
bool external;
uint8_t flags;
int32_t nextIndex;
std::vector<AIGraphNode*> connections;
};
#endif