Skip to content

Conversation

@CTH999
Copy link
Collaborator

@CTH999 CTH999 commented Jul 4, 2025

transfer in the enhanced world generation into the "culture" branch

nsmonagh and others added 30 commits October 19, 2019 01:28
Main difference is that now the game uses protobuf-net package instead of XMLSerializer.

Still has bugs: won't load world from menu, group id 0, null value in EventGenerators...

BUT, save/load times are under 10 seconds from over 60 seconds.
Biome.Biomes was null on world load and would cause a null pointer exception when using Biome.Biomes.count since it didn't exist yet.

EventMessageIds would have a single event with id=0 due to initialization? I'm not really certain where it comes from, but for now I have placed a check before it gets enumerated in world load.

Also added protobuf-net implementation due all EventMessages since last time I did not.

I have also been removing unused directives so that the namespace is cleaner and compile time increases very slightly.

Restructured the [ProtoInclude] hierarchy for WorldEvent so that each subtype can be called correctly.

Current bugs: When loading a world from the main menu, it succeeds but the game is non-interactive with a semi-transparant gray screen over the world scene. I have no idea why.
also, removed some unnecessary Floor() operations
Zematus and others added 30 commits December 20, 2020 11:15
transfer in additions and compatible edits from "enhanced save" to here. Well, compatibility is unknown, will have to test. But, still.
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.

5 participants