mapgen: actor type and positions are now randomly selected
authorLukas Krickl <lukas@krickl.dev>
Fri, 1 Aug 2025 15:13:18 +0000 (17:13 +0200)
committerLukas Krickl <lukas@krickl.dev>
Fri, 1 Aug 2025 15:13:18 +0000 (17:13 +0200)
commitce0e8daf319c841632941a47b6a0c1825921ee41
tree59f8fb6c40e0134e075469bd8f2e05f83ef2578e
parenta2b87f4a510a5915412fe1f7b7c1957ecc52d1b2
mapgen: actor type and positions are now randomly selected

This is done by selecting a random actor form the map's actor table.
Currently psotions can be anywhere including walls. This will need to be fixed later :^)
src/actortables.s
src/mapgen.s