-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1568 from dgelessus/pygluehelpers_include_order
Split off the parts of pyGlueHelpers.h that don't require Python.h
- Loading branch information
Showing
234 changed files
with
957 additions
and
776 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,12 +46,12 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
// PURPOSE: Python wrapper for account management functions | ||
// | ||
|
||
#include <Python.h> | ||
|
||
#include "pyGlueHelpers.h" | ||
#include "cyAccountManagement.h" | ||
|
||
#include "plNetClientComm/plNetClientComm.h" | ||
|
||
#include "pyGlueHelpers.h" | ||
|
||
PyObject* cyAccountManagement::GetPlayerList() | ||
{ | ||
const std::vector<NetCommPlayer>& playerList = NetCommGetPlayerList(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,15 +40,15 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
*==LICENSE==*/ | ||
|
||
#include <Python.h> | ||
#include <string_theory/string> | ||
|
||
#include "cyAccountManagement.h" | ||
#include "pyGlueHelpers.h" | ||
#include "pyEnum.h" | ||
|
||
#include <string_theory/string> | ||
|
||
#include "plMessage/plAccountUpdateMsg.h" | ||
|
||
#include "pyEnum.h" | ||
#include "pyGlueHelpers.h" | ||
|
||
PYTHON_GLOBAL_METHOD_DEFINITION_NOARGS(PtGetAccountPlayerList, "Returns list of players associated with the current account") | ||
{ | ||
return cyAccountManagement::GetPlayerList(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,12 +46,14 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
// PURPOSE: Class wrapper to map animation functions to plasma2 message | ||
// | ||
|
||
#include "cyAnimation.h" | ||
|
||
#include "plgDispatch.h" | ||
#include "pyKey.h" | ||
|
||
#include "cyAnimation.h" | ||
#include "plMessage/plAnimCmdMsg.h" | ||
|
||
#include "pyKey.h" | ||
|
||
cyAnimation::cyAnimation() | ||
: fAnimName(), fNetForce() | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,11 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
|
||
#include <string_theory/string> | ||
|
||
#include "pyGlueHelpers.h" | ||
#include "pnKeyedObject/plKey.h" | ||
|
||
#include "pyGlueDefinitions.h" | ||
|
||
class pyKey; | ||
|
||
class cyAnimation | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,11 +40,10 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
*==LICENSE==*/ | ||
|
||
#include <Python.h> | ||
#include "pyKey.h" | ||
|
||
#include "cyAnimation.h" | ||
|
||
#include "pyGlueHelpers.h" | ||
#include "pyKey.h" | ||
|
||
// glue functions | ||
PYTHON_CLASS_DEFINITION(ptAnimation, cyAnimation); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,42 +40,39 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
*==LICENSE==*/ | ||
|
||
#include <Python.h> | ||
#include "cyAvatar.h" | ||
|
||
#include <string_theory/format> | ||
|
||
#include "plFileSystem.h" | ||
#include "plgDispatch.h" | ||
#include "pyKey.h" | ||
#include "plPhysical.h" | ||
|
||
#include "cyAvatar.h" | ||
|
||
#include "plAvatar/plAvatarMgr.h" | ||
#include "plMessage/plAvatarMsg.h" | ||
#include "plMessage/plOneShotMsg.h" | ||
#include "plMessage/plMultistageMsg.h" | ||
#include "pnMessage/plNotifyMsg.h" | ||
#include "plGImage/plMipmap.h" | ||
#include "pySceneObject.h" | ||
#include "pyColor.h" | ||
#include "pyImage.h" | ||
#include "pnSceneObject/plSceneObject.h" | ||
|
||
#include "plAvatar/plOneShotMod.h" | ||
#include "plAvatar/plMultistageBehMod.h" | ||
#include "plAnimation/plAGAnim.h" // to get the BodyUsage enum | ||
#include "plAvatar/plArmatureMod.h" | ||
#include "plAvatar/plAvatarClothing.h" | ||
#include "plAvatar/plAvatarMgr.h" | ||
#include "plAvatar/plAvBrainHuman.h" // needed to call the emote | ||
#include "plAvatar/plClothingLayout.h" | ||
#include "plAvatar/plArmatureMod.h" | ||
#include "plAvatar/plAvBrainHuman.h" // needed to call the emote | ||
#include "plAnimation/plAGAnim.h" // to get the BodyUsage enum | ||
#include "plAvatar/plMultistageBehMod.h" | ||
#include "plAvatar/plOneShotMod.h" | ||
#include "plDrawable/plMorphSequence.h" | ||
#include "plDrawable/plSharedMesh.h" | ||
#include "plInputCore/plAvatarInputInterface.h" | ||
#include "plMessage/plAvatarMsg.h" | ||
#include "plMessage/plMultistageMsg.h" | ||
#include "plMessage/plOneShotMsg.h" | ||
#include "plMessage/plSimStateMsg.h" | ||
|
||
#include "plVault/plVault.h" | ||
|
||
#include "plDrawable/plSharedMesh.h" | ||
|
||
#include "pnSceneObject/plSceneObject.h" | ||
#include "plDrawable/plMorphSequence.h" | ||
#include "pyColor.h" | ||
#include "pyGlueHelpers.h" | ||
#include "pyImage.h" | ||
#include "pyKey.h" | ||
#include "pySceneObject.h" | ||
|
||
/////////////////////////////////////////////////////////////////////////// | ||
// | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,15 +53,16 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
|
||
#include "pnKeyedObject/plKey.h" | ||
|
||
#include "pyGlueHelpers.h" | ||
#include "pyGlueDefinitions.h" | ||
|
||
class plArmatureMod; | ||
class plClothingItem; | ||
class plFileName; | ||
class pySceneObject; | ||
class pyColor; | ||
class plMipmap; | ||
class plClothingItem; | ||
class plArmatureMod; | ||
class plMorphSequence; | ||
class pyColor; | ||
class pyKey; | ||
class pySceneObject; | ||
namespace ST { class string; } | ||
|
||
class cyAvatar | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,20 +40,20 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
*==LICENSE==*/ | ||
|
||
#include <Python.h> | ||
#include "cyAvatar.h" | ||
|
||
#include <string_theory/string> | ||
|
||
#include "plFileSystem.h" | ||
|
||
#include "pyKey.h" | ||
#include "plAvatar/plAvBrainHuman.h" | ||
|
||
#include "cyAvatar.h" | ||
#include "pyColor.h" | ||
#include "pyEnum.h" | ||
#include "pyGlueHelpers.h" | ||
#include "pyKey.h" | ||
#include "pySceneObject.h" | ||
|
||
#include "plAvatar/plAvBrainHuman.h" | ||
|
||
// glue functions | ||
PYTHON_CLASS_DEFINITION(ptAvatar, cyAvatar); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,20 +40,22 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
*==LICENSE==*/ | ||
|
||
#include "plgDispatch.h" | ||
#include "pyKey.h" | ||
#include "hsResMgr.h" | ||
|
||
#include "cyCamera.h" | ||
|
||
#include "pnMessage/plCameraMsg.h" | ||
#include "plMessage/plInputEventMsg.h" | ||
#include "hsResMgr.h" | ||
#include "plgDispatch.h" | ||
|
||
#include "pnKeyedObject/plFixedKey.h" | ||
#include "pnKeyedObject/plUoid.h" | ||
#include "pnMessage/plCameraMsg.h" | ||
|
||
#include "plMessage/plInputEventMsg.h" | ||
|
||
#include "pfCamera/plVirtualCamNeu.h" | ||
#include "pfCamera/plCameraModifier.h" | ||
#include "pfCamera/plCameraBrain.h" | ||
#include "pfCamera/plCameraModifier.h" | ||
#include "pfCamera/plVirtualCamNeu.h" | ||
|
||
#include "pyKey.h" | ||
|
||
cyCamera::cyCamera() | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,9 +50,14 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
// | ||
|
||
#include "HeadSpin.h" | ||
#include "pyGlueHelpers.h" | ||
|
||
#include "pnKeyedObject/plKey.h" | ||
#include "pfCamera/plVirtualCamNeu.h" | ||
|
||
#include "pfCamera/plVirtualCamNeu.h" | ||
|
||
#include "pyGlueDefinitions.h" | ||
|
||
class pyKey; | ||
|
||
class cyCamera | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,11 +40,11 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
*==LICENSE==*/ | ||
|
||
#include <Python.h> | ||
#include "pyKey.h" | ||
|
||
#include "cyCamera.h" | ||
|
||
#include "pyGlueHelpers.h" | ||
#include "pyKey.h" | ||
|
||
// glue functions | ||
PYTHON_CLASS_DEFINITION(ptCamera, cyCamera); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,9 +40,10 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
*==LICENSE==*/ | ||
|
||
#include "cyDraw.h" | ||
|
||
#include "plgDispatch.h" | ||
|
||
#include "cyDraw.h" | ||
#include "pnMessage/plEnableMsg.h" | ||
|
||
cyDraw::cyDraw(plKey sender, plKey recvr) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
|
||
#include "pnKeyedObject/plKey.h" | ||
|
||
#include "pyGlueHelpers.h" | ||
#include "pyGlueDefinitions.h" | ||
|
||
class cyDraw | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,11 +40,11 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
*==LICENSE==*/ | ||
|
||
#include <Python.h> | ||
#include "pyKey.h" | ||
|
||
#include "cyDraw.h" | ||
|
||
#include "pyGlueHelpers.h" | ||
#include "pyKey.h" | ||
|
||
// glue functions | ||
PYTHON_CLASS_DEFINITION(ptDraw, cyDraw); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,8 +41,9 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
*==LICENSE==*/ | ||
|
||
#include "cyInputInterface.h" | ||
#include "plMessage/plInputIfaceMgrMsg.h" | ||
|
||
#include "plInputCore/plTelescopeInputInterface.h" | ||
#include "plMessage/plInputIfaceMgrMsg.h" | ||
|
||
cyInputInterface::cyInputInterface() : | ||
fTelescopeInterface() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
// PURPOSE: Class wrapper to map InputInterface functions to plasma2 message | ||
// | ||
|
||
#include "pyGlueHelpers.h" | ||
#include "pyGlueDefinitions.h" | ||
|
||
class plInputInterface; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,10 +40,10 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
*==LICENSE==*/ | ||
|
||
#include <Python.h> | ||
|
||
#include "cyInputInterface.h" | ||
|
||
#include "pyGlueHelpers.h" | ||
|
||
// glue functions | ||
PYTHON_CLASS_DEFINITION(ptInputInterface, cyInputInterface); | ||
|
||
|
Oops, something went wrong.