Skip to content

Commit

Permalink
Merge pull request H-uru#225 from zrax/warn_cleanup
Browse files Browse the repository at this point in the history
Warning cleanup
  • Loading branch information
Hoikas committed Nov 13, 2012
2 parents bc72a45 + 4016954 commit 69760fc
Show file tree
Hide file tree
Showing 41 changed files with 22 additions and 1,131 deletions.
2 changes: 1 addition & 1 deletion Sources/Plasma/CoreLib/hsFastMath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ float hsFastMath::IATan2OverTwoPi(float y, float x)
if( (x == 0)&&(y == 0) )
return 0;

bool xNeg, yNeg;
int xNeg, yNeg;
if((yNeg = (y < 0)))y = -y;
if((xNeg = (x < 0)))x = -x;
bool yBigger = y >= x;
Expand Down
1 change: 0 additions & 1 deletion Sources/Plasma/FeatureLib/pfConsole/pfConsoleCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "pnMessage/plProxyDrawMsg.h"
#include "pnMessage/plObjRefMsg.h"
#include "pnMessage/plAttachMsg.h"
#include "plMessage/plSimInfluenceMsg.h"
#include "plMessage/plSimStateMsg.h"
#include "plMessage/plLinkToAgeMsg.h"
#include "pfMessage/pfKIMsg.h"
Expand Down
2 changes: 1 addition & 1 deletion Sources/Plasma/FeatureLib/pfConsoleCore/pfConsoleCmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ uint8_t pfConsoleCmd::GetSigEntry( uint8_t i )

const char *pfConsoleCmd::GetSignature( void )
{
char string[256];
static char string[256];

int i;
char pStr[ 128 ];
Expand Down
2 changes: 0 additions & 2 deletions Sources/Plasma/FeatureLib/pfPython/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@ set(pfPython_GLUE
pyAgeLinkStructGlue.cpp
pyAgeVaultGlue.cpp
pyAudioControlGlue.cpp
pyCCRMgrGlue.cpp
pyCCRMgrGlue2.cpp
pyClusterGlue.cpp
pyColorGlue.cpp
pyCritterBrainGlue.cpp
Expand Down
1 change: 1 addition & 0 deletions Sources/Plasma/FeatureLib/pfPython/cyMisc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "pyAgeInfoStruct.h"
#include "pyAgeLinkStruct.h"
#include "pyAlarm.h"
#include "pyGeometry3.h"
#include "pfMessage/pfKIMsg.h"
#include "plNetMessage/plNetMessage.h"
#include "pfCamera/plVirtualCamNeu.h"
Expand Down
1 change: 0 additions & 1 deletion Sources/Plasma/FeatureLib/pfPython/cyPhysics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com

#include "pnMessage/plEnableMsg.h"
#include "pnMessage/plWarpMsg.h"
#include "plMessage/plSimInfluenceMsg.h"
#include "plMessage/plSimStateMsg.h"
#include "plMessage/plLinearVelocityMsg.h"
#include "plMessage/plAngularVelocityMsg.h"
Expand Down
48 changes: 0 additions & 48 deletions Sources/Plasma/FeatureLib/pfPython/pyCCRMgrGlue.cpp

This file was deleted.

47 changes: 0 additions & 47 deletions Sources/Plasma/FeatureLib/pfPython/pyCCRMgrGlue2.cpp

This file was deleted.

1 change: 1 addition & 0 deletions Sources/Plasma/FeatureLib/pfPython/pyGUIControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com

#include "pyGUIDialog.h"
#include "pyColor.h"
#include "pyGeometry3.h"

#include "pyGUIControlCheckBox.h"

Expand Down
1 change: 1 addition & 0 deletions Sources/Plasma/FeatureLib/pfPython/pyGUIControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com

class pyGUIDialog;
class pyColor;
class pyPoint3;

class pyGUIControl
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com

#include "pyGUIControlClickMap.h"
#include "pyGUIDialog.h"
#include "pyGeometry3.h"

pyGUIControlClickMap::pyGUIControlClickMap(pyKey& gckey) : pyGUIControl(gckey)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com

#include "pyGUIControlDraggable.h"
#include "pyGUIDialog.h"
#include "pyGeometry3.h"

pyGUIControlDraggable::pyGUIControlDraggable(pyKey& gckey) : pyGUIControl(gckey)
{
Expand Down
1 change: 1 addition & 0 deletions Sources/Plasma/FeatureLib/pfPython/pyGUIControlGlue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#pragma hdrstop

#include "pyGUIControl.h"
#include "pyGeometry3.h"

// glue functions
PYTHON_CLASS_DEFINITION(ptGUIControl, pyGUIControl);
Expand Down
1 change: 1 addition & 0 deletions Sources/Plasma/FeatureLib/pfPython/pyImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#pragma hdrstop

#include "pyImage.h"
#include "pyGeometry3.h"
#include "plJPEG/plJPEG.h"
#include "plGImage/plPNG.h"
#include "pnKeyedObject/plUoid.h"
Expand Down
49 changes: 0 additions & 49 deletions Sources/Plasma/NucleusLib/pnGameMgr/BlueSpiral/pnGmBlueSpiral.cpp

This file was deleted.

37 changes: 5 additions & 32 deletions Sources/Plasma/NucleusLib/pnGameMgr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,52 +2,25 @@ include_directories("../../CoreLib")
include_directories("../../NucleusLib")
include_directories("../../NucleusLib/inc")

set(pnGameMgr_BLUESPIRAL
set(pnGameMgr_GAMES
BlueSpiral/pnGmBlueSpiral.h
BlueSpiral/pnGmBlueSpiral.cpp
)

set(pnGameMgr_CLIMBINGWALL
ClimbingWall/pnGmClimbingWall.h
ClimbingWall/pnGmClimbingWall.cpp
)

set(pnGameMgr_HEEK
Heek/pnGmHeek.h
Heek/pnGmHeek.cpp
)

set(pnGameMgr_MARKER
Marker/pnGmMarker.h
Marker/pnGmMarker.cpp
)

set(pnGameMgr_TICTACTOE
TicTacToe/pnGmTicTacToe.h
TicTacToe/pnGmTicTacToe.cpp
)

set(pnGameMgr_VARSYNC
VarSync/pnGmVarSync.h
VarSync/pnGmVarSync.cpp
)

set(pnGameMgr_SOURCES
Intern.h
Pch.h
pnGameMgr.h

# Needs at least one C++ file to show up in VS solution
pnGameMgr.cpp
)

add_library(pnGameMgr STATIC ${pnGameMgr_SOURCES} ${pnGameMgr_BLUESPIRAL}
${pnGameMgr_CLIMBINGWALL} ${pnGameMgr_HEEK}
${pnGameMgr_MARKER} ${pnGameMgr_TICTACTOE}
${pnGameMgr_VARSYNC})
add_library(pnGameMgr STATIC ${pnGameMgr_SOURCES} ${pnGameMgr_GAMES})

source_group("BlueSpiral" FILES ${pnGameMgr_BLUESPIRAL})
source_group("ClimbingWall" FILES ${pnGameMgr_CLIMBINGWALL})
source_group("Heek" FILES ${pnGameMgr_HEEK})
source_group("Marker" FILES ${pnGameMgr_MARKER})
source_group("TicTacToe" FILES ${pnGameMgr_TICTACTOE})
source_group("VarSync" FILES ${pnGameMgr_VARSYNC})
source_group("Games" FILES ${pnGameMgr_GAMES})
source_group("" FILES ${pnGameMgr_SOURCES})

This file was deleted.

Loading

0 comments on commit 69760fc

Please sign in to comment.