Commit graph

649 commits

Author SHA1 Message Date
Alexander van Gessel
7eea4c5fb9 Import khalifate from wesnoth-umc-dev r19414 2013-12-22 01:55:00 +01:00
David Mikos
9780a8a53f Fix missing background dragonguard image in mp map Aethermaw 2013-12-22 10:20:45 +10:30
fendrin
92a6d30ee7 Put the time schedule macros in use. 2013-12-18 00:46:57 +01:00
mattsc
1e7e791eb5 MP eras file: Fix indenting 2013-11-14 09:58:20 -08:00
Boldizsár Lipka
67aa875874 Era descriptions. 2013-11-06 22:37:32 +01:00
Andrius Silinskas
da65ff655b Revert "Added "controller_lock=no" for multiplayer maps."
Reverting since "controller_lock" will be set to "no" by default.

This reverts commit 6e337de378.
2013-10-27 09:13:14 +00:00
Andrius Silinskas
6e337de378 Added "controller_lock=no" for multiplayer maps.
These changes guarantees that it will be possible to select any kind of
controller in MP Connect screen in all multiplayer maps.
2013-10-11 20:35:27 +01:00
Andrius Silinskas
77523d86d6 Refactor faction set up in multiplayer.
The code has been improved to switch from index lookups to lookups by
ids. This makes the implementation more flexible for future improvements
and easier for maintenance.

The "Custom" faction has been added. It is automatically chosen and
locked for sides with a recruit list. The sides without recruit list
won't see it in their faction choice combo box.

The recruit list in side will be now be overriden by a faction if map
settings are not in use.
2013-09-05 18:33:33 +01:00
Alexander van Gessel
38b224c1ff Revert "Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old""
This reverts commit 23b72d6956.
2013-08-09 00:13:46 +02:00
Thibault Févry
23b72d6956 Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old"
This reverts commit 5fa5c03411, reversing
changes made to 06374c64ba.
2013-08-08 18:50:46 +02:00
fendrin
5191331565 Grouped the map generators into a folder and added the yamg. 2013-07-20 15:59:29 +02:00
Eric S. Raymond
8c044a01db Mainline campaigns are wmllint/wmlscope clean again.
Unfortunately, this required telling wmlscope to ignore all present
instances of new-style animation wildcarding. Some rather messy changes
to wmlscope will have to be considered if it gets more widely used.
2013-03-28 11:33:43 -04:00
Ignacio R. Morelle
5412a4f81c mp: Add trailing newline at EOF to maps 2013-03-24 08:09:43 +00:00
J. Tyne
1edf9b8a97 Lost a "first_time_only=no" in 2013-02-02T02:38:46Z!jt_coding@verizon.net. 2013-02-02 03:53:41 +00:00
J. Tyne
fac47d0f34 Make sure the scenario-ending events actually fire;
there was a chance of them not firing ever since WML division was
changed to floating point.

