Przeglądaj źródła

add nopch toggle

cxgeorge 24 lat temu
rodzic
commit
b9cfee9877

+ 2 - 2
panda/src/chan/animBundle.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "animBundle.h"
 #include "animBundle.h"
 
 
 #include <indent.h>
 #include <indent.h>

+ 2 - 2
panda/src/chan/animBundleNode.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "animBundleNode.h"
 #include "animBundleNode.h"
 #include <datagram.h>
 #include <datagram.h>
 #include <datagramIterator.h>
 #include <datagramIterator.h>

+ 2 - 2
panda/src/chan/animChannel.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "animChannel.h"
 #include "animChannel.h"
 
 
 #include <compose_matrix.h>
 #include <compose_matrix.h>

+ 2 - 2
panda/src/chan/animChannelBase.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "animChannelBase.h"
 #include "animChannelBase.h"
 #include <datagram.h>
 #include <datagram.h>
 #include <datagramIterator.h>
 #include <datagramIterator.h>

+ 2 - 2
panda/src/chan/animChannelMatrixXfmTable.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "animChannelMatrixXfmTable.h"
 #include "animChannelMatrixXfmTable.h"
 #include "animBundle.h"
 #include "animBundle.h"
 #include "config_chan.h"
 #include "config_chan.h"

+ 2 - 2
panda/src/chan/animChannelScalarTable.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "animChannelScalarTable.h"
 #include "animChannelScalarTable.h"
 #include "animBundle.h"
 #include "animBundle.h"
 #include "config_chan.h"
 #include "config_chan.h"

+ 3 - 3
panda/src/chan/animControl.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "animControl.h"
 #include "animControl.h"
 #include "animChannelBase.h"
 #include "animChannelBase.h"
 #include "partBundle.h"
 #include "partBundle.h"
