Commit 91dd615dac22bf465267e5e3ce145a8da81541d8
- Diff rendering mode:
- inline
- side by side
ChangeLog
(6 / 1)
|   | |||
| 1 | 2007-01-15 Eugenio Favalli <elvenprogrammer@gmail.com> | ||
| 1 | 2007-01-15 Bjørn Lindeijer <bjorn@lindeijer.nl> | ||
| 2 | |||
| 3 | * src/gui/viewport.cpp, src/gui/viewport.h: Fixed issue where the | ||
| 4 | player stops walking. | ||
| 5 | |||
| 6 | 2007-01-15 Eugenio Favalli <elvenprogrammer@gmail.com> | ||
| 2 | 7 | ||
| 3 | 8 | * data/help/header.txt, NEWS, README: Updated release date. | |
| 4 | 9 |
src/gui/menuwindow.cpp
(2 / 1)
|   | |||
| 58 | 58 | }; | |
| 59 | 59 | int x = 0, y = 3, h = 0; | |
| 60 | 60 | ||
| 61 | for (const char **curBtn = buttonNames; *curBtn; curBtn++) { | ||
| 61 | for (const char **curBtn = buttonNames; *curBtn; curBtn++) | ||
| 62 | { | ||
| 62 | 63 | gcn::Button *btn = new Button(*curBtn, *curBtn, &listener); | |
| 63 | 64 | btn->setPosition(x, y); | |
| 64 | 65 | add(btn); |
src/gui/updatewindow.cpp
(3 / 3)
|   | |||
| 138 | 138 | if (event.getId() == "cancel") | |
| 139 | 139 | { | |
| 140 | 140 | // Register the user cancel | |
| 141 | mUserCancel=true; | ||
| 141 | mUserCancel = true; | ||
| 142 | 142 | // Skip the updating process | |
| 143 | 143 | if (mDownloadStatus == UPDATE_COMPLETE) | |
| 144 | 144 | { | |
| … | … | ||
| 372 | 372 | case UPDATE_ERROR: | |
| 373 | 373 | if (mThread) | |
| 374 | 374 | { | |
| 375 | if(mUserCancel){ | ||
| 375 | if (mUserCancel) { | ||
| 376 | 376 | // Kill the thread, because user has canceled | |
| 377 | 377 | SDL_KillThread(mThread); | |
| 378 | 378 | // Set the flag to false again | |
| 379 | 379 | mUserCancel = false; | |
| 380 | 380 | } | |
| 381 | else{ | ||
| 381 | else { | ||
| 382 | 382 | SDL_WaitThread(mThread, NULL); | |
| 383 | 383 | } | |
| 384 | 384 | mThread = NULL; |
src/gui/viewport.cpp
(1 / 1)
|   | |||
| 348 | 348 | } | |
| 349 | 349 | ||
| 350 | 350 | void | |
| 351 | Viewport::mouseMoved(gcn::MouseEvent &event) | ||
| 351 | Viewport::mouseDragged(gcn::MouseEvent &event) | ||
| 352 | 352 | { | |
| 353 | 353 | if (!mMap || !player_node) | |
| 354 | 354 | return; |
src/gui/viewport.h
(1 / 1)
|   | |||
| 92 | 92 | * Handles mouse move on map | |
| 93 | 93 | */ | |
| 94 | 94 | void | |
| 95 | mouseMoved(gcn::MouseEvent &event); | ||
| 95 | mouseDragged(gcn::MouseEvent &event); | ||
| 96 | 96 | ||
| 97 | 97 | /** | |
| 98 | 98 | * Handles mouse button release on map. |

