phosit
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
phosit
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
vladislavbelov
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
vladislavbelov
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
bb
82204a6db9
Fix the test_checkDiff translation tool tester
...
Differential Revision: D5091
This was SVN commit r27796.
2023-08-14 20:23:09 +00:00
bb
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
vladislavbelov
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
vladislavbelov
8f78ac1ef8
Decouples renderer code from VideoMode to get backend device.
...
Differential Revision: https://code.wildfiregames.com/D5043
This was SVN commit r27693.
2023-06-14 07:06:22 +00:00
Stan
8472240573
Fix compilation with GCC 13.
...
gcc-13 less often includes cstdint so one might need to include it
manually if needed.
The headers already included in Message.h are included within namespace
AtlasMessage which didn't break by chance, move them out and add
cstdint.
Patch by: @sera
Reviewed by: @phosit
Fixes : #6800
Differential Revision: https://code.wildfiregames.com/D4997
This was SVN commit r27644.
2023-05-13 12:08:23 +00:00
Stan
ede58a2065
Fix two oversights.
...
This was SVN commit r27639.
2023-05-10 16:02:53 +00:00
Stan
d8b1935493
Add a script to build spir-v shaders for the bundle.
...
Fixes : #6636
Refs: #6718
Discussed with: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D4988
This was SVN commit r27633.
2023-05-08 14:25:23 +00:00
vladislavbelov
3ceeedf169
Adds script to generate SPIR-V from GLSL shaders. Refs #6636
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4969
This was SVN commit r27627.
2023-05-02 17:31:28 +00:00
Stan
ae9f47e741
encoding="utf-8" is not supported before Python 3.10.
...
This was SVN commit r27622.
2023-04-28 09:24:21 +00:00
Stan
a6546cc0a4
Update infrastructure to use the new transifex API.
...
- Fix Jenkins warnings about leaked credentials.
- Fix one script not loading utf-8 on windows.
- Fix command line arguments not working when inlined on Linux.
This was SVN commit r27621.
2023-04-27 16:55:06 +00:00
Stan
eb29373ba7
Use the new client for the pull script.
...
This was SVN commit r27620.
2023-04-27 14:20:26 +00:00
Stan
929d593658
Fix build-archives.sh's shebang.
...
Reported by: @Itms
Refs #6701
This was SVN commit r27542.
2023-02-13 12:19:24 +00:00
vladislavbelov
0fce64ed5a
Fixes Atlas previews after e4455a8e8f.
...
Differential Revision: https://code.wildfiregames.com/D4919
This was SVN commit r27521.
2023-02-01 21:56:35 +00:00
trompetin17
c422eb242a
ATLAS UI be aware of GUI Scale user config
...
Comment by: @Phosit, @Stan, @Vladislav
Differential Revision: https://code.wildfiregames.com/D4915
Fixes : #6715
This was SVN commit r27513.
2023-01-30 22:05:17 +00:00
vladislavbelov
d0ff565aa8
Fixes DisplayVersion in NSIS on Windows.
...
Tested By: Itms
Differential Revision: https://code.wildfiregames.com/D4892
This was SVN commit r27512.
2023-01-30 21:29:10 +00:00
Freagarach
83b786dcf5
Tokens for required technologies.
...
Use tokens for required technologies, allowing `-tech` and easier
replacements.
Fixes requiring `replace=""` when replacing techs.
Also a minor fix in the TemplateParser.js for upgrade requirements.
Refs. 9bb9ff8b16 .
Differential revision: https://code.wildfiregames.com/D4912
Comments by: @Stan
This was SVN commit r27505.
2023-01-30 08:05:34 +00:00
trompetin17
5d7a8b9d1b
Fix: Crash atlas in relation to Terrain.cpp CalcPosition
...
Patch by: @trompetin17
Differential revision: https://code.wildfiregames.com/D4900
Comments by: @Langbart, @Stan, @Vladislav
Fixes #6550
This was SVN commit r27499.
2023-01-28 22:42:00 +00:00
Stan
d6121a43ea
Add MoltenVK support to fix Vulkan on macOS.
...
Tested by: @Langbart, @real_tabasco_sauce, @wraitii
Refs #6636
Differential Revision: https://code.wildfiregames.com/D4905
This was SVN commit r27488.
2023-01-26 15:24:12 +00:00
Stan
db9af648c8
Re-add missing script
...
This was SVN commit r27466.
2023-01-19 00:24:04 +00:00
Stan
6727763e93
Slightly improve templatesanalyzer/unitTables.py
...
- Add hans
- Reduce code size
- Reuse other code
- Add poison and fire
- Fix spread
This was SVN commit r27465.
2023-01-18 23:38:44 +00:00
Stan
03da19ed10
Don't include source/test_root.cpp in bundles.
...
Reported by: @LudovicRousseau
Accepted by: @sera
Fixes #6300
Differential Revision: https://code.wildfiregames.com/D4895
This was SVN commit r27461.
2023-01-17 23:50:50 +00:00
Freagarach
3e7bdc148e
Update checkrefs.py after 9bb9ff8b16.
...
Reported by: @Langbart
Differential revision: https://code.wildfiregames.com/D4880
Tested by: @Langbart
Fixes #6682
This was SVN commit r27436.
2023-01-13 10:29:51 +00:00
vladislavbelov
c0e888e2af
Removes SetViewport from CRenderer.
...
Differential Revision: https://code.wildfiregames.com/D4849
This was SVN commit r27313.
2022-12-29 06:53:06 +00:00
vladislavbelov
3723cbf692
Fixes big screenshots after 29368cf776 and 3a4c8342a0.
...
Differential Revision: https://code.wildfiregames.com/D4835
This was SVN commit r27269.
2022-12-04 19:28:34 +00:00
vladislavbelov
29368cf776
Adds framebuffer attachment load and store operations.
...
Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4830
This was SVN commit r27256.
2022-11-26 21:55:17 +00:00
vladislavbelov
8e51dfa91a
Moves post processing out of scene rendering to avoid framebuffer pass duplicate.
...
Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4827
This was SVN commit r27232.
2022-11-18 19:59:18 +00:00
vladislavbelov
3a4c8342a0
Makes AcquireNextBackbuffer returns true in case of successful backbuffer acquirement.
...
This was SVN commit r27184.
2022-10-30 00:38:45 +00:00
Stan
88b426dc59
Fix the issues with entvalidate.py
...
It doesn't properly handle mixins / special templates
On python 3.8+, XML elements are no longer sorted and this fails
validation against entity.rng
mixins are not properly applied because the | split is incorrect (3
max items instead of 2)
merge="" is not supported
Parents aren't always passed when they should be.
on windows it is incorrectly assumed that the encoding is 1252
Patch by: @baco
Tweaks by: @Stan
Based on a patch by: @wraitii
Differential Revision: https://code.wildfiregames.com/D4698
This was SVN commit r27161.
2022-10-22 16:24:45 +00:00
vladislavbelov
8ae3a2bfd6
Adds AcquireNextBackbuffer to CDevice to have something to present.
...
This was SVN commit r27148.
2022-10-11 22:48:07 +00:00
vladislavbelov
4d77de66d4
Removes GUI dependency from Canvas2D.
...
Initially the GetDefaultGuiMatrix function was added in 4113aa0a36 and
renamed in 04c63a4093 .
This was SVN commit r27111.
2022-10-04 20:25:39 +00:00
Dunedan
a72fa8f7c7
Remove code for the lobby bots from SVN
...
This removes the code for the lobby bots from SVN to avoid confusion as
the code is now hosted on Github at https://github.com/0ad/lobby-bots .
Differential Revision: https://code.wildfiregames.com/D4155
This was SVN commit r27094.
2022-09-11 13:21:41 +00:00
Dunedan
7f5e664eec
Remove code for the lobby bots from SVN
...
This removes the code for the lobby bots from SVN to avoid confusion as
the code is now hosted on Github at https://github.com/0ad/lobby-bots .
Differential Revision: https://code.wildfiregames.com/D4155
This was SVN commit r27093.
2022-09-11 13:14:20 +00:00
Stan
6109fd3ee0
Fix the check translation script failing.
...
This was SVN commit r27091.
2022-09-10 17:16:32 +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
759aa333a5
Add a function to handle custom phase techs, so they do not show as unused.
...
Fix autostart files being marked as unused.
Fix an issue with the researcher component. Patch by: @marder
Refs https://code.wildfiregames.com/D4750
Refs #6587
Fixes ca82935dfc
This was SVN commit r27033.
2022-08-06 15:06:03 +00:00
Stan
ca82935dfc
Add techs and auras to the list of possibly missing files.
...
Refs: #6544
Accepted by: @Langbart
Differential Revision: https://code.wildfiregames.com/D4725
This was SVN commit r26991.
2022-06-27 14:31:16 +00:00
Stan
b9adbbd8be
Fix 557fa0312e by adding the js files to the list of dependencies. They were previously found under the gui folder.
...
Reported by: @Langbart
Fixes #6542
This was SVN commit r26909.
2022-05-28 17:01:42 +00:00
wraitii
08e7efc76a
Allo native builds on Mac OS M1 / Apple Silicon
...
- Update GMP to a version that supports arm64 darwin
- Patch spidermonkey 78 to build and run on arm64 darwin
- Choose the correct architecture dynamically in build scripts
- Include python workaround that fixes python related errors on
spidermonkey build
Based on a patch by: kumikumi
Based on a patch by: Langbart
Fixes #6474
Differential Revision: https://code.wildfiregames.com/D4607
This was SVN commit r26881.
2022-05-15 06:45:53 +00:00
vladislavbelov
62e589ab76
Adds renderer backend interface and dummy backend.
...
Comments By: phosit, Stan
Tested By: Langbart, phosit
Differential Revision: https://code.wildfiregames.com/D4636
This was SVN commit r26858.
2022-05-08 22:02:46 +00:00
vladislavbelov
3ed4eaf247
Removes ogl_WarnIfError from regular renderer code.
...
This was SVN commit r26850.
2022-05-02 21:52:21 +00:00
Stan
3f8cbecd72
Remove hardcoded shadows in Atlas UI
...
Fixes c9a7aabbea
Patch by: @nwtour
Accepted by: @phosit
Tested by: @Langbart
Differential Revision: https://code.wildfiregames.com/D4400
This was SVN commit r26730.
2022-03-28 22:47:52 +00:00
Stan
8f85f24608
Update the water height slider if the water height is set using the picker.
...
Patch by: @phosit
Fixes : #6424
Differential Revision: https://code.wildfiregames.com/D4576
This was SVN commit r26727.
2022-03-28 22:36:17 +00:00
vladislavbelov
518a1421ab
Clears the color attachment of the main framebuffer only if needed.
...
Differential Revision: https://code.wildfiregames.com/D4539
This was SVN commit r26623.
2022-03-11 22:26:49 +00:00
vladislavbelov
d494bbd583
Replaces M_PIf by M_PI in Atlas, fixes compilation with gcc 11.2.0 and glibc 2.35.
...
There was added a workaround in glibc to fix tests.
Refs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103735
https://sourceware.org/bugzilla/show_bug.cgi?id=28713
This was SVN commit r26536.
2022-03-03 18:10:05 +00:00
vladislavbelov
23a023507a
Replaces GL_LINES, GL_QUADS, GL_TRIANGLE_STRIP and GL_TRIANGLE_FAN by GL_TRIANGLES.
...
This was SVN commit r26488.
2022-02-26 00:37:27 +00:00
vladislavbelov
8a63adc40d
Uses CDeviceCommandContext as an input parameter for CCanvas2D.
...
This was SVN commit r26480.
2022-02-25 08:14:11 +00:00