Timotei Dolean
81cf422afa
eclipse plugin: use separate output streams for stdout & stderr
2010-07-22 17:35:06 +00:00
Timotei Dolean
a40747f5e0
eclipse plugin: prevent opening multiple console for the same thing.
...
instead return the already created one
2010-07-22 17:34:50 +00:00
Guillaume Melquiond
c2d7bfe22d
Removed gold overlay when defeating both leaders.
...
(Fix for bug #16140.)
2010-07-22 14:04:44 +00:00
Guillaume Melquiond
53ebcaa5fb
Moved implementation of [unit_overlay]...
...
...and [remove_unit_overlay] to Lua.
Added support for standard unit filter along the way.
2010-07-22 14:04:34 +00:00
Gabriel Morin
6d56edf1aa
Whiteboard: erase temp move when deselecting (fixes regression)
2010-07-22 09:03:09 +00:00
Gabriel Morin
efd6983ccf
Little bonus feature to check out terrain defense...
...
...for the units you select when it's not your turn.
Feedback needed, if people like it I'll do a bit of code cleanup,
otherwise this revision will be easy to revert.
This feature will be useful for the whiteboard's out-of-turn planning,
but I can always re-implement it specifically for the whiteboard move
arrows.
Note: the feature doesn't work while enemy units (at least AI units)
are moving/attacking.
2010-07-22 08:43:19 +00:00
Gabriel Morin
e9e24e7fe6
Whiteboard: erase move when the "Enemy sighted, press t to continue"...
...
...system kicks in. It could be interesting to keep a partial planned
move and let the player execute it (this way the destination would
remain visible, and the decision to continue the move could be
postponed), but I hesitate to develop a parallel mechanism of that
sort.
2010-07-22 08:43:12 +00:00
Gabriel Morin
9f852092a6
Whiteboard: replace all remaining uses of arrow path inside move by use of marked route.
2010-07-22 08:43:06 +00:00
Gabriel Morin
2005bc0d4e
Whiteboard: add new method to move to calculate new route from scratch.
2010-07-22 08:42:59 +00:00
Gabriel Morin
aba4a20778
Whiteboard: added missing parameter to call of move_unit,
...
...which prevented the "enemy sighted" mechanic from working when
executing a wb move.
2010-07-22 08:42:52 +00:00
Guillaume Melquiond
7be50eb9fc
Fixed segfault on game end introduced by 2010-05-30T04:30:44Z!ai0867@gmail.com.
2010-07-22 06:03:04 +00:00
Gabriel Morin
68b6ef55df
Whiteboard: prevent executing a regular move...
...
...for units that have planned actions defined.
2010-07-22 05:50:01 +00:00
Gabriel Morin
fde1c76cb0
Whiteboard: corrections to logging.
2010-07-22 05:19:37 +00:00
Gabriel Morin
65ed1dcfac
Whiteboard: minor cleanup in header.
2010-07-22 05:19:31 +00:00
Gabriel Morin
58f8dbfabd
Whiteboard: Minor changes to whiteboard activation logic,
...
...and yet more logging.
2010-07-22 05:19:25 +00:00
Gabriel Morin
de4a834547
Whiteboard: Fix regression when checking for non-empty path.
2010-07-22 05:19:19 +00:00
Gabriel Morin
9a907249cf
Whiteboard: Don't display end-of-turn remaining planned actions...
...
...notification for observer.
2010-07-22 05:19:12 +00:00
Gabriel Morin
408ffe9a41
Whiteboard: Don't bump a move if it has a src/dst dependency...
...
...with the move it's gonna swap places with in the queue.
2010-07-22 05:19:06 +00:00
Gabriel Morin
bc4a1f56ac
Whiteboard: More logging adjustments.
2010-07-22 05:18:59 +00:00
Gabriel Morin
34c4f30b1c
Whiteboard: More logging adjustments.
2010-07-22 05:18:51 +00:00
Gabriel Morin
40d051807b
Whiteboard: Added logging...
...
...around action creation/deletion/execution/etc.
2010-07-22 03:11:52 +00:00
Gabriel Morin
c9f3e2fc66
Whiteboard: yet another try at robust handling...
...
...of selected unit/move creation. Part 2, finished.
2010-07-22 03:11:46 +00:00
Gabriel Morin
42b88ac5db
Whiteboard: yet another try at robust handling...
...
...of selected unit/move creation. Part 1.
2010-07-22 03:11:38 +00:00
Gabriel Morin
59d6b580ca
Whiteboard: removed unused member variable.
2010-07-22 03:11:32 +00:00
Gabriel Morin
ccaf603345
Whiteboard: replace some direct method calls by use of scoped_planned_unit_map.
2010-07-22 03:11:24 +00:00
Gabriel Morin
a6833662fb
Whiteboard: Calculate new marked_route for move in validate_visitor.
2010-07-22 03:11:17 +00:00
Gabriel Morin
d33c3fe62f
Whiteboard: Prefer using pointer before changing the unit map,
...
...even though unit map doesn't invalidate pointers when moving units.
2010-07-22 03:11:09 +00:00
Gabriel Morin
f24bd39a38
Greatly simplified the pathfind::mark_route method signature...
...
...by using resources::* and finding the unit from the first hex of
the route using the unit map.
2010-07-22 01:18:58 +00:00
Gabriel Morin
933ae0ae0c
Whiteboard: start replacing use of arrow path...
...
...by use of marked_route in validate_visitor.
2010-07-22 01:18:51 +00:00
Gabriel Morin
326577c4e0
Whiteboard: new set_route method for wb::move,
...
...that accepts a pathfind::marked_map.
2010-07-22 01:18:43 +00:00
Gabriel Morin
54fe6c6907
Whiteboard: transform move/attack...
...
...to use pathfind::marked_route internally, step 6, pretty much finished.
2010-07-22 00:32:35 +00:00
Gabriel Morin
593b07d251
Whiteboard: transform move/attack...
...
...to use pathfind::marked_route internally, step 5.
2010-07-22 00:32:28 +00:00
Gabriel Morin
99dc9328d6
Whiteboard: If unit finishes move in a village it captures,
...
...set the move cost to unit_.movement_left().
2010-07-22 00:32:22 +00:00
Gabriel Morin
8ea1d7f0ce
Whiteboard: transform move/attack...
...
...to use pathfind::marked_route internally, step 4.
2010-07-22 00:32:15 +00:00
Gabriel Morin
3f86bfcc0f
Whiteboard: transform move/attack...
...
...to use pathfind::marked_route internally, step 3.
2010-07-22 00:32:08 +00:00
Gabriel Morin
0b40803b1c
Whiteboard: transform move/attack...
...
...to use pathfind::marked_route internally, step 2.
2010-07-22 00:32:01 +00:00
Gabriel Morin
8529f1bfeb
Updated my about.cfg entry
2010-07-22 00:31:54 +00:00
Gabriel Morin
4111558f4f
Whiteboard: transform move/attack...
...
...to use pathfind::marked_route internally, step 1.
2010-07-22 00:31:48 +00:00
Gabriel Morin
3edcc8486f
marked_route now keeps an internal plain_route...
...
...and directly exposes its 'steps' and 'move_cost' variables.
2010-07-22 00:31:40 +00:00
Guillermo Biset
e4186a3b11
Added dummy methods to the ana implementation to achieve compilation.
2010-07-21 21:34:18 +00:00
Mark de Wever
cf60475372
Add a missing include.
...
Also moved another include inside the include guards.
2010-07-21 21:28:48 +00:00
Mark de Wever
aed8edf30b
Fix typo in debug output.
2010-07-21 21:28:45 +00:00
Guillermo Biset
593870cf27
Removed config output from the ana implementation,
...
...added an asio_timers.cpp file (to separate timers.hpp) and upgraded
ana's documentation a little.
2010-07-21 20:20:50 +00:00
Timotei Dolean
b8b10a0dcc
eclipse plugin: add parsing for output from wmlscope, wmllint...
...
...in the builder
2010-07-21 19:45:24 +00:00
Timotei Dolean
ac827b35ce
eclipse plugin: check tag requirements
2010-07-21 19:45:06 +00:00
Jérémy Rosen
9975b49cb2
forgot to remove some terrain debug macros, bridges should be much better now
2010-07-21 18:53:14 +00:00
Guillermo Biset
e7d2a98711
Added information to my entry in about.cfg.
2010-07-21 18:10:19 +00:00
Nils Kneuper
2ba1bf75ec
move billynuxs entry to programmers
2010-07-21 18:07:32 +00:00
Timotei Dolean
d8e2ae5d05
eclipse plugin: skip forbidden keys
2010-07-21 18:00:38 +00:00
Timotei Dolean
3e4467e951
eclipse plugin: order tags/children by cardinality,
...
...showing first the required tags/keys
2010-07-21 18:00:20 +00:00