mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Precompiled Headers for pfPython
Also did some work on decreasing header bloat. No promises on a complete job--this was just enough to allow PCH to actually help us out (and boy does it!) With an Intel Core 2 Duo (4GB DDR2 800) With PCH: 50.51 seconds Without: 4 minutes, 17.14 seconds :D
This commit is contained in:
@ -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})
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
Normal file
43
Sources/Plasma/FeatureLib/pfPython/Pch.cpp
Normal file
@ -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"
|
89
Sources/Plasma/FeatureLib/pfPython/Pch.h
Normal file
89
Sources/Plasma/FeatureLib/pfPython/Pch.h
Normal file
@ -0,0 +1,89 @@
|
||||
/*==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 "pyGlueHelpers.h"
|
||||
#include "pyKey.h"
|
||||
|
||||
#endif
|
@ -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()
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -39,12 +39,16 @@ 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 "plPhysical.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "cyAvatar.h"
|
||||
|
||||
|
||||
#include "plgDispatch.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"
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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 "pyGlueHelpers.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
class cyCamera
|
||||
{
|
||||
|
@ -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);
|
||||
|
@ -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)
|
||||
|
@ -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"
|
||||
|
@ -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);
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -39,12 +39,15 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include <Python.h>
|
||||
#include "plgDispatch.h"
|
||||
#include "pyKey.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "cyMisc.h"
|
||||
|
||||
#include "plgDispatch.h"
|
||||
#include "hsResMgr.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;
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -39,14 +39,15 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "cyMisc.h"
|
||||
#include "pyGlueHelpers.h"
|
||||
#include "pyKey.h"
|
||||
#include "pyPlayer.h"
|
||||
|
||||
|
||||
|
||||
#include <Python.h>
|
||||
#include "pyKey.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "cyMisc.h"
|
||||
#include "pyGlueHelpers.h"
|
||||
#include "pyPlayer.h"
|
||||
|
||||
|
||||
PYTHON_BASIC_GLOBAL_METHOD_DEFINITION(PtFlashWindow, cyMisc::FlashWindow, "Flashes the client window if it is not focused");
|
||||
|
||||
|
@ -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"
|
||||
|
@ -39,12 +39,15 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "cyMisc.h"
|
||||
#include "pyGlueHelpers.h"
|
||||
#include "pyKey.h"
|
||||
#include "pySceneObject.h"
|
||||
|
||||
#include <Python.h>
|
||||
#include "pyKey.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "cyMisc.h"
|
||||
#include "pyGlueHelpers.h"
|
||||
#include "pySceneObject.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")
|
||||
{
|
||||
|
@ -39,16 +39,19 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include <Python.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")
|
||||
{
|
||||
|
@ -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)
|
||||
|
@ -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 "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);
|
||||
void SetSender(plKey &sender);
|
||||
void AddRecvr(plKey &recvr);
|
||||
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 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);
|
||||
|
||||
};
|
||||
|
||||
|
@ -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);
|
||||
|
@ -39,9 +39,16 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include <Python.h>
|
||||
#include "plgDispatch.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
#include "pyKey.h"
|
||||
#include "hsQuat.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "cyPhysics.h"
|
||||
|
||||
#include "plgDispatch.h"
|
||||
#include "pnMessage/plEnableMsg.h"
|
||||
#include "pnMessage/plWarpMsg.h"
|
||||
#include "plMessage/plSimInfluenceMsg.h"
|
||||
@ -51,11 +58,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#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)
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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 "pyGeometry3.h"
|
||||
#include "pyMatrix44.h"
|
||||
|
||||
#include <Python.h>
|
||||
#include "pyKey.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "cyPhysics.h"
|
||||
#include "pyGeometry3.h"
|
||||
#include "pyMatrix44.h"
|
||||
|
||||
// glue functions
|
||||
PYTHON_CLASS_DEFINITION(ptPhysics, cyPhysics);
|
||||
|
@ -46,17 +46,18 @@ 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 "pyKey.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"
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -46,12 +46,18 @@ 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 <locale>
|
||||
#include <Python.h>
|
||||
#include "HeadSpin.h"
|
||||
#include "plgDispatch.h"
|
||||
#include "pyKey.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "hsStream.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plPythonFileMod.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsStream.h"
|
||||
#include "plgDispatch.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "plResMgr/plKeyFinder.h"
|
||||
#include "pnKeyedObject/plKeyImp.h"
|
||||
#include "pnKeyedObject/plUoid.h"
|
||||
@ -100,7 +106,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"
|
||||
@ -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"
|
||||
|
@ -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:
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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);
|
||||
|
@ -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() {
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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"
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
@ -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;
|
||||
|
@ -45,6 +45,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#pragma hdrstop
|
||||
|
||||
#include "pyAudioControl.h"
|
||||
|
||||
#include "plAudio/plAudioSystem.h"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user