- Timestamp:
- 06/03/04 20:38:14 (21 years ago)
- Location:
- ps/trunk/source
- Files:
-
- 82 edited
-
graphics/Camera.cpp (modified) (1 diff)
-
graphics/Frustum.cpp (modified) (1 diff)
-
graphics/HFTracer.cpp (modified) (1 diff)
-
graphics/MiniPatch.cpp (modified) (1 diff)
-
graphics/Model.cpp (modified) (1 diff)
-
graphics/ModelDef.cpp (modified) (1 diff)
-
graphics/ObjectEntry.cpp (modified) (2 diffs)
-
graphics/ObjectManager.cpp (modified) (1 diff)
-
graphics/Particle.cpp (modified) (1 diff)
-
graphics/ParticleEmitter.cpp (modified) (1 diff)
-
graphics/Patch.cpp (modified) (1 diff)
-
graphics/SkeletonAnimDef.cpp (modified) (1 diff)
-
graphics/SkeletonAnimManager.cpp (modified) (1 diff)
-
graphics/Sprite.cpp (modified) (1 diff)
-
graphics/Terrain.cpp (modified) (1 diff)
-
graphics/TextureManager.cpp (modified) (1 diff)
-
graphics/UnitManager.cpp (modified) (1 diff)
-
gui/CButton.cpp (modified) (1 diff)
-
gui/CCheckBox.cpp (modified) (1 diff)
-
gui/CGUI.cpp (modified) (2 diffs)
-
gui/CGUIScrollBarStyle.cpp (modified) (1 diff)
-
gui/CGUIScrollBarVertical.cpp (modified) (1 diff)
-
gui/CGUISprite.cpp (modified) (1 diff)
-
gui/CRadioButton.cpp (modified) (1 diff)
-
gui/CText.cpp (modified) (1 diff)
-
gui/GUIbase.cpp (modified) (1 diff)
-
gui/GUItext.cpp (modified) (1 diff)
-
gui/GUIutil.cpp (modified) (1 diff)
-
gui/IGUIButtonBehavior.cpp (modified) (1 diff)
-
gui/IGUIObject.cpp (modified) (1 diff)
-
gui/IGUIScrollBar.cpp (modified) (1 diff)
-
gui/IGUIScrollBarOwner.cpp (modified) (1 diff)
-
gui/IGUITextOwner.cpp (modified) (1 diff)
-
lib/glext_funcs.h (modified) (2 diffs)
-
lib/ogl.h (modified) (2 diffs)
-
lib/res/sound.cpp (modified) (1 diff)
-
lib/res/vfs.cpp (modified) (2 diffs)
-
lib/sysdep/ia32.cpp (modified) (1 diff)
-
lib/timer.cpp (modified) (3 diffs)
-
main.cpp (modified) (1 diff)
-
maths/Bound.cpp (modified) (1 diff)
-
maths/MathUtil.cpp (modified) (1 diff)
-
maths/Matrix3D.cpp (modified) (1 diff)
-
maths/Plane.cpp (modified) (1 diff)
-
maths/Quaternion.cpp (modified) (1 diff)
-
maths/Vector3D.cpp (modified) (1 diff)
-
ps/CConsole.cpp (modified) (1 diff)
-
ps/CLogger.cpp (modified) (1 diff)
-
ps/CStr.cpp (modified) (1 diff)
-
ps/Config.cpp (modified) (1 diff)
-
ps/Encryption.cpp (modified) (1 diff)
-
ps/FilePacker.cpp (modified) (1 diff)
-
ps/FileUnpacker.cpp (modified) (1 diff)
-
ps/LogFile.cpp (modified) (1 diff)
-
ps/NPFont.cpp (modified) (1 diff)
-
ps/NPFontManager.cpp (modified) (1 diff)
-
ps/Overlay.cpp (modified) (1 diff)
-
ps/OverlayText.cpp (modified) (1 diff)
-
ps/Parser.cpp (modified) (1 diff)
-
ps/Prometheus.cpp (modified) (1 diff)
-
ps/XMLUtils.cpp (modified) (2 diffs)
-
ps/XercesErrorHandler.cpp (modified) (1 diff)
-
renderer/AlphaMapCalculator.cpp (modified) (1 diff)
-
renderer/ModelRData.cpp (modified) (1 diff)
-
renderer/PBuffer.cpp (modified) (5 diffs)
-
renderer/Renderer.cpp (modified) (1 diff)
-
renderer/SHCoeffs.cpp (modified) (1 diff)
-
renderer/TransparencyRenderer.cpp (modified) (1 diff)
-
scripting/ScriptCustomTypes.cpp (modified) (1 diff)
-
scripting/ScriptGlue.cpp (modified) (1 diff)
-
scripting/ScriptingHost.cpp (modified) (1 diff)
-
simulation/BaseEntity.cpp (modified) (1 diff)
-
simulation/BaseEntityCollection.cpp (modified) (1 diff)
-
simulation/BoundingObjects.cpp (modified) (1 diff)
-
simulation/Collision.cpp (modified) (1 diff)
-
simulation/Entity.cpp (modified) (1 diff)
-
simulation/EntityManager.cpp (modified) (1 diff)
-
simulation/EntityProperties.cpp (modified) (1 diff)
-
simulation/EntityStateProcessing.cpp (modified) (1 diff)
-
simulation/PathfindEngine.cpp (modified) (1 diff)
-
simulation/PathfindSparse.cpp (modified) (1 diff)
-
terrain/terrainMain.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/graphics/Camera.cpp
r322 r392 10 10 // 11 11 //*********************************************************** 12 13 #include "precompiled.h" 12 14 13 15 #include "Camera.h" -
ps/trunk/source/graphics/Frustum.cpp
r306 r392 13 13 // 14 14 //*********************************************************** 15 16 #include "precompiled.h" 15 17 16 18 #include "Frustum.h" -
ps/trunk/source/graphics/HFTracer.cpp
r322 r392 6 6 // 7 7 /////////////////////////////////////////////////////////////////////////////// 8 9 #include "precompiled.h" 8 10 9 11 #include "HFTracer.h" -
ps/trunk/source/graphics/MiniPatch.cpp
r375 r392 6 6 // 7 7 /////////////////////////////////////////////////////////////////////////////// 8 9 #include "precompiled.h" 8 10 9 11 #include "MiniPatch.h" -
ps/trunk/source/graphics/Model.cpp
r322 r392 6 6 // 7 7 ///////////////////////////////////////////////////////////////////////////////////////////////////////////// 8 9 #include "precompiled.h" 8 10 9 11 #include "Model.h" -
ps/trunk/source/graphics/ModelDef.cpp
r322 r392 6 6 // 7 7 /////////////////////////////////////////////////////////////////////////////// 8 9 #include "precompiled.h" 8 10 9 11 #include "ModelDef.h" -
ps/trunk/source/graphics/ObjectEntry.cpp
r381 r392 1 #include "precompiled.h" 2 1 3 #include "ObjectEntry.h" 2 4 #include "ObjectManager.h" 3 5 #include "Model.h" 4 6 #include "ModelDef.h" 7 #include "CLogger.h" 5 8 6 9 #include "UnitManager.h" … … 8 11 #include "XML.h" 9 12 10 #ifdef _MSC_VER11 #pragma comment(lib, "xerces-c_2.lib")12 #endif13 13 14 14 // automatically use namespace .. -
ps/trunk/source/graphics/ObjectManager.cpp
r382 r392 1 #include "precompiled.h" 2 1 3 #include "ObjectManager.h" 2 4 #include <algorithm> -
ps/trunk/source/graphics/Particle.cpp
r306 r392 24 24 | 25 25 ==================================================================*/ 26 27 #include "precompiled.h" 26 28 27 29 #include "Particle.h" -
ps/trunk/source/graphics/ParticleEmitter.cpp
r306 r392 26 26 | 27 27 ==================================================================*/ 28 29 #include "precompiled.h" 28 30 29 31 #include "ParticleEmitter.h" -
ps/trunk/source/graphics/Patch.cpp
r306 r392 6 6 // 7 7 /////////////////////////////////////////////////////////////////////////////// 8 9 #include "precompiled.h" 8 10 9 11 #include "Patch.h" -
ps/trunk/source/graphics/SkeletonAnimDef.cpp
r306 r392 6 6 // 7 7 /////////////////////////////////////////////////////////////////////////////// 8 9 #include "precompiled.h" 8 10 9 11 #include "SkeletonAnimDef.h" -
ps/trunk/source/graphics/SkeletonAnimManager.cpp
r378 r392 6 6 // 7 7 /////////////////////////////////////////////////////////////////////////////// 8 9 #include "precompiled.h" 8 10 9 11 #include "res/res.h" -
ps/trunk/source/graphics/Sprite.cpp
r322 r392 24 24 | 25 25 ==================================================================*/ 26 27 #include "precompiled.h" 26 28 27 29 #include "Sprite.h" -
ps/trunk/source/graphics/Terrain.cpp
r334 r392 6 6 // 7 7 /////////////////////////////////////////////////////////////////////////////// 8 9 #include "precompiled.h" 8 10 9 11 #include "res/tex.h" -
ps/trunk/source/graphics/TextureManager.cpp
r378 r392 1 #include "precompiled.h" 2 1 3 #include <algorithm> 2 4 -
ps/trunk/source/graphics/UnitManager.cpp
r322 r392 6 6 // 7 7 /////////////////////////////////////////////////////////////////////////////// 8 9 #include "precompiled.h" 8 10 9 11 #include "res/res.h" -
ps/trunk/source/gui/CButton.cpp
r290 r392 5 5 */ 6 6 7 //#include "stdafx."7 #include "precompiled.h" 8 8 #include "GUI.h" 9 9 #include "CButton.h" -
ps/trunk/source/gui/CCheckBox.cpp
r290 r392 5 5 */ 6 6 7 //#include "stdafx."7 #include "precompiled.h" 8 8 #include "GUI.h" 9 9 #include "CCheckBox.h" -
ps/trunk/source/gui/CGUI.cpp
r378 r392 5 5 */ 6 6 7 //#include "stdafx."7 #include "precompiled.h" 8 8 #include "GUI.h" 9 9 … … 35 35 using namespace std; 36 36 37 #ifdef _MSC_VER38 #pragma comment(lib, "xerces-c_2.lib")39 #endif40 37 41 38 extern int g_xres, g_yres; -
ps/trunk/source/gui/CGUIScrollBarStyle.cpp
r141 r392 5 5 */ 6 6 7 //#include "stdafx.h"7 #include "precompiled.h" 8 8 #include "GUI.h" 9 9 -
ps/trunk/source/gui/CGUIScrollBarVertical.cpp
r291 r392 5 5 */ 6 6 7 //#include "stdafx.h"7 #include "precompiled.h" 8 8 #include "GUI.h" 9 9 -
ps/trunk/source/gui/CGUISprite.cpp
r128 r392 5 5 */ 6 6 7 //#include "stdafx.h"7 #include "precompiled.h" 8 8 #include "GUI.h" 9 9 -
ps/trunk/source/gui/CRadioButton.cpp
r290 r392 5 5 */ 6 6 7 //#include "stdafx."7 #include "precompiled.h" 8 8 #include "GUI.h" 9 9 #include "CRadioButton.h" -
ps/trunk/source/gui/CText.cpp
r290 r392 5 5 */ 6 6 7 //#include "stdafx."7 #include "precompiled.h" 8 8 #include "GUI.h" 9 9 #include "CText.h" -
ps/trunk/source/gui/GUIbase.cpp
r31 r392 5 5 */ 6 6 7 ///// janwas: remove stdafx.h completely? 8 //#include "stdafx.h" 7 #include "precompiled.h" 9 8 #include "GUI.h" 10 9 -
ps/trunk/source/gui/GUItext.cpp
r334 r392 4 4 gee@pyro.nu 5 5 */ 6 7 #include "precompiled.h" 6 8 7 9 #include "GUI.h" -
ps/trunk/source/gui/GUIutil.cpp
r291 r392 5 5 */ 6 6 7 //#include "stdafx.h"7 #include "precompiled.h" 8 8 #include "GUI.h" 9 9 #include "Parser.h" -
ps/trunk/source/gui/IGUIButtonBehavior.cpp
r290 r392 5 5 */ 6 6 7 //#include "stdafx.h"7 #include "precompiled.h" 8 8 #include "GUI.h" 9 9 -
ps/trunk/source/gui/IGUIObject.cpp
r378 r392 5 5 */ 6 6 7 //#include "stdafx."7 #include "precompiled.h" 8 8 #include "GUI.h" 9 9 -
ps/trunk/source/gui/IGUIScrollBar.cpp
r291 r392 5 5 */ 6 6 7 //#include "stdafx.h"7 #include "precompiled.h" 8 8 #include "GUI.h" 9 9 -
ps/trunk/source/gui/IGUIScrollBarOwner.cpp
r290 r392 5 5 */ 6 6 7 //#include "stdafx.h"7 #include "precompiled.h" 8 8 #include "GUI.h" 9 9 -
ps/trunk/source/gui/IGUITextOwner.cpp
r291 r392 5 5 */ 6 6 7 //#include "stdafx.h"7 #include "precompiled.h" 8 8 #include "GUI.h" 9 9 -
ps/trunk/source/lib/glext_funcs.h
r297 r392 1 //#include <GL/glext.h> 2 //#include <GL/wglext.h> 3 4 typedef void* HDC; 5 typedef void* HGLRC; 6 typedef void* HPBUFFERARB; 7 8 1 9 // were these defined as real functions in gl.h already? 2 10 … … 42 50 FUNC(void, glGetBufferPointervARB, (int target, int pname, void** params)) 43 51 52 // ARB_pbuffer 53 FUNC(HPBUFFERARB, wglCreatePbufferARB, (HDC, int, int, int, const int*)) 54 FUNC(HDC, wglGetPbufferDCARB, (HPBUFFERARB)) 55 FUNC(int, wglReleasePbufferDCARB, (HPBUFFERARB, HDC)) 56 FUNC(int, wglDestroyPbufferARB, (HPBUFFERARB)) 57 FUNC(int, wglQueryPbufferARB, (HPBUFFERARB, int, int*)) 44 58 59 // ARB_pixel_format 60 FUNC(int, wglGetPixelFormatAttribivARB, (HDC, int, int, unsigned int, const int*, int*)) 61 FUNC(int, wglGetPixelFormatAttribfvARB, (HDC, int, int, unsigned int, const int*, float*)) 62 FUNC(int, wglChoosePixelFormatARB, (HDC, const int *, const float*, unsigned int, int*, unsigned int*)) 45 63 46 FUNC(void, glCompressedTexImage2DARB, (int, int, int, unsigned int, unsigned int, int, unsigned int, const void*)) 47 FUNC(void, glCompressedTexSubImage2DARB, (int, int, int, int, unsigned int, int, int, unsigned int, const void*)) 64 // ARB_texture_compression 65 FUNC(void, glCompressedTexImage3DARB, (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid*)) 66 FUNC(void, glCompressedTexImage2DARB, (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid*)) 67 FUNC(void, glCompressedTexImage1DARB, (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid*)) 68 FUNC(void, glCompressedTexSubImage3DARB, (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid*)) 69 FUNC(void, glCompressedTexSubImage2DARB, (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid*)) 70 FUNC(void, glCompressedTexSubImage1DARB, (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid*)) 71 FUNC(void, glGetCompressedTexImageARB, (GLenum, GLint, GLvoid*)) -
ps/trunk/source/lib/ogl.h
r266 r392 6 6 #endif 7 7 8 #ifdef _WIN32 9 #include "sysdep/win/wgl.h" 10 #endif 11 12 8 13 // 9 14 // OpenGL header 10 15 // 11 12 #ifdef _WIN3213 14 #ifndef WINGDIAPI15 #define WINGDIAPI __declspec(dllimport)16 #endif17 #ifndef CALLBACK18 #define CALLBACK __stdcall19 #endif20 #ifndef APIENTRY21 #define APIENTRY __stdcall22 #endif23 24 typedef unsigned short wchar_t; // for glu.h25 26 #endif // #ifndef _WIN3227 16 28 17 #ifdef __APPLE__ … … 53 42 #else 54 43 # include <GL/glext.h> 44 # include <GL/wglext.h> 55 45 #endif 56 46 -
ps/trunk/source/lib/res/sound.cpp
r339 r392 6 6 * Contents: implementation of sound fx resource functions 7 7 */ 8 9 #include "precompiled.h" 8 10 9 11 #include <stdio.h> -
ps/trunk/source/lib/res/vfs.cpp
r385 r392 135 135 { 136 136 msg = "contains \"..\""; 137 goto fail;137 /// goto fail; 138 138 } 139 139 last_was_dot = true; … … 146 146 { 147 147 msg = "contains OS-specific dir separator (e.g. '\\', ':')"; 148 goto fail;148 /// goto fail; 149 149 } 150 150 -
ps/trunk/source/lib/sysdep/ia32.cpp
r258 r392 339 339 // HACK: if _WIN32, the HRT makes its final implementation choice 340 340 // in the first calibrate call where cpu_freq and cpu_caps are 341 // available. call it here (via get_time)to have that happen now,341 // available. call wtime_reset_impl here to have that happen now, 342 342 // so app code isn't surprised by a timer change, although the HRT 343 343 // does try to keep the timer continuous. 344 344 #ifdef _WIN32 345 hrt_override_impl(HRT_DEFAULT, HRT_NONE);345 wtime_reset_impl(); 346 346 #endif 347 347 } -
ps/trunk/source/lib/timer.cpp
r384 r392 20 20 #include "lib.h" 21 21 #include "timer.h" 22 #include "sysdep/sysdep.h"23 24 #ifdef _WIN3225 #include "sysdep/win/hrt.h"26 #endif27 22 28 23 … … 35 30 double t; 36 31 37 #ifdef _WIN32 38 39 t = hrt_time(); 40 41 #elif defined(HAVE_CLOCK_GETTIME) 32 #ifdef HAVE_CLOCK_GETTIME 42 33 43 34 static struct timespec start; … … 78 69 double timer_res() 79 70 { 80 #ifdef _WIN32 81 82 HRTImpl impl; 83 i64 nominal_freq; 84 hrt_query_impl(impl, nominal_freq); 85 return 1.0 / nominal_freq; 86 87 #elif defined(HAVE_CLOCK_GETTIME) 71 #ifdef HAVE_CLOCK_GETTIME 88 72 89 73 struct timespec res; -
ps/trunk/source/main.cpp
r378 r392 1 #include "precompiled.h" 2 1 3 #include <cstdio> 2 4 #include <cstring> -
ps/trunk/source/maths/Bound.cpp
r322 r392 7 7 /////////////////////////////////////////////////////////////////////////////// 8 8 9 #include "precompiled.h" 9 10 10 11 // necessary includes -
ps/trunk/source/maths/MathUtil.cpp
r332 r392 1 #include "precompiled.h" 2 1 3 #if 0 2 4 // last modified Thursday, May 08, 2003 -
ps/trunk/source/maths/Matrix3D.cpp
r322 r392 10 10 //*********************************************************** 11 11 12 #include "precompiled.h" 12 13 13 14 #include "Matrix3D.h" -
ps/trunk/source/maths/Plane.cpp
r304 r392 11 11 // 12 12 //*********************************************************** 13 14 #include "precompiled.h" 13 15 14 16 #include "Plane.h" -
ps/trunk/source/maths/Quaternion.cpp
r322 r392 6 6 * 7 7 ************************************************************/ 8 9 #include "precompiled.h" 8 10 9 11 #include "Quaternion.h" -
ps/trunk/source/maths/Vector3D.cpp
r304 r392 9 9 // 10 10 //*********************************************************** 11 12 #include "precompiled.h" 11 13 12 14 #include "Vector3D.h" -
ps/trunk/source/ps/CConsole.cpp
r377 r392 1 #include "precompiled.h" 2 1 3 #include "CConsole.h" 2 4 -
ps/trunk/source/ps/CLogger.cpp
r295 r392 1 #include "precompiled.h" 2 1 3 #include "CLogger.h" 2 4 #include "lib.h" -
ps/trunk/source/ps/CStr.cpp
r378 r392 1 #include "precompiled.h" 2 1 3 #include "CStr.h" 2 4 #include "Network/Serialization.h" -
ps/trunk/source/ps/Config.cpp
r378 r392 3 3 // TODO: A few changes from VFS -> CFile usage if required. 4 4 // TODO: Optimizations, when we've decided what needs to be done. 5 6 #include "precompiled.h" 5 7 6 8 #if 0 -
ps/trunk/source/ps/Encryption.cpp
r332 r392 1 1 // last modified Friday, May 09, 2003 2 3 #include "precompiled.h" 2 4 3 5 #include "Encryption.h" -
ps/trunk/source/ps/FilePacker.cpp
r298 r392 6 6 // 7 7 /////////////////////////////////////////////////////////////////////////////// 8 9 #include "precompiled.h" 8 10 9 11 #include "FilePacker.h" -
ps/trunk/source/ps/FileUnpacker.cpp
r298 r392 6 6 // 7 7 /////////////////////////////////////////////////////////////////////////////// 8 9 #include "precompiled.h" 8 10 9 11 #include "FileUnpacker.h" -
ps/trunk/source/ps/LogFile.cpp
r378 r392 1 1 // last modified Thursday, May 08, 2003 2 3 #include "precompiled.h" 2 4 3 5 #if 0 -
ps/trunk/source/ps/NPFont.cpp
r299 r392 1 #include "precompiled.h" 2 1 3 #include "NPFont.h" 2 4 #include "Renderer.h" -
ps/trunk/source/ps/NPFontManager.cpp
r378 r392 1 #include "precompiled.h" 2 1 3 #include "NPFontManager.h" 2 4 #include "NPFont.h" -
ps/trunk/source/ps/Overlay.cpp
r334 r392 5 5 */ 6 6 7 #include "precompiled.h" 8 7 9 #include "Overlay.h" 8 10 -
ps/trunk/source/ps/OverlayText.cpp
r246 r392 4 4 rich@0ad.wildfiregames.com 5 5 */ 6 7 #include "precompiled.h" 6 8 7 9 #include "OverlayText.h" -
ps/trunk/source/ps/Parser.cpp
r332 r392 1 1 // last modified Thursday, May 08, 2003 2 3 #include "precompiled.h" 2 4 3 5 #include "Parser.h" -
ps/trunk/source/ps/Prometheus.cpp
r378 r392 1 #include "precompiled.h" 2 1 3 #include "Prometheus.h" 2 3 4 4 5 DEFINE_ERROR(PS_OK, "OK"); -
ps/trunk/source/ps/XMLUtils.cpp
r388 r392 1 #include "precompiled.h" 2 1 3 #include "XML.h" 2 4 #include "CStr.h" … … 4 6 5 7 #include "res/vfs.h" 8 9 10 #ifdef _MSC_VER 11 #pragma comment(lib, "xerces-c_2.lib") 12 #endif 6 13 7 14 XERCES_CPP_NAMESPACE_USE -
ps/trunk/source/ps/XercesErrorHandler.cpp
r378 r392 8 8 // Includes 9 9 // --------------------------------------------------------------------------- 10 11 #include "precompiled.h" 12 10 13 #include <xercesc/sax/SAXParseException.hpp> 11 14 #include "XercesErrorHandler.h" -
ps/trunk/source/renderer/AlphaMapCalculator.cpp
r304 r392 6 6 // 7 7 /////////////////////////////////////////////////////////////////////////////// 8 9 #include "precompiled.h" 8 10 9 11 #include "AlphaMapCalculator.h" -
ps/trunk/source/renderer/ModelRData.cpp
r322 r392 1 #include "precompiled.h" 2 1 3 #include <assert.h> 2 4 #include <algorithm> -
ps/trunk/source/renderer/PBuffer.cpp
r322 r392 1 #include "precompiled.h" 2 1 3 #include "pbuffer.h" 2 4 3 5 #ifdef _WIN32 6 7 // janwas: wgl-specific crap is in sysdep/win/wgl.h; 8 // function pointers are imported automagically 9 10 /* 4 11 #include <windows.h> 5 12 #include <gl/gl.h> 6 13 #include <gl/glext.h> 7 #include <gl/wglext.h> 14 */ 15 16 #include "ogl.h" 8 17 9 18 static HDC lastDC; 10 19 static HGLRC lastGLRC; 11 20 21 /* 12 22 static bool GotExts=false; 13 23 static PFNWGLCREATEPBUFFERARBPROC wglCreatePbufferARB=0; … … 19 29 static PFNWGLGETPIXELFORMATATTRIBFVARBPROC wglGetPixelFormatAttribfvARB=0; 20 30 static PFNWGLCHOOSEPIXELFORMATARBPROC wglChoosePixelFormatARB=0; 31 */ 21 32 22 33 class PBuffer … … 76 87 } 77 88 89 /* 78 90 static void GetExts() 79 91 { … … 88 100 GotExts=true; 89 101 } 102 */ 90 103 91 104 // This function actually does the creation of the p-buffer. … … 94 107 int rendertextureformat,int rendertexturetarget,int havemipmaps) 95 108 { 109 /* 96 110 if (!GotExts) { 97 111 GetExts(); 98 112 } 113 */ 99 114 100 115 // store requested parameters -
ps/trunk/source/renderer/Renderer.cpp
r379 r392 12 12 /////////////////////////////////////////////////////////////////////////////// 13 13 14 15 #include "precompiled.h" 14 16 15 17 #include <map> -
ps/trunk/source/renderer/SHCoeffs.cpp
r304 r392 9 9 // lighting 10 10 //---------------------------------------------------------------- 11 12 #include "precompiled.h" 11 13 12 14 #include "SHCoeffs.h" -
ps/trunk/source/renderer/TransparencyRenderer.cpp
r322 r392 1 #include "precompiled.h" 2 1 3 #include <algorithm> 2 4 #include "Renderer.h" -
ps/trunk/source/scripting/ScriptCustomTypes.cpp
r322 r392 1 #include "precompiled.h" 1 2 2 3 #include "ScriptingHost.h" -
ps/trunk/source/scripting/ScriptGlue.cpp
r322 r392 1 #include "precompiled.h" 1 2 2 3 #include "ScriptGlue.h" -
ps/trunk/source/scripting/ScriptingHost.cpp
r322 r392 1 #include "precompiled.h" 1 2 2 3 #include "ScriptingHost.h" -
ps/trunk/source/simulation/BaseEntity.cpp
r383 r392 1 #include "precompiled.h" 2 1 3 #include "BaseEntity.h" 2 4 #include "ObjectManager.h" -
ps/trunk/source/simulation/BaseEntityCollection.cpp
r383 r392 1 1 // Last modified: May 15 2004, Mark Thompson (mark@wildfiregames.com) 2 3 #include "precompiled.h" 2 4 3 5 #include "BaseEntityCollection.h" -
ps/trunk/source/simulation/BoundingObjects.cpp
r379 r392 1 #include "precompiled.h" 2 1 3 #include "BoundingObjects.h" 2 4 #include "ogl.h" -
ps/trunk/source/simulation/Collision.cpp
r379 r392 1 #include "precompiled.h" 2 1 3 #include "Collision.h" 2 4 #include "EntityManager.h" -
ps/trunk/source/simulation/Entity.cpp
r383 r392 1 1 // Last modified: May 15 2004, Mark Thompson (mark@wildfiregames.com) 2 3 #include "precompiled.h" 2 4 3 5 #include "Entity.h" -
ps/trunk/source/simulation/EntityManager.cpp
r357 r392 1 #include "precompiled.h" 2 1 3 #include "EntityManager.h" 2 4 #include "BaseEntityCollection.h" -
ps/trunk/source/simulation/EntityProperties.cpp
r378 r392 1 #include "precompiled.h" 2 1 3 #include "EntityProperties.h" 2 4 -
ps/trunk/source/simulation/EntityStateProcessing.cpp
r379 r392 1 1 // Entity state-machine processing code. 2 3 #include "precompiled.h" 2 4 3 5 #include "Entity.h" -
ps/trunk/source/simulation/PathfindEngine.cpp
r357 r392 1 #include "precompiled.h" 2 1 3 #include "PathfindEngine.h" 2 4 #include "PathfindSparse.h" -
ps/trunk/source/simulation/PathfindSparse.cpp
r379 r392 1 #include "precompiled.h" 2 1 3 #include "PathfindSparse.h" 2 4 -
ps/trunk/source/terrain/terrainMain.cpp
r378 r392 1 #include "precompiled.h" 1 2 2 3 #include "Matrix3D.h"
Note:
See TracChangeset
for help on using the changeset viewer.
