Changeset 193 for trunk/src/MainFrame.cpp
- Timestamp:
- 05/01/2009 07:12:38 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/MainFrame.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/MainFrame.cpp
r191 r193 95 95 config_file_str = config_file.utf8_str(); 96 96 m_config = new configuration::Configuration(config_file_str); 97 m_stats = new statistics::Statistics(m_config); 97 98 98 99 m_evt_handler = new MainFrameEvtHandler(this); … … 570 571 m_skiproll = true; 571 572 573 if (m_numofplaysleft == 13) 574 m_stats->game_started(); 575 572 576 //fill the dice array with the old values 573 577 dice[0]=m_score_dice.GetDice(1); … … 980 984 wxMessageBox(tempstr, wxT("Game Ended"), wxOK | wxICON_INFORMATION, this); 981 985 986 m_stats->game_finished(lowerscore+upperscore); 987 982 988 //submit to high score 983 989 HighScoreHandler(lowerscore+upperscore); … … 1332 1338 MainFrame::~MainFrame() { 1333 1339 // free pointers 1340 delete m_stats; 1334 1341 delete m_config; 1335 1342 delete m_evt_handler;
Note: See TracChangeset
for help on using the changeset viewer.
