WIP: 🎨 Allow buildings to adapt to their map #7069

Draft
Stan wants to merge 1 commits from Stan/0ad:biome-replacer into main
Owner

This patch allows buildings to adapt to their environment by changing variants depending on the biome they are in.
No context until the map is removed from the patch :)
TODO/Need Help: Figure out why skin is incorrect during construction, while preview and final work.
Continuation of https://code.wildfiregames.com/D4938

This patch allows buildings to adapt to their environment by changing variants depending on the biome they are in. No context until the map is removed from the patch :) TODO/Need Help: Figure out why skin is incorrect during construction, while preview and final work. Continuation of https://code.wildfiregames.com/D4938
Stan added 1 commit 2024-09-22 18:39:37 +02:00
🎨 Allow buildings to adapt to their map
Some checks failed
0ad-freebsd/pipeline/pr-main This commit looks good
pre-commit / build (pull_request) Successful in 1m19s
0ad-linux/pipeline/pr-main This commit looks good
0ad-windows/pipeline/pr-main This commit looks good
checkrefs / checkrefs (pull_request) Failing after 34s
0ad-macos/pipeline/pr-main This commit looks good
a44a35d201
Member

I doubt that everywhere the git log is supposed to be rendered the font has a glyph for 🎨, while available here in terminal (black/white) I can't make out what that glyph is supposed to be, we probably should limit our self to ascii.

I doubt that everywhere the git log is supposed to be rendered the font has a glyph for 🎨, while available here in terminal (black/white) I can't make out what that glyph is supposed to be, we probably should limit our self to ascii.
Author
Owner

Yeah it's not meant to stay :)

Yeah it's not meant to stay :)
Stan force-pushed biome-replacer from a44a35d201 to 30d57d114c 2024-09-23 22:30:22 +02:00 Compare
Author
Owner

Force pushing does not work...

Force pushing does not work...
Member

Can you try adding pull at the end of the lfs command in the workflow to make the remote explicit?

- run: git lfs pull -I binaries/data/mods/public/maps
+ run: git lfs pull -I binaries/data/mods/public/maps pull
Can you try adding pull at the end of the lfs command in the workflow to make the remote explicit? ``` - run: git lfs pull -I binaries/data/mods/public/maps + run: git lfs pull -I binaries/data/mods/public/maps pull ```
Stan added 1 commit 2024-09-24 07:48:53 +02:00
Try to fix the pipeline
Some checks failed
checkrefs / checkrefs (pull_request) Failing after 29s
0ad-freebsd/pipeline/pr-main This commit looks good
pre-commit / build (pull_request) Successful in 1m4s
0ad-linux/pipeline/pr-main This commit looks good
0ad-windows/pipeline/pr-main This commit looks good
0ad-macos/pipeline/pr-main This commit looks good
3a48b0daab
Stan force-pushed biome-replacer from 3a48b0daab to 111c29617f 2024-09-24 07:57:50 +02:00 Compare
Author
Owner

No more luck with that fix.

No more luck with that fix.
Stan force-pushed biome-replacer from 111c29617f to dcd2bcd3c4 2024-09-24 08:19:10 +02:00 Compare
Stan force-pushed biome-replacer from dcd2bcd3c4 to 88acc93221 2024-09-25 08:29:46 +02:00 Compare
Stan force-pushed biome-replacer from 88acc93221 to 1dd0f4340b 2024-09-25 08:31:24 +02:00 Compare
Stan force-pushed biome-replacer from 1dd0f4340b to 7ab421bc31 2024-09-25 08:35:29 +02:00 Compare
Author
Owner

Okay so

$ git lfs push upstream {branch_name} 

did the trick
I didn't know map xmls were also in LFS.
Also gotta be careful not to push my lfs from my fork to the server. Else space is gonna be tight soon.

Okay so ```sh $ git lfs push upstream {branch_name} ``` did the trick I didn't know map xmls were also in LFS. Also gotta be careful not to push my lfs from my fork to the server. Else space is gonna be tight soon.
Author
Owner

I do hope they get cleaned when branches are deleted.

I do hope they get cleaned when branches are deleted.
Some checks reported warnings
0ad-freebsd/pipeline/pr-main This commit looks good
Required
Details
checkrefs / checkrefs (pull_request) Successful in 52s
Required
Details
pre-commit / build (pull_request) Successful in 1m5s
Required
Details
0ad-windows/pipeline/pr-main This commit looks good
Required
Details
0ad-linux/pipeline/pr-main This commit looks good
Required
Details
0ad-macos/pipeline/pr-main This commit is unstable
Required
Details
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u biome-replacer:Stan-biome-replacer
git checkout Stan-biome-replacer
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: 0ad/0ad#7069
No description provided.