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(Bink) #TODO: Find Bink, but don't require it if plPipeline isn't built...
# 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
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
cyPhysics.cpp
cyPythonInterface.cpp
Pch.cpp
plPythonFileMod.cpp
plPythonPack.cpp
plPythonSDLModifier.cpp
@ -104,6 +105,7 @@ set(pfPython_HEADERS
cyParticleSys.h
cyPhysics.h
cyPythonInterface.h
Pch.h
pfPythonCreatable.h
plPythonFileMod.h
plPythonHelpers.h
@ -340,6 +342,7 @@ set(pfPython_GAMES
${pfPython_VSYNC}
)
use_precompiled_header(Pch.h Pch.cpp)
add_library(pfPython STATIC ${pfPython_SOURCES} ${pfPython_HEADERS} ${pfPython_GLUE} ${pfPython_GAME_GLUE} ${pfPython_GAMES})
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
*==LICENSE==*/
#include "../../pyKey.h"
#pragma hdrstop
#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
//
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h"
#include "../pyGameCli.h"
#include "../../pyKey.h"
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
*==LICENSE==*/
#include "pyBlueSpiralGame.h"
#include <Python.h>
#include "../../pyKey.h"
#pragma hdrstop
#include "pyBlueSpiralGame.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
*==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#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
//
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.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
*==LICENSE==*/
#include "pyBlueSpiralMsg.h"
#include "../../pyEnum.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
*==LICENSE==*/
#include "../../pyKey.h"
#pragma hdrstop
#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
//
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h"
#include "../pyGameCli.h"
#include "../../pyKey.h"
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
*==LICENSE==*/
#include "pyClimbingWallGame.h"
#include <Python.h>
#include "../../pyKey.h"
#pragma hdrstop
#include "pyClimbingWallGame.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
*==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#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
//
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.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
*==LICENSE==*/
#include "pyClimbingWallMsg.h"
#include "../../pyEnum.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
*==LICENSE==*/
#include "../../pyKey.h"
#pragma hdrstop
#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
//
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h"
#include "../pyGameCli.h"
#include "../../pyKey.h"
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
*==LICENSE==*/
#include "pyHeekGame.h"
#include <Python.h>
#include "../../pyKey.h"
#pragma hdrstop
#include "pyHeekGame.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
*==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#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
//
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.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
*==LICENSE==*/
#include "pyHeekMsg.h"
#include "../../pyEnum.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
*==LICENSE==*/
#include <Python.h>
#include "../../pyKey.h"
#pragma hdrstop
#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
//
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h"
#include "../pyGameCli.h"
#include "../../pyKey.h"
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
*==LICENSE==*/
#include "pyMarkerGame.h"
#include <Python.h>
#include "../../pyKey.h"
#pragma hdrstop
#include "pyMarkerGame.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
*==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#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
//
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.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
*==LICENSE==*/
#include "pyMarkerMsg.h"
#include "../../pyEnum.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
*==LICENSE==*/
#include "../../pyKey.h"
#pragma hdrstop
#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
//
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h"
#include "../pyGameCli.h"
#include "../../pyKey.h"
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
*==LICENSE==*/
#include "pyTTTGame.h"
#include <Python.h>
#include "../../pyKey.h"
#pragma hdrstop
#include "pyTTTGame.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
*==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#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
//
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.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
*==LICENSE==*/
#include "pyTTTMsg.h"
#include "../../pyEnum.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
*==LICENSE==*/
#include "../../pyKey.h"
#pragma hdrstop
#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
//
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.h"
#include "../pyGameCli.h"
#include "../../pyKey.h"
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
*==LICENSE==*/
#include "pyVarSyncGame.h"
#include <Python.h>
#include "../../pyKey.h"
#pragma hdrstop
#include "pyVarSyncGame.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
*==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#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
//
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../../pyGlueHelpers.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
*==LICENSE==*/
#include "pyVarSyncMsg.h"
#include "../../pyEnum.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
*==LICENSE==*/
#include <Python.h>
#include "../pyKey.h"
#pragma hdrstop
#include "pyGameCli.h"
#include "pfGameMgr/pfGameMgr.h"
#include "TicTacToe/pyTTTGame.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
//
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../pyGlueHelpers.h"
#include "../pyKey.h"
#include <string>
#include <vector>
class pfGameCli;
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
*==LICENSE==*/
#include "pyGameCli.h"
#include "../pyEnum.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
*==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#include "pyGameCliMsg.h"
#include "pyGameCli.h"
#include "pfGameMgr/pfGameMgr.h"
#include "TicTacToe/pyTTTMsg.h"
#include "Heek/pyHeekMsg.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
//
#include <Python.h>
#include "pfGameMgr/pfGameMgr.h"
#include "../pyGlueHelpers.h"
#include "pnGameMgr/pnGameMgr.h" // :(
class pfGameCliMsg;
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
*==LICENSE==*/
#include "pyGameCliMsg.h"
#include "../pyEnum.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
*==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#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
//
#include <Python.h>
#include "hsStlUtils.h"
#include "pfGameMgr/pfGameMgr.h"
#include "../pyGlueHelpers.h"
#include <string>
class pfGameMgrMsg;
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
*==LICENSE==*/
#include "pyGameMgrMsg.h"
#include "../pyEnum.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
//
#include "cyAccountManagement.h"
#include <Python.h>
#pragma hdrstop
#include "cyAccountManagement.h"
#include "plNetClientComm/plNetClientComm.h"
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
//
#include <Python.h>
#include "HeadSpin.h"
#include "hsStlUtils.h"
#include <vector>
typedef struct _object PyObject;
typedef struct PyMethodDef PyMethodDef;
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
*==LICENSE==*/
#include "cyAccountManagement.h"
#include <Python.h>
#pragma hdrstop
#include "cyAccountManagement.h"
#include "pyGlueHelpers.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
//
#include "cyAnimation.h"
#include <Python.h>
#include "plgDispatch.h"
#include "pyKey.h"
#pragma hdrstop
#include "cyAnimation.h"
#include "plMessage/plAnimCmdMsg.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
//
#include <Python.h>
#include "pyKey.h"
#include "hsTemplates.h"
#include "pyGlueHelpers.h"
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
*==LICENSE==*/
#include "cyAnimation.h"
#include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "cyAnimation.h"
// glue functions
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
*==LICENSE==*/
#include "cyAvatar.h"
#include <Python.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/plLinkToAgeMsg.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 "pnKeyedObject/plFixedKey.h"
#include "plGImage/plMipmap.h"
#include "pyKey.h"
#include "pySceneObject.h"
#include "pyColor.h"
#include "pyImage.h"
#include "cyPythonInterface.h"
#include "cyMisc.h"
#include "plAvatar/plOneShotMod.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/plAGAnim.h" // to get the BodyUsage enum
#include "plInputCore/plAvatarInputInterface.h"
#include "plPhysical.h"
#include "plMessage/plSimStateMsg.h"
#include "pnNetCommon/plNetApp.h"
#include "plVault/plVault.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/plCoordinateInterface.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
//
#include <Python.h>
#include "hsStlUtils.h"
#include "hsTemplates.h"
#include "hsBitVector.h"
#include "pnKeyedObject/plKey.h"
#include "pyGlueHelpers.h"
class plKey;
class pyKey;
class pySceneObject;
class pyColor;
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
*==LICENSE==*/
#include "cyAvatar.h"
#include <Python.h>
#include "pyKey.h"
#include "pyEnum.h"
#pragma hdrstop
#include "cyAvatar.h"
#include "pyColor.h"
#include "pyEnum.h"
#include "pySceneObject.h"
#include "plAvatar/plAvBrainHuman.h"
#include <Python.h>
// glue functions
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
*==LICENSE==*/
#include <Python.h>
#include "plgDispatch.h"
#include "pyKey.h"
#include "hsResMgr.h"
#pragma hdrstop
#include "cyCamera.h"
#include "pnMessage/plCameraMsg.h"
#include "plMessage/plInputEventMsg.h"
#include "pnKeyedObject/plFixedKey.h"
#include "pnKeyedObject/plUoid.h"
#include "hsResMgr.h"
#include "pyKey.h"
#include "plgDispatch.h"
#include "pfCamera/plVirtualCamNeu.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
//
#include <Python.h>
#include "HeadSpin.h"
#include "pnKeyedObject/plKey.h"
class pyKey;
#include "HeadSpin.h"
#include "pyGlueHelpers.h"
#include "pnKeyedObject/plKey.h"
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
*==LICENSE==*/
#include "cyCamera.h"
#include "pyKey.h"
#include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "cyCamera.h"
// glue functions
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
*==LICENSE==*/
#include "cyDraw.h"
#include <Python.h>
#include "plgDispatch.h"
#include "hsBitVector.h"
#pragma hdrstop
#include "cyDraw.h"
#include "pnMessage/plEnableMsg.h"
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
//
#include <Python.h>
#include "hsTemplates.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
*==LICENSE==*/
#include "cyDraw.h"
#include "pyKey.h"
#include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "cyDraw.h"
// glue functions
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
*==LICENSE==*/
#include "cyInputInterface.h"
#include <Python.h>
#include "plgDispatch.h"
#pragma hdrstop
#include "cyInputInterface.h"
#include "plMessage/plInputIfaceMgrMsg.h"
#include "plInputCore/plTelescopeInputInterface.h"
#include "plgDispatch.h"
cyInputInterface::cyInputInterface() :
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
//
#include <Python.h>
#include "pyGlueHelpers.h"
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
*==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#include "cyInputInterface.h"
#include "HeadSpin.h"
// glue functions
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
*==LICENSE==*/
#include "cyMisc.h"
#include <Python.h>
#include "plgDispatch.h"
#include "hsResMgr.h"
#include "plResMgr/plKeyFinder.h"
#include "pyKey.h"
#pragma hdrstop
#include "cyMisc.h"
#include "plResMgr/plKeyFinder.h"
#include "pnKeyedObject/plKey.h"
#include "pnKeyedObject/plFixedKey.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 "pyCritterBrain.h"
#include "cyPythonInterface.h"
#include "pyKey.h"
#include "pySceneObject.h"
#include "pyPlayer.h"
#include "pyImage.h"
@ -106,6 +108,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plVault/plAgeInfoSource.h"
#include "pfLocalizationMgr/pfLocalizationMgr.h"
#include "pnUtils/pnUtils.h"
//// Static Class Stuff //////////////////////////////////////////////////////
plPipeline* cyMisc::fPipeline = nil;

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

@ -57,15 +57,17 @@ class pyColor;
class pyAgeInfoStruct;
class pyPoint3;
#include <Python.h>
#include "HeadSpin.h"
#include "hsStlUtils.h"
#include "pnUtils/pnUtils.h"
#include <vector>
class pyGUIDialog;
class plPipeline;
class plDisplayMode;
struct PipelineParams;
struct Uuid;
typedef struct _object PyObject;
typedef struct PyMethodDef PyMethodDef;
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
*==LICENSE==*/
#include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "cyMisc.h"
#include "pyGlueHelpers.h"
#include "pyKey.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_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
*==LICENSE==*/
#include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "cyMisc.h"
#include "pyGlueHelpers.h"
#include "pyKey.h"
#include "pyColor.h"
#include "pyPlayer.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
*==LICENSE==*/
#include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "cyMisc.h"
#include "pyGlueHelpers.h"
#include "pyKey.h"
#include "pySceneObject.h"
#include <Python.h>
#include "pnUtils/pnUtils.h"
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
*==LICENSE==*/
#include <Python.h>
#include "pyGeometry3.h"
#include "pyKey.h"
#include "plPipeline.h"
#pragma hdrstop
#include "cyMisc.h"
#include "pyGlueHelpers.h"
#include "pyKey.h"
#include "pySceneObject.h"
#include "pyAgeInfoStruct.h"
#include "pyGeometry3.h"
#include "NucleusLib/inc/plPipeline.h"
#include "pnNetBase/pnNetBase.h"
#include <Python.h>
#include "pnUtils/pnUtils.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")
{

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
*==LICENSE==*/
#include "cyParticleSys.h"
#include "hsStream.h"
#include "pnMessage/plMessage.h"
#include "hsResMgr.h"
#include "plgDispatch.h"
#pragma hdrstop
#include "cyParticleSys.h"
#include "pnMessage/plMessage.h"
#include "plMessage/plParticleUpdateMsg.h"
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
//
#include <Python.h>
#include "hsTemplates.h"
#include "hsTemplates.h"
#include "pnKeyedObject/plKey.h"
class pyKey;
#include "pyGlueHelpers.h"
class cyParticleSys
@ -63,7 +60,7 @@ protected:
hsTArray<plKey> fRecvr;
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);
@ -77,22 +74,22 @@ public:
static void AddPlasmaClasses(PyObject *m);
// setters
virtual void SetSender(plKey &sender);
virtual void AddRecvr(plKey &recvr);
virtual void SetNetForce(hsBool state);
virtual void SetParticlesPerSecond(float value);
virtual void SetInitPitchRange(float value);
virtual void SetInitYawRange(float value);
virtual void SetVelMin(float value);
virtual void SetVelMax(float value);
virtual void SetXSize(float value);
virtual void SetYSize(float value);
virtual void SetScaleMin(float value);
virtual void SetScaleMax(float value);
virtual void SetGenLife(float value);
virtual void SetPartLifeMin(float value);
virtual void SetPartLifeMax(float value);
void SetSender(plKey &sender);
void AddRecvr(plKey &recvr);
void SetNetForce(hsBool state);
void SetParticlesPerSecond(float value);
void SetInitPitchRange(float value);
void SetInitYawRange(float value);
void SetVelMin(float value);
void SetVelMax(float value);
void SetXSize(float value);
void SetYSize(float value);
void SetScaleMin(float value);
void SetScaleMax(float value);
void SetGenLife(float value);
void SetPartLifeMin(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
*==LICENSE==*/
#include "cyParticleSys.h"
#include "pyKey.h"
#include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "cyParticleSys.h"
// glue functions
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
*==LICENSE==*/
#include "cyPhysics.h"
#include <Python.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/plWarpMsg.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/plAngularVelocityMsg.h"
#include "pyGeometry3.h"
#include "pyMatrix44.h"
#include "pyKey.h"
#include "hsQuat.h"
#include "pnSceneObject/plSceneObject.h"
#include "pnSceneObject/plCoordinateInterface.h"
#include "pnKeyedObject/plKey.h"
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
//
#include <Python.h>
#include "hsTemplates.h"
#include "pnKeyedObject/plKey.h"
#include "pyGlueHelpers.h"
class pyPoint3;
class pyVector3;
class pyMatrix44;
class pyKey;
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
*==LICENSE==*/
#include "cyPhysics.h"
#include "pyKey.h"
#include <Python.h>
#include "pyGeometry3.h"
#include "pyKey.h"
#include "pyMatrix44.h"
#pragma hdrstop
#include <Python.h>
#include "cyPhysics.h"
// glue functions
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
// 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 "plPythonPack.h"
#include "compile.h"
#include "marshal.h"
#include "eval.h"
#include "pyEnum.h"
#include "pyKey.h"
#include "cyDraw.h"
#include "cyParticleSys.h"
#include "cyPhysics.h"
#include "pySceneObject.h"
#include "cyMisc.h"
#include "cyCamera.h"
#include "pyNotify.h"
#include "cyAvatar.h"
#include "pyGeometry3.h"
#include "pyMatrix44.h"
#include "pyColor.h"
#include "pyDynamicText.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
// only be one instance of this interface.
//
#include <Python.h>
#include "HeadSpin.h"
#include "hsStlUtils.h"
@ -56,6 +55,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
class plStatusLog;
class pyKey;
typedef struct _object PyObject;
typedef struct PyMethodDef PyMethodDef;
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.
//
//////////////////////////////////////////////////////////////////////////
#include "plPythonFileMod.h"
#include <locale>
#include <Python.h>
#include "HeadSpin.h"
#include "hsStream.h"
#include "plgDispatch.h"
#include "pyGeometry3.h"
#include "pyKey.h"
#include "hsResMgr.h"
#include "hsStream.h"
#pragma hdrstop
#include "plPythonFileMod.h"
#include "plResMgr/plKeyFinder.h"
#include "pnKeyedObject/plKeyImp.h"
#include "pnKeyedObject/plUoid.h"
@ -100,7 +107,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plProfile.h"
#include "cyPythonInterface.h"
#include "pyKey.h"
#include "cyDraw.h"
#include "cyPhysics.h"
#include "pySceneObject.h"
@ -108,7 +114,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "cyCamera.h"
#include "pyNotify.h"
#include "cyAvatar.h"
#include "pyGeometry3.h"
#include "pyVault.h"
#include "pyVaultNode.h"
#include "pyVaultNodeRef.h"
@ -139,8 +144,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "Games/pyGameCliMsg.h"
#include "pyGameScoreMsg.h"
#include <locale>
#include "plPythonSDLModifier.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.
//
//////////////////////////////////////////////////////////////////////
#include <Python.h>
#include "pnModifier/plMultiModifier.h"
#include "hsGeometry3.h"
#include "hsResMgr.h"
#include "plPythonParameter.h"
class PythonVaultCallback;
@ -65,6 +60,8 @@ class pfPythonKeyCatcher;
class plKeyEventMsg;
class plPipeline;
typedef struct _object PyObject;
class plPythonFileMod : public plMultiModifier
{
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
*==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 "hsStlUtils.h"
#include "hsStream.h"
#include "hsStlSortUtils.h"
#pragma hdrstop
#include "plPythonPack.h"
#include "plFile/hsFiles.h"
#include "plFile/plSecureStream.h"
#include "plFile/plStreamSource.h"
#include "hsStlSortUtils.h"
#include "marshal.h"
static const char* kPackFilePath = ".\\Python\\";
@ -105,10 +114,6 @@ plPythonPack& plPythonPack::Instance()
return theInstance;
}
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
bool plPythonPack::Open()
{
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
#define plPythonPack_h_inc
#include <Python.h>
#include "HeadSpin.h"
typedef struct _object PyObject;
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
#include "pnKeyedObject/plKey.h"
#include "hsResMgr.h"
//
// 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
*==LICENSE==*/
#include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "plPythonSDLModifier.h"
#include "cyPythonInterface.h"
#include "plPythonFileMod.h"
#include "pyKey.h"
#include "cyMisc.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 "plSDL/plSDL.h"
#include "pnNetCommon/plNetApp.h"
#include "plNetClient/plNetClientMgr.h"
plStateDataRecord * GetAgeSDL()

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

@ -46,9 +46,6 @@ class plPythonFileMod;
class plStateDataRecord;
class plSimpleStateVariable;
#include <Python.h>
#include "HeadSpin.h"
#include "hsStlUtils.h"
#include "plModifier/plSDLModifier.h"
@ -58,7 +55,6 @@ class plSimpleStateVariable;
// hack for plNetClientVNodeMgr single-player mode SDLHook stuff.
plStateDataRecord * GetAgeSDL();
class pyKey;
//
// The fields of a SDL record in Python format.
// 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
*==LICENSE==*/
#include "plPythonSDLModifier.h"
#include "pyKey.h"
#include <Python.h>
#include "pyKey.h"
#pragma hdrstop
#include "plPythonSDLModifier.h"
// glue functions
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
*==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#include "pyAgeInfoStruct.h"
#include "hsStlUtils.h"
#include "pnUtils/pnUtCrypt.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==*/
#ifndef pyAgeInfoStruct_h_inc
#define pyAgeInfoStruct_h_inc
#include <Python.h>
#include "HeadSpin.h"
#include "hsStlUtils.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
*==LICENSE==*/
#include "pyAgeInfoStruct.h"
#include <Python.h>
#pragma hdrstop
#include "pyAgeInfoStruct.h"
// glue functions
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
*==LICENSE==*/
#include "pyAgeLinkStruct.h"
#include "hsStlUtils.h"
#include <Python.h>
#pragma hdrstop
#include "pyAgeLinkStruct.h"
#include "pyAgeInfoStruct.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
#define pyAgeLinkStruct_h_inc
#include <Python.h>
#include "HeadSpin.h"
#include "hsStlUtils.h"
#include "plNetCommon/plNetServerSessionInfo.h"
#include "pyAgeInfoStruct.h"
#include "pyGlueHelpers.h"
//////////////////////////////////////////////////////////////////////
@ -60,6 +55,7 @@ class pyVaultAgeLinkNode;
class pySpawnPointInfo;
class pySpawnPointInfoRef;
class pyAgeLinkStructRef;
class pyAgeInfoStruct;
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
*==LICENSE==*/
#include "pyAgeLinkStruct.h"
#include "pySpawnPointInfo.h"
#include <Python.h>
#pragma hdrstop
#include "pyAgeLinkStruct.h"
#include "pyAgeInfoStruct.h"
#include "pySpawnPointInfo.h"
// glue functions
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 "pyVault.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/plNetTransportMember.h"
#include "plSDL/plSDL.h"
#include "pnNetCommon/plNetApp.h"
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
//
//////////////////////////////////////////////////////////////////////
#include <Python.h>
#include "HeadSpin.h"
#include "hsStlUtils.h"
#include "pyGlueHelpers.h"
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
*==LICENSE==*/
#include <Python.h>
#pragma hdrstop
#include "pyAgeVault.h"
#include "pyAgeInfoStruct.h"
#include "pySDL.h"
#include <Python.h>
// glue functions
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
*==LICENSE==*/
#include "pyAlarm.h"
#include <Python.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
#define pyAlarm_h_inc
#include <Python.h>
#include "HeadSpin.h"
#include "hsStlUtils.h"
#include <list>
struct pyAlarm;
typedef struct _object PyObject;
class pyAlarmMgr
{
typedef std::list<pyAlarm*> Alarms;

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

Loading…
Cancel
Save