代码搜索:Lua
找到约 9,588 项符合「Lua」的源代码
代码结果 9,588
www.eeworm.com/read/192080/5159999
lua cottage.lua
loadMappy( "cottage.pms", "lato_in.tga" )
setStartBlock( 5, 7 )
addLevelTrigger( "noghoul", 6, 8, "forest", 6, 19 )
addLevelTrigger( "ghoul", 6, 8, "forest_ghoul", 6, 19 )
addItemTrigger( "",
www.eeworm.com/read/192080/5160099
lua doall.lua
-- emulate the command line behaviour of Lua 4.0
-- usage: lua doall.lua f1.lua f2.lua f3.lua ...
for i=1,table.getn(arg) do
dofile(arg[i])
end
www.eeworm.com/read/192080/5160102
xpm lua.xpm
/* XPM */
static char *magick[] = {
/* columns rows colors chars-per-pixel */
"32 32 6 1",
" c Gray0",
". c #000000008080",
"X c #808080808080",
"o c #c0c0c0c0c0c0",
"O c Gray100",
"+ c None
www.eeworm.com/read/192080/5160104
lua compat.lua
-------------------------------------------------------------------
-- Real globals
-- _ALERT
-- _ERRORMESSAGE
-- _VERSION
-- _G
-- assert
-- error
-- metatable
-- next
-- print
-- require
www.eeworm.com/read/192080/5160106
magic lua.magic
# Lua precompiled files. Versions 2.3 and 4.1 were never officially released.
0 string \33Lua precompiled chunk for Lua
>4 byte 0x23 2.3*
>4 byte 0x24 2.4
>4 byte 0x25 2.5
>4 byte 0x30 3.0
>4
www.eeworm.com/read/192080/5160108
1 lua.1
.\" lua.man,v 1.8 2003/04/02 00:05:20 lhf Exp
.TH LUA 1 "2003/04/02 00:05:20"
.SH NAME
lua \- Lua interpreter
.SH SYNOPSIS
.B lua
[
.I options
]
[
.I script
[
.I args
]
]
.SH DESCRIPTIO
www.eeworm.com/read/192080/5160112
h lua.h
/*
** $Id: lua.h,v 1.1.1.1 2006/02/20 15:43:37 kajala Exp $
** Lua - An Extensible Extension Language
** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil
** http://www.lua.org mailto:i
www.eeworm.com/read/192080/5160171
c lua.c
/*
** $Id: lua.c,v 1.1.1.1 2006/02/20 15:43:38 kajala Exp $
** Lua stand-alone interpreter
** See Copyright Notice in lua.h
*/
#include
#include
#include
#i
www.eeworm.com/read/192080/5160174
lua readonly.lua
-- make global variables readonly
local f=function (t,i) error("cannot redefine global variable `"..i.."'",2) end
local g={}
local G=getfenv()
setmetatable(g,{__index=G,__newindex=f})
setfenv(1
www.eeworm.com/read/192080/5160175
lua undefined.lua
-- catch "undefined" global variables
local f=function (t,i) error("undefined global variable `"..i.."'",2) end
setmetatable(getfenv(),{__index=f})
-- an example
a=1
c=3
print(a,b,c) -- `b'