
diff -r 588cc27e84bb -r 29a3e669d648 commands.def
--- a/commands.def	Wed Dec 19 13:44:18 2012 +0200
+++ b/commands.def	Wed Dec 19 22:01:42 2012 +0200
@@ -3,7 +3,7 @@
  *
  * Syntax: number:name:returntype:numargs:maxargs[:argumentlist]
  */
-0:changestate:void:1:1:str(statename)
+0:changestate:void:1:1:int(newstate)
 1:delay:void:1:1:int(tics)
 2:rand:int:2:2:int(a):int(b)
 3:StringsAreEqual:bool:2:2:str(string1):str(string2)
@@ -16,18 +16,18 @@
 10:LookForSuperArmor:int:2:2:int(start):bool(visibilitycheck)
 11:LookForPlayerEnemies:int:1:1:int(start)
 12:GetClosestPlayerEnemy:int:0:0
-13:MoveLeft:void:1:1:float(speed)
-14:MoveRight:void:1:1:float(speed)
-15:MoveForward:void:1:1:float(speed)
-16:MoveBackwards:void:1:1:float(speed)
+13:MoveLeft:void:1:1:int(speed)
+14:MoveRight:void:1:1:int(speed)
+15:MoveForward:void:1:1:int(speed)
+16:MoveBackwards:void:1:1:int(speed)
 17:StopMovement:void:0:0
 18:StopForwardMovement:void:0:0
 19:StopSidewaysMovement:void:0:0
 20:CheckTerrain:int:2:2:int(distance):int(angle)
-21:PathToGoal:int:1:1:float(speed)
-22:PathToLastKnownEnemyPosition:int:1:1:float(speed)
-23:PathToLastHeardSound:int:1:1:float(speed)
-24:Roam:int:1:1:float(speed)
+21:PathToGoal:int:1:1:int(speed)
+22:PathToLastKnownEnemyPosition:int:1:1:int(speed)
+23:PathToLastHeardSound:int:1:1:int(speed)
+24:Roam:int:1:1:int(speed)
 25:GetPathingCostToItem:int:1:1:int(item)
 26:GetDistanceToItem:int:1:1:int(item)
 27:GetItemName:str:1:1:int(item)




