SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables | Public Slots
Projects/CoX/Utilities/MapViewer

Macros

#define MAX_GRAPH_DEPTH   80
 

Functions

Urho3D::StaticModel * convertedModelToLutefisk (Urho3D::Context *ctx, Urho3D::Node *tgtnode, CoHNode *node, int opt)
 
void geosetLoadData (QFile &fp, ConvertedGeoSet *geoset)
 
CoHModelgroupModelFind (const QString &a1)
 
bool prepareGeoLookupArray ()
 
GeometryModifiersfindGeomModifier (const QString &modelname, const QString &trick_path)
 
GeoStoreDefgroupGetFileEntryPtr (const QString &a1)
 
ConvertedGeoSetgeosetLoad (const QString &m)
 load the given geoset, used when loading scene-subgraph and nodes More...
 
std::unique_ptr< VBOPointersgetVBO (CoHModel &model)
 
float * combineBuffers (VBOPointers &meshdata, CoHModel *mdl)
 
void initLoadedModel (std::function< TextureWrapper(const QString &)> funcloader, CoHModel *model, const std::vector< TextureWrapper > &textures)
 
bool loadSceneGraph (CoHSceneGraph &conv, const QString &path)
 
Urho3D::Node * convertedNodeToLutefisk (CoHNode *conv_node, const Urho3D::Matrix3x4 &mat, Context *ctx, int depth, int opt)
 
TextureWrapper tryLoadTexture (Urho3D::Context *ctx, const QString &fname)
 
void preloadTextureNames ()
 
std::vector< TextureWrappergetModelTextures (Urho3D::Context *ctx, std::vector< QString > &a1)
 
bool dataDirIsValid (const QString &path)
 
bool isThatPiggRequired (const QString &file)
 
bool checkPiggCrc (const QString &file, QProgressDialog &progress)
 
QString askForPiggDirPath ()
 
bool explodizeThePiggs (const QStringList &piggfiles, const QString &tgtpath, QProgressDialog &progressdlg)
 
bool acquireAndExplodePiggs ()
 
bool checkDataFileAvailability ()
 
int main (int argc, char **argv)
 
bool unpackPiggFile (const QString &filename, const QString &target_path)
 
 DataPathsDialog::DataPathsDialog (QWidget *parent=nullptr)
 
 DataPathsDialog::~DataPathsDialog ()
 
 MapViewerApp::MapViewerApp (Urho3D::Context *ctx)
 
 MapViewerApp::~MapViewerApp () override
 
void MapViewerApp::Setup () override
 
void MapViewerApp::Start () override
 
 SideWindow::SideWindow (QWidget *parent=nullptr)
 
 SideWindow::~SideWindow ()
 
void SideWindow::setMapViewer (MapViewerApp *mapview)
 
void SideWindow::changeEvent (QEvent *e)
 

Variables

QString basepath
 
QString basepath
 
QString basepath
 
int created_node_count
 
QString basepath
 
QHash< QString,
TextureModifiers * > 
g_texture_path_to_mod
 
QString basepath
 
QString basepath
 
int created_node_count = 0
 
QString basepath
 

Public Slots

void MapViewerApp::loadSelectedSceneGraph (const QString &path)
 
void MapViewerApp::onNodeSelected (CoHNode *n)
 
void MapViewerApp::onDisplayNode (CoHNode *n, bool rootnode)
 
void SideWindow::onCameraPositionChanged (float x, float y, float z)
 
void SideWindow::onModelSelected (CoHNode *n, CoHModel *m, Urho3D::Drawable *d)
 
void SideWindow::onScenegraphLoaded (const CoHSceneGraph &sc)
 

Detailed Description

Macro Definition Documentation

#define MAX_GRAPH_DEPTH   80

Function Documentation

bool acquireAndExplodePiggs ( )

Here is the call graph for this function:

Here is the caller graph for this function:

QString askForPiggDirPath ( )

Here is the caller graph for this function:

void SideWindow::changeEvent ( QEvent *  e)
protected
bool checkDataFileAvailability ( )

