mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-15 16:26:08 +00:00
Directory Structure [step 1]: moving files
working on #672 NOTE: This commit can't be compiled!!
This commit is contained in:
28
src/tools/mesh_extractor/ChunkedData.h
Normal file
28
src/tools/mesh_extractor/ChunkedData.h
Normal file
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright (C)
|
||||
*
|
||||
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
|
||||
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
|
||||
*/
|
||||
|
||||
#ifndef CHNK_H
|
||||
#define CHNK_H
|
||||
|
||||
#include <vector>
|
||||
#include "Chunk.h"
|
||||
|
||||
class ChunkedData
|
||||
{
|
||||
public:
|
||||
ChunkedData(FILE* stream, uint32 maxLength, uint32 chunksHint = 300);
|
||||
ChunkedData(const std::string &file, uint32 chunksHint = 300);
|
||||
~ChunkedData();
|
||||
|
||||
int GetFirstIndex(const std::string& name);
|
||||
Chunk* GetChunkByName(const std::string& name);
|
||||
|
||||
void Load(uint32 maxLength, uint32 chunksHint);
|
||||
std::vector<Chunk*> Chunks;
|
||||
FILE* Stream;
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user