mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-20 15:40:32 +00:00
Made includes more portable + minor optimization fix.
This commit is contained in:
parent
f346adb6e1
commit
293c7c29c4
@ -27,7 +27,7 @@
|
||||
#include <OgreArchiveFactory.h>
|
||||
#include <OgreArchiveManager.h>
|
||||
#include "bsa_file.hpp"
|
||||
#include "../mangle/stream/clients/ogre_datastream.hpp"
|
||||
#include <mangle/stream/clients/ogre_datastream.hpp>
|
||||
|
||||
using namespace Ogre;
|
||||
using namespace Mangle::Stream;
|
||||
|
@ -23,9 +23,9 @@
|
||||
|
||||
#include "bsa_file.hpp"
|
||||
|
||||
#include "../mangle/stream/servers/file_stream.hpp"
|
||||
#include "../mangle/stream/filters/slice_stream.hpp"
|
||||
#include "../mangle/tools/str_exception.hpp"
|
||||
#include <mangle/stream/servers/file_stream.hpp>
|
||||
#include <mangle/stream/filters/slice_stream.hpp>
|
||||
#include <mangle/tools/str_exception.hpp>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
@ -24,7 +24,7 @@
|
||||
#ifndef _BSA_FILE_H_
|
||||
#define _BSA_FILE_H_
|
||||
|
||||
#include "../mangle/stream/stream.hpp"
|
||||
#include <mangle/stream/stream.hpp>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <strings.h>
|
||||
|
@ -9,10 +9,10 @@
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
||||
#include "../mangle/stream/stream.hpp"
|
||||
#include "../mangle/stream/servers/file_stream.hpp"
|
||||
#include "../mangle/tools/str_exception.hpp"
|
||||
#include "../tools/stringops.hpp"
|
||||
#include <mangle/stream/stream.hpp>
|
||||
#include <mangle/stream/servers/file_stream.hpp>
|
||||
#include <mangle/tools/str_exception.hpp>
|
||||
#include "tools/stringops.hpp"
|
||||
|
||||
#ifdef __APPLE__
|
||||
// need our own implementation of strnlen
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include "store.hpp"
|
||||
#include "esm/records.hpp"
|
||||
#include "mangle/tools/str_exception.hpp"
|
||||
#include <mangle/tools/str_exception.hpp>
|
||||
#include <list>
|
||||
|
||||
namespace ESMS
|
||||
|
@ -9,7 +9,7 @@ using namespace Ogre;
|
||||
using namespace ESMS;
|
||||
|
||||
// Inserts one mesh into the scene
|
||||
void CellRender::insertMesh(const std::string mesh, // NIF file
|
||||
void CellRender::insertMesh(const std::string &mesh, // NIF file
|
||||
const CellRef &ref) // Reference information
|
||||
{
|
||||
// Create and place scene node for this object
|
||||
|
@ -24,7 +24,7 @@ namespace MWRender
|
||||
/// cell.
|
||||
Ogre::SceneNode *base;
|
||||
|
||||
void insertMesh(const std::string mesh, // NIF file
|
||||
void insertMesh(const std::string &mesh, // NIF file
|
||||
const ESMS::CellRef &ref); // Reference information
|
||||
|
||||
template<typename T>
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#include "nif_file.hpp"
|
||||
#include "record.hpp"
|
||||
#include "../tools/stringops.hpp"
|
||||
#include "tools/stringops.hpp"
|
||||
|
||||
#include "extra.hpp"
|
||||
#include "controlled.hpp"
|
||||
|
@ -24,9 +24,9 @@
|
||||
#ifndef _NIF_FILE_H_
|
||||
#define _NIF_FILE_H_
|
||||
|
||||
#include "../mangle/stream/stream.hpp"
|
||||
#include "../mangle/stream/filters/buffer_stream.hpp"
|
||||
#include "../mangle/tools/str_exception.hpp"
|
||||
#include <mangle/stream/stream.hpp>
|
||||
#include <mangle/stream/filters/buffer_stream.hpp>
|
||||
#include <mangle/tools/str_exception.hpp>
|
||||
|
||||
#include "../tools/slice_array.hpp"
|
||||
|
||||
|
@ -25,11 +25,11 @@
|
||||
#include <Ogre.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "../mangle/vfs/servers/ogre_vfs.hpp"
|
||||
#include "../nif/nif_file.hpp"
|
||||
#include "../nif/node.hpp"
|
||||
#include "../nif/data.hpp"
|
||||
#include "../nif/property.hpp"
|
||||
#include <mangle/vfs/servers/ogre_vfs.hpp>
|
||||
#include "nif/nif_file.hpp"
|
||||
#include "nif/node.hpp"
|
||||
#include "nif/data.hpp"
|
||||
#include "nif/property.hpp"
|
||||
|
||||
// For warning messages
|
||||
#include <iostream>
|
||||
|
Loading…
x
Reference in New Issue
Block a user