mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 19:32:49 +01:00
a55bcc557d
* Add disabled flag to AI nodes * Move ZoneData structure into own file * Add Gang density to ZoneData.
28 lines
528 B
C++
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__
|