Code:
case GAMETHROTTLE:
ret=Throttlefps?10000:0;
break;
case GAMEPAUSED:
ret=Paused?10000:0;
break;
case GAMEPLAYING:
ret=Playing?10000:0;
break;
case GAMEHEARTBEEP:
ret=heart_beep?10000:0;
break;
case ONCONVEY:
ret=is_on_conveyor?10000:0;
break;
case ACTTIMEDWARP:
ret=activated_timed_warp?10000:0;
break;
case GOFAST:
ret=gofast?10000:0;
break;
case GETZCVERSION:
ret=zcversion*10000;
break;
{ "getVersion", ScriptParser::TYPE_FLOAT, GETTER, GETZCVERSION, 1, { ScriptParser::TYPE_GAME, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 } },
{ "getGoFast", ScriptParser::TYPE_BOOL, GETTER, GOFAST, 1, { ScriptParser::TYPE_GAME, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 } },
{ "getActTimedWarp", ScriptParser::TYPE_BOOL, GETTER, ACTTIMEDWARP, 1, { ScriptParser::TYPE_GAME, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 } },
{ "getHeartbeep", ScriptParser::TYPE_BOOL, GETTER, GAMEHEARTBEEP, 1, { ScriptParser::TYPE_GAME, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 } },
{ "getCapFPS", ScriptParser::TYPE_BOOL, GETTER, GAMETHROTTLE, 1, { ScriptParser::TYPE_GAME, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 } },
{ "setCapFPS", ScriptParser::TYPE_VOID, SETTER, GAMETHROTTLE, 1, { ScriptParser::TYPE_GAME, ScriptParser::TYPE_BOOL, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 } },
{ "getPaused", ScriptParser::TYPE_BOOL, GETTER, GAMEPAUSED, 1, { ScriptParser::TYPE_GAME, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 } },
{ "getShowFPS", ScriptParser::TYPE_BOOL, GETTER, GAMESHOWFPS, 1, { ScriptParser::TYPE_GAME, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 } },
{ "setHasPlayed", ScriptParser::TYPE_VOID, SETTER, GAMEHASPLAYED, 1, { ScriptParser::TYPE_GAME, ScriptParser::TYPE_BOOL, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 } },