vladislavbelov
c57b416e20
Fixes calls to SetVertexAttributeFormat with zero stride.
...
This was SVN commit r27139.
2022-10-09 13:03:42 +00:00
vladislavbelov
a311539ec9
Reduces the number of SetVertexAttributeFormat calls in Canvas2D.
...
This was SVN commit r27138.
2022-10-09 12:21:26 +00:00
vladislavbelov
908d9a0079
Moves vertex buffer offset to SetVertexBuffer.
...
This was SVN commit r27137.
2022-10-09 11:47:34 +00:00
vladislavbelov
dffde00e5f
Reduces uniforms sizes for the Canvas2D shader.
...
Differential Revision: https://code.wildfiregames.com/D4796
This was SVN commit r27136.
2022-10-09 10:44:51 +00:00
vladislavbelov
178850cb23
Replaces border color of sampler by enum.
...
This was SVN commit r27134.
2022-10-08 09:40:06 +00:00
vladislavbelov
ecab4595c3
Merges a duplication of CColor tests files introduced in 2c14d94559.
...
This was SVN commit r27133.
2022-10-07 23:19:12 +00:00
vladislavbelov
ca427529c0
Fixes include guards of CDeviceCommandContext headers.
...
This was SVN commit r27132.
2022-10-07 23:02:15 +00:00
vladislavbelov
4079818187
Fixes CGradientTexture backend name.
...
This was SVN commit r27131.
2022-10-07 22:55:30 +00:00
vladislavbelov
61019c0e91
Removes unused minimap shader variants.
...
This was SVN commit r27130.
2022-10-07 22:52:23 +00:00
Stan
ef9057239a
Fix notes in 0a4ba039b4
...
This was SVN commit r27129.
2022-10-07 12:39:23 +00:00
Stan
0a4ba039b4
Update ifdef condition for MCST-LCC compiler (E2K)
...
Patch by: @r-a-sattarov
Differential Revision: https://code.wildfiregames.com/D4795
This was SVN commit r27128.
2022-10-07 07:44:40 +00:00
vladislavbelov
4d77de66d4
Removes GUI dependency from Canvas2D.
...
Initially the GetDefaultGuiMatrix function was added in 4113aa0a36 and
renamed in 04c63a4093 .
This was SVN commit r27111.
2022-10-04 20:25:39 +00:00
vladislavbelov
adc6447b7b
Fixes vertex attribute stride in Canvas2D.
...
This was SVN commit r27110.
2022-10-04 19:38:40 +00:00
vladislavbelov
75518d0e15
Removes drawing via IDeviceCommandContext from CMinimap.
...
Comments By: phosit
Differential Revision: https://code.wildfiregames.com/D4779
This was SVN commit r27109.
2022-10-04 19:32:42 +00:00
vladislavbelov
bd7b9b884a
Fixes out of bounds on each match start in Profiler2 introduced in 3cbe96d24c. Refs #6620
...
Differential Revision: https://code.wildfiregames.com/D4787
This was SVN commit r27108.
2022-10-04 19:28:21 +00:00
vladislavbelov
296daea4ba
Cleanups CShaderParams::SItems comparisons.
...
Patch By: phosit
Differential Revision: https://code.wildfiregames.com/D4689
This was SVN commit r27107.
2022-10-04 19:13:44 +00:00
vladislavbelov
6ca43f056d
Adds PS::span and std::string_view to CmdLineArgs.
...
Patch By: phosit
Differential Revision: https://code.wildfiregames.com/D4677
This was SVN commit r27106.
2022-10-04 19:08:39 +00:00
Stan
f68528777f
Bump version to alpha 27.
...
Last alpha 26 commit was [[SVN:27104]]
Accepted by: @asterix, @vladislavbelov
Discussed with: @Freagarach, @wraitii, @implodedok, @Itms
Refs: #6625
Differential Revision: https://code.wildfiregames.com/D4789
This was SVN commit r27105.
2022-10-04 17:05:11 +00:00
Dunedan
a72fa8f7c7
Remove code for the lobby bots from SVN
...
This removes the code for the lobby bots from SVN to avoid confusion as
the code is now hosted on Github at https://github.com/0ad/lobby-bots .
Differential Revision: https://code.wildfiregames.com/D4155
This was SVN commit r27094.
2022-09-11 13:21:41 +00:00
Dunedan
7f5e664eec
Remove code for the lobby bots from SVN
...
This removes the code for the lobby bots from SVN to avoid confusion as
the code is now hosted on Github at https://github.com/0ad/lobby-bots .
Differential Revision: https://code.wildfiregames.com/D4155
This was SVN commit r27093.
2022-09-11 13:14:20 +00:00
Stan
6109fd3ee0
Fix the check translation script failing.
...
This was SVN commit r27091.
2022-09-10 17:16:32 +00:00
Stan
f616327f2d
Revert 10554eb5b1 as it prevents building on FreeBSD.
...
This was SVN commit r27081.
2022-09-01 20:39:46 +00:00
vladislavbelov
6be7bd0677
Fixes space correction after f4128208de.
...
Tested By: phosit
Differential Revision: https://code.wildfiregames.com/D4774
This was SVN commit r27077.
2022-08-30 17:46:33 +00:00
vladislavbelov
2ee13983a1
Minor fixes for NSIS - Windows distribution script, HTTP > HTTPS.
...
Reviewed By: Stan
Differential Revision: https://code.wildfiregames.com/D4756
This was SVN commit r27073.
2022-08-26 16:01:57 +00:00
vladislavbelov
d286080285
Fixes the default number of workers in TaskManager in case of zero hardware_concurrency.
...
Differential Revision: https://code.wildfiregames.com/D4768
This was SVN commit r27064.
2022-08-20 20:40:05 +00:00
Stan
2285d84d3d
Fix warning reported by the NOPCH automatic CI.
...
This was SVN commit r27063.
2022-08-20 12:25:19 +00:00
Stan
e947dcb23c
Fix ab16e60afa
...
Reported by: @Langbart
Accepted by: @Vladislavbelov
Tested by: @Langbart
Fixes : #6603
Differential Revision: https://code.wildfiregames.com/D4765
This was SVN commit r27058.
2022-08-16 14:57:28 +00:00
Stan
ab16e60afa
Fix previous commit.
...
This was SVN commit r27056.
2022-08-14 18:22:48 +00:00
Stan
c9dc8676a6
Fix mod installation in non latin folders. Use OSString for consistency.
...
Refs e7ab22286e
Refs 880a797ce0
Refs 404e1a9a4a
Refs 52baaa4bbd
This was SVN commit r27055.
2022-08-14 17:55:08 +00:00
Stan
880a797ce0
Fix replay cache creation in non latin folders.
...
IRC:
https://irclogs.wildfiregames.com/%230ad-dev/2022-08-14-QuakeNet-%230ad-dev.log
Reported by: @AirXonix2
Thread:
https://wildfiregames.com/forum/topic/89261-a-new-series-of-bugs/#comment-514734
Discussed with: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D4763
This was SVN commit r27054.
2022-08-14 17:23:50 +00:00
vladislavbelov
95106b2d9b
Fixes crash in Atlas when switching from the Actor viewer. Fixes #6524
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4732
This was SVN commit r27041.
2022-08-10 17:17:24 +00:00
Stan
759aa333a5
Add a function to handle custom phase techs, so they do not show as unused.
...
Fix autostart files being marked as unused.
Fix an issue with the researcher component. Patch by: @marder
Refs https://code.wildfiregames.com/D4750
Refs #6587
Fixes ca82935dfc
This was SVN commit r27033.
2022-08-06 15:06:03 +00:00
Stan
fb94d8aa59
Fix writing mod.json on Windows in non Latin user folders.
...
Accepted by: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D4741
This was SVN commit r27031.
2022-08-05 17:55:49 +00:00
Stan
9d2275e26b
Fix assertion when trying to draw a line with one point. This would trigger an ensure if one enabled the unitmotion overlay.
...
Patch by: @vladislavbelov
This was SVN commit r27016.
2022-07-25 20:08:03 +00:00
Stan
ca82935dfc
Add techs and auras to the list of possibly missing files.
...
Refs: #6544
Accepted by: @Langbart
Differential Revision: https://code.wildfiregames.com/D4725
This was SVN commit r26991.
2022-06-27 14:31:16 +00:00
Stan
ec723428d1
Logic fix for very high shadows on very large screens.
...
ON large screens like 5120x1440 calculated shadow map was 32768. That
was 16x more than high setting, 32x more than medium setting and 64x
more than low setting.
After this change shadow map sizes using very high setting by resolution
will be following:
1920x1080 - 4096
2560x1440 - 4096
3840x1440 - 4096
5120x1440 - 8192
3840x2160 - 4096
7680x4320 - 8192
Patch by: @karmux
Reviewed by: @vladislavbelov, @Stan
Differential Revision: https://code.wildfiregames.com/D4723
This was SVN commit r26983.
2022-06-23 17:04:13 +00:00
Stan
833f8d0e79
Bump the max amount of instanced icons to 256 to account for Egypt 3v3 as suggested by @vladislavbelov.
...
192 worked as well but the error spam isn't really nice going above 256
is madness anyway.
Reported by: @Langbart
Fixes : #6578
This was SVN commit r26969.
2022-06-20 07:12:43 +00:00
vladislavbelov
8ee8e63bcc
Fixes same sequenced frames for LOS smooth textures. Fixes #6569
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4700
This was SVN commit r26950.
2022-06-17 19:42:48 +00:00
vladislavbelov
28e46ba765
Groups close minimap icons by path and color to decrease their visible count.
...
Comments By: phosit, Stan
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4702
This was SVN commit r26949.
2022-06-17 19:40:50 +00:00
wraitii
274fe129a1
Change deprecated binary_negate<> to not_fn<>
...
Deprecated in C++17
Patch by: jprahman
Reviewed By: wraitii
Differential Revision: https://code.wildfiregames.com/D4693
This was SVN commit r26939.
2022-06-12 08:45:39 +00:00
vladislavbelov
9845a99f77
Adds EGL support for Wayland.
...
Tested By: Freagarach, Mentula, phosit
Differential Revision: https://code.wildfiregames.com/D4642
This was SVN commit r26929.
2022-06-09 21:09:32 +00:00
Stan
8b57e0eeba
Fix build without precompiled headers. Fixes f4128208de
...
This was SVN commit r26925.
2022-06-06 21:48:07 +00:00
Stan
12dfe2ce55
Use CVector2D instead of float arrays for TexturedLineRData
...
Reviewed by: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D4688
This was SVN commit r26924.
2022-06-06 21:46:37 +00:00
vladislavbelov
24140bf620
Fixes crash in LOSTexture because of incorrect nullptr check introduced in 648e68e49c.
...
This was SVN commit r26923.
2022-06-06 21:21:52 +00:00
vladislavbelov
ffe4ea24ab
Fixes LOS flickering because of float precision. Fixes #6546
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4684
This was SVN commit r26922.
2022-06-06 20:48:18 +00:00
vladislavbelov
b0c29b8676
Removes GL types from regular renderer code after 3ed4eaf247.
...
This was SVN commit r26920.
2022-06-06 07:30:45 +00:00
vladislavbelov
54aae3e6d4
Moves anisotropic filtering support check from GL texture to TextureManager to make it explicit.
...
This was SVN commit r26919.
2022-06-06 06:59:20 +00:00
wraitii
aaa95dc00b
Minor cleanup in Future and TaskManager
...
- Remove redundant std::move() calls
- default ctor/dtor in place of empty {}
Patch by: jprahman
Comments by; phosit
Accepted by: vladislavbelov
Differential Revision: https://code.wildfiregames.com/D4675
This was SVN commit r26916.
2022-06-02 12:59:25 +00:00
wraitii
f4128208de
Fix text alignment handling of spaces around wrapping.
...
Follows f8d2927748 .
There is an issue with text-wrapping and word separators (aka spaces).
Because 0 A.D. collates the space after a word to the same TextCall, we
occasionally need to ignore it when considering line-wrapping, because
we don't want empty spaces on the right-side of right-aligned text.
However, the logic to handle this is currently broken and inconsistent.
The method introduced here uses the SFeedback structure to properly
report it and generalises the checks.
Note that multiples spaces are not collapsed in 0 A.D., and for
consistency the word-separator-collapsing behaviour is ignored.
Comments by: phosit, vlasdislavbelov
Fixes #6551
Differential Revision: https://code.wildfiregames.com/D4662
This was SVN commit r26915.
2022-06-02 12:56:53 +00:00
Stan
b9adbbd8be
Fix 557fa0312e by adding the js files to the list of dependencies. They were previously found under the gui folder.
...
Reported by: @Langbart
Fixes #6542
This was SVN commit r26909.
2022-05-28 17:01:42 +00:00