- Timestamp:
- May 25, 2013, 7:36:19 PM (12 years ago)
- Branches:
- master
- Children:
- e4c60ba
- Parents:
- df79cfd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client/Client/main.cpp
rdf79cfd ra6066e8 650 650 651 651 if (p->id == curPlayerId) 652 al_draw_filled_circle(pos.x, pos.y, 14, al_map_rgb(0, 0, 0)); 653 654 if (p->team == 0) 655 al_draw_filled_circle(pos.x, pos.y, 12, al_map_rgb(0, 0, 255)); 656 else if (p->team == 1) 652 657 al_draw_filled_circle(pos.x, pos.y, 12, al_map_rgb(255, 0, 0)); 653 else654 al_draw_filled_circle(pos.x, pos.y, 12, al_map_rgb(191, 0, 0));655 658 656 659 if (p->hasBlueFlag) 657 660 al_draw_filled_rectangle(pos.x+4, pos.y-18, pos.x+18, pos.y-4, al_map_rgb(0, 0, 255)); 658 else if (p->hasRedFlag)661 else if (p->hasRedFlag) 659 662 al_draw_filled_rectangle(pos.x+4, pos.y-18, pos.x+18, pos.y-4, al_map_rgb(255, 0, 0)); 660 663 }
Note:
See TracChangeset
for help on using the changeset viewer.