vladislavbelov
912202ff0c
Uses core GL functions for GLSL shaders.
...
Tested By: nwtour, Stan
Differential Revision: https://code.wildfiregames.com/D4416
This was SVN commit r26175.
2022-01-06 11:41:04 +00:00
vladislavbelov
5e3426794c
Moves frame rendering function to CRenderer and combines with making screenshots.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4414
This was SVN commit r26166.
2022-01-04 18:13:45 +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
4fba543488
Unifies providing SkyManager and WaterManager like other managers, refs b889826a3d.
...
This was SVN commit r26158.
2022-01-03 10:49:12 +00:00
Stan
7afe489214
Remove topology.cpp. The data isn't useful to us, and it prevents some players from running the game.
...
Fixes #6028
Differential Revision: https://code.wildfiregames.com/D4402
This was SVN commit r26157.
2022-01-03 10:29:34 +00:00
vladislavbelov
8347c94e3a
Moves game load progress update function from GameSetup to CGUIManager.
...
This was SVN commit r26150.
2022-01-01 12:23:24 +00:00
vladislavbelov
7b8c66ec9f
Adds config settings for borderless fullscreen and window modes.
...
Tested By: bb, Langbart
Differential Revision: https://code.wildfiregames.com/D4106
This was SVN commit r26148.
2021-12-31 12:05:48 +00:00
Stan
ae32055c9b
Add support for GL_KHR_debug in Debug Mode.
...
Based on a patch by: @linkmauve
Reviewed by: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D2488
This was SVN commit r26141.
2021-12-30 15:07:17 +00:00
vladislavbelov
9696df3c28
Removes unused ogl/ogl_tex includes.
...
This was SVN commit r26121.
2021-12-27 10:11:26 +00:00
Angen
ac7dc057df
Add "Invalid signature" reason to modio
...
When signature is invalid, it does not comunicate the reason clearly.
Fix this.
Also remove silent failure in case of signature is not valid.
Differential revision: D3478
Reviewed by: @bb
This was SVN commit r26111.
2021-12-25 19:31:51 +00:00
vladislavbelov
6f1322881e
Cleanups console a little bit.
...
This was SVN commit r26099.
2021-12-23 07:37:03 +00:00
Stan
c9bea80e0d
Use GLAD2 a multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator.
...
Comments by: @nwtour, @Langbart, @bb
Based on patch by: @echotangoecho
Tested on Windows 7 & 10, Ubuntu and macos.
Differential Revision: https://code.wildfiregames.com/D721
This was SVN commit r26093.
2021-12-21 22:03:31 +00:00
vladislavbelov
3b9b7cd605
Moves GL report from HWDetect to GL device.
...
Tested By: Freagarach, Stan
Differential Revision: https://code.wildfiregames.com/D4376
This was SVN commit r26081.
2021-12-16 06:36:46 +00:00
vladislavbelov
eb004e5c98
Uses forward declaration for SDL in GL device.
...
This was SVN commit r26078.
2021-12-15 10:50:31 +00:00
vladislavbelov
89c181ded1
Encapsulates information about GL inside device.
...
Commented By: Stan
Differential Revision: https://code.wildfiregames.com/D4375
This was SVN commit r26072.
2021-12-15 06:43:41 +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
a3382fb3eb
Removes checks for unused or always enabled GL extensions.
...
Differential Revision: https://code.wildfiregames.com/D4371
This was SVN commit r26065.
2021-12-13 18:36:37 +00:00
Stan
5b6bb1cd89
Fix Alt Tab on Windows for SDL > 2.0.12
...
Comments by: @vladislavbelov, @Freagarach
Differential Revision: https://code.wildfiregames.com/D4359
This was SVN commit r26055.
2021-12-12 16:01:30 +00:00
vladislavbelov
5e61febf16
Resolves concerns from e4907bdb6e. Fixes #6395
...
Tested By: Langbart, nwtour
Differential Revision: https://code.wildfiregames.com/D4370
This was SVN commit r26051.
2021-12-10 21:29:40 +00:00
vladislavbelov
fe511e88d9
Adds FreeType support to the engine.
...
Tested By: Langbart, Imarok, Stan, s0600204, wraitii
Differential Revision: https://code.wildfiregames.com/D4108
This was SVN commit r26040.
2021-12-08 22:14:43 +00:00
vladislavbelov
90f27d4909
Adds console toggle hotkeys to the console welcome message.
...
Patch By: nwtour
Differential Revision: https://code.wildfiregames.com/D4347
This was SVN commit r26035.
2021-12-07 20:09:46 +00:00
vladislavbelov
e4907bdb6e
Forces GL 2.1 core context creation in VideoMode.
...
This was SVN commit r26031.
2021-12-04 22:01:20 +00:00
vladislavbelov
5a7aa37cd1
Fixes without PCH build after af567560b8.
...
Reported By: Freagarach
This was SVN commit r26026.
2021-11-30 18:03:39 +00:00
vladislavbelov
af567560b8
Drops custom utf16 string implementation (from cdd3317ded), uses C++11 one.
...
Patch By: sera
Differential Revision: https://code.wildfiregames.com/D4223
This was SVN commit r26023.
2021-11-29 12:10:41 +00:00
vladislavbelov
e1374252b7
Removes direct access to shaders, leaves only techniques.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4353
This was SVN commit r26020.
2021-11-27 15:01:14 +00:00
vladislavbelov
6efa293fd1
Reduces number of allocations during GPU profiler processing for Intel queries.
...
This was SVN commit r26011.
2021-11-25 17:33:17 +00:00
Freagarach
ab01a2d2fc
Fix replay folders with special characters.
...
Implemented in e7ab22286e , broken in cb346e207b .
Patch by: @Langbart
Help by: @elexis
Differential revision: https://code.wildfiregames.com/D4345
Fixes : #6373
Reviewed by: @vladislavbelov
Tested by: @Freagarach
This was SVN commit r26005.
2021-11-19 11:34:26 +00:00
vladislavbelov
d1a7aa2858
Adds alpha and custom options to render debug modes.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4346
This was SVN commit r25996.
2021-11-14 08:33:59 +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
vladislavbelov
36eb92f9a4
Adds render debug modes.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4311
This was SVN commit r25992.
2021-11-12 11:22:18 +00:00
Angen
5924575705
Fix pathname not matching name incompatible mod detection
...
Differential revision: D4324
Broken in 498f0d420b
This was SVN commit r25979.
2021-10-28 20:33:01 +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
9ee448b377
Removes direct GL calls from Atlas bandbox drawing.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4300
This was SVN commit r25960.
2021-10-11 11:30:50 +00:00
vladislavbelov
0e599a3176
Moves cursor to VideoMode to draw it via SDL.
...
It removes the software implementation intentionally. Because it
duplicates SDL functionality. But it might be added in future on demand.
Tested By: bb, Langbart
Differential Revision: https://code.wildfiregames.com/D4278
This was SVN commit r25936.
2021-09-21 22:44:46 +00:00
wraitii
dfeb29b82c
Fix duplicate insertion error when detecting incompatible mods.
...
Since f1acd22455 , mods are checked for compatibility. However, they can
incorrectly be checked & added to inompatible mods several time, leading
to a potential crash.
The new code can also be simplified slightly.
Reviewed By: Angen
Differential Revision: https://code.wildfiregames.com/D4276
This was SVN commit r25926.
2021-09-17 16:59:03 +00:00
Stan
6272ba2344
Remove Custom implementation of wrename on windows. 52baaa4bbd removed the other occurences.
...
Reviewed by: @wraitii
Differential Revision: https://code.wildfiregames.com/D4225
This was SVN commit r25907.
2021-09-09 17:53:17 +00:00
vladislavbelov
96708cc6a5
Adds header for forward declarations of CStr.
...
This was SVN commit r25905.
2021-09-09 17:39:08 +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
b90066a69b
Moves macro-defined methods of CStr to templates.
...
Differential Revision: https://code.wildfiregames.com/D4251
This was SVN commit r25900.
2021-09-07 21:01:34 +00:00
vladislavbelov
e62dac7ad4
Removes unused macro from CStr, reduces macro dependency.
...
Tested By: Freagarach, Stan
Differential Revision: https://code.wildfiregames.com/D4245
This was SVN commit r25891.
2021-09-03 21:06:22 +00:00
vladislavbelov
eaddc92816
Removes unused g_GameRestarted forgotten in 7ce4552f5e.
...
This was SVN commit r25885.
2021-09-01 19:48:09 +00:00
Angen
81ad9f746b
Do not require restart when chaning Background pause option
...
Background pause does require a game restart to take effect.
Adding function to update it on runtime since only place where it is
used is in main.cpp.
Differential revision: D4181
Fixes : #6236
Tested by: @Langbart
This was SVN commit r25866.
2021-08-27 18:54:20 +00:00
Stan
4a9bac2811
Bump version to alpha 26.
...
Last alpha 25 commit was [[SVN:25860]]
Accepted by: @Freagarach, @asterix
Comments by: @wraitii
Differential Revision: https://code.wildfiregames.com/D4215
This was SVN commit r25861.
2021-08-27 16:32:34 +00:00
Stan
26bfd92dbd
Fix nopch build. broken in 52baaa4bbd.
...
This was SVN commit r25855.
2021-08-22 13:20:41 +00:00
Angen
52baaa4bbd
Fix updating existing mods
...
Replace wrename, that fails when mod exists already with RenameFile by
@Stan
Check if mod was actually installed when downloading it
error if mod cannot be coppied into modTemp
Differential revision: D4222
This was SVN commit r25854.
2021-08-22 11:35:34 +00:00
Angen
83bb6f3ed5
Fix downloanded mods not showing in list until restart
...
since 498f0d420b
While at it, remove not used variable after 6400a4a0c5
also fix non visual replay broken in 6400a4a0c5
Differential revision: D4220
Tested by: @Stan, @Langbart
Fixes : #6288
This was SVN commit r25853.
2021-08-22 09:54:16 +00:00
Angen
6400a4a0c5
Update Available mods when installing them
...
Differential revision: D4211
Since 498f0d420b available mods where cached and not updated when new
where installed.
Fixing above.
This was SVN commit r25850.
2021-08-17 17:32:10 +00:00
wraitii
17c54d5a69
Fix options occasionally thinking they've been modified when they haven't.
...
std::array leave the values in an undefined state which can very well be
'true'.
Tested By: Freagarach
Fixes #6205
Differential Revision: https://code.wildfiregames.com/D4170
This was SVN commit r25802.
2021-06-16 15:54:55 +00:00
wraitii
4de9c4c164
Fixes for some random maps.
...
- Hellas_biome isn't a RM but as a JSON script it does load, and then
silently fails on mapgen. Explicitly fail.
- Fix player.js when a valid position cannot exist.
- Fix unknown.js when landscape isn't set in the settings.
Reported by: vladislavbelov
Refs #6180
Differential Revision: https://code.wildfiregames.com/D4147
This was SVN commit r25765.
2021-06-10 13:16:10 +00:00
vladislavbelov
e0b492a83a
Removes old gui_* materials, replaced by a single canvas2d material.
...
This was SVN commit r25714.
2021-06-06 18:25:04 +00:00