Charles Dang
fae6da9ad1
MP Lobby: added a game status icon for Registered Users Only
2016-08-20 22:18:48 +11:00
Charles Dang
b672c24ccb
Gamestate Inspector: further design improvements
2016-08-20 21:56:22 +11:00
Wedge009
7cc7e70a83
Prevent MSVC complaint about type mismatch.
2016-08-20 19:39:43 +10:00
Jyrki Vesterinen
0dfb365287
Update Visual Studio project
2016-08-20 11:51:27 +03:00
Jyrki Vesterinen
61a22556ce
Fix multiplayer tests getting stuck in Travis CI
2016-08-20 11:45:39 +03:00
Jyrki Vesterinen
8716d3f784
Make wesnothd build with Visual Studio
2016-08-20 10:48:48 +03:00
Celtic Minstrel
d5a78dfcd0
Redesign gamestate inspector window
2016-08-20 02:52:11 -04:00
Celtic Minstrel
cef1674ce4
Implment tree node walker
2016-08-20 02:52:11 -04:00
Celtic Minstrel
f5acf47a19
Rename indention -> indentation
2016-08-20 02:52:11 -04:00
Celtic Minstrel
178ef3118a
MP Create: Minor cleanup
2016-08-20 02:52:11 -04:00
Celtic Minstrel
ba8c3b97b7
Dropdown list: Honour the request for markup
2016-08-20 02:52:11 -04:00
Celtic Minstrel
5bcc7a07f7
Add get_team() to display_context for 1-indexed lookup
2016-08-20 02:52:11 -04:00
Celtic Minstrel
43f5deaaf0
Rename potentially ambiguous function
2016-08-20 02:52:11 -04:00
Charles Dang
7fab08508f
Merge pull request #753 from GregoryLundberg/GL_gender_messages_fix
...
Fix bug with gender-specific messages in [message]
2016-08-20 12:59:41 +11:00
Charles Dang
1591ecef66
Merge pull request #752 from GregoryLundberg/GL_no_turn_limit
...
HAS_NO_TURN_LIMIT objectives macro
2016-08-20 12:59:24 +11:00
Gregory A Lundberg
9d44a45f88
Fix bug with gender-specific messages in [message]
2016-08-19 20:43:50 -05:00
Gregory A Lundberg
15c761ec75
HAS_NO_TURN_LIMIT objectives macro
...
A convenience macro to add a standardized note to the objectives pointing out there is no turn limit.
2016-08-19 20:06:13 -05:00
Lari Nieminen
4dbf5b0263
Merge pull request #700 from GregoryLundberg/GL_AToTB_final
...
A Tale of Two Brothers fixes
2016-08-20 02:44:12 +03:00
Gregory A Lundberg
8fc3e3100f
AToTB Get choose_level working
2016-08-19 18:40:34 -05:00
Gregory A Lundberg
8b984cfa6b
AToTB S03 Logical guards
...
The second wave of guards should react according to the situation. That means, when they arrive, if Arvith is still fighting the first wave, they should join the fight rather than ask for the password.
2016-08-19 18:37:39 -05:00
Gregory A Lundberg
9696307a09
AToTB S03 Improve shroud
...
Precisely define the shroud removed upon correctly giving the first password.
2016-08-19 18:37:39 -05:00
Gregory A Lundberg
5a9a394d95
AToTB S02 Agressive kidnappers
...
This combines two changes.
First, it uses the sighted event instead of a moveto tripwire to find the kidnappers.
Second, instead of passively waiting for a target to come into range, the kidnappers behave as more normal AI, but ignoring keeps and devalueing villages.
This is done by moving the kidnappers to their own side, which remains hidden until they are discovered.
2016-08-19 18:37:38 -05:00
Gregory A Lundberg
bb21a7ae2b
AToTB S02 Wait to kill Brena
...
Let Brena hang around until he's paid the gold. While we're at it, no need to delete units which are not there!
2016-08-19 18:37:38 -05:00
Gregory A Lundberg
80afcee8db
AToTB S02 Capture new villages
...
For EASY, four villages are added to the map. Capture those villages which would have been in range if they were originally on the map.
2016-08-19 18:37:38 -05:00
Gregory A Lundberg
d45f174259
AToTB S03 Fix bug: Inconsistent objectives
...
The objectives and conversation presume the player will first find Baran, then kill Rotharik for the key, and finally release Baran from the cell.
If the player kills Rotharik first, the objectives jump around and the conversation makes no sense.
Let's fix the mess.
While we're at it, instead of always extending 6 turns, let's just ensure there are at least 6 turns left if all Arvith need do is run over to Baran's cage.
2016-08-19 18:37:37 -05:00
Gregory A Lundberg
77e714e4ed
AToTB S03 Fix bug: Rotharik may be dead
...
No returning from the dead just to speak a line.
2016-08-19 18:37:37 -05:00
Gregory A Lundberg
a82e556607
AToTB S03 Fix bug: Capture villages
...
The guards are distracted by the villages. They should be owned by their side, anyway.
2016-08-19 18:37:37 -05:00
Gregory A Lundberg
6c33ecbd94
AToTB S03 Fix bug: Delay guards
...
Use correct variable name.
2016-08-19 18:37:36 -05:00
Gregory A Lundberg
75986550ad
AToTB S02 Fix bug: Missing units
...
Recruiting the revenants fails because the location is invalid.
2016-08-19 18:37:36 -05:00
Gregory A Lundberg
33c2e1037b
AToTB S02 Fix bug: Speaker may be dead
...
This is basically the Mercenary from S01, so let's use him, instead. If he's died by the closing scene, recruit a replacement.
2016-08-19 18:37:36 -05:00
Gregory A Lundberg
7a3d2e37f7
AToTB S02 Fix bug: Inconsitent objectives
...
If you find the kidnappers the objective changes to killing them; but if you then kill Nil-Galion, the objective changes back to finding the kidnappers.
Clean up the mess.
2016-08-19 18:37:35 -05:00
Gregory A Lundberg
fbedc205b0
AToTB S01 Fix bug: Mercenary may be dead
...
The role was assigned too soon, and did not provide for advancements. If none can be found, recruit a Horseman to speak the line.
2016-08-19 18:37:35 -05:00
Gregory A Lundberg
27bda635e7
AToTB S01 Fix bug: No unit for role
...
Include all possible advancements, but exclude Arvith, and recruit a replacement if no unit found.
2016-08-19 18:37:35 -05:00
Gregory A Lundberg
423f082ebc
AToTB S01 Fix bug: Missing advancements
...
The comments should still apply when the target has advanced.
2016-08-19 18:37:34 -05:00
Gregory A Lundberg
b9a18aee48
AToTB Standardize Baran's last breath
...
Technically, it is impossible for Baran to die in S03, but handle it anyway, just in case, for story purposes.
2016-08-19 18:35:44 -05:00
Gregory A Lundberg
f351f35703
AToTB Standardize Baran
...
Use a macro to ensure consistent definition.
2016-08-19 18:35:43 -05:00
Gregory A Lundberg
955b8477d2
AToTB Standardize Arvith's last breath
...
Use a consistent message instead of sometimes 'all' and sometimes 'everything'. Do it with a macro.
2016-08-19 18:35:43 -05:00
Gregory A Lundberg
21320f7c1c
AToTB Standardize on EASY
...
Use consistent #ifdef tests. Standardize on EASY, the other difficulty is simply 'not EASY'.
2016-08-19 18:35:43 -05:00
Gregory A Lundberg
8199098d74
AToTB Remove variable artifacts
2016-08-19 18:35:43 -05:00
Charles Dang
da561512a4
MP Create: implemented most remaining functionality
2016-08-19 21:34:20 +11:00
Charles Dang
369cabc9ae
Use standard label definitions for scroll labels
...
These were simply copies of their respective label definitions, so this reduces the WML slightly.
This also renames the 'scroll_label_mono' definition, since there's no reason a label couldn't use it,
and this makes that clearer.
2016-08-19 17:45:17 +11:00
Charles Dang
8aa82bd4c3
MP Create: allow description area to grow to fill available height
2016-08-19 17:34:29 +11:00
Charles Dang
0289944299
Small fixup
2016-08-19 16:23:05 +11:00
Charles Dang
20e33d5c58
Game Load: close dialog if you delete all savefiles
2016-08-19 16:06:36 +11:00
Charles Dang
157a579014
MP Create: fixed an issue where the correct game wouldn't appear when filtering
2016-08-19 15:04:37 +11:00
Charles Dang
88726caebc
Fixup typo from 6b3f9d8cbd
2016-08-19 13:41:01 +11:00
Charles Dang
6b3f9d8cbd
MP Create: much more efficient method of game filtering
2016-08-19 13:37:23 +11:00
Charles Dang
90c3c05af4
MP Create: improved handling of campaign difficulty selection
...
Instead of showing the difficulty dialog in post_show and setting the retval to twindow::NONE if the
dialog was canceled, we add a custom exit hook that fires when double clicking the games list or pressing
the Create Game button that shows the dialog instead, and returns if canceled. This is much cleaner.
2016-08-19 12:33:00 +11:00
Charles Dang
1195c01508
tlistbox: made add_row return a reference to the added row's grid
...
This removes the need to then use list.get_row_grid(list.get_item_count() - 1) if you needed
the row grid after adding one.
2016-08-19 11:26:40 +11:00
Charles Dang
5bac12a53e
tscroll_label: proper implementation of 162126026a
(thanks to gfgtdf)
2016-08-19 10:45:38 +11:00