Commit graph

17508 commits

Author SHA1 Message Date
alyokhin
9ad4af9dc8 Move legacy fog into the CFogOfWar. Refactor. 2021-10-02 18:36:01 +03:00
alyokhin
df43d03a49 Removed unnecessary AlphaFogG 2021-09-28 21:01:46 +03:00
alyokhin
733f4a7cdf Added comments, and fixed error message for reveal modes. 2021-09-28 19:48:37 +03:00
alyokhin
d3733c1c28 Added missed comments with CommandLog's 2021-09-27 18:53:00 +03:00
alyokhin
5ec7af292c Update RevealMap() for new modes 2021-09-24 17:45:40 +03:00
alyokhin
d2a20cf2a8 Added extended network messages for changing map reveal and fog of war. 2021-09-24 17:44:26 +03:00
alyokhin
0230118b05 Added reveal map modes 2021-09-24 17:27:23 +03:00
alyokhin
a12af1d6c0 Added missed check for NoFogOfWar option 2021-09-22 14:41:15 +03:00
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