82bf9bb902
Removes WInit module completely. Refs #2611
...
Comments By: phosit
Differential Revision: https://code.wildfiregames.com/D5085
This was SVN commit r27810.
2023-08-22 17:59:01 +00:00
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
e4ba25ba35
Returns Windows paths by value to avoid unnecessary allocation management and follow sys_ExecutablePathname.
...
This was SVN commit r27773.
2023-07-21 22:31:26 +00:00
1ff0b8f69f
Removes caching Windows version in wversion.
...
Differential Revision: https://code.wildfiregames.com/D5063
This was SVN commit r27766.
2023-07-18 20:40:15 +00:00
47a7f78c9d
Change %c to %lc for wchar arguments.
...
swprintf_s expected an argument of type char (due to %c). Given an
argument of type wchar.
This fixes N7 and N8 from #5288
Refs #5288
Patch By: @animus
Accepted By: @phosit , @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D4993
This was SVN commit r27751.
2023-07-05 07:37:28 +00:00
e60bed753f
Removes redundant and unused wutil_ExecutablePath as we have sys_ExecutablePathname.
...
Last usage was removed in ada16439ab
.
This was SVN commit r27749.
2023-07-02 21:24:15 +00:00
0caddf2c89
Removes unused wutil_SystemPath forgotten in 9aad0137ba
.
...
This was SVN commit r27748.
2023-07-02 21:19:07 +00:00
a71a20cb60
Replaces statically cached current thread handle on Windows by lazy initialized thread_local variable.
...
Differential Revision: https://code.wildfiregames.com/D5062
This was SVN commit r27747.
2023-07-02 20:28:50 +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
f3adb5d075
Removes unused main_window_name forgotten in 63c1347ef7
.
...
This was SVN commit r27738.
2023-06-25 22:39:37 +00:00
fb065a4022
Removes manual loading of Windows functions unavailable on XP from wvm.
...
This was SVN commit r27734.
2023-06-23 12:09:33 +00:00
70e7acfb26
Removes manual unload of delay-loaded DLLs on Windows.
...
Differential Revision: https://code.wildfiregames.com/D5056
This was SVN commit r27733.
2023-06-23 11:55:33 +00:00
92c9cc5206
Removes delayed loading of RtlCaptureContext as it's available since Windows XP.
...
This was SVN commit r27725.
2023-06-20 08:54:29 +00:00
54c606e6aa
Removes LowFragmentationHeap from Windows as it's enabled by default since Vista.
...
Differential Revision: https://code.wildfiregames.com/D5048
This was SVN commit r27720.
2023-06-18 16:34:29 +00:00
f8798c2245
Removes wversion_Number usage from wvm as we don't support XP anymore.
...
Differential Revision: https://code.wildfiregames.com/D5049
This was SVN commit r27719.
2023-06-18 16:32:14 +00:00
3d071e4649
Removes OpenGL driver DLL version from reports on Windows.
...
Differential Revision: https://code.wildfiregames.com/D5052
This was SVN commit r27718.
2023-06-18 16:29:13 +00:00
186bedae56
Removes unused Windows sample-based custom profiler. Usage was removed in 56bd5b59b4
.
...
Differential Revision: https://code.wildfiregames.com/D5047
This was SVN commit r27712.
2023-06-16 16:38:18 +00:00
e4bcfd0556
Removes winit usage from wtime. LatchInitialSystemTime was added in c45ef68a88
and unused since ada16439ab
.
...
Differential Revision: https://code.wildfiregames.com/D5046
This was SVN commit r27711.
2023-06-16 16:36:34 +00:00
7782aa95f1
Removes custom debug heap analysis on Windows.
...
Differential Revision: https://code.wildfiregames.com/D5045
This was SVN commit r27710.
2023-06-16 16:34:10 +00:00
04f55f7cf5
Check the validity of a couple pointers in low-level tests, refs #5288 .
...
Reported By: PVS-Studio
Patch By: animus
Reviewed By: phosit
Differential Revision: https://code.wildfiregames.com/D4994
This was SVN commit r27647.
2023-05-18 16:52:29 +00:00
a3abe8605c
Ignore broken symlinks instead of crashing on them, fixes #6586 .
...
Print a warning in the debug output for now, as the logger is not
available at this point.
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4743
This was SVN commit r27612.
2023-04-19 16:35:00 +00:00
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
ef9057239a
Fix notes in 0a4ba039b4
...
This was SVN commit r27129.
2022-10-07 12:39:23 +00:00
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
f616327f2d
Revert 10554eb5b1
as it prevents building on FreeBSD.
...
This was SVN commit r27081.
2022-09-01 20:39:46 +00:00
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
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
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
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
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
ddb8b08508
Removes lib_api.h cleared but not deleted in 8c068aab07
.
...
This was SVN commit r26813.
2022-04-22 16:11:21 +00:00
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
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
36833d1df2
Moves max texture size to backend device capabilities.
...
This was SVN commit r26409.
2022-02-18 23:17:48 +00:00
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
d0115185b9
Removes unused and redundant h_mgr after 0e599a3176
and dd91a5e0ef
.
...
This was SVN commit r26369.
2022-02-13 22:31:36 +00:00
dd91a5e0ef
Removes unused ogl_tex after 4de89c3db1
and 492a109b68
.
...
This was SVN commit r26368.
2022-02-13 22:07:56 +00:00
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
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
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
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
0a8d382657
Fix OpenGL ES 2.0 Warnings.
...
This was SVN commit r26167.
2022-01-04 20:54:37 +00:00
3d2be697a2
Fix OpenGL ES build after ae32055c9b
.
...
This was SVN commit r26163.
2022-01-04 00:21:37 +00:00
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
e547704a54
Removes rand function usage from test_cache_adt.
...
This was SVN commit r26152.
2022-01-02 22:32:38 +00:00
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
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
3cb60353e1
Removes unused h_mgr includes.
...
This was SVN commit r26122.
2021-12-27 11:47:16 +00:00
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
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