Commit graph

17015 commits

Author SHA1 Message Date
Tim Felgentreff
4ef8e53888 commit vscode settings 2020-09-20 23:45:18 +02:00
Tim Felgentreff
717b3cb0f1
Merge pull request from boskee/iolib-win10-access-violation-x64
Fixed Access Violation on Windows 10 (x64)
2020-08-18 10:18:56 +02:00
Wojciech Zylinski
da1a5d93fb
Fixed Access Violation on Windows 10 (x64)
hFile should be defined as intptr_t to resolve 0xC0000005: Access Violation in ntdll.dll, as per https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/findnext-functions?redirectedfrom=MSDN&view=vs-2019
2020-08-18 01:29:39 +01:00
Tim Felgentreff
0edb0bd6f7 avoid black flash when switching to movie 2020-07-06 05:55:55 +02:00
Tim Felgentreff
fc33059e6f clear the renderer when rendering a movie frame (to avoid flashing on windows) 2020-07-06 05:52:11 +02:00
Tim Felgentreff
a7649ad71d try fix genversion for appveyir 2020-07-04 22:06:51 +02:00
Tim Felgentreff
98342dd0e0 fix genversion 2020-07-04 21:39:51 +02:00
Tim Felgentreff
7d97972c74 do more to avoid crashing in the editor 2020-07-04 11:55:25 +02:00
Tim Felgentreff
4f6b04e7e1 change tile means change tile, just don't change the surroundings of a decorative tile 2020-07-04 11:38:32 +02:00
Tim Felgentreff
7ad3935dc6 allow adding purely decorative tiles in the editor without requiring mixing, leaving that up to the user 2020-07-03 15:23:43 +02:00
Tim Felgentreff
f38702ee81 Update genversion tool to avoid recreating file 2020-07-01 10:12:41 +02:00
Tim Felgentreff
adffb0139e fix generating compile_commands for lsp 2020-07-01 08:51:44 +02:00
Tim Felgentreff
fde74a1e4c make net_serialization available in other cpp files 2020-07-01 08:37:47 +02:00
Tim Felgentreff
9d4f2fad9a expose clearing all buttons to lua 2020-06-29 07:44:46 +02:00
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