67891 Commits

Author SHA1 Message Date
Wedge009
2813195985 Updating VC project files for 581aba7e.
[ci skip]
2017-03-16 14:57:57 +11:00
Charles Dang
61bac99491 Fixed poisoned units having incorrect tint (bug #25549) 2017-03-16 14:32:18 +11:00
ln-zookeeper
e4c71db719 Improvements to water castles
Makes sunken ruin use cobbles as its base, and improves transitions between various water castles.
2017-03-15 18:51:55 +02:00
ln-zookeeper
e6fbba0e18 Added an optional FLAG argument to NEW:GENERIC_CORNER_TRANSITION 2017-03-15 18:50:03 +02:00
ln-zookeeper
7a23c80b6e Fixes problems with dwarvencastle-stonewall-other corners (bug #25522) 2017-03-15 17:39:49 +02:00
ln-zookeeper
515244d21d Refactored some of the NEW:WALL* macros
This adds optional arguments to NEW:WALL and NEW:WALL2 and makes them the "parent" macros instead of NEW:WALL_PL and NEW:WALL2_P, which are now kept only for compatibility.
2017-03-15 17:33:15 +02:00
ln-zookeeper
cd53177fc5 Gave water transitions their own flags
Technically not needed for anything, at least not yet.
2017-03-15 17:15:28 +02:00
Charles Dang
3ad798f0a1 Hotkey Bind: quick hack to allow dialog to function even without fix from 585ce88 (now reverted) 2017-03-16 01:35:28 +11:00
Charles Dang
5ae33e1f02 Revert "GUI2: fixed a bug that's been causing SDL_KEY_DOWN events to be executed twice."
This reverts commit 585ce88d64d609da0500286e56367a510b2ad466. It breaks text input in text boxes. Seems this
isn't the correct fix for this bug. :(
2017-03-16 01:30:55 +11:00
Celtic Minstrel
f1230e767f Merge pull request #953 from sigurdfdragon/Fix_unstore_unit
Fixup [unstore_unit] Lua port
2017-03-15 10:02:13 -04:00
Charles Dang
581aba7e9d Hotkey Bind: enable dialog and remove old GUI1 code 2017-03-15 22:19:42 +11:00
Charles Dang
585ce88d64 GUI2: fixed a bug that's been causing SDL_KEY_DOWN events to be executed twice.
`SDL_TEXTINPUT` events were being handled after `SDL_KEYDOWN` events and calling the same `key_down` codepath,
result in any registered `SDL_KEY_DOWN` callbacks being executed twice, the second time around with null/0 'key'
data.
2017-03-15 22:14:49 +11:00
ln-zookeeper
3b361968ce HttT S15: Fixed dialogue inconsistency 2017-03-15 10:54:31 +02:00
Charles Dang
5e5e134e5e End Credits: simplified a callback binding 2017-03-15 18:54:42 +11:00
Charles Dang
1ba7bbcadf Hotkey Bind: progress on dialog. Still not fully functional for key binding
For some reason, the key callback is getting called twice. :/
2017-03-15 18:50:55 +11:00
Charles Dang
b12838237c Title Screen: use window::video() instead of game_launcher::video() to show sub-dialogs
No difference in behavior, but promotes encapsulation.
2017-03-15 16:16:29 +11:00
Wedge009
e2a9889d8a Update VC project files for e7cdb76a.
[ci skip]
2017-03-15 16:13:43 +11:00
sigurdfdragon
9423e47bab Fixup [unstore_unit] Lua port
Restores check_passability default of yes.
Fixes 50a9a25ae7a84da43a0bcc80287a3a9c119adc22
2017-03-14 23:51:06 -04:00
Charles Dang
e7cdb76a01 GUI2: basic dialog definition for a Hotkey Bind dialog (not enabled)
Still need to determine proper event handling.
2017-03-15 09:48:39 +11:00
gfgtdf
fcf71a249a fix replay button description
https://gna.org/bugs/?24490
2017-03-14 19:52:34 +01:00
Charles Dang
f1155f34d7 Connect Engine: added getter for campaign info 2017-03-14 14:26:07 +11:00
Charles Dang
939ad68ab8 Fixup 420db4d because I'm an idiot who doesn't build before pushing 2017-03-14 13:50:45 +11:00
Charles Dang
420db4d7d0 Lobby Info: implement get_user function, which for some reason has had no implementation 2017-03-14 13:41:19 +11:00
Charles Dang
812c9d9607 MP Join Game: use 'Leave' instead of 'Cancel' for exit button 2017-03-14 13:07:19 +11:00
Charles Dang
6c994a5a73 Properly validate and set index when calling set_zoom with value
This fixes an issue where the zoom index wasn't properly reset when set_default_zoom was set. It also ensures
this function will only work with the set zoom levels.
2017-03-14 12:53:16 +11:00
Charles Dang
0becb66a8c Don't call select_hex when deselecting a hex (fixes bug #24712) 2017-03-14 12:36:35 +11:00
Charles Dang
15f8ac3c80 Fixed error in [modify_side] shroud_data= 2017-03-14 11:52:20 +11:00
Charles Dang
42e2486d8a Forgot to commit image changes with 441b0f76 2017-03-14 11:11:22 +11:00
Charles Dang
4e92eb1b55 Second small tweak to standard "gold" color (fixup faaa412d) 2017-03-14 11:10:42 +11:00
Charles Dang
60fc61a9a0 Cleaned up a few SDL includes 2017-03-14 10:56:35 +11:00
Charles Dang
8cce597edd Change default scaling option from Linear to xBRZ + NN
This is the recommended option, accoring to the Advanced Graphics Options dialog.
2017-03-14 10:44:28 +11:00
Charles Dang
fac813d24f Bunch of code cleanup relating to scaling options 2017-03-14 10:43:43 +11:00
gfgtdf
06a5443851 atempt to fix integer overflow in ai attack rating code
https://gna.org/bugs/index.php?25542
2017-03-13 22:55:09 +01:00
Jyrki Vesterinen
cd79780b68 CMake: demote failure to compile IEEE 754 test from error to warning
Apparently due to a CMake bug, some (but not all) CMake versions attempt to
compile the test with default flags, which means C++98 mode with GCC < 6.
As a result, compiling the test fails, and the whole game fails to build.

@gfgtdf pointed out to me that CMake reports the compile and run status
separately, and therefore it's possible to detect the situation where the
test fails to compile. Thus, I decided to allow building in that situation.
2017-03-13 21:37:44 +02:00
gfgtdf
bf3c70b9a6 fix crash when closing wesnoth during loadingscreen
http://gna.org/bugs/?25290
2017-03-13 18:55:39 +01:00
gfgtdf
6297ede88f remove unused parameter 2017-03-13 18:55:39 +01:00
Charles Dang
500e087d53 GUI2: deployed fancy toggle panels in a few places
[ci_skip]
2017-03-13 23:11:23 +11:00
Charles Dang
e43c65a689 Addon Manager: give addon list keyboard focus when opening manager 2017-03-13 23:07:52 +11:00
ln-zookeeper
2c9d0104c9 THoT: Fixed inconsistent weapon special order on Witness line's bolas 2017-03-13 13:12:12 +02:00
ln-zookeeper
0219433aee New sprite and animations for Royal Warrior by doofus-01 2017-03-13 13:09:20 +02:00
ln-zookeeper
04221b5fbd THoT: New Dwarvish Witness line sprites and animations by Vyncyn 2017-03-13 12:24:29 +02:00
Celtic Minstrel
5437c89bc8 fixup! Address missing component error in [modify_ai] (GNA25558) 2017-03-12 20:32:52 -04:00
Celtic Minstrel
72f9a4f270 Fix [heal_unit] not defaulting to amount=full (GNA25586) 2017-03-12 15:18:57 -04:00
Celtic Minstrel
070e4b6f8c Address missing component error in [modify_ai] (GNA25558) 2017-03-12 15:15:37 -04:00
Celtic Minstrel
d84a52dc45 Fix incorrect API table name in [animate_unit] (GNA25550) 2017-03-12 14:49:52 -04:00
Charles Dang
441b0f7691 GUI2: made new toggle panel selection style a separate definition (needs deployment)
The new style isn't appropriate in every context. This temporarily makes the old style default again.
2017-03-13 05:27:49 +11:00
Charles Dang
faaa412dc5 Tweaked standard "gold" color to give it slightly more contrast 2017-03-13 01:50:33 +11:00
Charles Dang
81e38dedb9 Scroll Label: fix WML use_markup key not working with this widget 2017-03-13 01:32:27 +11:00
Charles Dang
2e1555c4bf Addon List: use color_t definitions for colorizing status strings instead of hardcoded hex values. 2017-03-13 01:00:20 +11:00
Charles Dang
7f11aeb60c Convert various standard color definitions from hex to decimal 2017-03-13 00:53:19 +11:00