1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-13 22:24:17 +01:00
openrw/rwengine/include/loaders/LoaderIDE.hpp

38 lines
642 B
C++
Raw Normal View History

2013-07-02 12:16:41 +02:00
#pragma once
#ifndef _LOADERIDE_HPP_
#define _LOADERIDE_HPP_
#include <iostream>
#include <vector>
#include <memory>
2013-07-02 12:16:41 +02:00
#include <glm/glm.hpp>
#include <data/ObjectData.hpp>
#include <objects/VehicleInfo.hpp>
#include <data/PathData.hpp>
2013-07-02 12:16:41 +02:00
class LoaderIDE
{
public:
enum SectionTypes
{
NONE,
OBJS,
TOBJ,
PEDS,
CARS,
HIER,
TWODFX,
PATH,
};
2013-07-02 12:16:41 +02:00
// Load the IDE data into memory
bool load(const std::string& filename);
std::vector<std::shared_ptr<ObjectData>> OBJSs;
std::vector<std::shared_ptr<VehicleData>> CARSs;
std::vector<std::shared_ptr<CharacterData>> PEDSs;
std::vector<std::shared_ptr<PathData>> PATHs;
2013-07-02 12:16:41 +02:00
};
#endif