Created
August 8, 2011 15:47
-
-
Save TheBuzzSaw/1132004 to your computer and use it in GitHub Desktop.
new API layout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- DO NOT ALTER THIS FILE. IF YOU DO, AUSTRALIA WILL BE SWALLOWED UP BY A | |
-- VOLCANO, AND YOU WILL HAVE BAD KARMA FOR LIFE. OH, AND THE GAME WILL BREAK. | |
arg = nil | |
debug.debug = nil | |
debug.getfenv = getfenv | |
debug.getregistry = nil | |
dofile = nil | |
io = { write = wcLog } | |
loadfile = nil | |
os.execute = nil | |
os.getenv = nil | |
os.remove = nil | |
os.rename = nil | |
os.tmpname = nil | |
package.loaded.io = io | |
package.loaded.package = nil | |
package = nil | |
require = nil | |
wcOnSecond = function() | |
-- currently, it does nothing | |
end | |
wcOnPulse = function() | |
-- currently, it does nothing | |
end | |
wcOnClick = function(player, x, y, z) | |
wcLog("player " .. player .. " clicked at " .. x .. ", " .. y .. ", " .. z) | |
end | |
wcSetPlayer(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment