69299 Commits

Author SHA1 Message Date
gfgtdf
82829b0011 debug info & asserts to investigate #1857 2017-07-23 22:15:32 +02:00
Jyrki Vesterinen
a3d884ef74 Fix SCons build on Windows
Found by @sigurdfdragon.
2017-07-23 21:35:24 +03:00
gfgtdf
708096a84e fix map beeing black for player 2 in a online multiplayer game
if 'enter bindfolded' is enabled
fixes #1852
2017-07-23 20:29:48 +02:00
Sofartin
dd5983b176 Updated Xcode project. (#1859)
I added missing function_gamestate.*pp files inside Xcode project.
2017-07-23 13:02:05 -04:00
Sofartin
4d41c8aa08 Removed duplicates inside project file. (#1854) 2017-07-23 10:56:03 -04:00
ln-zookeeper
87fb6e2ad9 Added an attack icon for rodent fangs and used it for the Giant Rat
The icon has been used in UMC for a long time, and I think the original artist is probably Dibs.
2017-07-23 11:37:03 +03:00
Celtic Minstrel
c2c65dc714 Add descriptive tooltips for all text elements in the top status bar 2017-07-23 02:18:48 -04:00
Celtic Minstrel
cd787b4b53 Fix up a use of the removed ~BRIGHTEN() and ~DARKEN() IPFs
This was only used by the UnitBox theme.
2017-07-23 01:45:01 -04:00
Celtic Minstrel
1eaa766444 Remove a translation mark, as suggested by @gunchleoc 2017-07-23 00:57:49 -04:00
gfgtdf
8a7a3a41ff attempt to fix map beeing black in mp games #1852 2017-07-22 23:41:28 +02:00
Jyrki Vesterinen
dc5e8b36ea Restore --max-fps
@gfgtdf explained in IRC that it's often used to slow Wesnoth down (instead
of speeding it up, as I had assumed).

This should also allow unit tests to compile again.
2017-07-22 23:35:53 +03:00
Jyrki Vesterinen
4e4d7b5277 Rewrite the FPS cap implementation
The FPS cap, originally implemented in 2007, is very poorly done. It
doesn't take frame time variance into account, and is therefore almost
guaranteed to cause missed frames all the time. It doesn't increase timer
granularity on Windows, which causes SDL_Delay() to often take much longer
than intended. And it's hardcoded for 50 FPS, which fits poorly with 60 Hz
displays.

This new implementation fixes all those issues.

My experience is that the game feels much, much smoother with the new
implementation, perfectly competitive with 1.12. In my opinion, performance
is now at an acceptable level for a stable release.
2017-07-22 15:48:46 +03:00
David Mikos
e1e336a46c Add new princess attack animation to tutorial from HttT 2017-07-20 08:25:31 +09:30
gfgtdf
4c1976db28 remove unused 'assert_existence' function 2017-07-19 13:06:46 +02:00
David Mikos
ecb51029d7 Fix for jumpy movements in bug #1565
Add a new max_animation_time_ variable that checks whether the time
for the movement animation exceeds the potential time. This will
restrict the time interval to match the offset 0~1:200,0~1:200,etc.
as the unit is moving.
2017-07-19 20:06:33 +09:30
gfgtdf
62860ac433 fixup 5f40636fa9041f 2017-07-18 20:54:33 +02:00
gfgtdf
5f40636fa9 [scenario] allow_new_game= now defaults to false
also [campaign] first_scenario= is no longer ignores for mp campaigns.
2017-07-18 19:51:09 +02:00
gfgtdf
7ff5c4d743 don't save default values of unit attributes in editor generated scenarios. 2017-07-17 17:15:47 +02:00
ln-zookeeper
d02be2a7c0 EI S11: Fixed unusual values in the side 1's definition 2017-07-16 17:49:03 +03:00
gfgtdf
5a55899b83 use modification id in lobby if the modification is not instealled.
fixes partly #1794

This isn't a perfect solution: It migth be better if the host just sends the name of the addons along with their ids so the clients could just use that.
2017-07-16 12:47:54 +02:00
ln-zookeeper
0d905db5bc DiD S10: Hide Dela's and the paladins' sides until their appearance 2017-07-16 11:55:49 +03:00
sigurdfdragon
61fed391eb SotA: Changelog entries
For commit 36175c46cdc8af27e58b4466a32d803bd9dc994c
2017-07-14 22:59:44 -04:00
sigurdfdragon
98dd409314 Add Dan Gerhards (beetlenaut) to Campaign Design credits
Confirmed with beetlenaut
2017-07-14 22:49:53 -04:00
sigurdfdragon
d0b4250c36 Adjust appearance of my name in the credits 2017-07-14 22:40:34 -04:00
Lari Nieminen
1aa1ce642b Added support for a facing= key in [recall] (#1819)
This is necessary, as it is otherwise impossible to specify the facing of the recalled unit.
2017-07-12 22:02:15 +03:00
Jyrki Vesterinen
986b19011f Merge pull request #1832 from donovanamitchell/bug#1829
Fixed Bug#1829 Name filters are applied with type and status filters
2017-07-12 13:36:11 +03:00
RatArmy
0a3f125af2 Fix insert index of the text edited by IME (#1833) 2017-07-11 21:09:04 -04:00
Celtic Minstrel
00f01278c5 Update changelog
[ci skip]
2017-07-11 00:10:59 -04:00
Celtic Minstrel
c2a53a7fb3 fixup 658bb10
(Based on the comments on that commit)

Basically, this ensures it will work even if the compiler (for whatever reason) decides plain char is unsigned.
2017-07-10 20:43:27 -04:00
gfgtdf
b68a23c480 attempt to fix issue #1820
`iter->get("description")` might return nullptr so. Also contains some small cleanups.
2017-07-11 00:51:07 +02:00
Richard Kettering
003508d5ef Animation frames for a ne attack of the dwarven guard. 2017-07-09 23:45:08 -05:00
Richard Kettering
5a5ea98b80 Animation frames for a se run of the dwarven stalwart. 2017-07-09 23:40:26 -05:00
ln-zookeeper
cd82d9a713 UtBS: New sprite and animations for Flesh Golem, by doofus-01 2017-07-09 19:46:54 +03:00
ln-zookeeper
36573bc323 HttT: Added Princess melee attack animation by doofus-01 2017-07-09 19:08:20 +03:00
ln-zookeeper
126d435748 Made [item]s get drawn behind village flags (fixes issue #1400) 2017-07-09 13:30:31 +03:00
Charles Dang
658bb10c21 Fixup 685e84d
Apparently the case this was designed to catch (a UTF-8 leading byte (\x80 or above) followed by NULL) is an invalid UTF-8 codepoint and therefor cannot ever be produced.
2017-07-09 20:56:16 +11:00
Charles Dang
685e84d3dd Fixed compilation on CB
It seem strnlen as used before isn't a standard definition and strnlen_s is only available starting with C11
which apparently isn't widely adopted yet for some reason.
2017-07-09 17:27:41 +11:00
DisherProject
b790184ece Add new file to CB projectfile 2017-07-09 17:26:49 +11:00
Donovan Mitchell
5e7517c2ba Removed unused argument 2017-07-07 22:58:32 -05:00
Donovan Mitchell
33fc5cebcb Fixed Bug#1829 Name filters are applied with type and status filters
get_name_filter_visibility returns the set of addons matching the search string in the filter textbox
2017-07-07 17:33:41 -05:00
ln-zookeeper
837a39808c HttT S04: Removed erroneous description of Elensefar's location
I removed the whole sentence instead of correcting it, because he already said where Elensefar is in his previous message.
2017-07-06 19:12:44 +03:00
ln-zookeeper
0c92fbd10b Added force_lock_settings=yes to "A New Land" and "Dark Forecast"
Without it, it was possible to uncheck "Use Map Settings" and make choices (such as factions, teams, turn limits) which can break the scenarios.
2017-07-04 15:02:26 +03:00
ln-zookeeper
d4775ccba2 Made plague-created units have same facing as the dead unit, not random
Technically, they now face the opposite direction than the killer, but in practise it's the same thing since in combat units are always facing each other.
2017-07-02 02:31:39 +03:00
ln-zookeeper
3cffd699d9 Added gryphon variation of Walking Corpse and Soulless, by doofus-01 2017-07-01 22:17:24 +03:00
ln-zookeeper
0e9358a0dd Fixed broken indentation from 18f866eb 2017-07-01 22:12:01 +03:00
sigurdfdragon
b334851ccd SotA S10: Add code to match behavior in S15 2017-07-01 14:42:36 -04:00
sigurdfdragon
36175c46cd SotA: Fix animation bug
Fixes error occuring when unit doing the recruit animation is standing
on the bird bones. Reported here: https://forums.wesnoth.org/viewtopic.php?f=4&t=46480
2017-07-01 14:39:58 -04:00
ln-zookeeper
b19483e66a Updated changelogs 2017-07-01 21:01:21 +03:00
ln-zookeeper
69d47ef2ab Made Giant Scorpling actually be named such 2017-07-01 20:07:11 +03:00
ln-zookeeper
efaf046c37 Added a lvl0 Giant Scorpling unit, leveling into the Giant Scorpion
Sprites and animations by doofus-01. Also fixed the offset of Giant Scorpion.
2017-07-01 20:01:28 +03:00