50980 Commits

Author SHA1 Message Date
Gabriel Morin
cc3a42d352 Changelog entries for 2012-10-07T02:18:27Z!gabrielmorin@gmail.com 2012-10-07 02:45:04 +00:00
Richard Kettering
bd6ec9eb94 Updated the konrad and lisar portraits in the tutorial...
...to be the same as the new base portraits in HttT.
2012-10-07 02:20:31 +00:00
Gabriel Morin
1e319ff73c Don't end turn if executing all actions in another way than...
...using the "end turn" action. Fixes bug #19901.
2012-10-07 02:18:27 +00:00
Richard Kettering
e5da0cf3c9 Replaced the old perrin and masked dwarf portraits with DUHH's current work. 2012-10-07 02:14:06 +00:00
Richard Kettering
4159dea592 Updated portraits for the generic ogre, wose, and sea serpent. 2012-10-07 01:37:43 +00:00
J. Tyne
2edf94b9a4 A more varied set of test cases for attack prediction timings...
...and verification.

The old set had several deficiencies, such as every unit with slow
also having only one attack and having the swarm special (so usually
no attacks). This set keeps the specials and stats on separate cycles.
2012-10-05 21:27:54 +00:00
J. Tyne
b927f4abec Some sparse matrix optimizations.
Benchmarking indicated a 40% reduction in run time for attack
predictions.  (Almost 50% when I substituted a rougher test set.)
2012-10-05 21:12:43 +00:00
J. Tyne
6b6015dea3 Introduce a symbolic constant for the number of planes used by prob_matrix.
(I'm not sure if the number will change yet, but at least it's easier
to change if it comes to that.)
2012-10-05 17:11:38 +00:00
J. Tyne
7fdc64c32b Store more state in combat_matrix. 2012-10-05 16:48:27 +00:00
Fabian Müller
ac337530dc LoW::2: Same balancing adjustments. 2012-10-05 16:21:49 +00:00
Fabian Müller
a298e70a40 Cleaned non working elements from editor gui. 2012-10-05 15:55:45 +00:00
J. Tyne
20a29ce40e Let combat_matrix express "fully healed" as "max_hp"...
...rather than "highest row".

(Part of the separation of implementation and interpretation.)
2012-10-05 15:55:44 +00:00
J. Tyne
1ee61dbfa4 extract_results: Further splitting the labor...
...between prob_matrix and combat_matrix.
2012-10-05 15:15:14 +00:00
J. Tyne
94b1c40915 _levelup: Further splitting the labor...
...between prob_matrix and combat_matrix.
2012-10-05 14:51:47 +00:00
J. Tyne
8991c54931 remove_petrify_distortion: Further splitting the labor...
...between prob_matrix and combat_matrix.
2012-10-05 14:32:43 +00:00
J. Tyne
c371a171d4 Push some drain code up from xfer() to where drain is calculated. 2012-10-05 14:21:49 +00:00
J. Tyne
bc43e5b9ad Specialized xfer() for when prob is 1.0. 2012-10-05 14:12:08 +00:00
Nils Kneuper
124aa5eebf updated Scottish Gaelic translation 2012-10-05 09:46:47 +00:00
Elias Pschernig
1dc6611a02 Fixed bug in wmlparser2...
...where <<>> strings were not ignored inside "" strings.
2012-10-04 21:37:33 +00:00
J. Tyne
7a294aa261 Cleanup the receive_blow_* functions.
This includes moving the prob_matrix bookkeeping to a prob_matrix
member function.
2012-10-04 21:11:02 +00:00
J. Tyne
6f32e9bbca Rename a member function to better reflect the spirit of prob_matrix...
...not caring what its numbers mean.
2012-10-04 19:39:15 +00:00
J. Tyne
3c5815121f Cleanup & reworking shift_rows()/shift_cols().
Benchmarking indicated a 10% reduction in run time (not sure exactly why).
2012-10-04 19:26:18 +00:00
Anja Keicher
826706f66e Added conditions to carryover_info constructor...
...to prevent invalid unit creation. Fixes bugs #20211 and #20208
2012-10-04 18:19:43 +00:00
J. Tyne
e9ba419bf1 Some cleanup/reorganization of the prob_matrix constructor.
One side benefit is that the class can now handle the case where both
combatants have battle histories (not that we really need it to handle
that case).
2012-10-04 16:54:52 +00:00
J. Tyne
deb8e1b349 Split the prob_matrix class into matrix implementation (prob_matrix)...
...and combat prediction (combat_matrix).

