1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-10 12:52:39 +01:00
openrw/rwengine/include/loaders/LoaderIPL.hpp

28 lines
528 B
C++
Raw Normal View History

#ifndef _LOADERIPL_HPP_
#define _LOADERIPL_HPP_
#include <data/InstanceData.hpp>
#include <data/ZoneData.hpp>
2013-07-02 08:06:03 +02:00
#include <iostream>
#include <vector>
2013-12-05 08:23:07 +01:00
#include <memory>
2013-07-02 08:06:03 +02:00
/**
\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
2013-12-05 08:23:07 +01:00
std::vector<std::shared_ptr<InstanceData>> m_instances;
/// List of Zones
std::vector<ZoneData> zones;
2013-07-02 08:06:03 +02:00
};
#endif // LoaderIPL_h__