Commit graph

17001 commits

Author SHA1 Message Date
Tim Felgentreff
e920f1df09 fix broken compilation without mng and vorbis/theora 2020-06-28 10:23:47 +02:00
Tim Felgentreff
afbe728b1f build travis with all features 2020-06-28 09:49:02 +02:00
Tim Felgentreff
5f3b7892e7 provide definitions for Mng and Movie images for tolua, even when those aren't supported 2020-06-28 09:46:44 +02:00
Tim Felgentreff
25849d1eaa if we cannot read pixels from the render target, render the movie as completely transparent image 2020-06-28 03:53:08 +02:00
Tim Felgentreff
f64eff57e5 print a warning when we cannot read from renderer, at least 2020-06-28 03:49:35 +02:00
Tim Felgentreff
389f629649 proper destruction and dirty reporting for mng and movie guichan images 2020-06-28 03:47:14 +02:00
Tim Felgentreff
1982f73eba make movies available as gcn::Image, too, for easy embedding 2020-06-28 03:40:30 +02:00
Tim Felgentreff
1563d98f35 expose mng to lua as a gcn::Image for easy use in widgets 2020-06-27 15:15:23 +02:00
Tim Felgentreff
eb2b23749d get rid of leftover opengl code 2020-06-27 12:45:24 +02:00
Tim Felgentreff
70389df39a
Merge pull request from Wargus/tim/data-migration
Allow re-extraction of data from the target directory
2020-06-27 10:48:08 +02:00
Tim Felgentreff
ac256b0727 fix warning 2020-06-25 16:09:18 +02:00
Tim Felgentreff
f98a1357d7 fix issue on windows where reextraction would otherwise copy *into* the old dir 2020-06-25 16:08:23 +02:00
Tim Felgentreff
f2dbb509cb fixes for win32 compilation 2020-06-25 08:51:02 +02:00
Tim Felgentreff
57a166a0bd allow re-extraction of data from the target directory 2020-06-25 08:51:02 +02:00
Tim Felgentreff
83dd514449 use a bool flag to check if we have a death animation 2020-06-24 14:53:14 +02:00
Tim Felgentreff
4dc3b13dc6 allow setting the current sight range as part of an animation 2020-06-22 15:35:45 +02:00
Tim Felgentreff
dd3a79c8ea Merge branch 'master' of github.com:Wargus/stratagus 2020-06-21 22:56:18 +02:00
Tim Felgentreff
e0bb35a6f4 Fix part 3: Play click sound on pretty much all button presses on mouse down 2020-06-21 22:55:55 +02:00
Tim Felgentreff
2365b6cd58 Fix , part 1: Smaller buffer for faster playback of sounds, provide Lua callbacks to mouse and key events, so we can register the "click" sound on mouse down 2020-06-21 22:30:27 +02:00
Tim Felgentreff
1e782a6298 do not go through RealizeVideoMemory before playing movie 2020-06-21 07:41:56 +02:00
Tim Felgentreff
d1f35a41ba fix volume scaling for sdl mixer input range 2020-06-21 07:41:56 +02:00
Tim Felgentreff
058df5fe96 allow lua code to adjust the palette 2020-06-21 07:41:56 +02:00
Tim Felgentreff
613e7a4c90
Merge pull request from ipochto/fix/enum-class-comparation
Removed wrong enum class values comparation.
2020-06-17 05:58:25 +02:00
alyokhin
2307486d8b Removed wrong enum class values comparation. 2020-06-16 17:14:02 +03:00
Tim Felgentreff
22ddc06955
Merge pull request from ipochto/Andrettin/reveal-players
Add units revelation for players, which had lost their last Town Hall.
2020-06-15 07:19:11 +02:00
alyokhin
45794b1f32 Typo. 2020-06-15 00:29:56 +03:00
alyokhin
968a173d9a AppVeyor: win32 platform specified for cmake. 2020-06-13 18:59:43 +03:00
alyokhin
acc873dc60 Refactor. 2020-06-12 01:19:00 +03:00
alyokhin
d44be9e680 Toolset changed. 2020-06-11 15:04:34 +03:00
alyokhin
f70b72fb4a AppVeyor compilation error fix. 2020-06-11 14:57:41 +03:00
alyokhin
433880ea9c Droped Ubuntu 16.0t to 18.04, because of compilation error caused by gcc version. 2020-06-11 12:47:36 +03:00
alyokhin
aaba180329 Revelation disabled by default. Must be set in the stratagus.lua. 2020-06-11 00:41:25 +03:00
alyokhin
9d93193543 Added players revealing for those who lost their last main building (Town Hall).
Co-authored-by: Andrettin <andre.ng@live.com>
2020-06-10 22:33:46 +03:00
Tim Felgentreff
65e9a7f74c
Merge pull request from ipochto/Andrettin/shared-vision
Improved the performance of the shared vision code.
2020-06-09 10:12:39 +02:00
Tim Felgentreff
ba57f87262
Merge pull request from Wargus/galtgendo/sdl2
Porting to SDL2
2020-06-09 07:57:56 +02:00
Tim Felgentreff
c941aaf5f0 Revert "test sdl2 build on windows"
This reverts commit 8c44d92f9e.
2020-06-09 07:32:24 +02:00
Tim Felgentreff
82d1f713b1
Merge pull request from ipochto/amove-fixup
Fixed wrong condition check and removed flags mixing for ActionAttack…
2020-06-07 21:38:42 +02:00
Tim Felgentreff
6ceb7a8b79 fix windows build on appveyor 2020-06-07 15:35:21 +02:00
Tim Felgentreff
8c44d92f9e test sdl2 build on windows 2020-06-07 14:31:22 +02:00
Tim Felgentreff
a0ba0e32f1 fix compilation on macOS 2020-06-07 14:14:51 +02:00
Tim Felgentreff
a19f22f952 start dev cycle on 3.0.0 2020-06-06 11:23:45 +02:00
Tim Felgentreff
bf94ac2b44 use newer VisualStudio 2020-06-06 11:06:24 +02:00
Tim Felgentreff
c9d1f43837 install sdl2* on macos 2020-06-06 11:00:27 +02:00
Tim Felgentreff
618b93276e use cmake flag to set C++ standard 2020-06-06 10:58:49 +02:00
Tim Felgentreff
038ce8e281 properly (de)initialize SDL_image, print supported audio formats 2020-06-06 10:58:44 +02:00
Tim Felgentreff
9fa3bd8fab activate all sdl2-mixer sound formats 2020-06-06 10:40:07 +02:00
alyokhin
a42ce2d9af Fixed wrong condition check and removed flags mixing for ActionAttack.State . 2020-06-06 03:11:54 +03:00
alyokhin
4655e055d4 Improved the performance of the shared vision code.
Co-authored-by: Andrettin <andre.ng@live.com>
2020-06-06 01:23:01 +03:00
Tim Felgentreff
7ec778474d allow scaling shadows, allow using non-directonal shadow sprites, default to unit shadow 2020-06-05 15:00:12 +02:00
Tim Felgentreff
b0b4788e21 fix resizing graphics that have frame maps 2020-06-05 13:25:12 +02:00