41803 Commits

Author SHA1 Message Date
Gabriel Morin
9aa8064c55 Whiteboard/recall: planned recalls now affect display of...
...available units in recall list, as well as the message about not
enough gold being available.
2010-08-07 09:22:00 +00:00
Gabriel Morin
cf7fae525d Whiteboard/recall: highlight visitor. 2010-08-07 09:21:51 +00:00
Gabriel Morin
61845579d9 Whiteboard/recall: remove unit from recall list when applying the future unit map, and put it back afterwards. 2010-08-07 09:21:44 +00:00
Gabriel Morin
c14bcf202b Whiteboard/validate_visitor: forgot to call the superclass...
...on recruit/recall once they're known as valid.
2010-08-07 09:21:37 +00:00
Gabriel Morin
a1dfc8b40e Whiteboard/recruit: avoid referencing a potentially invalid pointer. 2010-08-07 09:21:31 +00:00
Gabriel Morin
8934b6aabb Whiteboard: moved unit_comparator_predicate into the wb:: namespace,
...in manager.[hc]pp
2010-08-07 09:21:18 +00:00
Gabriel Morin
adf271d532 Whiteboard/recall: mapbuilder and validate visitors. 2010-08-07 09:21:05 +00:00
Gabriel Morin
1eb47ef818 Whiteboard/recall: code in side_actions and manager to create planned recalls. 2010-08-07 09:20:54 +00:00
Gabriel Morin
80bed52771 Whiteboard/recall: forgot to set some member functions to non-pure-virtual. 2010-08-07 09:20:46 +00:00
Gabriel Morin
64bf95d17b Whiteboard/recall: execute method and destructor. 2010-08-07 09:20:36 +00:00
Gabriel Morin
62e621ba53 Whiteboard/recruit: use internal team_index() method...
...instead of the viewing side.
2010-08-07 09:20:30 +00:00
Gabriel Morin
1f8cd852ce Split a part of menu_events::recall()...
...into a new do_recall() method, so the whiteboard can call
do_recall() directly on planned recall execution.
2010-08-07 09:20:24 +00:00
Gabriel Morin
e783cf0762 Whiteboard/recall: logging. 2010-08-07 09:20:17 +00:00
Gabriel Morin
8b627b7501 Whiteboard/recall: progress on future unit map methods. 2010-08-07 09:20:06 +00:00
Gabriel Morin
e396960528 Whiteboard/recruit: minor adjustments. 2010-08-07 09:19:50 +00:00
Gabriel Morin
2e59696090 Whiteboard/recall: implemented more methods. 2010-08-07 09:19:40 +00:00
Guillaume Melquiond
0fc601d657 Avoided copying and destroying temporary units when displaying them in dialogs. 2010-08-07 08:44:31 +00:00
Guillaume Melquiond
5881d1b6ec Reduced cost of frame_builder constructor by directly initializing fields. 2010-08-07 08:44:24 +00:00
Timotei Dolean
742535159f add 'recall.(c|h)pp' to vs projectfiles 2010-08-07 08:35:41 +00:00
Alexander van Gessel
6ff8ec8748 Make type_error and parse_error inherit from game::error 2010-08-07 02:21:29 +01:00
Alexander van Gessel
e177c3da3d Make (mapgen|io|editor)_exception inherit from game::error,
...rather than std::exception
2010-08-07 00:57:46 +01:00
Timotei Dolean
6b0577da4d eclipse plugin: replace the curent IEFS handlers with...
...better ones, that can allow much more features
2010-08-06 21:46:13 +00:00
Timotei Dolean
72aa555fa2 eclipse plugin: add skeleton for going to macro definitions 2010-08-06 21:45:51 +00:00
Timotei Dolean
a40b8dde02 eclipse plugin: refactor the way the editors...
...are used and add returns values for some methods
2010-08-06 21:45:30 +00:00
Timotei Dolean
09995a4a39 eclipse plugin: add proper function for checking equality 2010-08-06 21:45:09 +00:00
Timotei Dolean
6889cd3793 eclipse plugin: add support for external files - part 2 2010-08-06 21:44:50 +00:00
Timotei Dolean
0ad8b7a6d3 eclipse plugin: add suport for external files 2010-08-06 21:44:31 +00:00
Timotei Dolean
27c645e252 Convert CRLF to LF 2010-08-06 21:44:10 +00:00
Timotei Dolean
f1bbbab7ea Convert CRLF to LF 2010-08-06 21:43:52 +00:00
Timotei Dolean
62b0d738ff Convert CRLF to LF 2010-08-06 21:43:27 +00:00
Timotei Dolean
f3bb495761 eclipse plugin: add macro parameters 2010-08-06 21:43:07 +00:00
Timotei Dolean
6149d9814d eclipse plugin: parse the arguments of the macro in the defin 2010-08-06 21:42:48 +00:00
Timotei Dolean
25c2151138 eclipse plugin: add autocompletion for macro calls 2010-08-06 21:42:28 +00:00
Timotei Dolean
81397c2b7f eclipse plugin: read existing defines (if any)...
...when creating the cache for each project
2010-08-06 21:42:08 +00:00
Timotei Dolean
8180f0317c eclipse plugin: export the preprocessor package 2010-08-06 21:41:49 +00:00
Timotei Dolean
1dd32d0cd8 enhance the output shown to the user 2010-08-06 21:41:29 +00:00
Timotei Dolean
73ca560d48 eclipse plugin: ensure the file is created...
...by creating any non-existent subsequent directories
2010-08-06 21:41:09 +00:00
Timotei Dolean
9e0b36ad7e eclipse plugin: skip reading defines if...
...no modification were done to "_main.cfg"
2010-08-06 21:40:51 +00:00
Timotei Dolean
bd394921b5 add return code '1' in case of errors, since some...
...command line tools will use that
2010-08-06 21:40:32 +00:00
Timotei Dolean
27fa8fa2d7 eclipse plugin: add integer return values instead of boolean...
...so we can have a broader variety to choose from
2010-08-06 21:40:12 +00:00
Timotei Dolean
860d18fd21 eclipse plugin: add reading defines after _main.cfg preprocessing...
...and push the resulted file to subsequent files. In the end
parse the macros in memory so we can use them for autocompletion
and other checkings
2010-08-06 21:39:52 +00:00
Timotei Dolean
5ca89cbe27 eclipse plugin: add parsing of macro defines from file 2010-08-06 21:39:32 +00:00
Timotei Dolean
4ae7962271 add xml header with version and encoding when generating xml 2010-08-06 21:39:13 +00:00
Timotei Dolean
cb5c761715 eclipse plugin: move some methods to a better place...
...to reflect their usage targets
2010-08-06 21:38:52 +00:00
Guillaume Melquiond
afecd349ad Avoided arbitrary return stack. 2010-08-06 21:14:14 +00:00
Guillaume Melquiond
ba266cbab3 Changed misleading name: push should push. 2010-08-06 21:14:11 +00:00
Guillaume Melquiond
c8b1a1c1de Added missing 'colour'. 2010-08-06 20:25:03 +00:00
Guillaume Melquiond
0bf604f20e Avoided creating blank attributes when doing complete copies. 2010-08-06 20:24:59 +00:00
Ali El Gariani
56be6e4513 Also write "colour" in WML for backward compatibility until 1.9.2 2010-08-06 19:45:32 +00:00
Jérémy Rosen
c3a361ea11 small update on the stonebridge provided by lurker 2010-08-06 18:41:14 +00:00