Changes for UNIX port.
This commit is contained in:
parent
65b2a678a1
commit
de29947385
51
src/Makefile.am
Normal file
51
src/Makefile.am
Normal file
|
@ -0,0 +1,51 @@
|
|||
bin_PROGRAMS = celestia
|
||||
|
||||
celestia_SOURCES = \
|
||||
3dsmesh.cpp \
|
||||
3dsmodel.cpp \
|
||||
3dsread.cpp \
|
||||
asterism.cpp \
|
||||
astro.cpp \
|
||||
bigfix.cpp \
|
||||
body.cpp \
|
||||
cmdparser.cpp \
|
||||
color.cpp \
|
||||
command.cpp \
|
||||
config.cpp \
|
||||
console.cpp \
|
||||
constellation.cpp \
|
||||
debug.cpp \
|
||||
dispmap.cpp \
|
||||
execution.cpp \
|
||||
favorites.cpp \
|
||||
filetype.cpp \
|
||||
galaxy.cpp \
|
||||
glext.cpp \
|
||||
glutmain.cpp \
|
||||
meshmanager.cpp \
|
||||
observer.cpp \
|
||||
orbit.cpp \
|
||||
overlay.cpp \
|
||||
parser.cpp \
|
||||
perlin.cpp \
|
||||
regcombine.cpp \
|
||||
render.cpp \
|
||||
resmanager.cpp \
|
||||
selection.cpp \
|
||||
simulation.cpp \
|
||||
solarsys.cpp \
|
||||
spheremesh.cpp \
|
||||
star.cpp \
|
||||
stardb.cpp \
|
||||
starname.cpp \
|
||||
stellarclass.cpp \
|
||||
texfont.cpp \
|
||||
texmanager.cpp \
|
||||
texture.cpp \
|
||||
tokenizer.cpp \
|
||||
univcoord.cpp \
|
||||
util.cpp \
|
||||
vertexlist.cpp \
|
||||
visstars.cpp \
|
||||
glutmain.cpp
|
||||
|
6
src/gl.h
6
src/gl.h
|
@ -2,7 +2,7 @@
|
|||
//
|
||||
// Why is this file necessary? Because Microsoft requires us to include
|
||||
// windows.h before including the GL headers, even though GL is a
|
||||
// cross-platform API. So, we encapsulate the resulting ifdef nonsense
|
||||
// cross-platform API. So, we encapsulate the resulting #ifdef nonsense
|
||||
// in this file.
|
||||
//
|
||||
// Copyright (C) 2001, Chris Laurel <claurel@shatters.net>
|
||||
|
@ -15,6 +15,8 @@
|
|||
#ifndef _GL_H_
|
||||
#define _GL_H_
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
|
@ -25,6 +27,8 @@
|
|||
#include <windows.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
#endif
|
||||
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue