Commit graph

16991 commits

Author SHA1 Message Date
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
Tim Felgentreff
76e08404c4 fix drawing indexed shadow sprites 2020-06-05 12:47:51 +02:00
Tim Felgentreff
91ded66e64 use MyRand for unit portraits and random building headings 2020-06-05 09:59:27 +02:00
Tim Felgentreff
4d469bcc7b localize shadow support 2020-06-05 09:49:04 +02:00
Tim Felgentreff
e03c18a96c use proper method to free SDL_mixer sounds 2020-06-05 09:36:03 +02:00
Tim Felgentreff
09f4dfdcac remove Soundfont path settings, since we're just using SDL2 default now 2020-06-05 09:36:03 +02:00
Tim Felgentreff
fee744aa1b re-add libretro shader support, add default shaders and lua API 2020-06-05 09:36:03 +02:00
Tim Felgentreff
d67a0319da remove software scaling again 2020-06-02 14:19:27 +02:00
Tim Felgentreff
1f5c46e7eb fix potential buffer overflow 2020-05-31 11:10:36 +02:00
Tim Felgentreff
4a21eab276 only check AI dependencies in network games, of if the preference is set 2020-05-31 11:07:05 +02:00
Tim Felgentreff
dcb7703d9c Merge branch 'aideps' of https://github.com/talas/stratagus into talas-aideps 2020-05-31 10:56:43 +02:00