src/squirrel_std.hpp
branchnoai
changeset 10938 df6235dd2b7a
parent 9591 cd88f4b7cba0
--- a/src/squirrel_std.hpp	Thu Jun 12 13:24:33 2008 +0000
+++ b/src/squirrel_std.hpp	Thu Jun 12 18:03:50 2008 +0000
@@ -24,6 +24,16 @@
 	static SQInteger abs(HSQUIRRELVM vm);
 
 	/**
+	 * Get the lowest of two integers.
+	 */
+	static SQInteger min(HSQUIRRELVM vm);
+
+	/**
+	 * Get the highest of two integers.
+	 */
+	static SQInteger max(HSQUIRRELVM vm);
+
+	/**
 	 * Load an other file on runtime.
 	 * @note This is always loaded on the root-level, no matter where you call this.
 	 * @note The filename is always relative from the script it is called from. Absolute calls are NOT allowed!