Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: LCS Portability  (Read 1940 times)

Grundee

  • Bay Watcher
    • View Profile
LCS Portability
« on: March 15, 2008, 09:50:00 pm »

For the past few months I have been making some portability changes to the LCS SVN trunk while Jonathan has been working on his branch.

I have successfully made new types (int16, int32, etc) that explicitly say how large each type is. I have also merged a patch with endian switching functions.

I am now in the process of converting the save/load game functions to use this new system, but it is MUCH more involved that I had hoped it would be.

The save/load system is a complete mess, and it may just be better to rewrite it by encapsulating save/load functionality in structs (I have already done this with a couple structs, I think I did it with creatures).

This is not something that I can do alone; I am looking for people to help me either change every single save and load, or help me come up with a better system that better encapsulates this functionality.

Anyone want to help?

Logged