949be94aab
Introduce CLogger::ScopedReplacement and FileLogger
...
Comments By: @sera , @vladislavbelov , @Stan
Differential Revision: https://code.wildfiregames.com/D5167
This was SVN commit r27953.
2023-11-23 20:42:18 +00:00
1e3f11ff6d
Disallow conversion in Future return
...
Differential Revision: https://code.wildfiregames.com/D4812
This was SVN commit r27947.
2023-11-19 21:04:40 +00:00
1bccfef6fb
Don't use std::shared_ptr in ScriptInterface
...
Differential Revision: https://code.wildfiregames.com/D5159
This was SVN commit r27945.
2023-11-19 20:13:19 +00:00
e33aafc4e2
Put the CMapGeneratorWorker completely inside the task
...
The return-slot provided by the `Future` is used for synchronisation.
Refs: #5874
Comments By: @Stan , @vladislavbelov , @wraitii
Differential Revision: https://code.wildfiregames.com/D5001
This was SVN commit r27944.
2023-11-19 19:19:32 +00:00
0fec859267
Fix serialization test following 7350b9042e
- Fix CalculateTerritories after deserialization
...
This fixes an issue revealed by 7350b9042e
that affected deserialized
games.
Adding tests further highlighted a bug in the calculations, which is
fixed.
Reviewed By: phosit
Fixes #6883
Differential Revision: https://code.wildfiregames.com/D5181
This was SVN commit r27928.
2023-11-11 10:34:24 +00:00
ba1a67a824
Adds test for loading actor and model having proper flags.
...
Differential Revision: https://code.wildfiregames.com/D5172
This was SVN commit r27925.
2023-11-08 23:23:03 +00:00
a905932712
Moves single descriptor set binding management for Vulkan to a separate class.
...
Differential Revision: https://code.wildfiregames.com/D5163
This was SVN commit r27921.
2023-11-07 21:43:52 +00:00
c78ad51057
Fixes incorrect case of GLX extensions. Fixes #6547
...
Patch By: xone47
Differential Revision: https://code.wildfiregames.com/D5160
This was SVN commit r27920.
2023-11-07 21:28:59 +00:00
b38aa7d6dd
Fix compile error introduced in 968e55704a
...
Change the ternary to a lambda.
Add braces around the while loop body introduced in 50cbe24cc5
.
Refs: 968e55704a
, 50cbe24cc5
Accepted By: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D5176
This was SVN commit r27914.
2023-11-05 17:59:42 +00:00
968e55704a
Make the RLInterface local
...
refs: #4211
Comments By: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D5103
This was SVN commit r27908.
2023-10-28 21:11:25 +00:00
f40942f6b3
Moves CVertexBufferManager from global scope to CRenderer.
...
Differential Revision: https://code.wildfiregames.com/D5171
This was SVN commit r27907.
2023-10-28 21:01:22 +00:00
50cbe24cc5
Combine visual and nonvisual path so that there is only one gameloop
...
Differential Revision: https://code.wildfiregames.com/D5161
This was SVN commit r27906.
2023-10-28 20:54:12 +00:00
dc61483e82
Use std::unique_ptr in CUnitManager and remove unused member functions.
...
Accepted By: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D5173
This was SVN commit r27905.
2023-10-28 12:57:01 +00:00
3fb7319df7
Reverts 080599442f
as it breaks LOS update. Fixes #6844
...
Accepted By: wraitii
Differential Revision: https://code.wildfiregames.com/D5162
This was SVN commit r27893.
2023-10-20 21:44:41 +00:00
5e583beb22
Fixes result of VkDescriptorSet creation forgotten in 6ef27d2ffe
.
...
This was SVN commit r27887.
2023-10-13 18:32:22 +00:00
29b57026a6
Remove Engine.IsGameStarted completely
...
Revert 89e511def9
refs: #4211 , bc6da5e3f2
Accepted By: elexis
Differential Revision: https://code.wildfiregames.com/D5152
This was SVN commit r27883.
2023-10-12 19:20:56 +00:00
e2c5a62a19
Moves model flags to ModelAbstract.
...
Differential Revision: https://code.wildfiregames.com/D5146
This was SVN commit r27880.
2023-10-09 18:37:56 +00:00
6ef27d2ffe
Merges UID from different Vulkan device objects and unifies single type descriptor set creation.
...
Differential Revision: https://code.wildfiregames.com/D5140
This was SVN commit r27879.
2023-10-09 18:34:50 +00:00
5ed3100472
Remove manual memory management in CWorld
...
Accepted By: @vladislavbelov
Comments By: @sera
Differential Revision: https://code.wildfiregames.com/D5143
This was SVN commit r27868.
2023-10-02 19:47:31 +00:00
3fff9df4a0
Return CTerrain and CUnitManager references from CWorld instead of pointers
...
Accepted By: @vladislavbelov
Comments By: @Stan
Differential Revision: https://code.wildfiregames.com/D4739
This was SVN commit r27861.
2023-09-26 20:10:40 +00:00
b9b5881826
Don't assign to need_update
...
Accepted By: @vladislavbelov , @wraitii
Comments By: @Silier , @Stan
Differential Revision: https://code.wildfiregames.com/D4981
This was SVN commit r27856.
2023-09-24 14:41:27 +00:00
a2fbfe1ecd
Replaces virtual by override for CModelAbstract and derived classes.
...
Differential Revision: https://code.wildfiregames.com/D5137
This was SVN commit r27854.
2023-09-23 19:53:52 +00:00
c86d3bbb56
Refactors models and materials, part 2, replaces raw pointer by unique_ptr and adds test.
...
Comments By: phosit
Differential Revision: https://code.wildfiregames.com/D5128
This was SVN commit r27846.
2023-09-21 19:00:28 +00:00
5214a4c073
Fixes SPIRV compile script for newer versions of spirv-reflect.
...
Differential Revision: https://code.wildfiregames.com/D5123
This was SVN commit r27845.
2023-09-20 17:25:14 +00:00
b8cd3a0268
Refactors models and materials, part 1, reduces amount of mutable properties.
...
Comments By: phosit
Differential Revision: https://code.wildfiregames.com/D5108
This was SVN commit r27841.
2023-09-14 08:37:06 +00:00
af13be489e
Adds printing error names to Vulkan backend.
...
Differential Revision: https://code.wildfiregames.com/D5121
This was SVN commit r27839.
2023-09-13 17:36:52 +00:00
fdbcb79c3d
Queries water manager only if a model should account it.
...
Tested By: phosit
Differential Revision: https://code.wildfiregames.com/D5122
This was SVN commit r27833.
2023-09-10 18:00:30 +00:00
442eb3ad4f
Avoids creating a post-processing blur texture with zero size.
...
This was SVN commit r27825.
2023-09-04 18:08:00 +00:00
3d2561f096
No recursive calls in FunctionWrapper.h
...
Accepted By: @wraitii , @vladislavbelov
Comments By: @Stan
Differential Revision: https://code.wildfiregames.com/D4728
This was SVN commit r27821.
2023-09-02 14:20:25 +00:00
b7ef2f2d72
Provides entity ID for unit in its constructor.
...
Refs 2eac4af3a4
, refs 56bb858802
, 91ad17c685
, 72bd886f80
.
Differential Revision: https://code.wildfiregames.com/D5110
This was SVN commit r27818.
2023-08-28 18:01:44 +00:00
37b2f93a3c
Adds texture checks for framebuffer attachments on Vulkan.
...
This was SVN commit r27817.
2023-08-28 17:53:41 +00:00
e72ad82909
Remove the use of std::iterator in EntityMap.h
...
Accepted By: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D5105
This was SVN commit r27813.
2023-08-23 12:31:07 +00:00
4524188611
Rename requires to required in Hotkey.*
...
Accepted By: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D5104
This was SVN commit r27812.
2023-08-23 12:24:07 +00:00
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
11e8f80b58
Fixes descriptor pool type for GetSingleTypePool.
...
This was SVN commit r27809.
2023-08-22 17:48:22 +00:00
5ba7ec3bfa
Removes scissor backend setup from GUI.
...
Differential Revision: https://code.wildfiregames.com/D5051
This was SVN commit r27798.
2023-08-15 17:29:45 +00:00
23f1949e2a
Handles VK_INCOMPLETE for vkGetSwapchainImagesKHR.
...
Differential Revision: https://code.wildfiregames.com/D5090
This was SVN commit r27797.
2023-08-15 17:27:23 +00:00
82204a6db9
Fix the test_checkDiff translation tool tester
...
Differential Revision: D5091
This was SVN commit r27796.
2023-08-14 20:23:09 +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
94e30ae08e
Adds mipLODBias usage to Vulkan samplers.
...
This was SVN commit r27784.
2023-07-25 20:22:28 +00:00
80bcf944bc
Don't convert actions to void*
...
Accepted By: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D5044
This was SVN commit r27783.
2023-07-25 07:50:33 +00:00
909a81bc87
Correct syntax mistakes made in b7d776175b
...
Accepted By: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D5068
This was SVN commit r27781.
2023-07-24 08:19:19 +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
8b761fec29
Constrain the FSM-transition to have at most one action.
...
Accepted By: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D5059
This was SVN commit r27768.
2023-07-19 12:23:53 +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
f36f136c20
Moves WriteSystemInfo from Util to HWDetect.
...
Differential Revision: https://code.wildfiregames.com/D5050
This was SVN commit r27765.
2023-07-18 20:32:21 +00:00
70d89254c8
Fixes linking failure solution introduced in 48ba4d9cb4
for SDL dependency.
...
Refs #3138
Accepted By: Itms
Differential Revision: https://code.wildfiregames.com/D5065
This was SVN commit r27764.
2023-07-18 20:21:59 +00:00
7378692c89
Fixes CGUISimpleSetting warnings and allows it to be moved.
...
Differential Revision: https://code.wildfiregames.com/D5071
This was SVN commit r27763.
2023-07-18 20:01:22 +00:00
5807e2982f
Makes GL ShaderProgram stage independent.
...
Differential Revision: https://code.wildfiregames.com/D5069
This was SVN commit r27761.
2023-07-17 22:07:13 +00:00
649f69b00b
Reference CModel* using PS::span in the ModelRenderer
...
Now a range-based for loop is used to iterate.
Accepted By: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D4953
This was SVN commit r27757.
2023-07-08 12:46:21 +00:00