Changeset 581058c in network-game for client/Client/Window.cpp
- Timestamp:
- Dec 9, 2012, 4:39:09 PM (12 years ago)
- Branches:
- master
- Children:
- da692b9, e607c0f
- Parents:
- 3b1efcc (diff), 1a1aebd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client/Client/Window.cpp
r3b1efcc r581058c 8 8 Window::~Window(void) 9 9 { 10 for( int x=0; x<this->vctGui.size(); x++)10 for(unsigned int x=0; x<this->vctGui.size(); x++) 11 11 delete this->vctGui[x]; 12 12 } … … 26 26 al_clear_to_color(al_map_rgb(0, 0, 0)); 27 27 28 for( int x=0; x<this->vctGui.size(); x++)28 for(unsigned int x=0; x<this->vctGui.size(); x++) 29 29 this->vctGui[x]->draw(display); 30 30 } … … 32 32 bool Window::handleEvent(ALLEGRO_EVENT& e) 33 33 { 34 for( int x=0; x<this->vctGui.size(); x++) {34 for(unsigned int x=0; x<this->vctGui.size(); x++) { 35 35 if(this->vctGui[x]->handleEvent(e)) { 36 36 return true;
Note:
See TracChangeset
for help on using the changeset viewer.