Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: source/simulation2/helpers/Selection.cpp
- ===================================================================
- --- source/simulation2/helpers/Selection.cpp (revision 22941)
- +++ source/simulation2/helpers/Selection.cpp (working copy)
- @@ -19,11 +19,10 @@
- #include "Selection.h"
- #include "graphics/Camera.h"
- #include "ps/CLogger.h"
- -#include "ps/Profiler2.h"
- #include "simulation2/components/ICmpIdentity.h"
- #include "simulation2/components/ICmpOwnership.h"
- #include "simulation2/components/ICmpRangeManager.h"
- #include "simulation2/components/ICmpTemplateManager.h"
- #include "simulation2/components/ICmpSelectable.h"
- Index: source/simulation2/helpers/Selection.h
- ===================================================================
- --- source/simulation2/helpers/Selection.h (revision 22941)
- +++ source/simulation2/helpers/Selection.h (working copy)
- @@ -16,10 +16,11 @@
- */
- #ifndef INCLUDED_SELECTION
- #define INCLUDED_SELECTION
- +#include "ps/Profiler2.h"
- #include "simulation2/components/ICmpObstruction.h"
- #include "simulation2/helpers/Player.h"
- #include "simulation2/Simulation2.h"
- #include "simulation2/system/Entity.h"
- Index: source/simulation2/scripting/JSInterface_Simulation.cpp
- ===================================================================
- --- source/simulation2/scripting/JSInterface_Simulation.cpp (revision 22941)
- +++ source/simulation2/scripting/JSInterface_Simulation.cpp (working copy)
- @@ -115,11 +115,11 @@ std::vector<entity_id_t> JSI_Simulation:
- std::vector<entity_id_t> JSI_Simulation::PickNonGaiaEntitiesOnScreen(ScriptInterface::CxPrivate* UNUSED(pCxPrivate))
- {
- return EntitySelection::PickNonGaiaEntitiesInRect(*g_Game->GetSimulation2(), *g_Game->GetView()->GetCamera(), 0, 0, g_xres, g_yres, false);
- }
- -std::vector<entity_id_t> JSI_Simulation::GetEntitiesWithStaticObstructionOnScreen(ScriptInterface::CxPrivate* pCxPrivate)
- +std::vector<entity_id_t> JSI_Simulation::GetEntitiesWithStaticObstructionOnScreen(ScriptInterface::CxPrivate* UNUSED(pCxPrivate))
- {
- struct StaticObstructionFilter
- {
- bool operator()(IComponent* cmp)
- {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement