For programmers only
Again I would like to discuss a hashcode for a level in my new database.
it is needed to exchange data between different databases - for example replayfiles.
My first idea would be to take a 64 bits integer to hold to hascode.
The sequence could be a simple xor checksum
the first 32 bits:
- number of lemmings, rescuecount, skills etc.
- all terrain xpos, ypos, drawingmode
- all objects xpos, ypos, triggereffect, drawingmode
- all steel xpos, ypos, width, height
then over the next 32 bits:
- all bitmaps of the terrains/objects - doing not the colors but mask only (just the shape)