Changeset dfc81f0 in network-game for client/Client/GameRender.cpp
- Timestamp:
- Jul 4, 2014, 8:35:43 PM (10 years ago)
- Branches:
- master
- Children:
- b1ce08c
- Parents:
- 3476207
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client/Client/GameRender.cpp
r3476207 rdfc81f0 2 2 3 3 #include <cmath> 4 #include <iostream> 4 5 5 6 #include <allegro5/allegro_primitives.h> 6 7 7 8 #include "../../common/Common.h" 9 10 using namespace std; 8 11 9 12 void GameRender::drawMap(WorldMap* gameMap) … … 97 100 else if (p->team == 1) 98 101 color = al_map_rgb(255, 0, 0); 102 else { 103 color = al_map_rgb(0, 0, 0); 104 cout << "Failed to determine player team when drawing player" << endl; 105 } 99 106 100 107 al_draw_filled_circle(pos.x, pos.y, 12, color);
Note:
See TracChangeset
for help on using the changeset viewer.