implemented map generator

This commit is contained in:
Geoffray Levasseur committed 2026-11-04 17:52:03 +01:00
1 parent 69700f8b65
commit f32cce0e56
9 files changed
+910 -38

No files matched your search

+6 -2
View File
@@ -280,8 +280,12 @@ void initMapGame(int human)
void initRandomGame()
{
throw std::runtime_error(
"Random map generation is not supported yet (CreateElevation/CreateMap/StartPositions not ported).");
delphiRandSeed = rnd;
calculatePrimitive();
createElevation();
createMap(false);
startPositions();
initGame();
}
void releaseGame()