OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions
OutdoorTerrain.cpp File Reference
#include "OutdoorTerrain.h"
#include <cassert>
#include <algorithm>
#include "Engine/Tables/TileTable.h"
#include "Engine/Snapshots/CompositeSnapshots.h"
#include "Engine/Snapshots/EntitySnapshots.h"
#include "Engine/Seasons.h"
#include "Library/Snapshots/CommonSnapshots.h"
#include "Outdoor.h"

Functions

static int mapToGlobalTileId (const std::array< int, 4 > &baseIds, int localTileId)
 
template<class Image >
static bool contains (const Image &image, Pointi point)
 
void reconstruct (const OutdoorLocation_MM7 &src, OutdoorTerrain *dst)
 

Function Documentation

◆ contains()

template<class Image >
static bool contains ( const Image image,
Pointi  point 
)
static

◆ mapToGlobalTileId()

static int mapToGlobalTileId ( const std::array< int, 4 > &  baseIds,
int  localTileId 
)
static

◆ reconstruct()

void reconstruct ( const OutdoorLocation_MM7 src,
OutdoorTerrain dst 
)