Commit graph

17521 commits

Author SHA1 Message Date
Tim Felgentreff
dbe38f171b only checksum stratagus.lua. this has at least the game version 2021-11-06 06:47:53 +01:00
Tim Felgentreff
02f839ab48
Merge pull request #362 from ipochto/reveal-map
Add "Known" map reveal mode.
2021-10-25 16:57:18 +02:00
alyokhin
7e54cb54dc Removed unnecessary #include 2021-10-23 20:12:40 +03:00
alyokhin
e473177c81 performance optimization: enable multithreading for legacy fog drawing 2021-10-08 23:31:43 +03:00
alyokhin
e9df4402d1 performance optimization: std::function replaced by pointer to func 2021-10-07 19:30:54 +03:00
alyokhin
e12839beb1 Cleanup 2021-10-06 19:15:29 +03:00
alyokhin
a91f102f6e Revert changes in SetFogOfWar 2021-10-06 11:20:13 +03:00
alyokhin
f40b8c862b Removed unused variables 2021-10-05 23:13:31 +03:00
alyokhin
9d6336e71f Minimap update: checking visibility for tile now realized via CFogOfWar::VisTable for both fog types. 2021-10-03 16:35:40 +03:00
alyokhin
a6554ba6a3 Swithing back to render legacy fog via AlphaFogG graphic set to fix broken color cycling. 2021-10-03 16:32:40 +03:00
alyokhin
f29acaaac4 Revert accidental comitted local changes for launch.json 2021-10-03 15:15:22 +03:00
alyokhin
f3b54bd9c7 Enabled initialization of minimap variables with nullptr 2021-10-02 19:30:17 +03:00
alyokhin
e5095c1509 Legacy fog gtraphic moved from CMap to CFogOfWar 2021-10-02 19:21:18 +03:00
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