Commit graph

17500 commits

Author SHA1 Message Date
alyokhin
2ac07d6330 Fixed potentially memory leak 2021-09-21 00:46:13 +03:00
alyokhin
8a71cc8c72 Comments and const correctness 2021-09-21 00:46:13 +03:00
alyokhin
858dbe9a24 Removed unneded anymore legacy global variables for fog color and opacity. 2021-09-21 00:46:08 +03:00
alyokhin
4340990d35 Added CGraphic's draw method with custom modifier for every pixel. Implemented pixel modifier for drawing legacy fog. Also added posibility to draw CGraphic to any surfaces (not only to TheScreen) 2021-09-21 00:44:13 +03:00
alyokhin
34a7033104 Implemented revealed/unseen levels of opacity for legacy fog. Switch to 2-staged rendering for legacy FOW (1: to Viewport's fog surface, 2: to theScreen). 2021-09-21 00:44:13 +03:00
alyokhin
fe03e98d87 Aded methods to get opacity setpoints for different layers of fog 2021-09-21 00:44:13 +03:00
alyokhin
71f285273f Disable of force explore for unseen tiles for map reveleation. 2021-09-21 00:44:13 +03:00
alyokhin
6cba540f86 Enable alpha blending for fog of war in the minimap. 2021-09-21 00:44:13 +03:00
alyokhin
585829ad6b Added possibility to set opacity for differen levels of fog in the mini map. 2021-09-21 00:44:13 +03:00
alyokhin
e5fb217f75 Const correctnes stuff. 2021-09-21 00:44:13 +03:00
alyokhin
408750bfec Implemented possibility to set opacity values for different levels of visibility. 2021-09-21 00:44:13 +03:00
alyokhin
8037c7c13d TODO comments 2021-09-21 00:44:13 +03:00
alyokhin
9a4a750894 Added posibility to get a single pixel value from an eased texture. 2021-09-21 00:44:13 +03:00
alyokhin
38126436eb Switched enhanced fog render to new BlitSurface with alpha blenfing. 2021-09-21 00:44:13 +03:00
alyokhin
0c2991664b Added blit surface with alpha blending function. 2021-09-21 00:44:13 +03:00
alyokhin
ff12391d01 Added upscale table for explored map (alternative way to reveal map) 2021-09-21 00:44:13 +03:00
Tim Felgentreff
ac4646cab3
Merge pull request #357 from psa-jforestier/accented-char
Fix accented chars when .po files are UTF8 encoded
2021-08-12 19:37:19 +02:00
Tim Felgentreff
47d849aa3f
Merge pull request #358 from psa-jforestier/Optim
Add optimization to not draw text when text is empty
2021-08-09 10:40:08 +02:00
Jerome FORESTIER
4f8ca8d1c3 fix memory leak on network game (Win32) 2021-08-03 18:42:45 +02:00
Jerome FORESTIER
4eb0d52749 Fix #359 2021-08-02 14:10:30 +02:00
Jerome FORESTIER
df318f52c6 Prevent a crash in Wargus.exe 2021-07-29 17:54:22 +02:00
Jerome FORESTIER
3604cc779d Add optimization to not draw text when text is empty (mostly in mission briefing) 2021-07-27 15:14:14 +02:00
psa-jforestier
f087a2e10b
Fix german sz 2021-07-26 17:53:21 +02:00
Jerome FORESTIER
1c70eb90a7 Fix accented char by using when .po files are UTF8 2021-07-20 22:04:04 +02:00
Tim Felgentreff
9c0ddc537c update changelog 2021-07-17 21:32:07 +02:00
Tim Felgentreff
b7e00b7dff fix setting RegenerationRate and RegenerationFrequency per unit 2021-07-17 21:28:15 +02:00
Tim Felgentreff
c338ecb828 fix regeneration frequency increasing. fixes mana regen slowdown for magic units 2021-07-17 21:14:05 +02:00
Tim Felgentreff
cfff281f9e start new dev cycle 2021-07-17 20:59:41 +02:00
Tim Felgentreff
448aed3acb Release v3.1.2 2021-07-17 07:26:07 +02:00
Tim Felgentreff
fba2e8e440
Merge pull request #356 from Wargus/topic/build-fixes
Build and runtime fixes
2021-07-17 07:12:49 +02:00
Tim Felgentreff
7aae6e1bb3 another attempt to fix quoting for cmd.exe on windows 2021-07-17 07:04:29 +02:00
Tim Felgentreff
8c709c8f8f sync to vsync 2021-07-16 16:29:22 +02:00
Tim Felgentreff
54e3feeb01 apply compatibility hacks for old windows 2021-07-16 16:15:58 +02:00
Tim Felgentreff
9a208ea3b2 Merge branch 'Fix372-Win7' of https://github.com/psa-jforestier/stratagus into topic/build-fixes 2021-07-16 16:05:09 +02:00
Tim Felgentreff
a6cdfb799b specify cmake policy. fixes deb buildpackage on 18.04 2021-07-16 13:15:11 +02:00
Tim Felgentreff
15b4869d14 Fix lto build on new ubuntu. Fixes #312 2021-07-16 10:47:24 +02:00
Tim Felgentreff
4c3ce12674 start new dev cycle 2021-07-15 19:25:46 +02:00
Jerome FORESTIER
9a44c5ea5e Fix crash when displaying an error window 2021-07-15 19:15:47 +02:00
Tim Felgentreff
805f1c1921 Release v3.1.1 2021-07-15 19:15:34 +02:00
Jerome FORESTIER
d9091f8de4 Fix to make SDL work on old Windows platform (Win7) 2021-07-15 19:14:39 +02:00
Tim Felgentreff
f51731ca79 update changelog 2021-07-15 14:54:39 +02:00
Tim Felgentreff
cf563a3e0d
Merge pull request #354 from Wargus/topic/fix-compilations
fix filesystem use on older gcc and clang versions
2021-07-15 07:02:06 +02:00
Tim Felgentreff
8df93b407d fix #350 - build with Werror=range-loop-construct 2021-07-15 05:29:53 +02:00
Tim Felgentreff
c0ad6b9e56 fix filesystem use on older gcc and clang versions 2021-07-15 05:08:04 +02:00
Tim Felgentreff
20bc360ee5
Merge pull request #353 from Wargus/fix-checksums
Fix checksums
2021-07-13 20:11:17 +02:00
Tim Felgentreff
3ada270357 ignore the common "-config.lua" files for checksumming 2021-07-13 19:32:55 +02:00
Tim Felgentreff
f26a10e2db fix our fletcher32 checksumming: we consider only letters, but the short locations was based on the total number of characters in the string 2021-07-13 19:32:55 +02:00
Tim Felgentreff
e2ec6a87f5
Merge pull request #351 from Wargus/tim/slower-regeneration
Slower regeneration
2021-07-07 21:37:40 +02:00
Tim Felgentreff
bd8c1ca8e8 fix build errors 2021-07-07 16:22:49 +02:00
Tim Felgentreff
3473b11ec7 allow even slower forest regeneration 2021-07-07 16:22:49 +02:00