Commit graph

7360 commits

Author SHA1 Message Date
Charles Dang
57c6b11fc3 Updated changelog 2016-04-09 01:18:44 +11:00
Ryan Roden-Corrent
fd8dfd5853 Changelog: hotkey release and scroll key binding. 2016-04-06 22:41:48 -04:00
Celtic Minstrel
4af12203d8 [on_undo] and [on_redo] now get a snapshot of the event context
This means they can access auto-stored variables.
However, using [unstore_unit] for $unit or $second_unit is not recommended.
Also, $unit.x and $unit.y may not be the same as they were during the original event.
(The same with $second_unit)
2016-04-05 21:21:48 -04:00
Celtic Minstrel
5cf12798ce Port "trivial" WML tags to Lua
This is more about adding Lua API for things that should have it than porting WML tags to Lua.
The following new Lua API functions have been added to the wesnoth table:
- add_fog, remove_fog
- add_sound_source, remove_sound_source, get_sound_source
- log
2016-04-05 02:24:42 -04:00
Celtic Minstrel
0688e6df8f Formula engine: Expose WML unit/side variables 2016-04-02 09:39:09 -04:00
Celtic Minstrel
5c9923daba Formula engine: Add pair() function 2016-04-02 09:39:07 -04:00
Celtic Minstrel
fe818f8005 Add Lua API function to set the current time of day 2016-04-02 09:38:34 -04:00
Celtic Minstrel
fb6031d6a1 lua_function= in SUF now has limited support for non-global functions
To be precise, the string is considered as a dot-separated list of components.
2016-03-31 02:13:40 -04:00
Celtic Minstrel
64892b8c81 Align formula and Lua views of unit types
- New key in both - race
2016-03-30 02:15:21 -04:00
Celtic Minstrel
7c5c79aa20 Update all FormulaAI scripts for renamed keys
Also, note the changes in the changelog and RN
2016-03-29 13:04:21 -04:00
Celtic Minstrel
0f072f34f2 Several expansions to filters
- Side, location, and weapon filters now support formulas
- Additional keys in weapon filters; now covers everything except weights
- [has_attack] in unit filters
- Formula view of sides, terrain, and weapons expanded to mostly match Lua view
2016-03-29 12:36:00 -04:00
Celtic Minstrel
d8ee9dca29 Expose second unit to unit filter formulas 2016-03-29 10:29:56 -04:00
ln-zookeeper
cb2e8bc412 Updated changelog 2016-03-29 14:55:35 +03:00
Celtic Minstrel
97b33cfdfc Allow the attacks aspect to be implemented with Lua
Semi-related changes also included:
- Unit filter now has empty() and to_config() methods
- Advancements aspect now unrefs its function on destruction
- Const correctness for ai.get_attacks()
2016-03-27 23:22:43 -04:00
Celtic Minstrel
02cfb7c279 Update/correct RN and changelog 2016-03-27 15:13:23 -04:00
Celtic Minstrel
503c2f01ae Lua API: More info in wesnoth.get_terrain_info 2016-03-27 15:13:22 -04:00
Celtic Minstrel
c19ddba30a MicroAIs: Refactor code to make it easy for add-ons to add new ones 2016-03-26 21:57:15 -04:00
mattsc
e7d82ebcad Update changelog 2016-03-26 07:38:51 -07:00
Celtic Minstrel
4cdab93109 Update changelog 2016-03-24 12:58:29 -04:00
Celtic Minstrel
cfcc1aa6ab Update RELEASE_NOTES and changelog 2016-03-24 12:41:37 -04:00
Celtic Minstrel
eebedd9adb Update RELEASE_NOTES and changelog 2016-03-23 00:20:21 -04:00
mattsc
53fa4ddfed Minor changes to changelog wording and formatting 2016-03-22 20:28:21 -07:00
Celtic Minstrel
e231540b73 Update changelog 2016-03-22 21:28:17 -04:00
Celtic Minstrel
ee80e66f95 Support delayed_variable_substitution= in [on_undo], [on_redo] 2016-03-22 15:35:16 -04:00
Celtic Minstrel
6b631f9e0d Fix typo in changelog 2016-03-21 15:34:49 -04:00
Charles Dang
23be0d74f3 Change SCALE_INTO() to use BI and added SCALE_INTO_SHARP() which uses NN 2016-03-22 04:40:43 +11:00
Celtic Minstrel
633b0d7d4c Add new ~SCALE_INTO(w,h) IPF 2016-03-21 12:49:54 -04:00
Elvish_Hunter
803c54dacc changelog entry 2016-03-20 11:19:55 +01:00
Celtic Minstrel
1c27cafa74 Add highlight=yes|no to [scroll_to], [scroll_to_unit], [message]
Defaults to no in the first two cases, yes in the third
If yes, the target hex is outlined.
2016-03-20 02:55:12 -04:00
Celtic Minstrel
c1d11cb6cc Update RELEASE_NOTES with formula engine section 2016-03-19 16:25:35 -04:00
Celtic Minstrel
021e77f96a Update changelog 2016-03-19 16:15:23 -04:00
Wedge009
6e836969bb Update change log. 2016-03-19 18:11:59 +11:00
Celtic Minstrel
229e8881ee Update changelog 2016-03-18 10:15:22 -04:00
Celtic Minstrel
92ab82fc8e Update changelog 2016-03-16 17:53:00 -04:00
Andreas Löf
064944fce6 Update release notes and changelog RE SDL 1.2 removal 2016-03-13 21:49:38 +13:00
ln-zookeeper
0c6cdd5d5e Replaced hewn cave walls with doofus-01's new mine walls
Slightly modified versions for wall-chasm transitions still need to be added.

