cxgeorge 24 роки тому
батько
коміт
74602b682c

+ 2 - 0
panda/src/lerp/Sources.pp

@@ -12,6 +12,8 @@
 
 
   #define INSTALL_HEADERS \
   #define INSTALL_HEADERS \
     lerp.h lerpblend.h lerpfunctor.h
     lerp.h lerpblend.h lerpfunctor.h
+    
+  #define PRECOMPILED_HEADER lerp_headers.h
 
 
   #define IGATESCAN all
   #define IGATESCAN all
 
 

+ 2 - 3
panda/src/lerp/config_lerp.cxx

@@ -16,9 +16,8 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#include "config_lerp.h"
-#include "lerp.h"
-#include "lerpfunctor.h"
+#include "lerp_headers.h"
+#pragma hdrstop
 
 
 Configure(config_lerp);
 Configure(config_lerp);
 NotifyCategoryDef(lerp, "");
 NotifyCategoryDef(lerp, "");

+ 2 - 3
panda/src/lerp/lerp.cxx

@@ -16,9 +16,8 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#include "lerp.h"
-#include <clockObject.h>
-#include <throw_event.h>
+#include "lerp_headers.h"
+#pragma hdrstop
 
 
 TypeHandle Lerp::_type_handle;
 TypeHandle Lerp::_type_handle;
 TypeHandle AutonomousLerp::_type_handle;
 TypeHandle AutonomousLerp::_type_handle;

+ 27 - 0
panda/src/lerp/lerp_headers.h

@@ -0,0 +1,27 @@
+// Filename: lerp_headers.h
+// Created by:  georges (30May01)
+//
+////////////////////////////////////////////////////////////////////
+//
+// PANDA 3D SOFTWARE
+// Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
+//
+// All use of this software is subject to the terms of the Panda 3d
+// Software license.  You should have received a copy of this license
+// along with this source code; you will also find a current copy of
+// the license at http://www.panda3d.org/license.txt .
+//
+// To contact the maintainers of this program write to
+// [email protected] .
+//
+////////////////////////////////////////////////////////////////////
+
+#include "config_lerp.h"
+#include "lerp.h"
+#include "lerpblend.h"
+#include "lerpfunctor.h"
+#include <clockObject.h>
+#include <throw_event.h>
+
+#pragma hdrstop
+

+ 2 - 1
panda/src/lerp/lerpblend.cxx

@@ -16,7 +16,8 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#include "lerpblend.h"
+#include "lerp_headers.h"
+#pragma hdrstop
 
 
 TypeHandle LerpBlendType::_type_handle;
 TypeHandle LerpBlendType::_type_handle;
 TypeHandle EaseInBlendType::_type_handle;
 TypeHandle EaseInBlendType::_type_handle;

+ 2 - 1
panda/src/lerp/lerpfunctor.cxx

@@ -16,7 +16,8 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#include "lerpfunctor.h"
+#include "lerp_headers.h"
+#pragma hdrstop
 
 
 TypeHandle LerpFunctor::_type_handle;
 TypeHandle LerpFunctor::_type_handle;
 TypeHandle MultiLerpFunctor::_type_handle;
 TypeHandle MultiLerpFunctor::_type_handle;