Skip to content

Add 6 new native building in editor#1774

Open
dvincent56 wants to merge 6 commits into
Keriew:masterfrom
dvincent56:feature/nativeBuilding
Open

Add 6 new native building in editor#1774
dvincent56 wants to merge 6 commits into
Keriew:masterfrom
dvincent56:feature/nativeBuilding

Conversation

@dvincent56

@dvincent56 dvincent56 commented May 14, 2026

Copy link
Copy Markdown
Collaborator

Native building variants in map editor
Adds 6 new native building types to the editor's Native Buildings submenu, all using existing assets:

  • Native well (1×1, 3 climate variants)
  • Native meeting hut alt (Native_Meeting_Hut_*)
  • Native hut alt 2 (Hellenised_Hut_*, 3 design variants per climate)
  • Native meeting hut alt 2 (Hellenised_Meeting_Hut_*)
  • Native palisade (drag-and-place, reuses Palisade_* with auto-connectivity)
  • Native fields submenu with 6 crop variants (wheat / vegetables / fruit / olive / vines / pig) using GROUP_BUILDING_FARM_CROPS

@eugenikus8

eugenikus8 commented May 14, 2026

Copy link
Copy Markdown

I think the new buildings also need to be added to the src/figure/formation_enemy.c file, in these functions: static int get_structures_on_native_land(int *dst_x, int *dst_y) and static void set_native_target_building(formation *m).

@crudelios

Copy link
Copy Markdown
Collaborator

Can you separate the new buildings from the image loading and create two PRs, please?

This is a giant PR with two entirely different things, separating both would make them easier to review.

@dvincent56 dvincent56 force-pushed the feature/nativeBuilding branch from edb0814 to 7394860 Compare May 14, 2026 21:31
@dvincent56 dvincent56 force-pushed the feature/nativeBuilding branch from 7394860 to d4dc8ea Compare May 16, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants