eXpl0it3r / Schiffbruch

Schiffbruch is a mix of building, strategy and adventure and gets played with a two-dimensional view.
Other
74 stars 11 forks source link

WIP: Load texture positions (and more) from JSON #4

Open FSMaxB opened 7 years ago

FSMaxB commented 7 years ago

This is still a work in progress.

FSMaxB commented 7 years ago

This stuff is quite prone to memory leaks, since it cannot be known which pointer points to a statically allocated resource and which at a dinamically allocated one.

But as long as the export and import aren't done too often, it should be fine.

FSMaxB commented 6 years ago

Sorry for taking so long. I'm not sure when I am going to be able to continue with this.

eXpl0it3r commented 6 years ago

No worries, I haven't been able to really work on the project myself.

eXpl0it3r commented 6 years ago

This was not closed intentional, but it was auto-close because I merged the chore/refactor branch. I changed the target and reopened the PR. Make sure you pull the new master and rebase your branch onto master.

eXpl0it3r commented 6 years ago

Oh, hehe totally forgot that I added you as contributor and that you were working in a branch that I have control over as well... 😏 Thanks for updating!

eXpl0it3r commented 5 years ago

Finally gotten around to this again and added the importing steps, seems to work very well so far. Also updated nlohmann JSON to 3.4.0 (latest), in case you want to check it out yourself @FSMaxB 🙂

Next step is to think about, if we'll just remove the whole export and hard-coded init code...