paintselecting buildable structures while rotating

This commit is contained in:
devZoGok
2023-09-23 15:50:20 +03:00
parent 35996a0298
commit 4ba11bb276
4 changed files with 24 additions and 47 deletions
+1 -2
View File
@@ -33,7 +33,6 @@ namespace battleship{
void issueOrder(Order::TYPE, bool);
bool isInLineOfSight(vb01::Vector3, float, Unit*);
bool engineersSelected();
void paintSelectUnitFrames();
GuiAppState *guiState;
Player *mainPlayer;
@@ -45,7 +44,7 @@ namespace battleship{
std::vector<Unit*> unitGroups[9];
std::vector<Order::Target> targets;
bool isSelectionBox = false, shiftPressed = false, controlPressed = false, selectingPatrolPoints = false, selectingGuidedMissileTarget = false;
int playerId, zooms = 0, buildableStructId;
int playerId, zooms = 0;
const int NUM_MAX_ZOOMS = 10;
float depth = 1;
};