Here is the call graph for this function:

Here is the caller graph for this function:

bool checkPiggCrc ( const QString &  file,
QProgressDialog &  progress 
)

Here is the caller graph for this function:

float* combineBuffers ( VBOPointers meshdata,
CoHModel mdl 
)
Urho3D::StaticModel* convertedModelToLutefisk ( Urho3D::Context *  ctx,
Urho3D::Node *  tgtnode,
CoHNode node,
int  opt 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Urho3D::Node* convertedNodeToLutefisk ( CoHNode conv_node,
const Urho3D::Matrix3x4 &  mat,
Context *  ctx,
int  depth,
int  opt 
)

Here is the call graph for this function:

Here is the caller graph for this function:

bool dataDirIsValid ( const QString &  path)

Here is the caller graph for this function:

DataPathsDialog::DataPathsDialog ( QWidget *  parent = nullptr)
explicit
bool explodizeThePiggs ( const QStringList &  piggfiles,
const QString &  tgtpath,
QProgressDialog &  progressdlg 
)

Here is the call graph for this function:

Here is the caller graph for this function:

GeometryModifiers* findGeomModifier ( const QString &  modelname,
const QString &  trick_path 
)
ConvertedGeoSet* geosetLoad ( const QString &  m)

load the given geoset, used when loading scene-subgraph and nodes

void geosetLoadData ( QFile &  fp,
ConvertedGeoSet geoset 
)
std::vector<TextureWrapper> getModelTextures ( Urho3D::Context *  ctx,
std::vector< QString > &  a1 
)

Here is the call graph for this function:

std::unique_ptr<VBOPointers> getVBO ( CoHModel model)
GeoStoreDef* groupGetFileEntryPtr ( const QString &  a1)

Here is the caller graph for this function:

CoHModel* groupModelFind ( const QString &  a1)

Here is the call graph for this function:

void initLoadedModel ( std::function< TextureWrapper(const QString &)>  funcloader,
CoHModel model,
const std::vector< TextureWrapper > &  textures 
)
bool isThatPiggRequired ( const QString &  file)

Here is the caller graph for this function:

bool loadSceneGraph ( CoHSceneGraph conv,
const QString &  path 
)

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Here is the call graph for this function:

MapViewerApp::MapViewerApp ( Urho3D::Context *  ctx)
void preloadTextureNames ( )

Here is the caller graph for this function:

bool prepareGeoLookupArray ( )

Here is the caller graph for this function:

void SideWindow::setMapViewer ( MapViewerApp mapview)
void MapViewerApp::Setup ( )
override
SideWindow::SideWindow ( QWidget *  parent = nullptr)
explicit
void MapViewerApp::Start ( )
override

Here is the call graph for this function:

TextureWrapper tryLoadTexture ( Urho3D::Context *  ctx,
const QString &  fname 
)

Here is the caller graph for this function:

bool unpackPiggFile ( const QString &  filename,
const QString &  target_path 
)

Here is the caller graph for this function:

DataPathsDialog::~DataPathsDialog ( )
MapViewerApp::~MapViewerApp ( )
override
SideWindow::~SideWindow ( )

Variable Documentation

QString basepath
QString basepath
QString basepath
QString basepath
QString basepath
QString basepath
QString basepath
int created_node_count = 0
int created_node_count
QHash<QString,TextureModifiers *> g_texture_path_to_mod

Public Slots

void MapViewerApp::loadSelectedSceneGraph ( const QString &  path)
slot

Here is the call graph for this function:

void SideWindow::onCameraPositionChanged ( float  x,
float  y,
float  z 
)
slot
void MapViewerApp::onDisplayNode ( CoHNode n,
bool  rootnode 
)
slot

Here is the call graph for this function:

void SideWindow::onModelSelected ( CoHNode n,
CoHModel m,
Urho3D::Drawable *  d 
)
slot
void MapViewerApp::onNodeSelected ( CoHNode n)
slot
void SideWindow::onScenegraphLoaded ( const CoHSceneGraph sc)
slot