diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 43e3918..dbcedf5 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,5 @@ Changelog for Photon -$Id: CHANGELOG.txt,v 1.8 2005/08/14 07:40:12 cozman Exp $ +$Id: CHANGELOG.txt,v 1.9 2005/08/16 06:32:39 cozman Exp $ ! : Major Changes (potentially breaking existing code) + : New Features @@ -8,14 +8,19 @@ $Id: CHANGELOG.txt,v 1.8 2005/08/14 07:40:12 cozman Exp $ 0.0.2 ! Removed InputListener, opting to move features into State class. - ! Changed Application::getElapsedTime to Application::getTimeDelta + ! Dropped reliance on Kernel, and added main loop to Application, Kernel + access now available through Application's getUpdateKernel() and + getRenderKernel(). + Code::Blocks and Dev-C++ support + Addition of a State stack allowing for applications to fall back to the previous state when done with a particular state. + Notification of mouse wheel events added. + Addition of a State test/example program. - + Addition of Application::setTimeDeltaMode ability to set how time delta - is calculated. (actual/average currently supported). + + Addition of Application::setFrameTimeSmoothing ability to set how elapsed + time is calculated. (actual/average currently supported). + + Addition of fixed time stepping option in Application/State system. + + Addition of code to allow control of depth testing via + Application::setDepthTestParams * Fixed X11 fullscreen mode * Removed ALUT dependencies by adding custom WAV loading code * Mouse move events now give relative position. diff --git a/SConstruct b/SConstruct index 91140a5..fc17a8b 100644 --- a/SConstruct +++ b/SConstruct @@ -5,7 +5,7 @@ # James Turk (jpt2433@rit.edu) # # Version: -# $Id: SConstruct,v 1.21 2005/08/10 05:56:27 cozman Exp $ +# $Id: SConstruct,v 1.22 2005/08/16 06:32:39 cozman Exp $ import os,os.path import glob @@ -52,11 +52,11 @@ def BuildSuperHeader(target = None, source = None, env = None): SuperHeaderAction = Action(BuildSuperHeader) -# Configure the environment (Check libraries): +# Configure the environment env = Environment(ENV = os.environ, MSVS_VERSION = 7.0) -env.Append(CPPPATH='include', CPPFLAGS='-Wall') +env.Append(CPPPATH='include', CPPFLAGS=['-Wall', '-fmessage-length=0']) env.ParseConfig('freetype-config --cflags') -# Configure +# Configure (Check Libraries) if not env.GetOption('clean'): conf = Configure(env) if not conf.CheckLibWithHeader(OGL_LIB, 'GL/gl.h', 'C++'): @@ -105,10 +105,11 @@ for test_src in test_srcs: tests.append(env.Program(test_name, source=test_src, LIBPATH='./lib', LIBS=['photon','glfw',OAL_LIB,OGL_LIB,GLU_LIB, 'physfs','corona','freetype'])) -env.Alias('test',tests) +env.Alias('tests',tests) # Visual C++ Projects -msvc = env.MSVSProject(target = 'msvc/photon' + env['MSVSPROJECTSUFFIX'], +if(os.name == 'nt'): + msvc = env.MSVSProject(target = 'msvc/photon' + env['MSVSPROJECTSUFFIX'], srcs = getFilesMulti(SRC_DIRS, '*.cpp'), incs = INC_FILES, buildtarget = lib, variant = 'Release') -env.Alias('msvc',msvc) + env.Alias('msvc',msvc) diff --git a/codeblocks/photon.cbp b/codeblocks/photon.cbp index 4ebfb5f..cfc8ea3 100644 --- a/codeblocks/photon.cbp +++ b/codeblocks/photon.cbp @@ -222,12 +222,6 @@