Fix uGearsHandlersMess.pas changes lost in merge
r1c02143bfe9c.
This seems to only include the drill rocket fixes (
re0dd66b2e73b and
r8db0c56f7e2f ) as well as the initial cake push (
r8786d4ac9e0b )
luaAPI:
* add paramater count checks to gameflag functions
* add GetGameFlag(gameflag) for checking a gameflag's current state
This adds idle hog tinting. Active hog tinting still needed.
let log know when a test finished properly, so that an unexpected termination (segfault, divbyzero, etc) is easier to tell apart from test fail
* fix divbyzero found by GetGravity test (cWindSpeed was used where cMaxWindSpeed should have been)
* make GetGravity return same integer value that was given by SetGravity (by rounding away precision errors rather than just truncate) - a problem also identified by the test :P
add a test based on unC0Rr's suggestion. still a lot of mess and redundancy involved, sry :P