Enno Rehling
|
293190703f
|
make maximum number of people transferred to a faction configurable
make E2 transfers basically unlimited.
|
2015-03-13 21:10:39 +01:00 |
Enno Rehling
|
0bd1a8d6f4
|
add a utility function to test for message types.
|
2015-01-12 17:50:10 +01:00 |
Enno Rehling
|
481275aef1
|
refactor: eliminate the getunitpeasants global variable.
bugfix: it was possible to uncover stealth units with GIVE CONTROL.
|
2014-12-12 20:53:39 +01:00 |
Enno Rehling
|
ef415c66d0
|
Fix GIVE 0 behavior on oceans.
|
2014-12-11 08:51:03 +01:00 |
Enno Rehling
|
215136465b
|
refactoring: getunitpeasants is an awful global hack, and I am pushing it out of give_men so I can eliminate it more easily.
|
2014-12-10 23:05:29 +01:00 |
Enno Rehling
|
f1662077c3
|
test giving too many and too few units.
start moving give-to-peasants logic into its own function.
|
2014-12-10 22:35:35 +01:00 |
Enno Rehling
|
33a5e0aa9d
|
test giving men to other faction.
refactor give_men to return a message.
major milestone reached: 200 unit tests.
|
2014-12-10 21:17:00 +01:00 |
Enno Rehling
|
2a61dc4d11
|
prepare for give_men refactoring by writing some basic tests.
|
2014-12-10 20:44:33 +01:00 |
Enno Rehling
|
38a0a02565
|
refactor tests for giving, add test for GIVE HERBS.
|
2014-11-03 08:33:07 +01:00 |