- Added a simple checksum calculation lib
- Validates the hardcoded "lib file" checksum against the calculated
checksum.
By looking at instructions for the cracked version of BreakHack on
various sites that show up on google it seems that the common theme is
to replace the steamlib dll/so with a modified version. Now the Steam
version of the game will validate a hardcoded checksum against a live
validated version to see if everything seems ok before boot.
It's not a major hinderance but it should eliminate the more basic
sites modus operandi.
Honestly I don't really care if people steal the game. IT'S OPEN SOURCE
FFS!
And the above exclamation confirms why I did this. Also, I wanted to se
if it was possible. Game on Crackers! :D
Vertical coridoors before level 4 wouldn't leave enough space to place
4 traps since there is only 10 rows of tiles eligible for a trap and
every trap ocupies 3 rows and requires at least 2 spare rows. This could
cause an infinite loop situation.
* Also fixes linux build warnings and other stuff.