1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 19:32:49 +01:00
openrw/rwengine/include/ai/GTAAINode.hpp
2014-01-26 03:45:55 +00:00

34 lines
525 B
C++

#pragma once
#ifndef _GTAAINODE_HPP_
#define _GTAAINODE_HPP_
#include <glm/glm.hpp>
#include <cstdint>
#include <vector>
struct GTAAINode
{
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<GTAAINode*> connections;
};
#endif