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

LUA graphical extensions
[Executable Plugin API]


Detailed Description

doing graphics with LUA.

Author:
vincent penne

benjamin gerard

See also:
dcplaya_display_list


Files

file  display_driver.h
 graphics lua extension plugin

file  display_matrix.h
 LUA matrix extensions.


Modules

group LUA matrix extensions
 Fast matrix for LUA.


Defines

#define DRIVER_NAME   "display"
#define DL_FUNCTION_DECLARE(name)   int lua_##name(lua_State * L)
#define DL_FUNCTION_START(name)
#define DL_FUNCTION_END()   }

Variables

int dl_list_tag
 LUA tag for display list type.

any_driver_t display_driver


Define Documentation

#define DL_FUNCTION_START name   ) 
 

Value:

/*static*/ int lua_##name(lua_State * L) \
  { \
    dl_list_t * dl; \
    if (lua_tag(L, 1) != dl_list_tag) { \
      printf("dl_" #name " : first parameter is not a list\n"); \
      return 0; \
    } \
    dl = lua_touserdata(L, 1);


Variable Documentation

int dl_list_tag
 

LUA tag for display list type.

See also:
dcplaya_display_list


dcplaya documentation version 2.0 Generated on November 2004 by doxygen 1.3.6