Jelajahi Sumber

*** empty log message ***

Joe Shochet 25 tahun lalu
induk
melakukan
b21b19899f
2 mengubah file dengan 6 tambahan dan 6 penghapusan
  1. 1 1
      direct/src/ffi/genPyCode
  2. 5 5
      panda/src/lerp/lerpblend.h

+ 1 - 1
direct/src/ffi/genPyCode

@@ -17,7 +17,7 @@ fi
 
 
 if [ "$1" = "win-release" ]; then
 if [ "$1" = "win-release" ]; then
     cd $DIRECT/bin
     cd $DIRECT/bin
-    exec ppython -i generatePythonCode -v -d `cygpath -w $DIRECT/lib/py` -e `cygpath -w $DIRECT/src/extensions` -i libdtoolconfig libpandaexpress libpanda libpandaphysics libdirect libtoontown
+    exec ppython generatePythonCode -v -d `cygpath -w $DIRECT/lib/py` -e `cygpath -w $DIRECT/src/extensions` -i libdtoolconfig libpandaexpress libpanda libpandaphysics libdirect libtoontown
     exit 1
     exit 1
 fi
 fi
 
 

+ 5 - 5
panda/src/lerp/lerpblend.h

@@ -13,11 +13,11 @@ class EXPCL_PANDA LerpBlendType : public TypedReferenceCount {
 PUBLISHED:
 PUBLISHED:
   LerpBlendType(void) {}
   LerpBlendType(void) {}
   virtual ~LerpBlendType(void);
   virtual ~LerpBlendType(void);
+  virtual float operator()(float) = 0;
 
 
 public:
 public:
   LerpBlendType(const LerpBlendType&);
   LerpBlendType(const LerpBlendType&);
   LerpBlendType& operator=(const LerpBlendType&);
   LerpBlendType& operator=(const LerpBlendType&);
-  virtual float operator()(float) = 0;
 public:
 public:
   // now for typehandle stuff
   // now for typehandle stuff
   static TypeHandle get_class_type(void) {
   static TypeHandle get_class_type(void) {
@@ -43,11 +43,11 @@ class EXPCL_PANDA EaseInBlendType : public LerpBlendType {
 PUBLISHED:
 PUBLISHED:
   EaseInBlendType(void) {}
   EaseInBlendType(void) {}
   virtual ~EaseInBlendType(void);
   virtual ~EaseInBlendType(void);
+  virtual float operator()(float);
 
 
 public:
 public:
   EaseInBlendType(const EaseInBlendType&);
   EaseInBlendType(const EaseInBlendType&);
   EaseInBlendType& operator=(const EaseInBlendType&);
   EaseInBlendType& operator=(const EaseInBlendType&);
-  virtual float operator()(float);
 public:
 public:
   // now for typehandle stuff
   // now for typehandle stuff
   static TypeHandle get_class_type(void) {
   static TypeHandle get_class_type(void) {
@@ -73,11 +73,11 @@ class EXPCL_PANDA EaseOutBlendType : public LerpBlendType {
 PUBLISHED:
 PUBLISHED:
   EaseOutBlendType(void) {}
   EaseOutBlendType(void) {}
   virtual ~EaseOutBlendType(void);
   virtual ~EaseOutBlendType(void);
+  virtual float operator()(float);
 
 
 public:
 public:
   EaseOutBlendType(const EaseOutBlendType&);
   EaseOutBlendType(const EaseOutBlendType&);
   EaseOutBlendType& operator=(const EaseOutBlendType&);
   EaseOutBlendType& operator=(const EaseOutBlendType&);
-  virtual float operator()(float);
 public:
 public:
   // now for typehandle stuff
   // now for typehandle stuff
   static TypeHandle get_class_type(void) {
   static TypeHandle get_class_type(void) {
@@ -103,10 +103,10 @@ class EXPCL_PANDA EaseInOutBlendType : public LerpBlendType {
 PUBLISHED:
 PUBLISHED:
   EaseInOutBlendType(void) {}
   EaseInOutBlendType(void) {}
   virtual ~EaseInOutBlendType(void);
   virtual ~EaseInOutBlendType(void);
+  virtual float operator()(float);
 public:
 public:
   EaseInOutBlendType(const EaseInOutBlendType&);
   EaseInOutBlendType(const EaseInOutBlendType&);
   EaseInOutBlendType& operator=(const EaseInOutBlendType&);
   EaseInOutBlendType& operator=(const EaseInOutBlendType&);
-  virtual float operator()(float);
 public:
 public:
   // now for typehandle stuff
   // now for typehandle stuff
   static TypeHandle get_class_type(void) {
   static TypeHandle get_class_type(void) {
@@ -132,10 +132,10 @@ class EXPCL_PANDA NoBlendType : public LerpBlendType {
 PUBLISHED:
 PUBLISHED:
   NoBlendType(void) {}
   NoBlendType(void) {}
   virtual ~NoBlendType(void);
   virtual ~NoBlendType(void);
+  virtual float operator()(float);
 public:
 public:
   NoBlendType(const NoBlendType&);
   NoBlendType(const NoBlendType&);
   NoBlendType& operator=(const NoBlendType&);
   NoBlendType& operator=(const NoBlendType&);
-  virtual float operator()(float);
 public:
 public:
   // now for typehandle stuff
   // now for typehandle stuff
   static TypeHandle get_class_type(void) {
   static TypeHandle get_class_type(void) {