@@ -548,7 +548,7 @@ bool AnimControl::
 do_actions_backward(int from, int to) {
 do_actions_backward(int from, int to) {
 #ifndef WIN32_VC
 #ifndef WIN32_VC
   if (from >= to) {
   if (from >= to) {
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
     typedef reverse_iterator<Actions::const_iterator, Actions::value_type> Action_reverse_iterator;
     typedef reverse_iterator<Actions::const_iterator, Actions::value_type> Action_reverse_iterator;
 #else
 #else
     typedef reverse_iterator<Actions::const_iterator> Action_reverse_iterator;
     typedef reverse_iterator<Actions::const_iterator> Action_reverse_iterator;

+ 2 - 2
panda/src/chan/animControlCollection.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "animControlCollection.h"
 #include "animControlCollection.h"
 #endif
 #endif
 
 

+ 2 - 2
panda/src/chan/animGroup.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "animGroup.h"
 #include "animGroup.h"
 #include "animBundle.h"
 #include "animBundle.h"
 #include "config_chan.h"
 #include "config_chan.h"

+ 2 - 2
panda/src/chan/auto_bind.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "animBundleNode.h"
 #include "animBundleNode.h"
 #include "partBundleNode.h"
 #include "partBundleNode.h"
 #include "config_chan.h"
 #include "config_chan.h"

+ 2 - 2
panda/src/chan/config_chan.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "config_chan.h"
 #include "config_chan.h"
 #include "animBundle.h"
 #include "animBundle.h"
 #include "animBundleNode.h"
 #include "animBundleNode.h"

+ 2 - 2
panda/src/chan/movingPartBase.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "movingPartBase.h"
 #include "movingPartBase.h"
 #include "animControl.h"
 #include "animControl.h"
 #include "animChannelBase.h"
 #include "animChannelBase.h"

+ 2 - 2
panda/src/chan/movingPartMatrix.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "movingPartMatrix.h"
 #include "movingPartMatrix.h"
 
 
 #include <compose_matrix.h>
 #include <compose_matrix.h>

+ 2 - 2
panda/src/chan/movingPartScalar.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "movingPartScalar.h"
 #include "movingPartScalar.h"
 #include <datagram.h>
 #include <datagram.h>
 #include <datagramIterator.h>
 #include <datagramIterator.h>

+ 2 - 2
panda/src/chan/partBundle.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "partBundle.h"
 #include "partBundle.h"
 #include "animBundle.h"
 #include "animBundle.h"
 #include "animControl.h"
 #include "animControl.h"

+ 2 - 2
panda/src/chan/partBundleNode.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "partBundleNode.h"
 #include "partBundleNode.h"
 #include <datagram.h>
 #include <datagram.h>
 #include <datagramIterator.h>
 #include <datagramIterator.h>

+ 2 - 2
panda/src/chan/partGroup.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chan_headers.h"
 #include "chan_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "partGroup.h"
 #include "partGroup.h"
 #include "animGroup.h"
 #include "animGroup.h"
 #include "config_chan.h"
 #include "config_chan.h"

+ 2 - 2
panda/src/chancfg/chancfg.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chancfg_headers.h"
 #include "chancfg_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "chancfg.h"
 #include "chancfg.h"
 #include <notify.h>
 #include <notify.h>
 #endif
 #endif

+ 2 - 2
panda/src/chancfg/chanlayout.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chancfg_headers.h"
 #include "chancfg_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "chanlayout.h"
 #include "chanlayout.h"
 #include "chanparse.h"
 #include "chanparse.h"
 #include "chanshare.h"
 #include "chanshare.h"

+ 2 - 2
panda/src/chancfg/chanparse.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chancfg_headers.h"
 #include "chancfg_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "chanparse.h"
 #include "chanparse.h"
 
 
 #include <notify.h>
 #include <notify.h>

+ 2 - 2
panda/src/chancfg/chansetup.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chancfg_headers.h"
 #include "chancfg_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "chansetup.h"
 #include "chansetup.h"
 #include "chanparse.h"
 #include "chanparse.h"
 #include "chanshare.h"
 #include "chanshare.h"

+ 2 - 2
panda/src/chancfg/chanwindow.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chancfg_headers.h"
 #include "chancfg_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "chanwindow.h"
 #include "chanwindow.h"
 #include "chanparse.h"
 #include "chanparse.h"
 #include "chanshare.h"
 #include "chanshare.h"

+ 2 - 2
panda/src/char/character.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "char_headers.h"
 #include "char_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "character.h"
 #include "character.h"
 #include "characterJoint.h"
 #include "characterJoint.h"
 #include "computedVertices.h"
 #include "computedVertices.h"

+ 2 - 2
panda/src/char/characterJoint.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "char_headers.h"
 #include "char_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "characterJoint.h"
 #include "characterJoint.h"
 #include "config_char.h"
 #include "config_char.h"
 
 

+ 2 - 2
panda/src/char/characterJointBundle.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "char_headers.h"
 #include "char_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "characterJointBundle.h"
 #include "characterJointBundle.h"
 #include "character.h"
 #include "character.h"
 #include <datagram.h>
 #include <datagram.h>

+ 2 - 2
panda/src/char/characterSlider.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "char_headers.h"
 #include "char_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "characterSlider.h"
 #include "characterSlider.h"
 #include <datagram.h>
 #include <datagram.h>
 #include <datagramIterator.h>
 #include <datagramIterator.h>

+ 2 - 2
panda/src/char/computedVertices.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "char_headers.h"
 #include "char_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "computedVertices.h"
 #include "computedVertices.h"
 #include "characterJoint.h"
 #include "characterJoint.h"
 #include "character.h"
 #include "character.h"

+ 2 - 2
panda/src/char/computedVerticesMorph.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "char_headers.h"
 #include "char_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "computedVerticesMorph.h"
 #include "computedVerticesMorph.h"
 
 
 #include <datagram.h>
 #include <datagram.h>

+ 2 - 2
panda/src/char/config_char.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "char_headers.h"
 #include "char_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "config_char.h"
 #include "config_char.h"
 #include "character.h"
 #include "character.h"
 #include "characterJoint.h"
 #include "characterJoint.h"

+ 2 - 2
panda/src/char/dynamicVertices.cxx

@@ -16,13 +16,13 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#ifdef WIN32_VC
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "char_headers.h"
 #include "char_headers.h"
 #endif
 #endif
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 
-#ifndef WIN32_VC
+#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "dynamicVertices.h"
 #include "dynamicVertices.h"
 #include "config_char.h"
 #include "config_char.h"
 #include <bamReader.h>
 #include <bamReader.h>

+ 5 - 0
panda/src/chat/chatHelpers.cxx

@@ -15,9 +15,14 @@
 // [email protected] .
 // [email protected] .
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chat_headers.h"
 #include "chat_headers.h"
+#endif
+
 #pragma hdrstop
 #pragma hdrstop
 
 
+#include "chatHelpers.h"
+
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //     Function: add_line_wraps
 //     Function: add_line_wraps
 //  Description: Take an input string and format it so that lines
 //  Description: Take an input string and format it so that lines

+ 11 - 0
panda/src/chat/chatInput.cxx

@@ -15,9 +15,20 @@
 // [email protected] .
 // [email protected] .
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "chat_headers.h"
 #include "chat_headers.h"
+#endif
+
 #pragma hdrstop
 #pragma hdrstop
 
 
+#include "chatInput.h"
+
+#include <buttonEventDataTransition.h>
+#include <buttonEventDataAttribute.h>
+#include <buttonEvent.h>
+#include <keyboardButton.h>
+#include <throw_event.h>
+
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 // Static variables
 // Static variables
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////

+ 1 - 9
panda/src/chat/chat_headers.h

@@ -16,15 +16,7 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#include <buttonEvent.h>
-#include <buttonEventDataAttribute.h>
-#include <buttonEventDataTransition.h>
-#include <dconfig.h>
-#include <keyboardButton.h>
-#include <throw_event.h>
-#include "chatHelpers.h"
-#include "chatInput.h"
-#include "config_chat.h"
+#include <pandabase.h>
 
 
 #pragma hdrstop
 #pragma hdrstop
 
 

+ 10 - 0
panda/src/chat/config_chat.cxx

@@ -16,9 +16,19 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
+#ifdef WIN32_VC
 #include "chat_headers.h"
 #include "chat_headers.h"
+#endif
+
 #pragma hdrstop
 #pragma hdrstop
 
 
+#ifndef WIN32_VC
+#include "chatInput.h"
+#endif
+
+#include "config_chat.h"
+#include <dconfig.h>
+
 Configure(config_chat);
 Configure(config_chat);
 NotifyCategoryDef(chat, "");
 NotifyCategoryDef(chat, "");