// starbrowser.h // // Copyright (C) 2001, Chris Laurel // // Star browser tool for celestia. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. #ifndef _CELENGINE_STARBROWSER_H_ #define _CELENGINE_STARBROWSER_H_ #include "star.h" #include "stardb.h" #include "simulation.h" #ifndef MIN #define MIN(a,b) ((a* listStars(unsigned int); void setSimulation(Simulation *_appSim); const Star *nearestStar(void); bool setPredicate(int pred); void refresh(); public: // The star browser data is valid for a particular point // in space, and for performance issues is not continuously // updated. Point3f pos; UniversalCoord ucPos; private: Simulation *appSim; int predicate; }; #endif // _CELENGINE_STARBROWSER_H_