Not sure what the flip does, but does it have to be "duplicated" everywhere? Shouldn't it be handled by the backend somehow?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Jan 9 2023
Jan 8 2023
Should be good when adding this.
Index: LICENSE.txt =================================================================== --- LICENSE.txt (revision 27384) +++ LICENSE.txt (working copy) @@ -86,6 +86,9 @@ source/third_party/tinygettext/ zlib
You need to update https://code.wildfiregames.com/source/0ad/browse/ps/trunk/libraries/LICENSE.txt$23 + Apache-2.0 / (WTFPL OR CC0-1.0) AND Apache-2.0
Also https://code.wildfiregames.com/source/0ad/browse/ps/trunk/LICENSE.txt$69
source/third_party/vma/* is MIT but since there sub license we should just link to the readme file.
Partial review. + 3 lint warnings
Jan 7 2023
LGTM.
Jan 6 2023
Looks like EOL issues... Patch sounds good though. Did you see any difference?
A simple grep for @paramseems to reveal they are almost always in the .h in the class declaration (18 *.cpp files vs 150 *.h files) And most of the time it's because the class declaration is defined in the *.cpp files. We should move them in the FSM.hfile.
Jan 5 2023
Follows the conventions. LGTM.
Jan 4 2023
Gettinh it back. Thanks for the interest.
Jan 3 2023
Some missed includes (Could be more)
Is it okay to have so many raw pointers?
Still quite a few lint warnings and ifs without space :)
So does it break UnitMotionFlying?
Worth noting that Ubuntu/Debian do not support that version of enet (They are on 1.3.13). https://repology.org/project/enet/badges
Jan 2 2023
Few style comments. (This is not a complete review the idea is to try to reduce the patch length as much as possible)
Not sure about camelCase functions we usually prefer PascalCase. Can you fix the linter warnings? I see const issues and the like also prefer === to ==. if ( not if(. Any reason you didn't follow OOP for your JS classes?
Please read https://trac.wildfiregames.com/wiki/Coding_Conventions
Any reason you don't use enet_address_get_host_ip ? Would remove the need for all those new functions.
It should, yes. Also gitignored I suppose.
Dec 31 2022
Feel free to update the patch :)
Dec 30 2022
Tested on gles with low quality and high quality material. Didn't see anything weird.
Currently building on GLES. Just a thought, maybe it'd be nice, to have the renaming and cleaning in a separate diff. I mean the change in Brushes.cpp seems kinda useless.
Dec 29 2022
Some notes (can't test right now)
Dec 28 2022
Dec 27 2022
Dec 23 2022
In the most optimal/extensive implementation, the system should handle songs in a sort of priority system which can provide both shuffling AND linear song orders, for example: 1 CivIntroSong 2 Civ Build 2 Civ Build2 3 Civ Advanced 4 Civ Lategame 4 Civ Lategame 2
Dec 22 2022
A quick grep says it's the only occurence in binaries/data/mods/**
Dec 19 2022
From the CI while running the debug tests.
In PostMessage All that matters is that components are processed in the same order on all plateforms to keep determinism.
Dec 17 2022
Dec 15 2022
Maybe, or a special soundgroup container?
Nah I'm still bad at it.
Dec 14 2022
Question: What happens in the destructor and in the ReloadGroup method if initialization failed?
Dec 13 2022
Made a color comparer if that helps.
Thanks for the explanation!
Do you have any profiling evidence? Maybe playing 2400 sounds on unit combat demo https://github.com/0ADMods/trailer_tools/blob/main/maps/scripts/combat_demo_huge.js
Regarding the change of behavior in LoadSoundGroup which should have probably been named TryLoadSoundGroup I'm wondering if it should be static and return a CSoundGroup object instance instead.
Should build now (Migrated CI to Clang8)
Dec 12 2022
It seems Clang 7 doesn't support std::launder. Which is weird because according to https://en.cppreference.com/w/cpp/compiler_support/17 it should. I've created a docker with Clang8, I will be looking into integrating it to the CI this week.
Dec 11 2022
Engine.ConfigDB_WriteValueToFile is not a function setCurrent@gui/common/campaigns/CampaignRun.js:85:10 createAndStartCampaign@gui/campaigns/new_modal/NewCampaignModal.js:28:5 @gui/campaigns/new_modal/NewCampaignModal.js:13:65</p>
Dec 9 2022
Dec 8 2022
Wondering if getonlychildshouldn't be getroot ? After all there should only be one root
Dec 6 2022
After a lengthy discussion I'm convinced this is better than the json solution.
Add the json dependency and okay
Dec 5 2022
Now got this
I tried on git got this (I'm a few commits back maybe something did not get applied correctly) will try to update tomorrow if i have some time
Dec 2 2022
Did you look at the generated assembly, or is it just a guess?
This patch also allows components to subscribe other components to messages. Is this wanted?
Nov 28 2022
Did you check the translations scripts to make sure those new strings were translated ?
Now you can close it manually.