Commit Graph

36234 Commits

Author SHA1 Message Date
Mark de Wever
ef3aa73d8d Fix doxygen comment. 2009-10-03 16:02:06 +00:00
Mark de Wever
ce3095d598 Fix doxygen comment. 2009-10-03 16:02:03 +00:00
Mark de Wever
1ba72c61eb Fix doxygen comment. 2009-10-03 16:02:00 +00:00
Mark de Wever
7dc8b5bf41 Fix doxygen comment. 2009-10-03 16:01:56 +00:00
Mark de Wever
6db60d56a8 Fix doxygen comment. 2009-10-03 16:01:53 +00:00
Chusslove Illich
68071ea7d9 Updated source localized images for German. 2009-10-03 12:03:56 +00:00
Mark de Wever
bde86a8929 Add new keyboard event handling. 2009-10-03 10:39:35 +00:00
Mark de Wever
c28e053e8c Add new keyboard event handling. 2009-10-03 10:39:31 +00:00
Mark de Wever
06e3b3fa96 Add new keyboard event handling. 2009-10-03 10:39:28 +00:00
Mark de Wever
ae034fe9b2 Add the keyboard events to the new handler. 2009-10-03 10:39:24 +00:00
Mark de Wever
076156647b Add the proper handler for keyboard events.
The events are not used yet but at least the dispatcher is ready for
them.
2009-10-03 10:39:20 +00:00
Guillaume Melquiond
2eccc67f1f Removed unused constructor user_info. 2009-10-03 08:59:46 +00:00
Guillaume Melquiond
185803217b Removed unused constructor game_info. 2009-10-03 08:59:40 +00:00
Guillaume Melquiond
f6c0602c88 Removed unused member unit::ambush. 2009-10-03 08:59:33 +00:00
Guillaume Melquiond
d9ce17b461 Removed unused members editor::editor_action_area::add_location[s]. 2009-10-03 08:59:28 +00:00
Guillaume Melquiond
72f21dfe68 Removed unused class ai::manager. 2009-10-03 08:59:22 +00:00
Guillaume Melquiond
afd80c3ddb Removed unused class wesnothd::subnet_compare_setter. 2009-10-03 08:59:16 +00:00
Guillaume Melquiond
4576b09b82 Removed unused class editor::editor_action_not_implemented. 2009-10-03 08:59:11 +00:00
Guillaume Melquiond
7fa10d91b4 Removed unused class editor::editor_action_rotate_map. 2009-10-03 08:59:04 +00:00
Guillaume Melquiond
183ede7113 Removed unused class editor::editor_action_paint_hex. 2009-10-03 08:58:58 +00:00
Guillaume Melquiond
891d96cf55 Removed unused member game_logic::position_callable::swap_position. 2009-10-03 08:58:51 +00:00
Guillaume Melquiond
742f5ab497 Removed unused class ai::candidate_action_evaluation_exception. 2009-10-03 08:58:45 +00:00
Guillaume Melquiond
6f5254d762 Removed unused class editor::editor_action_plot_route. 2009-10-03 08:58:39 +00:00
Guillaume Melquiond
cffa45a823 Removed unused class editor::editor_action_creation_fail. 2009-10-03 08:58:33 +00:00
Guillaume Melquiond
b2c60993d4 Removed unused class ai::registry. 2009-10-03 08:58:27 +00:00
Guillaume Melquiond
b2beb52f0c Removed unused class ai::candidate_action_execution_exception. 2009-10-03 08:58:21 +00:00
Guillaume Melquiond
3a2e8c39f0 Removed unused class game_logic::position_callable::swapper. 2009-10-03 08:58:11 +00:00
Ali El Gariani
83180baad0 Use early loop breaking 2009-10-02 23:57:18 +00:00
Ali El Gariani
bbac20c059 Better AI detection of impassable terrain by comparing...
...cost to the unit's max MP.

This optimize some cases and prevent the AI considering paths passing
by a 99MP hex simply as a "very long" path.
2009-10-02 23:53:52 +00:00
Ali El Gariani
f343238f87 Remove all the unused cruft in AI move_cost_calculator
No change in its (dumb) logic.
2009-10-02 23:43:33 +00:00
Ali El Gariani
3b1fd9e83a Always use reference when possible, esp. for heavy object. 2009-10-02 23:35:17 +00:00
Mark de Wever
610eb86f42 Add the dispatcher to the signal functions.
This allows the dispatcher to grab the keyboard/mouse and send the
grabbing to higher levels.
2009-10-02 21:16:49 +00:00
Mark de Wever
98b5e41197 Added constructor to initialize all members. 2009-10-02 21:16:33 +00:00
Mark de Wever
e05f68b77a Strip trailing whitespace. 2009-10-02 19:31:49 +00:00
Mark de Wever
743c91dbf4 Assign all members in operator=.
cppcheck discovered a missing one, found more and fixed all operators=.
(This fix might also fix bug #13878, but not tested).
2009-10-02 19:28:59 +00:00
Mark de Wever
78618ea6c3 Changelog update. 2009-10-02 19:28:55 +00:00
Mark de Wever
16988906af Initialize all members. 2009-10-02 19:28:48 +00:00
Mark de Wever
918a56b74a Initialize all members. 2009-10-02 19:28:45 +00:00
Mark de Wever
084a5a3131 Initialize all members. 2009-10-02 19:28:42 +00:00
Mark de Wever
97dbef2169 Initialize all members. 2009-10-02 19:28:38 +00:00
Mark de Wever
7b8f856f44 Initialize all members. 2009-10-02 19:28:35 +00:00
Mark de Wever
8ccd792e44 Initialize all members. 2009-10-02 19:28:31 +00:00
Mark de Wever
457c791260 Post instead of pre increment a variable.
Issue found by cppcheck.
2009-10-02 19:28:28 +00:00
Mark de Wever
b92cdb5aeb Post instead of pre increment a variable.
Issue found by cppcheck.
2009-10-02 19:28:24 +00:00
Mark de Wever
72dc66fde9 Post instead of pre increment a variable.
Issue found by cppcheck.
2009-10-02 19:28:21 +00:00
Mark de Wever
dfff8a165b Post instead of pre increment a variable.
Issue found by cppcheck.
2009-10-02 19:28:17 +00:00
Mark de Wever
dfa41c837f Post instead of pre increment a variable.
Issue found by cppcheck.
2009-10-02 19:28:14 +00:00
Mark de Wever
b8ce1f108e Post instead of pre increment a variable.
Issue found by cppcheck.
2009-10-02 19:28:11 +00:00
Mark de Wever
82949604bb Post instead of pre increment a variable.
Issue found by cppcheck.
2009-10-02 19:28:07 +00:00
Mark de Wever
116d9f03ce Post instead of pre increment a variable.
Issue found by cppcheck.
2009-10-02 19:28:04 +00:00