1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-20 17:31:44 +02:00
openrw/rwengine/include/loaders/LoaderIPL.hpp
Daniel Evans a55bcc557d Implement some AI and zone opcodes
* Add disabled flag to AI nodes

* Move ZoneData structure into own file

* Add Gang density to ZoneData.
2014-12-16 03:03:04 +00:00

28 lines
528 B
C++

#ifndef _LOADERIPL_HPP_
#define _LOADERIPL_HPP_
#include <data/InstanceData.hpp>
#include <data/ZoneData.hpp>
#include <iostream>
#include <vector>
#include <memory>
/**
\class LoaderIPL
\brief Loads all data from a IPL file into memory
*/
class LoaderIPL
{
public:
/// Load the IPL data into memory
bool load(const std::string& filename);
/// The list of instances from the IPL file
std::vector<std::shared_ptr<InstanceData>> m_instances;
/// List of Zones
std::vector<ZoneData> zones;
};
#endif // LoaderIPL_h__