#include <assert.h>
#include <unistd.h>
#include "celengine/stardb.h"
#include <libintl.h>
using namespace std;
// of the License, or (at your option) any later version.
#include <algorithm>
#ifndef _WIN32
#ifndef TARGET_OS_MAC
#include <cmath>
#include <iomanip>
#include <cstdio>
#include <cstring>
#include <time.h>
#include <celutil/basictypes.h>
#include <celmath/mathlib.h>
#include "celestia.h"
#include "astro.h"
#include <celutil/util.h>
#include <celutil/utf8.h>
#include "mesh.h"
#include "meshmanager.h"
#include "body.h"
#include "cmdparser.h"
#include "glcontext.h"
#include <cstdarg>
#include <cassert>
#include "celutil/utf8.h"
#include "gl.h"
#include "vecgl.h"
#include <celengine/gl.h>
#include <celengine/glext.h>
#include <celengine/image.h>
#include <celengine/galaxy.h>
#include <celengine/opencluster.h>
#include <celengine/nebula.h>
#include "glext.h"
#include "fragmentprog.h"
#include "render.h"
#include "texture.h"
#include <string.h>
#endif /* ! _WIN32 */
// ARB_texture_compression
glx::PFNGLCOMPRESSEDTEXIMAGE3DARBPROC glx::glCompressedTexImage3DARB;
#include <iostream>
#include <celengine/location.h>
#include <celengine/body.h>
#include "lodspheremesh.h"
#include "marker.h"
#include "spheremesh.h"
#include "texmanager.h"
#include "trajmanager.h"
#include "rotationmanager.h"
#include "universe.h"
#include <celutil/debug.h>
#include "samporient.h"
#include "selection.h"
#include "simulation.h"
#include "multitexture.h"
#include "parseobject.h"
#include <libxml/parser.h>
#include <libxml/parserInternals.h>
#include "solarsysxml.h"
#include "SpiceUsr.h"
#include "spiceinterface.h"
bool
#include "spiceorbit.h"
#include <cstdlib>
#include <fstream>
#include "tokenizer.h"
static bool issep(char c)
#include "samporbit.h"
#include <celmath/intersect.h>
#include "3dsmesh.h"
#include "vertexprog.h"
#include "virtualtex.h"
#include "parser.h"
#include "url.h"
#ifdef CELX
#include <celengine/scriptobject.h>
#include <map>
#include <celengine/astro.h>
#include <celengine/celestia.h>
#include <celengine/texmanager.h>
#include "configfile.h"
#include <celengine/parser.h>
#include "destination.h"
#include <set>
#include "eclipsefinder.h"
#include "celmath/mathlib.h"
#include "celmath/ray.h"
#include <cctype>
#endif /* HAVE_CONFIG_H */
#include <gtk/gtk.h>
#include <celestia/celestiacore.h>
#include "common.h"
/* Returns the offset of the timezone at date */
#include "dialog-eclipse.h"
/* Definitions: Callbacks */
#include "dialog-goto.h"
/* Declarations: Callbacks */
#include "dialog-options.h"
#include "ui.h"
#include "dialog-solar.h"
#include "actions.h"
#include "dialog-star.h"
#include "dialog-time.h"
#include "dialog-tour.h"
#ifdef WIN32
#include "menu-context.h"
*/
#include <gconf/gconf-client.h>
#include "splash.h"
/* Declarations */
#include "cellistviewitem.h"
#include "selectionpopup.h"
/*
* Constructs a CelestialBrowser which is a child of 'parent', with the
#include <kglobalsettings.h>
#include <celsplashscreen.h>
#include <X11/Xlib.h>
CelSplashScreen::CelSplashScreen(const QString& filename, QWidget* _parent):
QWidget(0, 0, WStyle_Customize | WX11BypassWM),
#include "celestiacore.h"
#include "celengine/astro.h"
* Constructs a EclipseFinder which is a child of 'parent', with the
#include <qdir.h>
#include <kstandarddirs.h>
#include "kcelbookmarkmanager.h"
KBookmarkManager* KCelBookmarkManager::self() {
if ( !s_bookmarkManager )
#include <kpopupmenu.h>
#include <kstdaccel.h>
#include <kstdaction.h>
template class QPtrList<KCelBookmarkMenu>;
#endif
#include "celengine/glext.h"
#define MENUMAXSIZE 100
#include <math.h>
#include <vector>
KdeGlWidget::KdeGlWidget( QWidget* parent, const char* name, CelestiaCore* core)
: QGLWidget( parent, name )
#include <klocale.h>
#include "kdeuniquecelestia.h"
static const char *description =
I18N_NOOP("Celestia");
#include "celengine/render.h"
#include "celengine/glcontext.h"
static uint32 FilterOtherLocations = ~(Location::City |
Location::Observatory |
#include <string>
KdeUniqueCelestia::KdeUniqueCelestia() {
#include <krun.h>
SelectionPopup::SelectionPopup(QWidget* parent, CelestiaCore* _appCore, Selection _sel):
KPopupMenu(parent),
#include <kstatusbar.h>
#include <kapp.h>
#include "kdeapp.h"
VideoCaptureDlg::VideoCaptureDlg(QWidget* p, const QString &dir):
accepted(false)
#include "../celengine/gl.h"
#include "theora/theora.h"
#include "oggtheoracapture.h"
// {"video-rate-target",required_argument,NULL,'V'},
// {"video-quality",required_argument,NULL,'v'},
#include "celutil/directory.h"
#include "celutil/filetype.h"
***************************************************************************/
#include <stdio.h>
static const unsigned int CurrentCelestiaURLVersion = 2;
#include "wglext.h"
#include <windows.h>
#include "res/resource.h"
#include <celutil/winutil.h>
#include <commctrl.h>
#include "celutil/basictypes.h"
#include "celutil/util.h"
#include "celutil/winutil.h"
// DatePicker is a Win32 control for setting the date. It replaces the
#include <sstream>
#include "celmath/distance.h"
// as published by the Free Software Foundation; either version 2
#include "winhyperlinks.h"
#include <mmsystem.h>
#include <celmath/vecmath.h>
#include <celmath/quaternion.h>
#include <locale.h>
#include "winstarbrowser.h"
extern void SetMouseCursor(LPCTSTR lpCursor);
template<class T> class Quaternion
{
public:
#include "bigfix.h"
/*** Constructors ***/
#include "color.h"
#include "directory.h"
#include "util.h"
#include "filetype.h"
#include <limits.h>
#include "formatnum.h"
// HACK: MS Visual C++ has _snprintf declared in stdio.h but not snprintf
#include "utf8.h"
unsigned int WGL4_Normalization_00[256] = {
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,
#include <sys/types.h>
#include <sys/stat.h>
switch(0){case 0: case pred:;}
#ifndef min
#define min(a, b) ((a) < (b) ? (a) : (b))
template <typename T1, typename T2> bool min(T1 a, T2 b){ return a<(T1)b; }
#ifndef max
#define max(a, b) ((a) < (b) ? (b) : (a))
template <typename T1, typename T2> bool max(T1 a, T2 b){ return a<(T1)b; }
#ifdef _WIN32
#include <stdlib.h>
#define SPECTRAL_O 0
#define SPECTRAL_B 1
#include "stardb.h"
#ifdef TRISTRIP
#include <d3dx9.h>
#include <celutil/bytes.h>
#include <ctime>