Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Resources
CityThemes
BinaryThemeParsing
BinaryThemeParser.h
1
#pragma once
2
3
#include "Types.h"
4
#include "CityThemes.h"
5
#include "BinaryParsing.h"
6
#include "ChunkedFileFormat.h"
7
#include "Traffic.h"
8
9
#include <iostream>
10
#include <vector>
11
12
namespace
Eegeo
13
{
14
namespace
Resources
15
{
16
namespace
CityThemes
17
{
18
namespace
BinaryThemeParsing
19
{
20
class
BinaryThemeParser
21
{
22
public
:
23
BinaryThemeParser
(
bool
parseEmbeddedThemes,
const
std::string& embeddedThemeTextureRoot);
24
25
CityThemeData
* ParseTheme(
26
IO::ChunkedFileFormat::ChunkStream
& chunkStream,
27
Resources::BinaryParsing::BinaryParser
& parser);
28
29
private
:
30
31
std::string FullTexturePath(
const
std::string& textureName)
const
;
32
33
void
ParsePlaceNameStyles(
34
CityThemeData
& theme,
35
IO::ChunkedFileFormat::ChunkStream
& chunkStream,
36
Resources::BinaryParsing::BinaryParser
& parser)
const
;
37
38
void
ParseVehicles(
39
CityThemeData
& theme,
40
IO::ChunkedFileFormat::ChunkStream
& chunkStream,
41
Resources::BinaryParsing::BinaryParser
& parser)
const
;
42
43
std::vector<Traffic::Config::TrafficSimulationVehicleConfiguration> ParseVehiclesInType(
44
IO::ChunkedFileFormat::ChunkStream
& chunkStream,
45
Resources::BinaryParsing::BinaryParser
& parser)
const
;
46
47
void
ParseThemeStates(
48
CityThemeData
& theme,
49
IO::ChunkedFileFormat::ChunkStream
& chunkStream,
50
Resources::BinaryParsing::BinaryParser
& parser)
const
;
51
52
void
ParseLighting(
53
CityThemeState
& state,
54
IO::ChunkedFileFormat::ChunkStream
& chunkStream,
55
Resources::BinaryParsing::BinaryParser
& parser)
const
;
56
57
void
ParseTextures(
58
CityThemeState
& state,
59
IO::ChunkedFileFormat::ChunkStream
& chunkStream,
60
Resources::BinaryParsing::BinaryParser
& parser)
const
;
61
62
void
ParseOverlayData(
63
CityThemeState
& state,
64
IO::ChunkedFileFormat::ChunkStream
& chunkStream,
65
Resources::BinaryParsing::BinaryParser
& parser)
const
;
66
67
void
ParseLcmTextures(
68
CityThemeState
& state,
69
IO::ChunkedFileFormat::ChunkStream
& chunkStream,
70
Resources::BinaryParsing::BinaryParser
& parser)
const
;
71
72
bool
m_parseEmbeddedThemes;
73
std::string m_assetRoot;
74
std::string m_extension;
75
};
76
}
77
}
78
}
79
}
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1