Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

basic.lua File Reference


Detailed Description

basic things used into other library (evt, keyboard_emu, gui)

Author:
vincent penne

benjamin gerard

Id
basic.lua,v 1.22 2003/03/29 15:33:06 ben Exp


Functions

 dlist_insert (var o, var ofirst, var olast, var i, var iprev, var inext, var iowner)
 insert a new element in list as first element (or as last simply by swaping ofirst and olast, iprev and inext).

 dlist_remove (var ofirst, var olast, var i, var iprev, var inext, var iowner)
 remove an element from a list.

 table_sqrdist (var a, var b)
 the ^ operator calculate the square distances between two tables.

 table_add (var a, var b)
 the + operator.

 table_sub (var a, var b)
 the - operator.

 table_mul (var a, var b)
 the * operator.

 table_div (var a, var b)
 the / operator.

 table_minus (var a)
 the unary - operator.

 table_max (var a)
 Get maximum value of a table.

 table_min (var a)
 Get minimum value of a table.

 dup (var v)
 Duplicate any type.

 type_dump (var v, var name, var indent)
 Get a lua compatible string describing this object.

 dump (var v, var name, var indent)
 Print a lua compatible string describing this object.

 clip_value (var v, var min, var max)
 Clip a value.

 set_vertex (var vect, var from)
 Set a vextex.

 printf (...)
 printf like function.

 clearconsole ()
 Console clear.


dcplaya documentation version 2.0 Generated on November 2004 by doxygen 1.3.6