40956 Commits

Author SHA1 Message Date
Timotei Dolean
e7ae51580b eclipse plugin: fix some NullReference exceptions...
...when the selection was null
2010-07-20 22:05:12 +00:00
Timotei Dolean
4b49bf900f eclipse plugin: add centering for new wizard dialogs 2010-07-20 22:04:52 +00:00
Timotei Dolean
b869102949 eclipse plugin: refresh the user addons directory after artifact creation 2010-07-20 22:04:32 +00:00
Timotei Dolean
ca2ecd147e eclipse plugin: fix the wizards by signaling the monitor as done 2010-07-20 22:04:12 +00:00
Timotei Dolean
47df633426 eclipse plugin: refresh the addons project and add filter for new project 2010-07-20 22:03:50 +00:00
Timotei Dolean
0e5bf90034 eclipse plugin: minor fix to wizard page 2010-07-20 22:03:30 +00:00
Timotei Dolean
dd0287704e eclipse plugin: code cleanup, refactoring and documenting 2010-07-20 22:03:08 +00:00
Timotei Dolean
b86b81f217 eclipse plugin: move the classes to a better place 2010-07-20 22:02:45 +00:00
Timotei Dolean
1388b27756 eclipse plugin: move all constants to the 'Constants' class 2010-07-20 22:02:24 +00:00
Timotei Dolean
6ca3a0b729 eclipse plugin: code refactorings and cleanup 2010-07-20 22:02:02 +00:00
Timotei Dolean
ec291e959d eclipse plugin: skip adding page for starting gold if there are no preferences 2010-07-20 22:01:41 +00:00
Timotei Dolean
0bbb6d5969 eclipse plugin: wizards enhancements 2010-07-20 22:01:19 +00:00
Timotei Dolean
f902c0fd6d eclipse plugin: ehnance the wizard pages 2010-07-20 22:00:57 +00:00
Timotei Dolean
c44575aa4c eclipse plugin: add a better way of storing project-persistent properties 2010-07-20 22:00:33 +00:00
Timotei Dolean
ef54c6a6a1 eclipse plugin: rename the preferences page 2010-07-20 22:00:13 +00:00
Timotei Dolean
bc06902727 eclipse plugin: add a better way to enter the starting gold by difficulties 2010-07-20 21:59:51 +00:00
Gabriel Morin
3ba322db84 Whiteboard: Fix logic for end-or-turn dialog box. 2010-07-20 21:10:59 +00:00
Gabriel Morin
f2be072f83 Whiteboard: fix regression in ctrl key behavior. 2010-07-20 21:10:52 +00:00
Gabriel Morin
1addd4396a Whiteboard: tentatively display message when ending turn...
...with planned moves defined.
2010-07-20 21:10:45 +00:00
J.W. Bjerk
580685f764 replaced boucman's alterations that i accidentally overwrote. 2010-07-20 20:45:01 +00:00
Mark de Wever
d918045c7a Make the destructor public. 2010-07-20 20:26:01 +00:00
Mark de Wever
aa0b6ca9ad Fix a compiler warning. 2010-07-20 20:08:16 +00:00
Ali El Gariani
e1d969595f Fix a merging error in 2010-07-20T19:46:08Z!alinkmaze@gmail.com 2010-07-20 19:55:16 +00:00
Ali El Gariani
9c18ac4d3e Optimize again local_light prototype.
Only use it for hexes in ToD areas (or adjacent to).

This means no memory increase for map without ToD areas.
2010-07-20 19:46:13 +00:00
Ali El Gariani
7e53c42340 More use of reference for ToD.
Helps to reduce a bit the overhead of local_light for common case.
2010-07-20 19:46:08 +00:00
Ali El Gariani
ffab40fb13 Optimize local ToD access by using reference 2010-07-20 19:46:04 +00:00
Ali El Gariani
569386d5e1 Use default parameter to combine 2 functions 2010-07-20 19:46:01 +00:00
Ali El Gariani
a0fe68705e Remove now unused parameter 2010-07-20 19:45:57 +00:00
Ali El Gariani
996f2e5266 Fix bugs in 'illuminates' when using non-standard values (not 25).
Now max/min_value clamps final lawful bonus, unless ToD and terrain
light effect was stronger.

This allow to continue not specfying min_value(=0) in weaker 'illuminates'.
2010-07-20 19:45:53 +00:00
Ali El Gariani
36a23666a9 Remove now useless parameter 2010-07-20 19:45:50 +00:00
Ali El Gariani
2ec0c400f6 Use resources in tod_manager 2010-07-20 19:45:45 +00:00
Ali El Gariani
7a5f83fbf5 return const reference when possible 2010-07-20 19:45:40 +00:00
Ali El Gariani
abec0c3563 Make local_light prototype less wasteful...
...(only use lightmap for light transitions)
2010-07-20 19:45:37 +00:00
Mark de Wever
ea78222d76 Avoid an error due to missing macros.
I assume eleazar_ forgot to commit a new file with 2010-07-20T17:47:02Z!me@jwbjerk.com.
2010-07-20 19:42:01 +00:00
Guillermo Biset
1edf8db3b4 Fixes a concurrency bug in the ana implementation:
...A receive handler was created with a timeout parameter, but if
multiple messages were received interim only the last one was used,
discarding some. The connection bug still shows up (less frequently)
and the ana server doesn't show anybody in the lobby.
2010-07-20 18:00:34 +00:00
J.W. Bjerk
cde1cc53a3 convert reef to an overlay. This needs better graphics. 2010-07-20 17:47:02 +00:00
J.W. Bjerk
85ebb88d76 tweaking water colors. 2010-07-20 17:30:03 +00:00
Guillaume Melquiond
04a240c55e Reverted change of vconfig::child introduced by 2010-05-25T00:54:52Z!ai0867@gmail.com.
(Fix for bug #16211.)
2010-07-20 10:47:04 +00:00
Guillaume Melquiond
32e78828e6 Removed unused method ai::formula_ai::path_calculator. 2010-07-20 10:47:00 +00:00
Guillaume Melquiond
1966f32d13 Removed unused member ai::formula_ai::store_outcome_position. 2010-07-20 10:46:55 +00:00
Guillaume Melquiond
c62434de89 Removed unused function sort_units. 2010-07-20 10:46:51 +00:00
Guillaume Melquiond
2c96d0e13f Removed unused method unit_type_data::unit_type_exists. 2010-07-20 10:46:46 +00:00
Guillaume Melquiond
603906f704 Removed unused constructors t_string_base::walker. 2010-07-20 10:46:41 +00:00
Timotei Dolean
8bd2dd5eda eclipse plugin: add generator for starting gold...
...based on currently set difficulties
2010-07-20 09:19:44 +00:00
Timotei Dolean
a23c813e97 eclipse plugin: add possibility to embed the map into the scenario file 2010-07-20 09:19:21 +00:00
Gabriel Morin
e5000fd850 Whiteboard: prevent observers from activating the whiteboard. 2010-07-20 07:52:38 +00:00
Gabriel Morin
a6d487b87c Whiteboard: modifications to unit selection. 2010-07-20 07:52:32 +00:00
Gabriel Morin
d942b9ffd0 Whiteboard: modifications to unit selection. 2010-07-20 07:52:26 +00:00
Gabriel Morin
c420301699 Whiteboard: went back to using a pointer...
...instead of looking up the selected unit in the unit map every time.
2010-07-20 07:52:19 +00:00
Gabriel Morin
30b781e82b Whiteboard: modifications to unit selection. 2010-07-20 07:52:13 +00:00