Changeset a78c387 in network-game for client/Client/main.cpp
- Timestamp:
- May 18, 2013, 9:33:05 PM (12 years ago)
- Branches:
- master
- Children:
- 035d852
- Parents:
- b26229c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client/Client/main.cpp
rb26229c ra78c387 544 544 al_draw_filled_rectangle(x*25+mapPos.x, y*25+mapPos.y, x*25+25+mapPos.x, y*25+25+mapPos.y, al_map_rgb(100, 100, 0)); 545 545 546 if (obj == WorldMap::OBJECT_RED_FLAG) 546 if (obj == WorldMap::OBJECT_BLUE_FLAG) 547 al_draw_filled_rectangle(x*25+5+mapPos.x, y*25+5+mapPos.y, x*25+20+mapPos.x, y*25+20+mapPos.y, al_map_rgb(0, 0, 255)); 548 else if (obj == WorldMap::OBJECT_RED_FLAG) 547 549 al_draw_filled_rectangle(x*25+5+mapPos.x, y*25+5+mapPos.y, x*25+20+mapPos.x, y*25+20+mapPos.y, al_map_rgb(255, 0, 0)); 548 else if (obj == WorldMap::OBJECT_BLUE_FLAG)549 al_draw_filled_rectangle(x*25+5+mapPos.x, y*25+5+mapPos.y, x*25+20+mapPos.x, y*25+20+mapPos.y, al_map_rgb(0, 0, 255));550 550 } 551 551 }
Note:
See TracChangeset
for help on using the changeset viewer.