trompetin17
5e2ae82d9e
Bug fix: Use sort order asc by default instead of desc
...
refs 9044735e87
This was SVN commit r27429.
2023-01-12 19:10:28 +00:00
vladislavbelov
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
trompetin17
9044735e87
Optional column "sort_order" attribute support olist GUI
...
Patch by: @Grapjas
Differential revision: D4859
Reviewed by: @trompetin17
This was SVN commit r27398.
2023-01-09 14:26:03 +00:00
trompetin17
c8e24927b2
Add support to change column heading text in olist GUI component
...
Patch by: @Grapjas
Reviewed by: @phosit @trompetin17
Differential Revision: https://code.wildfiregames.com/D4857
This was SVN commit r27384.
2023-01-07 15:02:12 +00:00
vladislavbelov
2ef801f5d0
Remove some unnecessary string copy related to substr.
...
Patch By: phosit
Differential Revision: https://code.wildfiregames.com/D4772
This was SVN commit r27271.
2022-12-04 19:56:12 +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
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
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
vladislavbelov
a6f60afdc5
Adds instancing support to backend and enables it for minimap.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4650
This was SVN commit r26901.
2022-05-24 07:11:23 +00:00
vladislavbelov
1f8705d8f7
Avoids drawing text in GUI if it will be clipped.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4640
This was SVN commit r26870.
2022-05-10 16:32:25 +00:00
vladislavbelov
62e589ab76
Adds renderer backend interface and dummy backend.
...
Comments By: phosit, Stan
Tested By: Langbart, phosit
Differential Revision: https://code.wildfiregames.com/D4636
This was SVN commit r26858.
2022-05-08 22:02:46 +00:00
vladislavbelov
3ed4eaf247
Removes ogl_WarnIfError from regular renderer code.
...
This was SVN commit r26850.
2022-05-02 21:52:21 +00:00
vladislavbelov
04bd96cee0
Moves uniform and texture binding to CDeviceCommandContext.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4631
This was SVN commit r26848.
2022-05-02 20:57:22 +00:00
vladislavbelov
aba7a170d9
Moves vertex attribute binding to CDeviceCommandContext.
...
Tested By: Langbart, Stan
Differential Revision: https://code.wildfiregames.com/D4610
This was SVN commit r26815.
2022-04-23 20:11:14 +00:00
vladislavbelov
2c8f4c4837
Moves AssertPointersBound to draw commands to not forget to call it for new shaders.
...
In the future it allows to call AssertPointersBound in a more lazy way.
This was SVN commit r26784.
2022-04-12 18:02:08 +00:00
vladislavbelov
b4253d48cb
Moves CShaderProgram to backend and handling via CDeviceCommandContext.
...
Differential Revision: https://code.wildfiregames.com/D4548
This was SVN commit r26652.
2022-03-14 22:16:14 +00:00
vladislavbelov
647fccd410
Replaces native GL types by backend format in vertex attributes in CShaderProgram.
...
This was SVN commit r26594.
2022-03-07 02:21:05 +00:00
vladislavbelov
ce18f297d5
Adds icons to minimap.
...
Tested By: Langbart, Stan
Differential Revision: https://code.wildfiregames.com/D4513
This was SVN commit r26592.
2022-03-07 01:22:06 +00:00
vladislavbelov
3a4bbd11fd
Moves all GL draw commands to CDeviceCommandContext.
...
Differential Revision: https://code.wildfiregames.com/D4518
This was SVN commit r26525.
2022-03-03 07:09:59 +00:00
vladislavbelov
da4ec670c1
Moves glViewport from CRenderer to CDeviceCommandContext.
...
This was SVN commit r26497.
2022-02-26 23:17:48 +00:00
vladislavbelov
d1f1d41a9f
Uses triangles for drawing lines in CCanvas2D.
...
Differential Revision: https://code.wildfiregames.com/D4444
This was SVN commit r26479.
2022-02-25 06:59:57 +00:00
vladislavbelov
4de89c3db1
Moves texture management to CDeviceCommandContext, adds quality options.
...
Comments By: nwtour, Stan
Tested By: nwtour, Stan
Differential Revision: https://code.wildfiregames.com/D4488
This was SVN commit r26365.
2022-02-13 19:30:28 +00:00
Angen
0a72a02ea0
Make scale variables constant
...
b4fbbed379
This was SVN commit r26307.
2022-02-06 11:11:35 +00:00
vladislavbelov
ac77d1c3e0
Moves scissor test management to DeviceCommandContext.
...
This was SVN commit r26288.
2022-02-01 17:58:21 +00:00
vladislavbelov
5adbe4f1a3
Moves blend state management to DeviceCommandContext. Fixes #6420
...
Tested By: Langbart
Comments By: Stan
Differential Revision: https://code.wildfiregames.com/D4441
This was SVN commit r26228.
2022-01-19 17:28:47 +00:00
vladislavbelov
9aedcade7f
Draws slider button only inside its element.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4435
This was SVN commit r26213.
2022-01-14 06:50:44 +00:00
vladislavbelov
15c40861b4
Separates terrain alphamap combining and uploading.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4419
This was SVN commit r26184.
2022-01-07 14:33:54 +00:00
vladislavbelov
87b5c233c5
Splits CRenderer part about scene to CSceneRenderer.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4412
This was SVN commit r26165.
2022-01-04 13:29:01 +00:00
vladislavbelov
2f90becb28
Removes SkipSubmit and unused friends from Renderer.
...
This was SVN commit r26162.
2022-01-03 12:16:16 +00:00
vladislavbelov
4fba543488
Unifies providing SkyManager and WaterManager like other managers, refs b889826a3d.
...
This was SVN commit r26158.
2022-01-03 10:49:12 +00:00
vladislavbelov
3809457513
Replaces unclear PreferGLSL by direct renderer backend choice.
...
Commented By: Stan
Differential Revision: https://code.wildfiregames.com/D4363
This was SVN commit r26069.
2021-12-14 06:34:02 +00:00
vladislavbelov
4c26a2d11f
Adds disabled sprites to slider.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4355
This was SVN commit r26019.
2021-11-27 13:37:05 +00:00
vladislavbelov
9b3dcd2610
Slightly improves minimap flares, makes animation more smooth via alpha fade in/out.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4351
This was SVN commit r26001.
2021-11-16 16:58:32 +00:00
vladislavbelov
b991ef919b
Moves MiniMap texture rendering to a separate framebuffer to update it less frequently.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4331
This was SVN commit r25993.
2021-11-12 19:15:48 +00:00
Freagarach
083ab0f4b0
Some layout changes to the replay menu.
...
Cursor should not blink in read-only.
The path was too similar to the list and thus easy to miss, it has been
changed to a 'golden' colour.
A tooltip was added to the path.
The border colour of input fields was changed from white to gold.
The buttons at the bottom of the page are spread evenly.
Patch by: @Langbart
Differential revision: https://code.wildfiregames.com/D4296
Refs: #6350
This was SVN commit r25976.
2021-10-28 06:14:17 +00:00
vladislavbelov
f543574d61
Removes lines drawing by direct GL calls from MiniMap.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4321
This was SVN commit r25973.
2021-10-27 06:42:54 +00:00
Angen
b4fbbed379
There have been quite a bit of number of questions how to change scale of the gui, because this option is hidden from the user.
...
Use dropdown with values. Implement confirmation box with countdown to
revert scale change because buttons can get unable to click.
Differential revision: D3037
Comments by: @vladislavbelov, @Stan, @wraitii, @pieq, @sera
Tested by: @Langbart
This was SVN commit r25966.
2021-10-17 10:58:51 +00:00
vladislavbelov
a5c82a4ef6
Removes unused forward declarations of class and struct.
...
This was SVN commit r25903.
2021-09-08 19:43:01 +00:00
vladislavbelov
eaddc92816
Removes unused g_GameRestarted forgotten in 7ce4552f5e.
...
This was SVN commit r25885.
2021-09-01 19:48:09 +00:00
Stan
72a20be1df
Fix rare crash on Linux when opening dropdowns.
...
Patch by: @wraitii
Accepted by: @Angen
Fixes #5598
Fixes #6225
Differential Revision: https://code.wildfiregames.com/D4183
This was SVN commit r25830.
2021-07-20 20:59:45 +00:00
Imarok
b3458d408a
Add a setting for the minimap flare lifetime.
...
Tested by: marder, Langbart
Differential Revision: https://code.wildfiregames.com/D4135
This was SVN commit r25775.
2021-06-11 20:47:09 +00:00
Imarok
ca6fcb28ab
Don't store the camera pointer in the minimap
...
Reviewed by: vladislavbelov
Fix #5973
Differential Revision: https://code.wildfiregames.com/D4100
This was SVN commit r25710.
2021-06-06 16:08:10 +00:00
vladislavbelov
a2257237b3
Removes raw pointers management from GUIScrollBarOwner.
...
This was SVN commit r25693.
2021-06-06 00:12:31 +00:00
Imarok
8e63a0322c
Map flares
...
Add flaring on the map and resize the minimap buttons.
Target marker and button by Stan.
Reviewed/Commented by wraitii, elexis, vladislavbelov
Refs: #3491
Refs: #57
Differential Revision: https://code.wildfiregames.com/D1751
This was SVN commit r25691.
2021-06-05 17:37:18 +00:00
vladislavbelov
83608c9205
Removes complex transform from TextRenderer.
...
This was SVN commit r25648.
2021-06-02 22:16:09 +00:00
vladislavbelov
2d455df18d
Removes Z value from TextRenderer translate, renames TextRenderer methods to more explicit ones.
...
This was SVN commit r25645.
2021-06-02 21:21:28 +00:00
vladislavbelov
2c3a49734c
Removes ShaderProgram from MiniMap header, removes unnecessary members, removes useless scissoring.
...
This was SVN commit r25631.
2021-06-01 21:37:14 +00:00
vladislavbelov
e0fd3b532f
Cleanups MiniMapTexture a bit.
...
This was SVN commit r25630.
2021-06-01 19:50:15 +00:00
vladislavbelov
7ce4552f5e
Moves partially MiniMap texture rendering into a separate object.
...
Tested By: Langbart, Stan
Differential Revision: https://code.wildfiregames.com/D4045
This was SVN commit r25628.
2021-06-01 18:55:35 +00:00
vladislavbelov
4d11256510
Adds shader technique caching to Canvas2D.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4034
This was SVN commit r25619.
2021-05-31 19:22:14 +00:00