Browse Source

Merge pull request #213 from Hoikas/pch

Precompiled Headers for pfPython
Adam Johnson 12 years ago
parent
commit
b3a9d96f40
  1. 1
      CMakeLists.txt
  2. 3
      Sources/Plasma/FeatureLib/pfPython/CMakeLists.txt
  3. 5
      Sources/Plasma/FeatureLib/pfPython/Games/BlueSpiral/pyBlueSpiralGame.cpp
  4. 4
      Sources/Plasma/FeatureLib/pfPython/Games/BlueSpiral/pyBlueSpiralGame.h
  5. 6
      Sources/Plasma/FeatureLib/pfPython/Games/BlueSpiral/pyBlueSpiralGameGlue.cpp
  6. 5
      Sources/Plasma/FeatureLib/pfPython/Games/BlueSpiral/pyBlueSpiralMsg.cpp
  7. 3
      Sources/Plasma/FeatureLib/pfPython/Games/BlueSpiral/pyBlueSpiralMsg.h
  8. 7
      Sources/Plasma/FeatureLib/pfPython/Games/BlueSpiral/pyBlueSpiralMsgGlue.cpp
  9. 5
      Sources/Plasma/FeatureLib/pfPython/Games/ClimbingWall/pyClimbingWallGame.cpp
  10. 4
      Sources/Plasma/FeatureLib/pfPython/Games/ClimbingWall/pyClimbingWallGame.h
  11. 6
      Sources/Plasma/FeatureLib/pfPython/Games/ClimbingWall/pyClimbingWallGameGlue.cpp
  12. 5
      Sources/Plasma/FeatureLib/pfPython/Games/ClimbingWall/pyClimbingWallMsg.cpp
  13. 2
      Sources/Plasma/FeatureLib/pfPython/Games/ClimbingWall/pyClimbingWallMsg.h
  14. 7
      Sources/Plasma/FeatureLib/pfPython/Games/ClimbingWall/pyClimbingWallMsgGlue.cpp
  15. 5
      Sources/Plasma/FeatureLib/pfPython/Games/Heek/pyHeekGame.cpp
  16. 4
      Sources/Plasma/FeatureLib/pfPython/Games/Heek/pyHeekGame.h
  17. 6
      Sources/Plasma/FeatureLib/pfPython/Games/Heek/pyHeekGameGlue.cpp
  18. 5
      Sources/Plasma/FeatureLib/pfPython/Games/Heek/pyHeekMsg.cpp
  19. 3
      Sources/Plasma/FeatureLib/pfPython/Games/Heek/pyHeekMsg.h
  20. 7
      Sources/Plasma/FeatureLib/pfPython/Games/Heek/pyHeekMsgGlue.cpp
  21. 6
      Sources/Plasma/FeatureLib/pfPython/Games/Marker/pyMarkerGame.cpp
  22. 4
      Sources/Plasma/FeatureLib/pfPython/Games/Marker/pyMarkerGame.h
  23. 6
      Sources/Plasma/FeatureLib/pfPython/Games/Marker/pyMarkerGameGlue.cpp
  24. 5
      Sources/Plasma/FeatureLib/pfPython/Games/Marker/pyMarkerMsg.cpp
  25. 3
      Sources/Plasma/FeatureLib/pfPython/Games/Marker/pyMarkerMsg.h
  26. 7
      Sources/Plasma/FeatureLib/pfPython/Games/Marker/pyMarkerMsgGlue.cpp
  27. 5
      Sources/Plasma/FeatureLib/pfPython/Games/TicTacToe/pyTTTGame.cpp
  28. 4
      Sources/Plasma/FeatureLib/pfPython/Games/TicTacToe/pyTTTGame.h
  29. 6
      Sources/Plasma/FeatureLib/pfPython/Games/TicTacToe/pyTTTGameGlue.cpp
  30. 5
      Sources/Plasma/FeatureLib/pfPython/Games/TicTacToe/pyTTTMsg.cpp
  31. 3
      Sources/Plasma/FeatureLib/pfPython/Games/TicTacToe/pyTTTMsg.h
  32. 7
      Sources/Plasma/FeatureLib/pfPython/Games/TicTacToe/pyTTTMsgGlue.cpp
  33. 5
      Sources/Plasma/FeatureLib/pfPython/Games/VarSync/pyVarSyncGame.cpp
  34. 4
      Sources/Plasma/FeatureLib/pfPython/Games/VarSync/pyVarSyncGame.h
  35. 6
      Sources/Plasma/FeatureLib/pfPython/Games/VarSync/pyVarSyncGameGlue.cpp
  36. 5
      Sources/Plasma/FeatureLib/pfPython/Games/VarSync/pyVarSyncMsg.cpp
  37. 3
      Sources/Plasma/FeatureLib/pfPython/Games/VarSync/pyVarSyncMsg.h
  38. 7
      Sources/Plasma/FeatureLib/pfPython/Games/VarSync/pyVarSyncMsgGlue.cpp
  39. 6
      Sources/Plasma/FeatureLib/pfPython/Games/pyGameCli.cpp
  40. 8
      Sources/Plasma/FeatureLib/pfPython/Games/pyGameCli.h
  41. 7
      Sources/Plasma/FeatureLib/pfPython/Games/pyGameCliGlue.cpp
  42. 5
      Sources/Plasma/FeatureLib/pfPython/Games/pyGameCliMsg.cpp
  43. 6
      Sources/Plasma/FeatureLib/pfPython/Games/pyGameCliMsg.h
  44. 7
      Sources/Plasma/FeatureLib/pfPython/Games/pyGameCliMsgGlue.cpp
  45. 5
      Sources/Plasma/FeatureLib/pfPython/Games/pyGameMgrMsg.cpp
  46. 7
      Sources/Plasma/FeatureLib/pfPython/Games/pyGameMgrMsg.h
  47. 7
      Sources/Plasma/FeatureLib/pfPython/Games/pyGameMgrMsgGlue.cpp
  48. 43
      Sources/Plasma/FeatureLib/pfPython/Pch.cpp
  49. 91
      Sources/Plasma/FeatureLib/pfPython/Pch.h
  50. 4
      Sources/Plasma/FeatureLib/pfPython/cyAccountManagement.cpp
  51. 7
      Sources/Plasma/FeatureLib/pfPython/cyAccountManagement.h
  52. 5
      Sources/Plasma/FeatureLib/pfPython/cyAccountManagementGlue.cpp
  53. 6
      Sources/Plasma/FeatureLib/pfPython/cyAnimation.cpp
  54. 3
      Sources/Plasma/FeatureLib/pfPython/cyAnimation.h
  55. 7
      Sources/Plasma/FeatureLib/pfPython/cyAnimationGlue.cpp
  56. 16
      Sources/Plasma/FeatureLib/pfPython/cyAvatar.cpp
  57. 4
      Sources/Plasma/FeatureLib/pfPython/cyAvatar.h
  58. 10
      Sources/Plasma/FeatureLib/pfPython/cyAvatarGlue.cpp
  59. 10
      Sources/Plasma/FeatureLib/pfPython/cyCamera.cpp
  60. 7
      Sources/Plasma/FeatureLib/pfPython/cyCamera.h
  61. 6
      Sources/Plasma/FeatureLib/pfPython/cyCameraGlue.cpp
  62. 6
      Sources/Plasma/FeatureLib/pfPython/cyDraw.cpp
  63. 1
      Sources/Plasma/FeatureLib/pfPython/cyDraw.h
  64. 6
      Sources/Plasma/FeatureLib/pfPython/cyDrawGlue.cpp
  65. 7
      Sources/Plasma/FeatureLib/pfPython/cyInputInterface.cpp
  66. 1
      Sources/Plasma/FeatureLib/pfPython/cyInputInterface.h
  67. 4
      Sources/Plasma/FeatureLib/pfPython/cyInputInterfaceGlue.cpp
  68. 11
      Sources/Plasma/FeatureLib/pfPython/cyMisc.cpp
  69. 8
      Sources/Plasma/FeatureLib/pfPython/cyMisc.h
  70. 9
      Sources/Plasma/FeatureLib/pfPython/cyMiscGlue.cpp
  71. 5
      Sources/Plasma/FeatureLib/pfPython/cyMiscGlue2.cpp
  72. 9
      Sources/Plasma/FeatureLib/pfPython/cyMiscGlue3.cpp
  73. 13
      Sources/Plasma/FeatureLib/pfPython/cyMiscGlue4.cpp
  74. 8
      Sources/Plasma/FeatureLib/pfPython/cyParticleSys.cpp
  75. 39
      Sources/Plasma/FeatureLib/pfPython/cyParticleSys.h
  76. 7
      Sources/Plasma/FeatureLib/pfPython/cyParticleSysGlue.cpp
  77. 16
      Sources/Plasma/FeatureLib/pfPython/cyPhysics.cpp
  78. 3
      Sources/Plasma/FeatureLib/pfPython/cyPhysics.h
  79. 8
      Sources/Plasma/FeatureLib/pfPython/cyPhysicsGlue.cpp
  80. 17
      Sources/Plasma/FeatureLib/pfPython/cyPythonInterface.cpp
  81. 3
      Sources/Plasma/FeatureLib/pfPython/cyPythonInterface.h
  82. 15
      Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.cpp
  83. 7
      Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.h
  84. 19
      Sources/Plasma/FeatureLib/pfPython/plPythonPack.cpp
  85. 3
      Sources/Plasma/FeatureLib/pfPython/plPythonPack.h
  86. 1
      Sources/Plasma/FeatureLib/pfPython/plPythonParameter.h
  87. 7
      Sources/Plasma/FeatureLib/pfPython/plPythonSDLModifier.cpp
  88. 4
      Sources/Plasma/FeatureLib/pfPython/plPythonSDLModifier.h
  89. 6
      Sources/Plasma/FeatureLib/pfPython/plPythonSDLModifierGlue.cpp
  90. 5
      Sources/Plasma/FeatureLib/pfPython/pyAgeInfoStruct.cpp
  91. 2
      Sources/Plasma/FeatureLib/pfPython/pyAgeInfoStruct.h
  92. 4
      Sources/Plasma/FeatureLib/pfPython/pyAgeInfoStructGlue.cpp
  93. 7
      Sources/Plasma/FeatureLib/pfPython/pyAgeLinkStruct.cpp
  94. 6
      Sources/Plasma/FeatureLib/pfPython/pyAgeLinkStruct.h
  95. 7
      Sources/Plasma/FeatureLib/pfPython/pyAgeLinkStructGlue.cpp
  96. 5
      Sources/Plasma/FeatureLib/pfPython/pyAgeVault.cpp
  97. 3
      Sources/Plasma/FeatureLib/pfPython/pyAgeVault.h
  98. 6
      Sources/Plasma/FeatureLib/pfPython/pyAgeVaultGlue.cpp
  99. 7
      Sources/Plasma/FeatureLib/pfPython/pyAlarm.cpp
  100. 4
      Sources/Plasma/FeatureLib/pfPython/pyAlarm.h
  101. Some files were not shown because too many files have changed in this diff Show More

