- added more options to g3d viewer commandline options

This commit is contained in:
Mark Vejvoda
2011-01-29 03:53:05 +00:00
parent 1b6f9c324a
commit 2e5c5be357
6 changed files with 260 additions and 49 deletions

View File

@@ -74,11 +74,16 @@ private:
Model *model;
std::pair<string,string> unitPathList;
std::vector<string> modelPathList;
std::vector<string> particlePathList;
std::vector<string> particleProjectilePathList;
std::vector<string> particleSplashPathList; // as above
bool resetAnimation;
float resetAnim;
int resetParticleLoopStart;
float speed;
float anim;
int particleLoopStart;
@@ -97,6 +102,8 @@ private:
string statusbarText;
bool isControlKeyPressed;
void loadUnit(string path, string skillName);
void loadModel(string path);
void loadParticle(string path);
void loadProjectileParticle(string path);
@@ -105,7 +112,8 @@ private:
void saveScreenshot();
public:
MainWindow( const string modelPath,const string particlePath,
MainWindow( std::pair<string,string> unitToLoad,
const string modelPath,const string particlePath,
const string projectileParticlePath,const string splashParticlePath,
float defaultAnimation,int defaultParticleLoopStart,
float defaultZoom,float defaultXRot, float defaultYRot);