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
a591e5aa69
Removes unused/not implemented hooks from AppHooks. Refs f947fa6afe.
...
This was SVN commit r26024.
2021-11-29 18:21:49 +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
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
c0e0d620eb
Draws fancy water and its shore waves only for GLSL shaders.
...
This was SVN commit r26017.
2021-11-26 21:47:04 +00:00
vladislavbelov
809e3ed0bd
Removes rand function usage from tests to avoid non-uniform distributions.
...
This was SVN commit r26012.
2021-11-25 17:57:59 +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
vladislavbelov
265a2246f0
Removes unused fnv_lc_hash, also file paths case sensitive so we can't use the function.
...
This was SVN commit r26010.
2021-11-25 16:58:04 +00:00
vladislavbelov
25ce179cbc
Adds collision test for fnv_hash, removes unused include forgotten in b4a33851e6.
...
This was SVN commit r26007.
2021-11-21 11:59:02 +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
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
b5d85e279f
Removes border pixels drawing of the minimap texture with scissors after b991ef919b. Fixes #6382
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4350
This was SVN commit r25997.
2021-11-14 16:51:39 +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
bb
c1cd28c878
Also do a postMove update when the average speed over last turn isn't zero
...
Reviewed By: Freagarach
Differential Revision: D4302
refs acc780bcbb
This was SVN commit r25985.
2021-10-31 17:21:04 +00:00
vladislavbelov
4bae03c6c8
Enables GL_TEXTURE_2D always since we don't support FPP anymore.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4327
This was SVN commit r25982.
2021-10-30 14:34:20 +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
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
31a6ffdd3a
Removes mentions of legacy and unused GL calls, unifies AsFloatArray.
...
This was SVN commit r25961.
2021-10-11 12:39:01 +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
bb
acc780bcbb
Add accelerations in unit movement.
...
This helps preventing arrow dodging.
Differential Revision: D3200
Reviewed By: Freagarach
Comments By: wraitii, vladislav, Palaxin, Stan
refs: #5106
This was SVN commit r25953.
2021-10-09 21:31:11 +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
s0600204
31b70309b3
Debundle Valgrind and make it optional
...
If a *nix user wishes to build `pyrogenesis` with support for Valgrind
(such as
it is), then can do so by passing `--with-valgrind` to
`update-workspaces.sh`.
(They will need Valgrind installed and locateable via `pkg-config`.)
Reviewed By: sera, Stan
Fixes : #2904
Differential Revision: https://code.wildfiregames.com/D3646
This was SVN commit r25933.
2021-09-20 22:18:28 +00:00
vladislavbelov
ce08f57f51
Removes ogl_tex_find function, which duplicates cache-like logic in TextureManager.
...
This was SVN commit r25932.
2021-09-20 16:39:51 +00:00
vladislavbelov
3e198f1463
Removes duplication of terrain alpha map creation in Renderer.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4269
This was SVN commit r25931.
2021-09-20 12:55:39 +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
Freagarach
645e053fd2
Remove executable bit on some source files.
...
Reported by: Ralph Sennhauser
Fixes : #6325
This was SVN commit r25917.
2021-09-12 18:41:51 +00:00
Stan
b6012ec606
Fix false positive; undefined variable in NetworkClient.cpp
...
refs #6321 for further cleanups.
Discussed with: @wraitii
Differential Revision: https://code.wildfiregames.com/D4258
This was SVN commit r25908.
2021-09-09 18:00:17 +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
Stan
d599a86b3e
Disable the false positive "mod by 0" warning on Windows.
...
Differential Revision: https://code.wildfiregames.com/D4259
This was SVN commit r25906.
2021-09-09 17:49:07 +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
Stan
3fdbe3e8dc
Make translation pulling parallel to reduce update time.
...
This was SVN commit r25897.
2021-09-05 17:39:51 +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
3b417062bb
Reduces the number of possible allocations for models with multiple UV sets during loading.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4247
This was SVN commit r25890.
2021-09-03 20:11:52 +00:00
vladislavbelov
eaddc92816
Removes unused g_GameRestarted forgotten in 7ce4552f5e.
...
This was SVN commit r25885.
2021-09-01 19:48:09 +00:00
vladislavbelov
55f9d78e7e
Moves tex tests to the related folder, was forgotten to move in 63086f4e26.
...
This was SVN commit r25884.
2021-09-01 19:27:34 +00:00
Freagarach
dd90dbf8b5
Allow to enable Cartography at the start of a match.
...
Adds a checkbox to the game setup to allow players to have Cartography
autoresearched from the start of the match.
Refs.
https://wildfiregames.com/forum/topic/27265-theres-any-mod-so-you-can-see-what-your-allies-see-from-the-start .
Patch by: @Jammyjamjamman
Differential revision: https://code.wildfiregames.com/D4191
Reviewed by: @Angen
Comments by: @andy5995, @Langbart
This was SVN commit r25869.
2021-08-28 06:15:36 +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
Angen
9ff8b0758c
[scripts]Update translation checks to check pluralised strings
...
Currently script checks only singular translations
Add branch to check plural strings as well
Differential revision: D4199
Refs: #4250
Comments by: @Stan
This was SVN commit r25865.
2021-08-27 18:48:41 +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