Old definition for earthy hewn cave walls set as hidden but kept for compatibility; gets drawn exactly the same as the normal walls now.
2016-03-06 18:03:51 +02:00
loonycyborg
653a62bc03 Fixed incorrect version strings 2016-03-06 16:20:26 +03:00
loonycyborg
c030abea0b Post-release version bump 2016-03-06 16:02:25 +03:00
loonycyborg
a3f5d821e5 Pre-release version bump to 1.13.4 2016-03-06 14:55:58 +03:00
Nils Kneuper
c292f1f1cf updated British English translation 2016-03-06 11:28:22 +01:00
Nils Kneuper
bd305006db updated Russian translation 2016-03-06 11:26:45 +01:00
Ignacio R. Morelle
3159f738e8 Add member variable to initializer list (bug #24498) 2016-03-06 05:56:31 -03:00
Ignacio R. Morelle
4329adf0ec gui2/tunit_attack: Remove trailing newline from unit stats area
Again, not visible on platforms where Pango is broken.
2016-03-06 04:54:56 -03:00
Ignacio R. Morelle
f24db0ae51 gui2/tunit_attack: Remove trailing newline from attack list entries
They mess with the text's alignment (vertically) on platforms where
trailing newlines in Pango contexts aren't broken.
2016-03-06 04:54:56 -03:00
Ignacio R. Morelle
6e19ec731e gui2/tunit_attack: Fix non-deterministic crashes
t_string's implicit conversion to const std::string& returns a reference
to a(n aggregate class) field that gets destroyed as soon as the
t_string is, so binding this to a const reference does not extend the
referenced object's lifetime, resulting in a dangling reference and UB.
2016-03-05 23:19:48 -03:00
loonycyborg
e9594367e7 Post release version bump 2016-03-05 10:24:34 +03:00
loonycyborg
d410c653f7 Version bump for release 1.13.3 2016-03-05 05:14:39 +03:00
Charles Dang
8100f7cce5 Updated changelog 2016-03-05 12:47:24 +11:00
Charles Dang
7cdf70db64 'correctly' not 'currently' (fixup 6aa060ed06) 2016-03-05 11:59:08 +11:00
Charles Dang
6aa060ed06 Fixed [put_to_recall_list] (bug #24390)
put_recall_unit() already deals with erasing it from the map, rendering
this erase_unit() call redundant and harmful.
2016-03-05 11:55:40 +11:00