Skip to content

Read world bounds from MIN/MAX_COORD_FLOAT when available - #386

Open
KemGus wants to merge 1 commit into
ACE-Project-Team:devfrom
KemGus:feat/coord-float-bounds
Open

KemGus wants to merge 1 commit into
ACE-Project-Team:devfrom
KemGus:feat/coord-float-bounds

Conversation

@KemGus

@KemGus KemGus commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Summary

Unifies big-map support with ACF-3 for big maps as it follows the new standard in the community (wiremod also now does it)

image image

Nothing is supposed to change much with functionality, but I didnt test changes

Used this as a reference from march: ACF-Team/ACF-3@864f5b8

Test plan

  • luajit selftests pass (besides the broken one)

Used AI (SWE 2.1) to type the code that I manually reviewed and agreed with at first

Large-map builds expose the engine coordinate space through the
MIN_COORD_FLOAT/MAX_COORD_FLOAT globals, the same convention ACF-3
consumes. GetWorldBounds now prefers them and falls back to the map
model bounds on vanilla, so bullet despawn respects the real coordinate
space on big maps.
@KemGus
KemGus requested a review from MartyX5555 November 28, 2026 15:57
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.

1 participant