Also changelog entries for this and 2013-02-01T04:48:38Z!jt_coding@verizon.net.
2013-02-02 03:02:20 +00:00
J. Tyne
c0a085108c Define the victory-defining event within the event that makes victory possible. 2013-02-02 02:57:45 +00:00
J. Tyne
5315735d81 Reduce calculations by subtracting 1...
...before calling the REGULAR_RANDOM_SPAWNS macro.
2013-02-02 02:48:10 +00:00
J. Tyne
08730dd872 Simplify the setting of the final turn limit. 2013-02-02 02:40:49 +00:00
J. Tyne
d6853fa5ad Simplify the event extending the turn limit and firing final spawns...
...with more advanced event handling.
2013-02-02 02:38:46 +00:00
J. Tyne
dcb69362ff Remove an unused variable. 2013-02-02 00:23:05 +00:00
J. Tyne
4582bd0e1c Simplify the victory check by nesting events and using [filter_condition]...
...instead of [if].
2013-02-02 00:19:32 +00:00
J. Tyne
3bfb51743b Also decrement the manually-tracked length when clearing a spawn group.
(I forgot to copy that line when converting REMOVE to CLEAR.)
2013-02-01 06:26:51 +00:00
J. Tyne
80caf8623e Use the simpler CLEAR_SPAWN_GROUP instead of the long REMOVE_SPAWN_GROUP. 2013-02-01 05:17:13 +00:00
J. Tyne
a4ced0614e Convert some {VARIABLE_OP X value Y}'s to {VARIABLE X Y}. 2013-02-01 05:06:29 +00:00
J. Tyne
370e7b5fbf Remove some stray dollar signs. 2013-02-01 04:58:07 +00:00
J. Tyne
0982804dc7 Consistency: spawn in the top two rows instead of the top three.
(The other spawn locations cover 2 rows or columns.)
2013-02-01 04:54:50 +00:00
J. Tyne
3a65fbd2c8 Only choose spawn locations that are on-board (not border) locations.
Otherwise the spawning will fail.
2013-02-01 04:48:38 +00:00
J. Tyne
82b26cf7fe Merge an [if] into a [while] conditional...
...so we don't loop more often than is useful.
2013-01-31 23:37:06 +00:00
J. Tyne
4adfa2a576 Solve the "invalid WML array index" messages emitted...
...upon starting turn 2 of Dark Forecast.
2013-01-31 23:04:57 +00:00
J. Tyne
efb6189879 Initialize a variable outside the loop where it is incremented.
This should allow the intended limitation of at most two spawns after
$final_turns.
2013-01-31 06:30:13 +00:00
J. Tyne
80638bdd0e Remove an unsed variable. 2013-01-31 06:22:54 +00:00
J. Tyne
b4a9505e0b Simplify the new_turn event that spawns the waves of creatures. 2013-01-31 06:22:27 +00:00
J. Tyne
7a6c382851 Don't waste time adding and subtracting zero. 2013-01-31 06:04:05 +00:00
J. Tyne
c9627819b2 Move a conditional earlier.
The logic is exactly the same, but this might read a bit better (and
is marginally more efficient).
2013-01-31 06:01:11 +00:00
J. Tyne
b98fcd866e Sides with no_leader=yes have no use for keys from SingleUnitWML. 2013-01-31 05:38:28 +00:00
J. Tyne
067b7bf620 Less round-about way to update the weather. 2013-01-31 05:26:41 +00:00
J. Tyne
72af74ca4d Simplify RANDOMIZE_INDEX, eliminating two temporary variables. 2013-01-31 03:50:25 +00:00
J. Tyne
8dc87d7d82 Simplify how some variables receive their values,
and remove some unused and redundant variables.
2013-01-31 02:15:51 +00:00
Jérémy Rosen
5662cbcc38 new syntax for animation lines, simplifies mainline WML quite a bit.
patch by Coffee
2013-01-26 22:33:51 +00:00
Simon Forsyth
0f4f0aaf33 Remove Silver Mage as a leader for Age of Heroes as per bug #19595.
The mobility is truly insane on maps with multiple keeps.
2012-12-04 03:14:08 +00:00
Simon Forsyth
5cacbda0d0 Change tropical forests near desert on multiplayer maps to desert trees 2012-11-16 02:16:39 +00:00
Simon Forsyth
7193a6fd46 Replace jungle trees with desert trees on Howling Ghost Badlands 2012-10-13 19:33:41 +00:00
Charles Dang
0467098eb7 Use campfire terrain in TSG instead of {ANIMATED_CAMPFIRE} macro 2012-08-25 10:10:06 +00:00
Anonymissimus
e3b1f228ae fix unresolved references as reported by wmlscope 2012-08-19 19:01:02 +00:00
Steven Panek
2caea903b0 Fixed bug #19677. 2012-04-30 19:49:59 +00:00
Alexander van Gessel
315f067901 Reapply patch #2642 as the random-leader crash has been fixed 2012-04-08 17:14:19 +01:00
Jérémy Rosen
91c9246ff1 revert patch 2642 since it faults on command line startup 2012-04-08 13:40:04 +00:00
Lari Nieminen
93a0dca160 Changes to the schedules of Fallenstar Lake and Silverhead Crossing,
...as requested by Doc Paterson.
2012-04-02 13:20:47 +00:00
Alexander van Gessel
4173462368 Don't count dead sides for the end-game advantage 2012-03-18 02:43:31 +01:00
Jérémy Rosen
631e39d5ac forgot a file, I still have stuff to learn about svn 2012-03-07 19:23:54 +00:00