src/squirrel_std.hpp
branchnoai
changeset 10938 df6235dd2b7a
parent 9591 cd88f4b7cba0
equal deleted inserted replaced
10934:1232882bfe7a 10938:df6235dd2b7a
    22 	 * Make an integer absolute.
    22 	 * Make an integer absolute.
    23 	 */
    23 	 */
    24 	static SQInteger abs(HSQUIRRELVM vm);
    24 	static SQInteger abs(HSQUIRRELVM vm);
    25 
    25 
    26 	/**
    26 	/**
       
    27 	 * Get the lowest of two integers.
       
    28 	 */
       
    29 	static SQInteger min(HSQUIRRELVM vm);
       
    30 
       
    31 	/**
       
    32 	 * Get the highest of two integers.
       
    33 	 */
       
    34 	static SQInteger max(HSQUIRRELVM vm);
       
    35 
       
    36 	/**
    27 	 * Load an other file on runtime.
    37 	 * Load an other file on runtime.
    28 	 * @note This is always loaded on the root-level, no matter where you call this.
    38 	 * @note This is always loaded on the root-level, no matter where you call this.
    29 	 * @note The filename is always relative from the script it is called from. Absolute calls are NOT allowed!
    39 	 * @note The filename is always relative from the script it is called from. Absolute calls are NOT allowed!
    30 	 */
    40 	 */
    31 	static SQInteger require(HSQUIRRELVM vm);
    41 	static SQInteger require(HSQUIRRELVM vm);