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
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
Stan
f616327f2d
Revert 10554eb5b1 as it prevents building on FreeBSD.
...
This was SVN commit r27081.
2022-09-01 20:39:46 +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
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
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
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
10554eb5b1
Fix RAM amount detection on BSD and macOS.
...
Tested by: @Mastoras
Comments by: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D4651
This was SVN commit r26888.
2022-05-17 08:08:14 +00:00
vladislavbelov
ddb8b08508
Removes lib_api.h cleared but not deleted in 8c068aab07.
...
This was SVN commit r26813.
2022-04-22 16:11:21 +00:00
vladislavbelov
d8d736f0eb
Allows tex clients decide how to handle invalid textures instead of assertions. Fixes #6436
...
This was SVN commit r26783.
2022-04-12 17:39:05 +00:00
bb
be2f33b661
removeable => removable
...
Patch By: LudovicRousseau
Comments By: vladislav, Nescio
Differential Revision: D3663
fixes #6098
This was SVN commit r26533.
2022-03-03 14:52:13 +00:00
vladislavbelov
36833d1df2
Moves max texture size to backend device capabilities.
...
This was SVN commit r26409.
2022-02-18 23:17:48 +00:00
vladislavbelov
b949f19875
Moves GL debug information toggle to run-time to make it easier to test after release.
...
This was SVN commit r26407.
2022-02-18 22:38:45 +00:00
vladislavbelov
d0115185b9
Removes unused and redundant h_mgr after 0e599a3176 and dd91a5e0ef.
...
This was SVN commit r26369.
2022-02-13 22:31:36 +00:00
vladislavbelov
dd91a5e0ef
Removes unused ogl_tex after 4de89c3db1 and 492a109b68.
...
This was SVN commit r26368.
2022-02-13 22:07:56 +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
vladislavbelov
8c068aab07
Removes possibility to link lowlevel library dynamically.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4470
This was SVN commit r26281.
2022-01-31 06:53:30 +00:00
vladislavbelov
4ce609bb1f
Uses MIPs for terrain textures previews following e4455a8e8f.
...
Comments By: Stan
Differential Revision: https://code.wildfiregames.com/D4447
This was SVN commit r26239.
2022-01-24 07:00:55 +00:00
vladislavbelov
c114bab396
Removes mem_get_ptr from the Tex::get_data comment forgotten in 63086f4e26.
...
This was SVN commit r26237.
2022-01-23 11:59:35 +00:00
Stan
0a8d382657
Fix OpenGL ES 2.0 Warnings.
...
This was SVN commit r26167.
2022-01-04 20:54:37 +00:00
Stan
3d2be697a2
Fix OpenGL ES build after ae32055c9b.
...
This was SVN commit r26163.
2022-01-04 00:21:37 +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
e547704a54
Removes rand function usage from test_cache_adt.
...
This was SVN commit r26152.
2022-01-02 22:32:38 +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
Stan
c4de86973d
Fix Haiku detection introduced in cc65e0e8a2
...
Patch by: @xone47
Differential Revision: https://code.wildfiregames.com/D4396
This was SVN commit r26125.
2021-12-27 18:59:44 +00:00
vladislavbelov
3cb60353e1
Removes unused h_mgr includes.
...
This was SVN commit r26122.
2021-12-27 11:47:16 +00:00
vladislavbelov
57ba7c4a1c
Encapsulates GL texture creation in a separate class.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4389
This was SVN commit r26107.
2021-12-25 00:26:10 +00:00
vladislavbelov
478164962f
Removes static linking of OpenGL library.
...
Tested By: Langbart, Stan
Differential Revision: https://code.wildfiregames.com/D4387
This was SVN commit r26104.
2021-12-24 08:02:27 +00:00
Stan
53734a05a6
Add a missed include in https://code.wildfiregames.com/D721 ; It's included for some reason in Windows NOPCH but not linux
...
Reported by: @Freagarach
This was SVN commit r26097.
2021-12-22 11:02:13 +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
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
784f734480
Removes a hack to detect an old S3 SuperSavage card added in c1ec44d751.
...
This was SVN commit r26070.
2021-12-14 10:47:32 +00:00
Stan
b7cf30fce5
Fix Windows 11 Detection
...
Comments by: @vladislavbelov, @Freagarach
Differential Revision: https://code.wildfiregames.com/D4337
This was SVN commit r26056.
2021-12-12 16:08:09 +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
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
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
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
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
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
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
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
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
vladislavbelov
67539a8837
Fixes an old bug with missed handle appeared in 63c1347ef7.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4115
This was SVN commit r25735.
2021-06-07 18:45:28 +00:00
vladislavbelov
63c1347ef7
Removes windows enumeration on Windows to retrieve HWND taking it from SDL and wxWidgets.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4064
This was SVN commit r25709.
2021-06-06 15:31:55 +00:00
vladislavbelov
fdb4040838
Adds HiDPI mode for testing. HiDPI on Windows isn't supported in SDL yet. So we use a custom code.
...
Differential Revision: https://code.wildfiregames.com/D4076
This was SVN commit r25692.
2021-06-05 19:01:37 +00:00
wraitii
1b35d36daa
Implement a global task manager using a pool of worker threads
...
Tasks are simple callables (e.g. lambdas), and can be pushed with 2
priority levels. Pushing a task returns a future.
Futures can be waited on, can return results, and can be cancelled
deterministically. Futures can also not be waited on.
This gives 'hardware concurrency - 1' threads to maximize CPU usage in a
work-stealing workflow.
Reviewed by: vladislavbelov
Refs #5874
Differential Revision: https://code.wildfiregames.com/D3848
This was SVN commit r25656.
2021-06-03 14:48:38 +00:00