Add rest of assets, add blue player

This commit is contained in:
2024-01-23 11:26:23 +01:00
parent ac7525c42a
commit c9a2bd2672
45 changed files with 6647 additions and 39 deletions

View File

@@ -252,7 +252,7 @@ void updatePlayerInput() {
getBuildingSize(input->building, &sizeX, &sizeY);
bool canPlace = canPlaceBuilding(game, input->building, tileX, tileY);
if (canPlace && isInputBtnDown(input, primaryBtn)) {
placeBuilding(game, input->building, tileX, tileY, (Owner) {-1});
placeBuilding(game, input->building, tileX, tileY, (Owner) {PLAYER_BLUE});
}
input->buildingCanPlace = canPlace;
input->buildingPos = (Vec2i) {tileX, tileY};