(The two are independent concepts, and one can attempt to optimize
them independent of each other.)

No code changes yet other than what was needed to obtain data
encapsulation (e.g.  changing some direct member access to accessor
functions).
2012-10-04 14:40:32 +00:00
J. Tyne
e7a76040ac Remove a "todo" that has already been done (in 2008-06-24T05:30:32Z!koraq@xs4all.nl). 2012-10-04 11:10:19 +00:00
Sergey Popov
136f42bd4f Fix bug #20205
Malformed data caused config::error exception to be thrown.

Unfortunately campaignd on catching such an exception had no way to
close the right connection, instead all connections were closed because
the local variable that was supposed to contain connection number wasn't
updated. This is fixed by using boost.exception to attach the necessary
data to config::error objects so it can be used at the catch site.
2012-10-04 02:23:15 +00:00
Alexander van Gessel
98a9b7ad9d with tabs... 2012-10-03 18:29:32 +01:00
Alexander van Gessel
38d92f8692 Reindent a function 2012-10-03 18:25:36 +01:00
Nils Kneuper
784dd2fd05 updated Scottish Gaelic translation 2012-10-03 13:38:56 +00:00
Nils Kneuper
266c00cf8b extended Scottish Gaelic translation credits entry 2012-10-03 12:36:42 +00:00
Alexander van Gessel
f30b8289da Update wescamp trunk version 2012-10-03 09:41:09 +01:00
Alexander van Gessel
4fff686704 Add some extra guards 2012-10-03 09:38:59 +01:00
Alexander van Gessel
78d8156c68 Work around PHP not obeying its own specification 2012-10-03 09:36:11 +01:00
Nils Kneuper
8262c21bdb updated Scottish Gaelic translation 2012-10-03 07:36:18 +00:00
Simon Forsyth
5a8fa36afb Remove need for NOT_SHALLOW_WATER_TO_KEEP macro.
Incidentally optimizes run speed of flooding.
2012-10-03 03:52:24 +00:00
Simon Forsyth
b864d2721b Remove pointless condition...
...since the one-time event is the only thing that can cause it to
evaluate to false
2012-10-03 01:22:10 +00:00
Alexander van Gessel
8b09d1ad27 Add a 1.12 wescamp checkout to update-gettext-stats 2012-10-03 01:19:15 +01:00
Ignacio R. Morelle
d9bc8590f1 Revert "I am still testing"
This reverts commit 2012-10-02T22:55:46Z!shadowm@wesnoth.org.
2012-10-02 22:56:35 +00:00
Ignacio R. Morelle
d5a6f2c930 I am still testing 2012-10-02 22:55:46 +00:00
Ignacio R. Morelle
092e382959 Testing
Just... testing.
2012-10-02 22:52:17 +00:00
Boldizsár Lipka
d07d3e621d Fixed defaults not showing when there's no saved value for an option. 2012-10-02 18:22:21 +00:00
Lari Nieminen
e28fad0543 A few EI bugfixes and enhancements from Loci. 2012-10-02 07:02:00 +00:00
Simon Forsyth
1791147858 Fix crash during cutscene in LoW by adding a dummy sideFixes bug #20208 2012-10-02 05:22:49 +00:00
Simon Forsyth
3ffd2e8210 Fix crash during cutscene of DM by adding placeholder side.
Partial fix for bug #20208
2012-10-02 05:08:26 +00:00
Simon Forsyth
22dfcfad28 Update changelog 2012-10-02 04:34:01 +00:00
Simon Forsyth
21bf2b6e19 Fix bug #19303 by specifying map_placable for all dwarf allies 2012-10-02 02:30:12 +00:00
Boldizsár Lipka
a71c308d65 Support for new add-on type "MP modification"...
...in the add-ons manager and server.
2012-10-01 16:46:00 +00:00
Boldizsár Lipka
f5981ec9fc Apply patch #3360. Fixes bug #19862 and bug #16220 2012-10-01 11:19:26 +00:00
Simon Forsyth
2493535b92 Make ambush macro use just *^F* to catch all forest types.
This makes it now work for dead great trees and palm forests. Fixes
bug #20207
2012-10-01 02:36:53 +00:00