Changeset d436ac4 in network-game for client/Client/main.cpp
- Timestamp:
- May 18, 2013, 6:36:54 PM (12 years ago)
- Branches:
- master
- Children:
- 7efed11
- Parents:
- 7f2cef0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client/Client/main.cpp
r7f2cef0 rd436ac4 523 523 } 524 524 525 // this should probably be in the WorldMap class 525 526 void drawMap(WorldMap* gameMap) 526 527 { … … 563 564 pos = mapToScreen(p->pos); 564 565 565 if (p->id == curPlayerId) 566 al_draw_filled_circle(pos.x, pos.y, 12, al_map_rgb(255, 0, 0)); 567 else 568 al_draw_filled_circle(pos.x, pos.y, 12, al_map_rgb(191, 0, 0)); 566 p->draw(pos, p->id == curPlayerId); 569 567 } 570 568 }
Note:
See TracChangeset
for help on using the changeset viewer.