Commit graph

17039 commits

Author SHA1 Message Date
Tim Felgentreff
52ac6bd741 fix potential access to empty stack 2020-11-23 10:02:08 +01:00
Tim Felgentreff
0043387f49 avoid a potential pop from empty stack 2020-11-23 10:02:08 +01:00
Tim Felgentreff
f1f06fe6f5 properly detect the escape key 2020-11-23 10:02:08 +01:00
Tim Felgentreff
670dcf155f give the status line input a history and editing 2020-11-23 10:02:08 +01:00
Tim Felgentreff
d77de4d362 fix text input in message line with SDL2 2020-11-23 10:02:08 +01:00
Tim Felgentreff
af4f7682fe build with lldb debug info if possible 2020-11-23 10:02:08 +01:00
Tim Felgentreff
08c93416c0 expand version.h with last modified times 2020-11-23 10:02:08 +01:00
Tim Felgentreff
696e8bccd7 when assigning a unit to a player, remove it from the previous owner (if there is one) 2020-11-23 10:02:08 +01:00
Tim Felgentreff
4abc6041a5 when no shaders can be compiled, shaders are not supported 2020-11-23 10:02:08 +01:00
Tim Felgentreff
135527a284 Fix warnings on win32 2020-11-23 10:02:08 +01:00
Tim Felgentreff
f8483548a2 if color mod of icon is not supported, disable it 2020-11-23 10:00:12 +01:00
Tim Felgentreff
4233cae78c make sure to set GameCycle to 0 on start of game 2020-11-23 10:00:12 +01:00
Tim Felgentreff
6c5a25c316 support coz profiling 2020-11-23 10:00:10 +01:00
Tim Felgentreff
694a8fc722 parameterize printing of backtrace 2020-11-23 09:59:37 +01:00
Tim Felgentreff
ad27752541 use local random for editor 2020-11-23 09:59:37 +01:00
Tim Felgentreff
44866ca8de
Update README.md 2020-11-23 06:47:13 +01:00
Tim Felgentreff
fe347f775d
Update README.md 2020-11-23 06:03:44 +01:00
Andrettin
185f90da58 Reset the saved order, new order and critical order of a unit when releasing it, fixing a unit reference count error 2020-11-13 16:43:30 +01:00
Tim Felgentreff
0dd5fe612d fix a tautology warning in unit.cpp 2020-11-09 10:46:50 +01:00
Tim Felgentreff
301c6dfc93 fix oob write in genversion 2020-11-09 10:46:47 +01:00
Andrettin
476161cf2c Improved the performance of the BestDepotFinder 2020-11-09 10:46:47 +01:00
Tim Felgentreff
4251a93e18 Merge branch 'master' of github.com:Wargus/stratagus 2020-11-09 10:29:25 +01:00
Tim Felgentreff
72f8ea9e7d improve task for auto-download of related projects and dependencies 2020-09-21 09:28:52 +02:00
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
36030fdead allow color modulation for image widgets 2020-07-06 23:03:30 +02: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