157c6af18e
Make the space in 0 A.D. non-breaking throughout the codebase.
...
Avoid cases of filenames
Update years in terms and other legal(ish) documents
Don't update years in license headers, since change is not meaningful
Will add linter rule in seperate commit
Happy recompiling everyone!
Original Patch By: Nescio
Comment By: Gallaecio
Differential Revision: D2620
This was SVN commit r27786.
2023-07-27 20:54:46 +00:00
70d89254c8
Fixes linking failure solution introduced in 48ba4d9cb4
for SDL dependency.
...
Refs #3138
Accepted By: Itms
Differential Revision: https://code.wildfiregames.com/D5065
This was SVN commit r27764.
2023-07-18 20:21:59 +00:00
85bc074ae5
Moves script interface Object include out of FunctionWrapper header.
...
Differential Revision: https://code.wildfiregames.com/D5067
This was SVN commit r27755.
2023-07-07 20:12:16 +00:00
4e86f99fe2
Replaces boost string general includes by more precise ones.
...
Differential Revision: https://code.wildfiregames.com/D5066
This was SVN commit r27746.
2023-06-30 19:10:13 +00:00
766b0820f7
Use std::function in the Loader.
...
Accepted By: @wraitii
Differential Revision: https://code.wildfiregames.com/D4989
This was SVN commit r27740.
2023-06-26 18:35:34 +00:00
e31d70f059
Removes waiting from MapGenerator. This makes the game window more responsible during map generating.
...
- remove `SDL_Delay(100)`
- the progress is now an `std::atomic` (not protected by the mutex
anymore)
Based On Patch By: @vladislavbelov
Accepted By: @wraitii
Differential Revision: https://code.wildfiregames.com/D3676
This was SVN commit r27717.
2023-06-18 12:19:26 +00:00
8f78ac1ef8
Decouples renderer code from VideoMode to get backend device.
...
Differential Revision: https://code.wildfiregames.com/D5043
This was SVN commit r27693.
2023-06-14 07:06:22 +00:00
3147123611
Adds CStrIntern for FXAA and dummy shader names for consistency.
...
Reported By: Stan
This was SVN commit r27608.
2023-04-16 22:39:36 +00:00
c138527abc
Removes assertion from MinimapTexture on entities overflow.
...
Differential Revision: https://code.wildfiregames.com/D4977
This was SVN commit r27601.
2023-04-11 09:50:35 +00:00
b150ab7e75
Fixes decals with default normal texture.
...
Differential Revision: https://code.wildfiregames.com/D4966
This was SVN commit r27576.
2023-03-12 13:01:51 +00:00
6adc9446be
Removes ogl.h from PCH.
...
Differential Revision: https://code.wildfiregames.com/D4950
This was SVN commit r27556.
2023-02-20 20:06:53 +00:00
0fce64ed5a
Fixes Atlas previews after e4455a8e8f
.
...
Differential Revision: https://code.wildfiregames.com/D4919
This was SVN commit r27521.
2023-02-01 21:56:35 +00:00
cb5a0b6342
Prevents using R8G8B8_UNORM format for Vulkan textures as it can be supported as a native format only by workarounds.
...
This was SVN commit r27496.
2023-01-26 21:44:50 +00:00
f9d1ecfd31
Removes unused BrokenColor constant forgotten to be removed in b7888aea52
.
...
This was SVN commit r27447.
2023-01-15 13:01:31 +00:00
7c84c23114
Adds Vulkan backend.
...
Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4876
This was SVN commit r27412.
2023-01-10 20:22:20 +00:00
dc085205e3
Fixes macOS builds for missed value() in std::optional.
...
This was SVN commit r27380.
2023-01-07 00:46:01 +00:00
0641d3660f
Replaces std::vector by std::optional for usableTech in ShaderManager.
...
This was SVN commit r27378.
2023-01-06 22:15:57 +00:00
90f064ff03
Switches from per draw vertex attribute format to precompiled vertex input layout.
...
Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4852
This was SVN commit r27363.
2023-01-06 00:39:25 +00:00
4ed41d4a9a
Switches from pipeline state descriptions to pipeline states.
...
Tested By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4850
This was SVN commit r27328.
2022-12-31 18:29:44 +00:00
ded41eab31
Allow other root XML than entity
.
...
Implements a `GetOnlyChild()`, following discussion at
https://irclogs.wildfiregames.com/%230ad-dev/2022-05-06-QuakeNet-%230ad-dev.log .
Differential revision: https://code.wildfiregames.com/D4738
Comments by: @phosit , @Stan , @vladislavbelov , @wraitii
This was SVN commit r27323.
2022-12-30 07:34:23 +00:00
c0e888e2af
Removes SetViewport from CRenderer.
...
Differential Revision: https://code.wildfiregames.com/D4849
This was SVN commit r27313.
2022-12-29 06:53:06 +00:00
29368cf776
Adds framebuffer attachment load and store operations.
...
Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4830
This was SVN commit r27256.
2022-11-26 21:55:17 +00:00
8e51dfa91a
Moves post processing out of scene rendering to avoid framebuffer pass duplicate.
...
Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4827
This was SVN commit r27232.
2022-11-18 19:59:18 +00:00
dac3ce3584
Add JS bindings for in game camera attributes.
...
Patch By: edoput
Differential Revision: https://code.wildfiregames.com/D4667
This was SVN commit r27230.
2022-11-18 19:24:45 +00:00
097725e1e0
Moves particles data uploading out of framebuffer pass.
...
Comments By: phosit
Differential Revision: https://code.wildfiregames.com/D4820
This was SVN commit r27207.
2022-11-06 11:31:05 +00:00
968fd50fb0
Moves Backend enum from CVideoMode to backends.
...
Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4809
This was SVN commit r27173.
2022-10-25 22:45:54 +00:00
228fff14e4
Splits minimap entities rendering and moves buffer uploading before drawing.
...
This was SVN commit r27165.
2022-10-22 21:00:13 +00:00
64bd81ae6b
Adds usage flags to backend textures.
...
This was SVN commit r27152.
2022-10-12 23:19:27 +00:00
d3f0395d2a
Adds BeginFramebufferPass/EndFramebufferPass instead of SetFramebuffer.
...
This was SVN commit r27151.
2022-10-12 21:51:27 +00:00
344ec2c166
Reduces uniforms sizes for the minimap shader.
...
This was SVN commit r27147.
2022-10-11 22:20:36 +00:00
b728c9e97e
Fixes vertex attribute format in minimap and passes dependent textures as parameters.
...
This was SVN commit r27145.
2022-10-11 20:37:27 +00:00
c57b416e20
Fixes calls to SetVertexAttributeFormat with zero stride.
...
This was SVN commit r27139.
2022-10-09 13:03:42 +00:00
a311539ec9
Reduces the number of SetVertexAttributeFormat calls in Canvas2D.
...
This was SVN commit r27138.
2022-10-09 12:21:26 +00:00
908d9a0079
Moves vertex buffer offset to SetVertexBuffer.
...
This was SVN commit r27137.
2022-10-09 11:47:34 +00:00
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
ecab4595c3
Merges a duplication of CColor tests files introduced in 2c14d94559
.
...
This was SVN commit r27133.
2022-10-07 23:19:12 +00:00
4079818187
Fixes CGradientTexture backend name.
...
This was SVN commit r27131.
2022-10-07 22:55:30 +00:00
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
adc6447b7b
Fixes vertex attribute stride in Canvas2D.
...
This was SVN commit r27110.
2022-10-04 19:38:40 +00:00
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
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
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
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
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
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
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
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
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
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
095838da0a
Fixes A8 framebuffer format used for LOS interpolation and enables smooth LOS by default.
...
Tested By: Langbart, mastoras
Differential Revision: https://code.wildfiregames.com/D4654
This was SVN commit r26906.
2022-05-26 16:36:57 +00:00