1
CMakeLists.txt

@ -34,6 +34,7 @@ endif(WIN32)
find_package(MaxSDK) #TODO: Only find this if we are building PlasmaMax find_package(MaxSDK) #TODO: Only find this if we are building PlasmaMax
find_package(Bink) #TODO: Find Bink, but don't require it if plPipeline isn't built... find_package(Bink) #TODO: Find Bink, but don't require it if plPipeline isn't built...
# Or better yet, just eliminate bink altogether # Or better yet, just eliminate bink altogether
include(PrecompiledHeader) #Precompiled Header helper macros
# libCurl isn't smart enough to detect this for us, so we have to configure it ourselves # libCurl isn't smart enough to detect this for us, so we have to configure it ourselves
option(CURL_IS_STATIC "Using the static version of libcurl?" ON) option(CURL_IS_STATIC "Using the static version of libcurl?" ON)

3
Sources/Plasma/FeatureLib/pfPython/CMakeLists.txt

@ -19,6 +19,7 @@ set(pfPython_SOURCES
cyParticleSys.cpp cyParticleSys.cpp
cyPhysics.cpp cyPhysics.cpp
cyPythonInterface.cpp cyPythonInterface.cpp
Pch.cpp
plPythonFileMod.cpp plPythonFileMod.cpp
plPythonPack.cpp plPythonPack.cpp
plPythonSDLModifier.cpp plPythonSDLModifier.cpp
@ -104,6 +105,7 @@ set(pfPython_HEADERS
cyParticleSys.h cyParticleSys.h
cyPhysics.h cyPhysics.h
cyPythonInterface.h cyPythonInterface.h
Pch.h
pfPythonCreatable.h pfPythonCreatable.h
plPythonFileMod.h plPythonFileMod.h
plPythonHelpers.h plPythonHelpers.h
@ -340,6 +342,7 @@ set(pfPython_GAMES
${pfPython_VSYNC} ${pfPython_VSYNC}
) )
use_precompiled_header(Pch.h Pch.cpp)
add_library(pfPython STATIC ${pfPython_SOURCES} ${pfPython_HEADERS} ${pfPython_GLUE} ${pfPython_GAME_GLUE} ${pfPython_GAMES}) add_library(pfPython STATIC ${pfPython_SOURCES} ${pfPython_HEADERS} ${pfPython_GLUE} ${pfPython_GAME_GLUE} ${pfPython_GAMES})
source_group("Source Files" FILES ${pfPython_SOURCES}) source_group("Source Files" FILES ${pfPython_SOURCES})

5
Sources/Plasma/FeatureLib/pfPython/Games/BlueSpiral/pyBlueSpiralGame.cpp

@ -39,7 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "../../pyKey.h"
#pragma hdrstop
#include "pyBlueSpiralGame.h" #include "pyBlueSpiralGame.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

4
Sources/Plasma/FeatureLib/pfPython/Games/BlueSpiral/pyBlueSpiralGame.h

@ -48,13 +48,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper for the BlueSpiral game client // PURPOSE: Class wrapper for the BlueSpiral game client
// //
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h" #include "../../pyGlueHelpers.h"
#include "../pyGameCli.h" #include "../pyGameCli.h"
#include "../../pyKey.h"
class pyBlueSpiralGame : public pyGameCli class pyBlueSpiralGame : public pyGameCli
{ {

6
Sources/Plasma/FeatureLib/pfPython/Games/BlueSpiral/pyBlueSpiralGameGlue.cpp

@ -39,10 +39,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyBlueSpiralGame.h"
#include <Python.h> #include <Python.h>
#include "../../pyKey.h"
#pragma hdrstop
#include "pyBlueSpiralGame.h"
#include "../../pyEnum.h" #include "../../pyEnum.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

5
Sources/Plasma/FeatureLib/pfPython/Games/BlueSpiral/pyBlueSpiralMsg.cpp

@ -39,7 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#include "pyBlueSpiralMsg.h" #include "pyBlueSpiralMsg.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

3
Sources/Plasma/FeatureLib/pfPython/Games/BlueSpiral/pyBlueSpiralMsg.h

@ -48,9 +48,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper for BlueSpiral game messages // PURPOSE: Class wrapper for BlueSpiral game messages
// //
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h" #include "../../pyGlueHelpers.h"
#include "../pyGameCliMsg.h" #include "../pyGameCliMsg.h"

7
Sources/Plasma/FeatureLib/pfPython/Games/BlueSpiral/pyBlueSpiralMsgGlue.cpp

@ -39,10 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyBlueSpiralMsg.h"
#include "../../pyEnum.h"
#include <Python.h> #include <Python.h>
#pragma hdrstop
#include "pyBlueSpiralMsg.h"
#include "../../pyEnum.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

5
Sources/Plasma/FeatureLib/pfPython/Games/ClimbingWall/pyClimbingWallGame.cpp

@ -39,7 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "../../pyKey.h"
#pragma hdrstop
#include "pyClimbingWallGame.h" #include "pyClimbingWallGame.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

4
Sources/Plasma/FeatureLib/pfPython/Games/ClimbingWall/pyClimbingWallGame.h

@ -48,13 +48,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper for the climbing wall game client // PURPOSE: Class wrapper for the climbing wall game client
// //
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h" #include "../../pyGlueHelpers.h"
#include "../pyGameCli.h" #include "../pyGameCli.h"
#include "../../pyKey.h"
class pyClimbingWallGame : public pyGameCli class pyClimbingWallGame : public pyGameCli
{ {

6
Sources/Plasma/FeatureLib/pfPython/Games/ClimbingWall/pyClimbingWallGameGlue.cpp

@ -39,10 +39,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyClimbingWallGame.h"
#include <Python.h> #include <Python.h>
#include "../../pyKey.h"
#pragma hdrstop
#include "pyClimbingWallGame.h"
#include "../../pyEnum.h" #include "../../pyEnum.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

5
Sources/Plasma/FeatureLib/pfPython/Games/ClimbingWall/pyClimbingWallMsg.cpp

@ -39,7 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#include "pyClimbingWallMsg.h" #include "pyClimbingWallMsg.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

2
Sources/Plasma/FeatureLib/pfPython/Games/ClimbingWall/pyClimbingWallMsg.h

@ -48,9 +48,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper for ClimbingWall game messages // PURPOSE: Class wrapper for ClimbingWall game messages
// //
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h" #include "../../pyGlueHelpers.h"
#include "../pyGameCliMsg.h" #include "../pyGameCliMsg.h"

7
Sources/Plasma/FeatureLib/pfPython/Games/ClimbingWall/pyClimbingWallMsgGlue.cpp

@ -39,10 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyClimbingWallMsg.h"
#include "../../pyEnum.h"
#include <Python.h> #include <Python.h>
#pragma hdrstop
#include "pyClimbingWallMsg.h"
#include "../../pyEnum.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

5
Sources/Plasma/FeatureLib/pfPython/Games/Heek/pyHeekGame.cpp

@ -39,7 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "../../pyKey.h"
#pragma hdrstop
#include "pyHeekGame.h" #include "pyHeekGame.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

4
Sources/Plasma/FeatureLib/pfPython/Games/Heek/pyHeekGame.h

@ -49,12 +49,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// PURPOSE: Class wrapper for the Heek game client // PURPOSE: Class wrapper for the Heek game client
// //
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h" #include "../../pyGlueHelpers.h"
#include "../pyGameCli.h" #include "../pyGameCli.h"
#include "../../pyKey.h"
class pyHeekGame : public pyGameCli class pyHeekGame : public pyGameCli
{ {

6
Sources/Plasma/FeatureLib/pfPython/Games/Heek/pyHeekGameGlue.cpp

@ -39,10 +39,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyHeekGame.h"
#include <Python.h> #include <Python.h>
#include "../../pyKey.h"
#pragma hdrstop
#include "pyHeekGame.h"
#include "../../pyEnum.h" #include "../../pyEnum.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

5
Sources/Plasma/FeatureLib/pfPython/Games/Heek/pyHeekMsg.cpp

@ -39,7 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#include "pyHeekMsg.h" #include "pyHeekMsg.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

3
Sources/Plasma/FeatureLib/pfPython/Games/Heek/pyHeekMsg.h

@ -48,9 +48,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper for Heek game messages // PURPOSE: Class wrapper for Heek game messages
// //
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h" #include "../../pyGlueHelpers.h"
#include "../pyGameCliMsg.h" #include "../pyGameCliMsg.h"

7
Sources/Plasma/FeatureLib/pfPython/Games/Heek/pyHeekMsgGlue.cpp

@ -39,10 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyHeekMsg.h"
#include "../../pyEnum.h"
#include <Python.h> #include <Python.h>
#pragma hdrstop
#include "pyHeekMsg.h"
#include "../../pyEnum.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

6
Sources/Plasma/FeatureLib/pfPython/Games/Marker/pyMarkerGame.cpp

@ -39,7 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#include "../../pyKey.h"
#pragma hdrstop
#include "pyMarkerGame.h" #include "pyMarkerGame.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

4
Sources/Plasma/FeatureLib/pfPython/Games/Marker/pyMarkerGame.h

@ -48,13 +48,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper for the Marker game client // PURPOSE: Class wrapper for the Marker game client
// //
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h" #include "../../pyGlueHelpers.h"
#include "../pyGameCli.h" #include "../pyGameCli.h"
#include "../../pyKey.h"
class pyMarkerGame : public pyGameCli class pyMarkerGame : public pyGameCli
{ {

6
Sources/Plasma/FeatureLib/pfPython/Games/Marker/pyMarkerGameGlue.cpp

@ -39,10 +39,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyMarkerGame.h"
#include <Python.h> #include <Python.h>
#include "../../pyKey.h"
#pragma hdrstop
#include "pyMarkerGame.h"
#include "../../pyEnum.h" #include "../../pyEnum.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

5
Sources/Plasma/FeatureLib/pfPython/Games/Marker/pyMarkerMsg.cpp

@ -39,7 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#include "pyMarkerMsg.h" #include "pyMarkerMsg.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

3
Sources/Plasma/FeatureLib/pfPython/Games/Marker/pyMarkerMsg.h

@ -48,9 +48,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper for Marker game messages // PURPOSE: Class wrapper for Marker game messages
// //
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h" #include "../../pyGlueHelpers.h"
#include "../pyGameCliMsg.h" #include "../pyGameCliMsg.h"

7
Sources/Plasma/FeatureLib/pfPython/Games/Marker/pyMarkerMsgGlue.cpp

@ -39,10 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyMarkerMsg.h"
#include "../../pyEnum.h"
#include <Python.h> #include <Python.h>
#pragma hdrstop
#include "pyMarkerMsg.h"
#include "../../pyEnum.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

5
Sources/Plasma/FeatureLib/pfPython/Games/TicTacToe/pyTTTGame.cpp

@ -39,7 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "../../pyKey.h"
#pragma hdrstop
#include "pyTTTGame.h" #include "pyTTTGame.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

4
Sources/Plasma/FeatureLib/pfPython/Games/TicTacToe/pyTTTGame.h

@ -48,13 +48,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper for the TTT game client // PURPOSE: Class wrapper for the TTT game client
// //
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h" #include "../../pyGlueHelpers.h"
#include "../pyGameCli.h" #include "../pyGameCli.h"
#include "../../pyKey.h"
class pyTTTGame : public pyGameCli class pyTTTGame : public pyGameCli
{ {

6
Sources/Plasma/FeatureLib/pfPython/Games/TicTacToe/pyTTTGameGlue.cpp

@ -39,10 +39,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyTTTGame.h"
#include <Python.h> #include <Python.h>
#include "../../pyKey.h"
#pragma hdrstop
#include "pyTTTGame.h"
#include "../../pyEnum.h" #include "../../pyEnum.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

5
Sources/Plasma/FeatureLib/pfPython/Games/TicTacToe/pyTTTMsg.cpp

@ -39,7 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#include "pyTTTMsg.h" #include "pyTTTMsg.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

3
Sources/Plasma/FeatureLib/pfPython/Games/TicTacToe/pyTTTMsg.h

@ -48,9 +48,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper for TTT game messages // PURPOSE: Class wrapper for TTT game messages
// //
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h" #include "../../pyGlueHelpers.h"
#include "../pyGameCliMsg.h" #include "../pyGameCliMsg.h"

7
Sources/Plasma/FeatureLib/pfPython/Games/TicTacToe/pyTTTMsgGlue.cpp

@ -39,10 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyTTTMsg.h"
#include "../../pyEnum.h"
#include <Python.h> #include <Python.h>
#pragma hdrstop
#include "pyTTTMsg.h"
#include "../../pyEnum.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

5
Sources/Plasma/FeatureLib/pfPython/Games/VarSync/pyVarSyncGame.cpp

@ -39,7 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "../../pyKey.h"
#pragma hdrstop
#include "pyVarSyncGame.h" #include "pyVarSyncGame.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

4
Sources/Plasma/FeatureLib/pfPython/Games/VarSync/pyVarSyncGame.h

@ -48,13 +48,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper for the VarSync game client // PURPOSE: Class wrapper for the VarSync game client
// //
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h" #include "../../pyGlueHelpers.h"
#include "../pyGameCli.h" #include "../pyGameCli.h"
#include "../../pyKey.h"
class pyVarSyncGame : public pyGameCli class pyVarSyncGame : public pyGameCli
{ {

6
Sources/Plasma/FeatureLib/pfPython/Games/VarSync/pyVarSyncGameGlue.cpp

@ -39,10 +39,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyVarSyncGame.h"
#include <Python.h> #include <Python.h>
#include "../../pyKey.h"
#pragma hdrstop
#include "pyVarSyncGame.h"
#include "../../pyEnum.h" #include "../../pyEnum.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

5
Sources/Plasma/FeatureLib/pfPython/Games/VarSync/pyVarSyncMsg.cpp

@ -39,7 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#include "pyVarSyncMsg.h" #include "pyVarSyncMsg.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

3
Sources/Plasma/FeatureLib/pfPython/Games/VarSync/pyVarSyncMsg.h

@ -48,9 +48,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper for VarSync game messages // PURPOSE: Class wrapper for VarSync game messages
// //
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h" #include "../../pyGlueHelpers.h"
#include "../pyGameCliMsg.h" #include "../pyGameCliMsg.h"

7
Sources/Plasma/FeatureLib/pfPython/Games/VarSync/pyVarSyncMsgGlue.cpp

@ -39,10 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyVarSyncMsg.h"
#include "../../pyEnum.h"
#include <Python.h> #include <Python.h>
#pragma hdrstop
#include "pyVarSyncMsg.h"
#include "../../pyEnum.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

6
Sources/Plasma/FeatureLib/pfPython/Games/pyGameCli.cpp

@ -39,7 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#include "../pyKey.h"
#pragma hdrstop
#include "pyGameCli.h" #include "pyGameCli.h"
#include "pfGameMgr/pfGameMgr.h"
#include "TicTacToe/pyTTTGame.h" #include "TicTacToe/pyTTTGame.h"
#include "Heek/pyHeekGame.h" #include "Heek/pyHeekGame.h"

8
Sources/Plasma/FeatureLib/pfPython/Games/pyGameCli.h

@ -49,11 +49,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// PURPOSE: Class wrapper for the game client base class // PURPOSE: Class wrapper for the game client base class
// //
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../pyGlueHelpers.h" #include "../pyGlueHelpers.h"
#include "../pyKey.h" #include <string>
#include <vector>
class pfGameCli;
class pyGameCli class pyGameCli
{ {

7
Sources/Plasma/FeatureLib/pfPython/Games/pyGameCliGlue.cpp

@ -39,10 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyGameCli.h"
#include "../pyEnum.h"
#include <Python.h> #include <Python.h>
#include "../pyKey.h"
#pragma hdrstop
#include "pyGameCli.h"
#include "../pyEnum.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

5
Sources/Plasma/FeatureLib/pfPython/Games/pyGameCliMsg.cpp

@ -39,9 +39,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#include "pyGameCliMsg.h" #include "pyGameCliMsg.h"
#include "pyGameCli.h" #include "pyGameCli.h"
#include "pfGameMgr/pfGameMgr.h"
#include "TicTacToe/pyTTTMsg.h" #include "TicTacToe/pyTTTMsg.h"
#include "Heek/pyHeekMsg.h" #include "Heek/pyHeekMsg.h"
#include "Marker/pyMarkerMsg.h" #include "Marker/pyMarkerMsg.h"

6
Sources/Plasma/FeatureLib/pfPython/Games/pyGameCliMsg.h

@ -48,11 +48,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper for game client messages // PURPOSE: Class wrapper for game client messages
// //
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../pyGlueHelpers.h" #include "../pyGlueHelpers.h"
#include "pnGameMgr/pnGameMgr.h" // :(
class pfGameCliMsg;
class pyGameCliMsg class pyGameCliMsg
{ {

7
Sources/Plasma/FeatureLib/pfPython/Games/pyGameCliMsgGlue.cpp

@ -39,10 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyGameCliMsg.h"
#include "../pyEnum.h"
#include <Python.h> #include <Python.h>
#pragma hdrstop
#include "pfGameMgr/pfGameMgr.h"
#include "pyGameCliMsg.h"
#include "../pyEnum.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

5
Sources/Plasma/FeatureLib/pfPython/Games/pyGameMgrMsg.cpp

@ -39,7 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#include "pyGameMgrMsg.h" #include "pyGameMgrMsg.h"
#include "pfGameMgr/pfGameMgr.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

7
Sources/Plasma/FeatureLib/pfPython/Games/pyGameMgrMsg.h

@ -49,11 +49,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// PURPOSE: Class wrapper for game manager messages // PURPOSE: Class wrapper for game manager messages
// //
#include <Python.h>
#include "hsStlUtils.h"
#include "pfGameMgr/pfGameMgr.h"
#include "../pyGlueHelpers.h" #include "../pyGlueHelpers.h"
#include <string>
class pfGameMgrMsg;
class pyGameMgrMsg class pyGameMgrMsg
{ {

7
Sources/Plasma/FeatureLib/pfPython/Games/pyGameMgrMsgGlue.cpp

@ -39,10 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyGameMgrMsg.h"
#include "../pyEnum.h"
#include <Python.h> #include <Python.h>
#pragma hdrstop
#include "pyGameMgrMsg.h"
#include "pfGameMgr/pfGameMgr.h"
#include "../pyEnum.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //

43
Sources/Plasma/FeatureLib/pfPython/Pch.cpp

@ -0,0 +1,43 @@
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Additional permissions under GNU GPL version 3 section 7
If you modify this Program, or any covered work, by linking or
combining it with any of RAD Game Tools Bink SDK, Autodesk 3ds Max SDK,
NVIDIA PhysX SDK, Microsoft DirectX SDK, OpenSSL library, Independent
JPEG Group JPEG library, Microsoft Windows Media SDK, or Apple QuickTime SDK
(or a modified version of those libraries),
containing parts covered by the terms of the Bink SDK EULA, 3ds Max EULA,
PhysX SDK EULA, DirectX SDK EULA, OpenSSL and SSLeay licenses, IJG
JPEG Library README, Windows Media SDK EULA, or QuickTime SDK EULA, the
licensors of this Program grant you additional
permission to convey the resulting work. Corresponding Source for a
non-source form of such a combination shall include the source code for
the parts of OpenSSL and IJG JPEG Library used as well as that of the covered
work.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
#include "Pch.h"

91
Sources/Plasma/FeatureLib/pfPython/Pch.h

@ -0,0 +1,91 @@
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Additional permissions under GNU GPL version 3 section 7
If you modify this Program, or any covered work, by linking or
combining it with any of RAD Game Tools Bink SDK, Autodesk 3ds Max SDK,
NVIDIA PhysX SDK, Microsoft DirectX SDK, OpenSSL library, Independent
JPEG Group JPEG library, Microsoft Windows Media SDK, or Apple QuickTime SDK
(or a modified version of those libraries),
containing parts covered by the terms of the Bink SDK EULA, 3ds Max EULA,
PhysX SDK EULA, DirectX SDK EULA, OpenSSL and SSLeay licenses, IJG
JPEG Library README, Windows Media SDK EULA, or QuickTime SDK EULA, the
licensors of this Program grant you additional
permission to convey the resulting work. Corresponding Source for a
non-source form of such a combination shall include the source code for
the parts of OpenSSL and IJG JPEG Library used as well as that of the covered
work.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
#ifndef _pfPython_Pch_inc_
#define _pfPython_Pch_inc_
/**
* \file Pch.h
* \brief Precompiled Header for pfPython
*/
// Standard Library Includes
#include <algorithm>
#include <exception>
#include <locale>
// Platform Library Includes
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
// Python Library Includes
#include <Python.h>
#include <marshal.h>
#include <structmember.h>
// Plasma Components (except for those from pfPython)
// You'll want to strike a careful balance between enough components and slow iteration
#include "HeadSpin.h"
#include "hsGeometry3.h"
#include "hsQuat.h"
#include "hsResMgr.h"
#include "hsStlSortUtils.h"
#include "hsStlUtils.h"
#include "hsStream.h"
#include "hsTemplates.h"
#include "hsTimer.h"
#include "plAudible.h"
#include "plgDispatch.h"
#include "plPhysical.h"
#include "plPipeline.h"
#include "plString.h"
#include "pnKeyedObject/plKey.h"
// pfPython Components
// Be very careful to include only isolated components here
#include "pyGeometry3.h"
#include "pyGlueHelpers.h"
#include "pyKey.h"
#include "pyMatrix44.h"
#endif

4
Sources/Plasma/FeatureLib/pfPython/cyAccountManagement.cpp

@ -46,8 +46,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// PURPOSE: Python wrapper for account management functions // PURPOSE: Python wrapper for account management functions
// //
#include "cyAccountManagement.h" #include <Python.h>
#pragma hdrstop
#include "cyAccountManagement.h"
#include "plNetClientComm/plNetClientComm.h" #include "plNetClientComm/plNetClientComm.h"
bool cyAccountManagement::IsSubscriptionActive() bool cyAccountManagement::IsSubscriptionActive()

7
Sources/Plasma/FeatureLib/pfPython/cyAccountManagement.h

@ -49,9 +49,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// PURPOSE: Python wrapper for account management functions // PURPOSE: Python wrapper for account management functions
// //
#include <Python.h> #include <vector>
#include "HeadSpin.h"
#include "hsStlUtils.h" typedef struct _object PyObject;
typedef struct PyMethodDef PyMethodDef;
class cyAccountManagement class cyAccountManagement
{ {

5
Sources/Plasma/FeatureLib/pfPython/cyAccountManagementGlue.cpp

@ -39,8 +39,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "cyAccountManagement.h"
#include <Python.h>
#pragma hdrstop
#include "cyAccountManagement.h"
#include "pyGlueHelpers.h" #include "pyGlueHelpers.h"
#include "pyEnum.h" #include "pyEnum.h"

6
Sources/Plasma/FeatureLib/pfPython/cyAnimation.cpp

@ -46,8 +46,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// PURPOSE: Class wrapper to map animation functions to plasma2 message // PURPOSE: Class wrapper to map animation functions to plasma2 message
// //
#include "cyAnimation.h" #include <Python.h>
#include "plgDispatch.h" #include "plgDispatch.h"
#include "pyKey.h"
#pragma hdrstop
#include "cyAnimation.h"
#include "plMessage/plAnimCmdMsg.h" #include "plMessage/plAnimCmdMsg.h"
#include "pnMessage/plEventCallbackMsg.h" #include "pnMessage/plEventCallbackMsg.h"

3
Sources/Plasma/FeatureLib/pfPython/cyAnimation.h

@ -48,11 +48,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper to map animation functions to plasma2 message // PURPOSE: Class wrapper to map animation functions to plasma2 message
// //
#include <Python.h>
#include "pyKey.h"
#include "hsTemplates.h" #include "hsTemplates.h"
#include "pyGlueHelpers.h" #include "pyGlueHelpers.h"
class cyAnimation class cyAnimation

7
Sources/Plasma/FeatureLib/pfPython/cyAnimationGlue.cpp

@ -39,10 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "cyAnimation.h"
#include <Python.h> #include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "cyAnimation.h"
// glue functions // glue functions
PYTHON_CLASS_DEFINITION(ptAnimation, cyAnimation); PYTHON_CLASS_DEFINITION(ptAnimation, cyAnimation);

16
Sources/Plasma/FeatureLib/pfPython/cyAvatar.cpp

@ -39,12 +39,16 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "cyAvatar.h"
#include <Python.h>
#include "plgDispatch.h" #include "plgDispatch.h"
#include "plAvatar/plAvatarMgr.h" #include "pyKey.h"
#include "plPhysical.h"
#pragma hdrstop
#include "cyAvatar.h"
#include "plAvatar/plAvatarMgr.h"
#include "plMessage/plAvatarMsg.h" #include "plMessage/plAvatarMsg.h"
#include "plMessage/plLinkToAgeMsg.h" #include "plMessage/plLinkToAgeMsg.h"
#include "plMessage/plOneShotCallbacks.h" #include "plMessage/plOneShotCallbacks.h"
@ -53,12 +57,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "pnMessage/plNotifyMsg.h" #include "pnMessage/plNotifyMsg.h"
#include "pnKeyedObject/plFixedKey.h" #include "pnKeyedObject/plFixedKey.h"
#include "plGImage/plMipmap.h" #include "plGImage/plMipmap.h"
#include "pyKey.h"
#include "pySceneObject.h" #include "pySceneObject.h"
#include "pyColor.h" #include "pyColor.h"
#include "pyImage.h" #include "pyImage.h"
#include "cyPythonInterface.h"
#include "cyMisc.h"
#include "plAvatar/plOneShotMod.h" #include "plAvatar/plOneShotMod.h"
#include "plAvatar/plMultistageBehMod.h" #include "plAvatar/plMultistageBehMod.h"
@ -68,10 +69,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plAvatar/plAvBrainHuman.h" // needed to call the emote #include "plAvatar/plAvBrainHuman.h" // needed to call the emote
#include "plAvatar/plAGAnim.h" // to get the BodyUsage enum #include "plAvatar/plAGAnim.h" // to get the BodyUsage enum
#include "plInputCore/plAvatarInputInterface.h" #include "plInputCore/plAvatarInputInterface.h"
#include "plPhysical.h"
#include "plMessage/plSimStateMsg.h" #include "plMessage/plSimStateMsg.h"
#include "pnNetCommon/plNetApp.h"
#include "plVault/plVault.h" #include "plVault/plVault.h"
#include "plDrawable/plSharedMesh.h" #include "plDrawable/plSharedMesh.h"
@ -79,6 +78,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "pnSceneObject/plSceneObject.h" #include "pnSceneObject/plSceneObject.h"
#include "pnSceneObject/plCoordinateInterface.h" #include "pnSceneObject/plCoordinateInterface.h"
#include "plDrawable/plMorphSequence.h" #include "plDrawable/plMorphSequence.h"
#include "pnNetCommon/plNetApp.h"
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////

4
Sources/Plasma/FeatureLib/pfPython/cyAvatar.h

@ -48,17 +48,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper to map animation functions to plasma2 message // PURPOSE: Class wrapper to map animation functions to plasma2 message
// //
#include <Python.h>
#include "hsStlUtils.h" #include "hsStlUtils.h"
#include "hsTemplates.h" #include "hsTemplates.h"
#include "hsBitVector.h"
#include "pnKeyedObject/plKey.h" #include "pnKeyedObject/plKey.h"
#include "pyGlueHelpers.h" #include "pyGlueHelpers.h"
class plKey;
class pyKey;
class pySceneObject; class pySceneObject;
class pyColor; class pyColor;
class plMipmap; class plMipmap;

10
Sources/Plasma/FeatureLib/pfPython/cyAvatarGlue.cpp

@ -39,16 +39,18 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "cyAvatar.h"
#include <Python.h>
#include "pyKey.h" #include "pyKey.h"
#include "pyEnum.h" #pragma hdrstop
#include "cyAvatar.h"
#include "pyColor.h" #include "pyColor.h"
#include "pyEnum.h"
#include "pySceneObject.h" #include "pySceneObject.h"
#include "plAvatar/plAvBrainHuman.h" #include "plAvatar/plAvBrainHuman.h"
#include <Python.h>
// glue functions // glue functions
PYTHON_CLASS_DEFINITION(ptAvatar, cyAvatar); PYTHON_CLASS_DEFINITION(ptAvatar, cyAvatar);

10
Sources/Plasma/FeatureLib/pfPython/cyCamera.cpp

@ -39,15 +39,19 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#include "plgDispatch.h"
#include "pyKey.h"
#include "hsResMgr.h"
#pragma hdrstop
#include "cyCamera.h" #include "cyCamera.h"
#include "pnMessage/plCameraMsg.h" #include "pnMessage/plCameraMsg.h"
#include "plMessage/plInputEventMsg.h" #include "plMessage/plInputEventMsg.h"
#include "pnKeyedObject/plFixedKey.h" #include "pnKeyedObject/plFixedKey.h"
#include "pnKeyedObject/plUoid.h" #include "pnKeyedObject/plUoid.h"
#include "hsResMgr.h"
#include "pyKey.h"
#include "plgDispatch.h"
#include "pfCamera/plVirtualCamNeu.h" #include "pfCamera/plVirtualCamNeu.h"
#include "pfCamera/plCameraModifier.h" #include "pfCamera/plCameraModifier.h"

7
Sources/Plasma/FeatureLib/pfPython/cyCamera.h

@ -48,13 +48,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper to map camera functions to plasma2 message // PURPOSE: Class wrapper to map camera functions to plasma2 message
// //
#include <Python.h>
#include "HeadSpin.h"
#include "pnKeyedObject/plKey.h"
class pyKey;
#include "HeadSpin.h"
#include "pyGlueHelpers.h" #include "pyGlueHelpers.h"
#include "pnKeyedObject/plKey.h"
class cyCamera class cyCamera
{ {

6
Sources/Plasma/FeatureLib/pfPython/cyCameraGlue.cpp

@ -39,10 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "cyCamera.h"
#include "pyKey.h"
#include <Python.h> #include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "cyCamera.h"
// glue functions // glue functions
PYTHON_CLASS_DEFINITION(ptCamera, cyCamera); PYTHON_CLASS_DEFINITION(ptCamera, cyCamera);

6
Sources/Plasma/FeatureLib/pfPython/cyDraw.cpp

@ -39,10 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "cyDraw.h"
#include <Python.h>
#include "plgDispatch.h" #include "plgDispatch.h"
#include "hsBitVector.h" #pragma hdrstop
#include "cyDraw.h"
#include "pnMessage/plEnableMsg.h" #include "pnMessage/plEnableMsg.h"
cyDraw::cyDraw(plKey sender, plKey recvr) cyDraw::cyDraw(plKey sender, plKey recvr)

1
Sources/Plasma/FeatureLib/pfPython/cyDraw.h

@ -48,7 +48,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper to map draw functions to plasma2 message // PURPOSE: Class wrapper to map draw functions to plasma2 message
// //
#include <Python.h>
#include "hsTemplates.h" #include "hsTemplates.h"
#include "pnKeyedObject/plKey.h" #include "pnKeyedObject/plKey.h"

6
Sources/Plasma/FeatureLib/pfPython/cyDrawGlue.cpp

@ -39,10 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "cyDraw.h"
#include "pyKey.h"
#include <Python.h> #include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "cyDraw.h"
// glue functions // glue functions
PYTHON_CLASS_DEFINITION(ptDraw, cyDraw); PYTHON_CLASS_DEFINITION(ptDraw, cyDraw);

7
Sources/Plasma/FeatureLib/pfPython/cyInputInterface.cpp

@ -39,11 +39,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "cyInputInterface.h"
#include <Python.h>
#include "plgDispatch.h"
#pragma hdrstop
#include "cyInputInterface.h"
#include "plMessage/plInputIfaceMgrMsg.h" #include "plMessage/plInputIfaceMgrMsg.h"
#include "plInputCore/plTelescopeInputInterface.h" #include "plInputCore/plTelescopeInputInterface.h"
#include "plgDispatch.h"
cyInputInterface::cyInputInterface() : cyInputInterface::cyInputInterface() :
fTelescopeInterface(nil) fTelescopeInterface(nil)

1
Sources/Plasma/FeatureLib/pfPython/cyInputInterface.h

@ -49,7 +49,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// PURPOSE: Class wrapper to map InputInterface functions to plasma2 message // PURPOSE: Class wrapper to map InputInterface functions to plasma2 message
// //
#include <Python.h>
#include "pyGlueHelpers.h" #include "pyGlueHelpers.h"
class plInputInterface; class plInputInterface;

4
Sources/Plasma/FeatureLib/pfPython/cyInputInterfaceGlue.cpp

@ -39,9 +39,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h> #include <Python.h>
#pragma hdrstop
#include "cyInputInterface.h" #include "cyInputInterface.h"
#include "HeadSpin.h"
// glue functions // glue functions
PYTHON_CLASS_DEFINITION(ptInputInterface, cyInputInterface); PYTHON_CLASS_DEFINITION(ptInputInterface, cyInputInterface);

11
Sources/Plasma/FeatureLib/pfPython/cyMisc.cpp

@ -39,12 +39,15 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "cyMisc.h"
#include <Python.h>
#include "plgDispatch.h" #include "plgDispatch.h"
#include "hsResMgr.h" #include "pyKey.h"
#include "plResMgr/plKeyFinder.h" #pragma hdrstop
#include "cyMisc.h"
#include "plResMgr/plKeyFinder.h"
#include "pnKeyedObject/plKey.h" #include "pnKeyedObject/plKey.h"
#include "pnKeyedObject/plFixedKey.h" #include "pnKeyedObject/plFixedKey.h"
#include "plMessage/plLinkToAgeMsg.h" #include "plMessage/plLinkToAgeMsg.h"
@ -72,7 +75,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plAvatar/plAvBrainCritter.h" #include "plAvatar/plAvBrainCritter.h"
#include "pyCritterBrain.h" #include "pyCritterBrain.h"
#include "cyPythonInterface.h" #include "cyPythonInterface.h"
#include "pyKey.h"
#include "pySceneObject.h" #include "pySceneObject.h"
#include "pyPlayer.h" #include "pyPlayer.h"
#include "pyImage.h" #include "pyImage.h"
@ -106,6 +108,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plVault/plAgeInfoSource.h" #include "plVault/plAgeInfoSource.h"
#include "pfLocalizationMgr/pfLocalizationMgr.h" #include "pfLocalizationMgr/pfLocalizationMgr.h"
#include "pnUtils/pnUtils.h"
//// Static Class Stuff ////////////////////////////////////////////////////// //// Static Class Stuff //////////////////////////////////////////////////////
plPipeline* cyMisc::fPipeline = nil; plPipeline* cyMisc::fPipeline = nil;

8
Sources/Plasma/FeatureLib/pfPython/cyMisc.h

@ -57,15 +57,17 @@ class pyColor;
class pyAgeInfoStruct; class pyAgeInfoStruct;
class pyPoint3; class pyPoint3;
#include <Python.h>
#include "HeadSpin.h" #include "HeadSpin.h"
#include "hsStlUtils.h" #include <vector>
#include "pnUtils/pnUtils.h"
class pyGUIDialog; class pyGUIDialog;
class plPipeline; class plPipeline;
class plDisplayMode; class plDisplayMode;
struct PipelineParams; struct PipelineParams;
struct Uuid;
typedef struct _object PyObject;
typedef struct PyMethodDef PyMethodDef;
class cyMisc class cyMisc
{ {

9
Sources/Plasma/FeatureLib/pfPython/cyMiscGlue.cpp

@ -39,15 +39,16 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "cyMisc.h" #include "cyMisc.h"
#include "pyGlueHelpers.h" #include "pyGlueHelpers.h"
#include "pyKey.h"
#include "pyPlayer.h" #include "pyPlayer.h"
#include <Python.h>
PYTHON_BASIC_GLOBAL_METHOD_DEFINITION(PtFlashWindow, cyMisc::FlashWindow, "Flashes the client window if it is not focused"); PYTHON_BASIC_GLOBAL_METHOD_DEFINITION(PtFlashWindow, cyMisc::FlashWindow, "Flashes the client window if it is not focused");
PYTHON_GLOBAL_METHOD_DEFINITION_NOARGS(PtGetAgeName, "DEPRECIATED - use ptDniInfoSource instead") PYTHON_GLOBAL_METHOD_DEFINITION_NOARGS(PtGetAgeName, "DEPRECIATED - use ptDniInfoSource instead")

5
Sources/Plasma/FeatureLib/pfPython/cyMiscGlue2.cpp

@ -39,10 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h> #include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "cyMisc.h" #include "cyMisc.h"
#include "pyGlueHelpers.h" #include "pyGlueHelpers.h"
#include "pyKey.h"
#include "pyColor.h" #include "pyColor.h"
#include "pyPlayer.h" #include "pyPlayer.h"
#include "pyEnum.h" #include "pyEnum.h"

9
Sources/Plasma/FeatureLib/pfPython/cyMiscGlue3.cpp

@ -39,12 +39,15 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "cyMisc.h" #include "cyMisc.h"
#include "pyGlueHelpers.h" #include "pyGlueHelpers.h"
#include "pyKey.h"
#include "pySceneObject.h" #include "pySceneObject.h"
#include "pnUtils/pnUtils.h"
#include <Python.h>
PYTHON_GLOBAL_METHOD_DEFINITION(PtSendPetitionToCCR, args, "Params: message,reason=0,title=\"\"\nSends a petition with a message to the CCR group") PYTHON_GLOBAL_METHOD_DEFINITION(PtSendPetitionToCCR, args, "Params: message,reason=0,title=\"\"\nSends a petition with a message to the CCR group")
{ {

13
Sources/Plasma/FeatureLib/pfPython/cyMiscGlue4.cpp

@ -39,16 +39,19 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#include "pyGeometry3.h"
#include "pyKey.h"
#include "plPipeline.h"
#pragma hdrstop
#include "cyMisc.h" #include "cyMisc.h"
#include "pyGlueHelpers.h" #include "pyGlueHelpers.h"
#include "pyKey.h"
#include "pySceneObject.h" #include "pySceneObject.h"
#include "pyAgeInfoStruct.h" #include "pyAgeInfoStruct.h"
#include "pyGeometry3.h"
#include "NucleusLib/inc/plPipeline.h"
#include "pnNetBase/pnNetBase.h" #include "pnNetBase/pnNetBase.h"
#include "pnUtils/pnUtils.h"
#include <Python.h>
PYTHON_GLOBAL_METHOD_DEFINITION(PtRequestLOSScreen, args, "Params: selfKey,ID,xPos,yPos,distance,what,reportType\nRequest a LOS check from a point on the screen") PYTHON_GLOBAL_METHOD_DEFINITION(PtRequestLOSScreen, args, "Params: selfKey,ID,xPos,yPos,distance,what,reportType\nRequest a LOS check from a point on the screen")
{ {

8
Sources/Plasma/FeatureLib/pfPython/cyParticleSys.cpp

@ -39,12 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "cyParticleSys.h"
#include "hsStream.h"
#include "pnMessage/plMessage.h"
#include "hsResMgr.h"
#include "plgDispatch.h" #include "plgDispatch.h"
#pragma hdrstop
#include "cyParticleSys.h"
#include "pnMessage/plMessage.h"
#include "plMessage/plParticleUpdateMsg.h" #include "plMessage/plParticleUpdateMsg.h"
cyParticleSys::cyParticleSys(plKey sender, plKey recvr) cyParticleSys::cyParticleSys(plKey sender, plKey recvr)

39
Sources/Plasma/FeatureLib/pfPython/cyParticleSys.h

@ -48,12 +48,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper to for Particle System // PURPOSE: Class wrapper to for Particle System
// //
#include <Python.h>
#include "hsTemplates.h"
#include "hsTemplates.h"
#include "pnKeyedObject/plKey.h" #include "pnKeyedObject/plKey.h"
class pyKey;
#include "pyGlueHelpers.h" #include "pyGlueHelpers.h"
class cyParticleSys class cyParticleSys
@ -63,7 +60,7 @@ protected:
hsTArray<plKey> fRecvr; hsTArray<plKey> fRecvr;
hsBool fNetForce; hsBool fNetForce;
virtual void ISendParticleSysMsg(uint32_t param, float value); void ISendParticleSysMsg(uint32_t param, float value);
cyParticleSys(const plKey sender=nil,const plKey recvr=nil); cyParticleSys(const plKey sender=nil,const plKey recvr=nil);
@ -77,22 +74,22 @@ public:
static void AddPlasmaClasses(PyObject *m); static void AddPlasmaClasses(PyObject *m);
// setters // setters
virtual void SetSender(plKey &sender); void SetSender(plKey &sender);
virtual void AddRecvr(plKey &recvr); void AddRecvr(plKey &recvr);
virtual void SetNetForce(hsBool state); void SetNetForce(hsBool state);
virtual void SetParticlesPerSecond(float value); void SetParticlesPerSecond(float value);
virtual void SetInitPitchRange(float value); void SetInitPitchRange(float value);
virtual void SetInitYawRange(float value); void SetInitYawRange(float value);
virtual void SetVelMin(float value); void SetVelMin(float value);
virtual void SetVelMax(float value); void SetVelMax(float value);
virtual void SetXSize(float value); void SetXSize(float value);
virtual void SetYSize(float value); void SetYSize(float value);
virtual void SetScaleMin(float value); void SetScaleMin(float value);
virtual void SetScaleMax(float value); void SetScaleMax(float value);
virtual void SetGenLife(float value); void SetGenLife(float value);
virtual void SetPartLifeMin(float value); void SetPartLifeMin(float value);
virtual void SetPartLifeMax(float value); void SetPartLifeMax(float value);
}; };

7
Sources/Plasma/FeatureLib/pfPython/cyParticleSysGlue.cpp

@ -39,10 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "cyParticleSys.h"
#include "pyKey.h"
#include <Python.h> #include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "cyParticleSys.h"
// glue functions // glue functions
PYTHON_CLASS_DEFINITION(ptParticle, cyParticleSys); PYTHON_CLASS_DEFINITION(ptParticle, cyParticleSys);

16
Sources/Plasma/FeatureLib/pfPython/cyPhysics.cpp

@ -39,9 +39,18 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "cyPhysics.h"
#include <Python.h>
#include "plgDispatch.h" #include "plgDispatch.h"
#include "pyGeometry3.h"
#include "pnKeyedObject/plKey.h"
#include "pyKey.h"
#include "hsQuat.h"
#include "pyMatrix44.h"
#pragma hdrstop
#include "cyPhysics.h"
#include "pnMessage/plEnableMsg.h" #include "pnMessage/plEnableMsg.h"
#include "pnMessage/plWarpMsg.h" #include "pnMessage/plWarpMsg.h"
#include "plMessage/plSimInfluenceMsg.h" #include "plMessage/plSimInfluenceMsg.h"
@ -49,13 +58,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plMessage/plLinearVelocityMsg.h" #include "plMessage/plLinearVelocityMsg.h"
#include "plMessage/plAngularVelocityMsg.h" #include "plMessage/plAngularVelocityMsg.h"
#include "pyGeometry3.h"
#include "pyMatrix44.h"
#include "pyKey.h"
#include "hsQuat.h"
#include "pnSceneObject/plSceneObject.h" #include "pnSceneObject/plSceneObject.h"
#include "pnSceneObject/plCoordinateInterface.h" #include "pnSceneObject/plCoordinateInterface.h"
#include "pnKeyedObject/plKey.h"
cyPhysics::cyPhysics(plKey sender, plKey recvr) cyPhysics::cyPhysics(plKey sender, plKey recvr)
{ {

3
Sources/Plasma/FeatureLib/pfPython/cyPhysics.h

@ -48,17 +48,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
// PURPOSE: Class wrapper to map animation functions to plasma2 message // PURPOSE: Class wrapper to map animation functions to plasma2 message
// //
#include <Python.h>
#include "hsTemplates.h" #include "hsTemplates.h"
#include "pnKeyedObject/plKey.h" #include "pnKeyedObject/plKey.h"
#include "pyGlueHelpers.h" #include "pyGlueHelpers.h"
class pyPoint3; class pyPoint3;
class pyVector3; class pyVector3;
class pyMatrix44; class pyMatrix44;
class pyKey;
class cyPhysics class cyPhysics
{ {

8
Sources/Plasma/FeatureLib/pfPython/cyPhysicsGlue.cpp

@ -39,12 +39,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "cyPhysics.h"
#include "pyKey.h" #include <Python.h>
#include "pyGeometry3.h" #include "pyGeometry3.h"
#include "pyKey.h"
#include "pyMatrix44.h" #include "pyMatrix44.h"
#pragma hdrstop
#include <Python.h> #include "cyPhysics.h"
// glue functions // glue functions
PYTHON_CLASS_DEFINITION(ptPhysics, cyPhysics); PYTHON_CLASS_DEFINITION(ptPhysics, cyPhysics);

17
Sources/Plasma/FeatureLib/pfPython/cyPythonInterface.cpp

@ -46,25 +46,26 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// NOTE: Eventually, this will be made into a separate dll, because there should // NOTE: Eventually, this will be made into a separate dll, because there should
// only be one instance of this interface. // only be one instance of this interface.
// //
#include <Python.h>
#include <marshal.h>
#include "pyGeometry3.h"
#include "pyKey.h"
#include "pyMatrix44.h"
#pragma hdrstop
#include "cyPythonInterface.h" #include "cyPythonInterface.h"
#include "plPythonPack.h" #include "plPythonPack.h"
#include "compile.h"
#include "marshal.h"
#include "eval.h"
#include "pyEnum.h" #include "pyEnum.h"
#include "pyKey.h"
#include "cyDraw.h" #include "cyDraw.h"
#include "cyParticleSys.h"
#include "cyPhysics.h" #include "cyPhysics.h"
#include "pySceneObject.h" #include "pySceneObject.h"
#include "cyMisc.h" #include "cyMisc.h"
#include "cyCamera.h" #include "cyCamera.h"
#include "pyNotify.h" #include "pyNotify.h"
#include "cyAvatar.h" #include "cyAvatar.h"
#include "pyGeometry3.h"
#include "pyMatrix44.h"
#include "pyColor.h" #include "pyColor.h"
#include "pyDynamicText.h" #include "pyDynamicText.h"
#include "cyAnimation.h" #include "cyAnimation.h"

3
Sources/Plasma/FeatureLib/pfPython/cyPythonInterface.h

@ -46,7 +46,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// NOTE: Eventually, this will be made into a separate dll, because there should // NOTE: Eventually, this will be made into a separate dll, because there should
// only be one instance of this interface. // only be one instance of this interface.
// //
#include <Python.h>
#include "HeadSpin.h" #include "HeadSpin.h"
#include "hsStlUtils.h" #include "hsStlUtils.h"
@ -56,6 +55,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
class plStatusLog; class plStatusLog;
class pyKey; class pyKey;
typedef struct _object PyObject;
typedef struct PyMethodDef PyMethodDef;
class PythonInterface class PythonInterface
{ {

15
Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.cpp

@ -46,12 +46,19 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// This modifier will handle the interface to python code that has been file-ized. // This modifier will handle the interface to python code that has been file-ized.
// //
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
#include "plPythonFileMod.h"
#include <locale>
#include <Python.h>
#include "HeadSpin.h" #include "HeadSpin.h"
#include "hsStream.h"
#include "plgDispatch.h" #include "plgDispatch.h"
#include "pyGeometry3.h"
#include "pyKey.h"
#include "hsResMgr.h" #include "hsResMgr.h"
#include "hsStream.h"
#pragma hdrstop
#include "plPythonFileMod.h"
#include "plResMgr/plKeyFinder.h" #include "plResMgr/plKeyFinder.h"
#include "pnKeyedObject/plKeyImp.h" #include "pnKeyedObject/plKeyImp.h"
#include "pnKeyedObject/plUoid.h" #include "pnKeyedObject/plUoid.h"
@ -100,7 +107,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plProfile.h" #include "plProfile.h"
#include "cyPythonInterface.h" #include "cyPythonInterface.h"
#include "pyKey.h"
#include "cyDraw.h" #include "cyDraw.h"
#include "cyPhysics.h" #include "cyPhysics.h"
#include "pySceneObject.h" #include "pySceneObject.h"
@ -108,7 +114,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "cyCamera.h" #include "cyCamera.h"
#include "pyNotify.h" #include "pyNotify.h"
#include "cyAvatar.h" #include "cyAvatar.h"
#include "pyGeometry3.h"
#include "pyVault.h" #include "pyVault.h"
#include "pyVaultNode.h" #include "pyVaultNode.h"
#include "pyVaultNodeRef.h" #include "pyVaultNodeRef.h"
@ -139,8 +144,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "Games/pyGameCliMsg.h" #include "Games/pyGameCliMsg.h"
#include "pyGameScoreMsg.h" #include "pyGameScoreMsg.h"
#include <locale>
#include "plPythonSDLModifier.h" #include "plPythonSDLModifier.h"
#include "plMessage/plTimerCallbackMsg.h" #include "plMessage/plTimerCallbackMsg.h"

7
Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.h

@ -49,13 +49,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// This modifier will handle the interface to python code that has been file-ized. // This modifier will handle the interface to python code that has been file-ized.
// //
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
#include <Python.h>
#include "pnModifier/plMultiModifier.h" #include "pnModifier/plMultiModifier.h"
#include "hsGeometry3.h"
#include "hsResMgr.h"
#include "plPythonParameter.h" #include "plPythonParameter.h"
class PythonVaultCallback; class PythonVaultCallback;
@ -65,6 +60,8 @@ class pfPythonKeyCatcher;
class plKeyEventMsg; class plKeyEventMsg;
class plPipeline; class plPipeline;
typedef struct _object PyObject;
class plPythonFileMod : public plMultiModifier class plPythonFileMod : public plMultiModifier
{ {
protected: protected:

19
Sources/Plasma/FeatureLib/pfPython/plPythonPack.cpp

@ -39,15 +39,24 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "plPythonPack.h"
#include <Python.h>
#include <marshal.h>
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "HeadSpin.h" #include "HeadSpin.h"
#include "hsStlUtils.h" #include "hsStlUtils.h"
#include "hsStream.h" #include "hsStream.h"
#include "hsStlSortUtils.h"
#pragma hdrstop
#include "plPythonPack.h"
#include "plFile/hsFiles.h" #include "plFile/hsFiles.h"
#include "plFile/plSecureStream.h" #include "plFile/plSecureStream.h"
#include "plFile/plStreamSource.h" #include "plFile/plStreamSource.h"
#include "hsStlSortUtils.h"
#include "marshal.h"
static const char* kPackFilePath = ".\\Python\\"; static const char* kPackFilePath = ".\\Python\\";
@ -105,10 +114,6 @@ plPythonPack& plPythonPack::Instance()
return theInstance; return theInstance;
} }
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
bool plPythonPack::Open() bool plPythonPack::Open()
{ {
if (fPackStreams.size() > 0) if (fPackStreams.size() > 0)

3
Sources/Plasma/FeatureLib/pfPython/plPythonPack.h

@ -42,8 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#ifndef plPythonPack_h_inc #ifndef plPythonPack_h_inc
#define plPythonPack_h_inc #define plPythonPack_h_inc
#include <Python.h> typedef struct _object PyObject;
#include "HeadSpin.h"
namespace PythonPack namespace PythonPack
{ {

1
Sources/Plasma/FeatureLib/pfPython/plPythonParameter.h

@ -43,6 +43,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#define plPythonParameter_h_inc #define plPythonParameter_h_inc
#include "pnKeyedObject/plKey.h" #include "pnKeyedObject/plKey.h"
#include "hsResMgr.h"
// //
// This is the data for the parameters (or attributes) for the PythonFile components // This is the data for the parameters (or attributes) for the PythonFile components

7
Sources/Plasma/FeatureLib/pfPython/plPythonSDLModifier.cpp

@ -39,11 +39,15 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "plPythonSDLModifier.h" #include "plPythonSDLModifier.h"
#include "cyPythonInterface.h" #include "cyPythonInterface.h"
#include "plPythonFileMod.h" #include "plPythonFileMod.h"
#include "pyKey.h"
#include "cyMisc.h" #include "cyMisc.h"
#include "pnSceneObject/plSceneObject.h" #include "pnSceneObject/plSceneObject.h"
@ -51,7 +55,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plAgeDescription/plAgeDescription.h" #include "plAgeDescription/plAgeDescription.h"
#include "plSDL/plSDL.h" #include "plSDL/plSDL.h"
#include "pnNetCommon/plNetApp.h"
#include "plNetClient/plNetClientMgr.h" #include "plNetClient/plNetClientMgr.h"
plStateDataRecord * GetAgeSDL() plStateDataRecord * GetAgeSDL()

4
Sources/Plasma/FeatureLib/pfPython/plPythonSDLModifier.h

@ -46,9 +46,6 @@ class plPythonFileMod;
class plStateDataRecord; class plStateDataRecord;
class plSimpleStateVariable; class plSimpleStateVariable;
#include <Python.h>
#include "HeadSpin.h"
#include "hsStlUtils.h" #include "hsStlUtils.h"
#include "plModifier/plSDLModifier.h" #include "plModifier/plSDLModifier.h"
@ -58,7 +55,6 @@ class plSimpleStateVariable;
// hack for plNetClientVNodeMgr single-player mode SDLHook stuff. // hack for plNetClientVNodeMgr single-player mode SDLHook stuff.
plStateDataRecord * GetAgeSDL(); plStateDataRecord * GetAgeSDL();
class pyKey;
// //
// The fields of a SDL record in Python format. // The fields of a SDL record in Python format.
// If the Python code changes a value an update is sent automatically // If the Python code changes a value an update is sent automatically

6
Sources/Plasma/FeatureLib/pfPython/plPythonSDLModifierGlue.cpp

@ -39,10 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "plPythonSDLModifier.h"
#include "pyKey.h"
#include <Python.h> #include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "plPythonSDLModifier.h"
// glue functions // glue functions
PYTHON_CLASS_DEFINITION(ptSDL, pySDLModifier); PYTHON_CLASS_DEFINITION(ptSDL, pySDLModifier);

5
Sources/Plasma/FeatureLib/pfPython/pyAgeInfoStruct.cpp

@ -39,8 +39,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#include "pyAgeInfoStruct.h" #include "pyAgeInfoStruct.h"
#include "hsStlUtils.h"
#include "pnUtils/pnUtCrypt.h" #include "pnUtils/pnUtCrypt.h"
#include "pnEncryption/plChecksum.h" #include "pnEncryption/plChecksum.h"

2
Sources/Plasma/FeatureLib/pfPython/pyAgeInfoStruct.h

@ -41,9 +41,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/ *==LICENSE==*/
#ifndef pyAgeInfoStruct_h_inc #ifndef pyAgeInfoStruct_h_inc
#define pyAgeInfoStruct_h_inc #define pyAgeInfoStruct_h_inc
#include <Python.h>
#include "HeadSpin.h"
#include "hsStlUtils.h" #include "hsStlUtils.h"
#include "plNetCommon/plNetServerSessionInfo.h" #include "plNetCommon/plNetServerSessionInfo.h"

4
Sources/Plasma/FeatureLib/pfPython/pyAgeInfoStructGlue.cpp

@ -39,9 +39,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyAgeInfoStruct.h"
#include <Python.h> #include <Python.h>
#pragma hdrstop
#include "pyAgeInfoStruct.h"
// glue functions // glue functions
PYTHON_CLASS_DEFINITION(ptAgeInfoStruct, pyAgeInfoStruct); PYTHON_CLASS_DEFINITION(ptAgeInfoStruct, pyAgeInfoStruct);

7
Sources/Plasma/FeatureLib/pfPython/pyAgeLinkStruct.cpp

@ -39,9 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyAgeLinkStruct.h"
#include "hsStlUtils.h"
#include <Python.h>
#pragma hdrstop
#include "pyAgeLinkStruct.h"
#include "pyAgeInfoStruct.h"
#include "pySpawnPointInfo.h" #include "pySpawnPointInfo.h"
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////

6
Sources/Plasma/FeatureLib/pfPython/pyAgeLinkStruct.h

@ -42,12 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#ifndef pyAgeLinkStruct_h_inc #ifndef pyAgeLinkStruct_h_inc
#define pyAgeLinkStruct_h_inc #define pyAgeLinkStruct_h_inc
#include <Python.h>
#include "HeadSpin.h"
#include "hsStlUtils.h"
#include "plNetCommon/plNetServerSessionInfo.h" #include "plNetCommon/plNetServerSessionInfo.h"
#include "pyAgeInfoStruct.h"
#include "pyGlueHelpers.h" #include "pyGlueHelpers.h"
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
@ -60,6 +55,7 @@ class pyVaultAgeLinkNode;
class pySpawnPointInfo; class pySpawnPointInfo;
class pySpawnPointInfoRef; class pySpawnPointInfoRef;
class pyAgeLinkStructRef; class pyAgeLinkStructRef;
class pyAgeInfoStruct;
class pyAgeLinkStruct class pyAgeLinkStruct
{ {

7
Sources/Plasma/FeatureLib/pfPython/pyAgeLinkStructGlue.cpp

@ -39,10 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyAgeLinkStruct.h"
#include "pySpawnPointInfo.h"
#include <Python.h> #include <Python.h>
#pragma hdrstop
#include "pyAgeLinkStruct.h"
#include "pyAgeInfoStruct.h"
#include "pySpawnPointInfo.h"
// glue functions // glue functions
PYTHON_CLASS_DEFINITION(ptAgeLinkStruct, pyAgeLinkStruct); PYTHON_CLASS_DEFINITION(ptAgeLinkStruct, pyAgeLinkStruct);

5
Sources/Plasma/FeatureLib/pfPython/pyAgeVault.cpp

@ -45,6 +45,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
#include <Python.h>
#include "pnNetCommon/plNetApp.h"
#pragma hdrstop
#include "pyAgeVault.h" #include "pyAgeVault.h"
#include "pyVault.h" #include "pyVault.h"
#include "pyVaultNodeRef.h" #include "pyVaultNodeRef.h"
@ -66,7 +70,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plNetTransport/plNetTransport.h" #include "plNetTransport/plNetTransport.h"
#include "plNetTransport/plNetTransportMember.h" #include "plNetTransport/plNetTransportMember.h"
#include "plSDL/plSDL.h" #include "plSDL/plSDL.h"
#include "pnNetCommon/plNetApp.h"
pyAgeVault::pyAgeVault() { pyAgeVault::pyAgeVault() {
} }

3
Sources/Plasma/FeatureLib/pfPython/pyAgeVault.h

@ -51,11 +51,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// pyAgeVault - a wrapper class to provide interface to the plVaultAgeNode // pyAgeVault - a wrapper class to provide interface to the plVaultAgeNode
// //
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
#include <Python.h>
#include "HeadSpin.h" #include "HeadSpin.h"
#include "hsStlUtils.h"
#include "pyGlueHelpers.h" #include "pyGlueHelpers.h"
class pyVaultNode; class pyVaultNode;

6
Sources/Plasma/FeatureLib/pfPython/pyAgeVaultGlue.cpp

@ -39,12 +39,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#include "pyAgeVault.h" #include "pyAgeVault.h"
#include "pyAgeInfoStruct.h" #include "pyAgeInfoStruct.h"
#include "pySDL.h" #include "pySDL.h"
#include <Python.h>
// glue functions // glue functions
PYTHON_CLASS_DEFINITION(ptAgeVault, pyAgeVault); PYTHON_CLASS_DEFINITION(ptAgeVault, pyAgeVault);

7
Sources/Plasma/FeatureLib/pfPython/pyAlarm.cpp

@ -39,9 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include "pyAlarm.h"
#include <Python.h>
#include "hsTimer.h" #include "hsTimer.h"
#include "hsStlUtils.h" #pragma hdrstop
#include "pyAlarm.h"
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////

4
Sources/Plasma/FeatureLib/pfPython/pyAlarm.h

@ -42,11 +42,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#ifndef pyAlarm_h_inc #ifndef pyAlarm_h_inc
#define pyAlarm_h_inc #define pyAlarm_h_inc
#include <Python.h>
#include "HeadSpin.h" #include "HeadSpin.h"
#include "hsStlUtils.h" #include <list>
struct pyAlarm; struct pyAlarm;
typedef struct _object PyObject;
class pyAlarmMgr class pyAlarmMgr
{ {
typedef std::list<pyAlarm*> Alarms; typedef std::list<pyAlarm*> Alarms;

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save