Changeset 177
- Timestamp:
- 10/08/2008 03:50:42 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
-
MainFrame.cpp (modified) (1 diff)
-
ScoreDice.cpp (modified) (2 diffs)
-
configuration.cpp (modified) (3 diffs)
-
configuration.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/MainFrame.cpp
r175 r177 830 830 { 831 831 wxString out; 832 int temp = 0;833 832 if(m_rolls < 3){ 834 833 YahtzeeBonus(); -
trunk/src/ScoreDice.cpp
r148 r177 141 141 { 142 142 bool three = false; 143 short int temp = 0;144 143 145 144 for (int i=0; i<6; i++) … … 158 157 { 159 158 bool four = false; 160 short int temp = 0;161 159 162 160 for (int i=0; i<6; i++) -
trunk/src/configuration.cpp
r176 r177 275 275 276 276 bool Configuration::isHighscore(int score) { 277 const int highscore_list_size = atoi(m_settings["highscore-list-size"].c_str());277 const unsigned int highscore_list_size = atoi(m_settings["highscore-list-size"].c_str()); 278 278 if (m_highscores.size()<highscore_list_size) { 279 279 // we have extra room in the highscore list … … 290 290 291 291 int Configuration::submitHighscore(int score, string name, string date) { 292 const int highscore_list_size = atoi(m_settings["highscore-list-size"].c_str());293 int place = 1;292 const unsigned int highscore_list_size = atoi(m_settings["highscore-list-size"].c_str()); 293 unsigned int place = 1; 294 294 HighscoreItem temp_item; 295 295 … … 336 336 } 337 337 338 void Configuration::setHighscoresSize( int size)338 void Configuration::setHighscoresSize(size_t size) 339 339 { 340 340 -
trunk/src/configuration.h
r167 r177 78 78 void clearHighscores(); 79 79 80 void setHighscoresSize( int size);80 void setHighscoresSize(size_t size); 81 81 private: 82 82 /**
Note: See TracChangeset
for help on using the changeset viewer.
