From f73bc10e2d3e3b1409bbab2d32f5e867529a1700 Mon Sep 17 00:00:00 2001 From: James Turk Date: Wed, 2 Mar 2005 08:46:45 +0000 Subject: [PATCH] introduction of photon.hpp (autobuilt via SCons) --- SConstruct | 11 ++++++++--- include/photon.hpp | 31 +++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 include/photon.hpp diff --git a/SConstruct b/SConstruct index 834d666..10c3f4d 100644 --- a/SConstruct +++ b/SConstruct @@ -5,13 +5,13 @@ # James Turk (jpt2433@rit.edu) # # Version: -# $Id: SConstruct,v 1.2 2005/03/01 10:43:34 cozman Exp $ +# $Id: SConstruct,v 1.3 2005/03/02 08:46:45 cozman Exp $ import os,os.path import glob import string -subDirs = ['', 'audio', 'math', 'util', 'util/filesys'] +subDirs = ['', 'audio', 'math', 'util', 'util/filesys', 'video'] libName = 'photon' class Builder: @@ -85,11 +85,16 @@ class Builder: def build(self): BuildDir('build', 'src', duplicate=0) self.checkDepends() - + self.namedBuild('photon', os.path.join('lib',libName), 'Library', default=True, source = self.srcFiles, CPPPATH = self.incDirs) self.buildSuperHeader(libName) + ndoc = self.env.Command('docs/index.html', './include', + """NaturalDocs -nag -i $SOURCES -o HTML ./docs -p ./ndoc""", + target_factory=Dir) + self.env.Alias("docs",ndoc) + self.env.AlwaysBuild('docs/index.html') b = Builder(subDirs) diff --git a/include/photon.hpp b/include/photon.hpp new file mode 100644 index 0000000..defab4a --- /dev/null +++ b/include/photon.hpp @@ -0,0 +1,31 @@ +#ifndef PHOTON_HPP +#define PHOTON_HPP + +#include "AppCore.hpp" +#include "Application.hpp" +#include "entrypoint.hpp" +#include "exceptions.hpp" +#include "Log.hpp" +#include "LogSink.hpp" +#include "photon.hpp" +#include "ResourceManaged.hpp" +#include "ResourceManager.hpp" +#include "types.hpp" +#include "audio/AudioCore.hpp" +#include "glfw/types_glfw.hpp" +#include "math/Circle.hpp" +#include "math/math.hpp" +#include "math/Rect.hpp" +#include "math/Vector2.hpp" +#include "util/ConfigFile.hpp" +#include "util/FileBuffer.hpp" +#include "util/RandGen.hpp" +#include "util/Singleton.hpp" +#include "util/Timer.hpp" +#include "util/VersionInfo.hpp" +#include "video/Color.hpp" +#include "video/Pen.hpp" +#include "video/VideoCore.hpp" +#include "util/filesys/filesys.hpp" + +#endif // PHOTON_HPP