summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore20
-rw-r--r--CMakeLists.txt22
-rw-r--r--GNUmakefile194
-rw-r--r--VC2008/ToLua.vcproj4
-rw-r--r--lib/cryptopp/CMakeLists.txt14
-rw-r--r--lib/inifile/CMakeLists.txt7
-rw-r--r--lib/jsoncpp/CMakeLists.txt13
-rw-r--r--lib/lua/CMakeLists.txt12
-rw-r--r--lib/lua/Makefile1126
-rw-r--r--lib/tolua++/CMakeLists.txt17
-rw-r--r--lib/tolua++/Makefile326
-rw-r--r--lib/tolua++/src/bin/tolua.c169
-rw-r--r--lib/tolua++/src/bin/tolua_scons.pkg31
-rw-r--r--lib/tolua++/src/bin/toluabind.c8107
-rw-r--r--lib/tolua++/src/bin/toluabind.h8
-rw-r--r--lib/zlib/CMakeLists.txt11
-rw-r--r--src/Bindings/Bindings.cpp32230
-rw-r--r--src/Bindings/Bindings.h8
-rw-r--r--src/Bindings/CMakeLists.txt16
-rw-r--r--src/Blocks/CMakeLists.txt7
-rw-r--r--src/CMakeLists.txt36
-rw-r--r--src/Entities/CMakeLists.txt11
-rw-r--r--src/Generating/CMakeLists.txt11
-rw-r--r--src/HTTPServer/CMakeLists.txt7
-rw-r--r--src/Items/CMakeLists.txt7
-rw-r--r--src/Mobs/CMakeLists.txt11
-rw-r--r--src/OSSupport/CMakeLists.txt10
-rw-r--r--src/Protocol/CMakeLists.txt7
-rw-r--r--src/Simulator/CMakeLists.txt11
-rw-r--r--src/UI/CMakeLists.txt11
-rw-r--r--src/WorldStorage/CMakeLists.txt11
31 files changed, 9910 insertions, 32565 deletions
diff --git a/.gitignore b/.gitignore
index b0ad11d53..97bcfbd04 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,7 +7,7 @@ Symbols
cloc-ignored.txt
cloc.xml
cloc.xsl
-*.ncb
+ *.ncb
*.user
*.suo
/EveryNight.cmd
@@ -15,6 +15,7 @@ cloc.xsl
# emacs stuff
*.*~
+*~
# world inside source
ChunkWorx.ini
@@ -32,3 +33,20 @@ logs
players
world
world_nether
+
+#cmake stuff
+CMakeFiles/
+cmake_install.cmake
+CMakeCache.txt
+Makefile
+
+*.a
+*.d
+CMakeCache.txt
+CMakeFiles
+Makefile
+cmake_install.cmake
+install_mainfest.txt
+src/MCServer
+lib/tolua++/tolua
+src/Bindings/Bindings.*
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 000000000..f97c60c33
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,22 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+set(CMAKE_CXX_FLAGS_BAK ${CMAKE_CXX_FLAGS})
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w")
+set(CMAKE_BUILD_TYPE_BAK ${CMAKE_BUILD_TYPE})
+set(CMAKE_BUILD_TYPE "Release")
+
+add_subdirectory(lib/inifile/)
+add_subdirectory(lib/jsoncpp/)
+add_subdirectory(lib/cryptopp/)
+add_subdirectory(lib/zlib/)
+add_subdirectory(lib/lua/)
+add_subdirectory(lib/tolua++/)
+
+#TODo: set -Wall -Werror -Wextra
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_BAK}")
+set(CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE_BAK}")
+
+add_subdirectory (src)
+
diff --git a/GNUmakefile b/GNUmakefile
deleted file mode 100644
index d729268e7..000000000
--- a/GNUmakefile
+++ /dev/null
@@ -1,194 +0,0 @@
-###################################################
-#
-# Makefile for MCServer
-# Creator: tedik
-#
-###################################################
-#
-# Info:
-# This makefile is gnu-make spacific, other make systems needn't understand it
-# This makefile generates include-file dependencies into *.d files in each build and then reuses these dependencies in the following builds
-#
-# Usage:
-# To make a release build, call "make release=1"
-# To make a debug build, call "make"
-# To make a 32-bit build on 64-bit OS, pass the addm32=1 flag
-# To build with clang, you need to add disableasm=1 flag
-#
-###################################################
-
-#
-# Macros
-#
-
-# allow user to override compiler
-# if no compiler is specified make specifies cc
-ifeq ($(CC),cc)
-CC = /usr/bin/g++
-endif
-
-all: MCServer/MCServer
-
-
-
-
-
-###################################################
-# Set the variables used for compiling, based on the build mode requested:
-# CC_OPTIONS ... options for the C code compiler
-# CXX_OPTIONS ... options for the C++ code compiler
-# LNK_OPTIONS ... options for the linker
-# LNK_LIBS ... libraries to link in
-# -- according to http://stackoverflow.com/questions/6183899/undefined-reference-to-dlopen, libs must come after all sources
-# BUILDDIR ... folder where the intermediate object files are built
-
-ifeq ($(release),1)
-################
-# release build - fastest run-time, no gdb support
-################
-
-CC_OPTIONS = -O3 -DNDEBUG -DLUA_USE_DLOPEN
-CXX_OPTIONS = -O3 -DNDEBUG -DLUA_USE_DLOPEN
-LNK_OPTIONS = -pthread -O3
-
-BUILDDIR = build/release/
-
-else
-ifeq ($(profile),1)
-################
-# profile build - a release build with symbols and profiling engine built in
-################
-
-CC_OPTIONS = -g -ggdb -O3 -pg -DNDEBUG -DLUA_USE_DLOPEN
-CXX_OPTIONS = -g -ggdb -O3 -pg -DNDEBUG -DLUA_USE_DLOPEN
-LNK_OPTIONS = -pthread -ggdb -O3 -pg
-
-BUILDDIR = build/profile/
-
-else
-################
-# debug build - fully traceable by gdb in C++ code, slowest
-# Since C code is used only for supporting libraries (zlib, lua), it is still Ofast-optimized
-################
-
-CC_OPTIONS = -ggdb -g -D_DEBUG -O3 -DLUA_USE_DLOPEN
-CXX_OPTIONS = -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN
-LNK_OPTIONS = -pthread -g -ggdb -O1
-
-BUILDDIR = build/debug/
-
-endif
-endif
-
-##################################################
-# Always be warning.
-
-CXX_OPTIONS += -Wall
-
-###################################################
-# Fix Crypto++ warnings in clang
-
-ifeq ($(shell $(CXX) --version 2>&1 | grep -i -c "clang"),1)
-CC_OPTIONS += -DCRYPTOPP_DISABLE_ASM
-CXX_OPTIONS += -DCRYPTOPP_DISABLE_ASM
-endif
-
-
-###################################################
-# Set the link libraries based on the OS
-# Linux uses libdl
-# FreeBSD uses libltdl
-# TODO: other OSs?
-
-UNAME := $(shell uname -s)
-ifeq ($(UNAME),Linux)
- LNK_LIBS = -lstdc++ -ldl -lm
-else
- LNK_LIBS = -lstdc++ -lltdl
-endif
-
-
-
-
-
-###################################################
-# Export all symbols from the executable, so that LuaRocks may bind to Lua routines:
-LNK_OPTIONS += -rdynamic
-
-
-
-
-
-###################################################
-# 32-bit build override in 64-bit build environments
-
-ifeq ($(addm32),1)
-CC_OPTIONS += -m32
-CXX_OPTIONS += -m32
-LNK_OPTIONS += -m32
-endif
-
-
-
-
-
-
-###################################################
-# INCLUDE directories for MCServer
-
-INCLUDE = -Isrc\
- -Ilib\
- -Ilib/jsoncpp/include
-
-
-
-
-
-###################################################
-# Build MCServer
-
-SOURCES := $(shell find src lib '(' -name '*.cpp' -o -name '*.c' ')')
-SOURCES := $(filter-out %minigzip.c %lua.c %tolua.c %toluabind.c %LeakFinder.cpp %StackWalker.cpp %example.c,$(SOURCES))
-OBJECTS := $(patsubst %.c,$(BUILDDIR)%.o,$(SOURCES))
-OBJECTS := $(patsubst %.cpp,$(BUILDDIR)%.o,$(OBJECTS))
-
--include $(patsubst %.o,%.d,$(OBJECTS))
-
-MCServer/MCServer : $(OBJECTS)
- $(CC) $(LNK_OPTIONS) $(OBJECTS) $(LNK_LIBS) -o MCServer/MCServer
-
-clean :
- rm -rf $(BUILDDIR) MCServer/MCServer
-
-install : MCServer
- cp MCServer MCServer
-
-
-
-
-
-###################################################
-# Build the parts of MCServer
-#
-# options used:
-# -x c ... compile as C code
-# -c ... compile but do not link
-# -MM ... generate a list of includes
-
-$(BUILDDIR)%.o: %.c
- @mkdir -p $(dir $@)
- $(CC) $(CC_OPTIONS) -x c -c $(INCLUDE) $< -o $@
- @$(CC) $(CC_OPTIONS) -x c -MM $(INCLUDE) $< > $(patsubst %.o,%.d,$@)
- @mv -f $(patsubst %.o,%.d,$@) $(patsubst %.o,%.d,$@).tmp
- @sed -e "s|.*:|$(BUILDDIR)$*.o:|" < $(patsubst %.o,%.d,$@).tmp > $(patsubst %.o,%.d,$@)
- @sed -e 's/.*://' -e 's/\\$$//' < $(patsubst %.o,%.d,$@).tmp | fmt -1 | sed -e 's/^ *//' -e 's/$$/:/' >> $(patsubst %.o,%.d,$@)
- @rm -f $(patsubst %.o,%.d,$@).tmp
-
-$(BUILDDIR)%.o: %.cpp
- @mkdir -p $(dir $@)
- $(CC) $(CXX_OPTIONS) -c $(INCLUDE) $< -o $@
- @$(CC) $(CXX_OPTIONS) -MM $(INCLUDE) $< > $(patsubst %.o,%.d,$@)
- @mv -f $(patsubst %.o,%.d,$@) $(patsubst %.o,%.d,$@).tmp
- @sed -e "s|.*:|$(BUILDDIR)$*.o:|" < $(patsubst %.o,%.d,$@).tmp > $(patsubst %.o,%.d,$@)
- @sed -e 's/.*://' -e 's/\\$$//' < $(patsubst %.o,%.d,$@).tmp | fmt -1 | sed -e 's/^ *//' -e 's/$$/:/' >> $(patsubst %.o,%.d,$@)
- @rm -f $(patsubst %.o,%.d,$@).tmp
diff --git a/VC2008/ToLua.vcproj b/VC2008/ToLua.vcproj
index fc5b95acc..057a3cf8f 100644
--- a/VC2008/ToLua.vcproj
+++ b/VC2008/ToLua.vcproj
@@ -338,6 +338,10 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
+ RelativePath="..\lib\tolua++\src\bin\tolua.c"
+ >
+ </File>
+ <File
RelativePath="..\lib\tolua++\src\lib\tolua_event.c"
>
</File>
diff --git a/lib/cryptopp/CMakeLists.txt b/lib/cryptopp/CMakeLists.txt
new file mode 100644
index 000000000..3497b3346
--- /dev/null
+++ b/lib/cryptopp/CMakeLists.txt
@@ -0,0 +1,14 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (cryptopp)
+
+if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DCRYPTOPP_DISABLE_ASM")
+endif()
+include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
+
+file(GLOB cryptopp_SRC
+ "*.cpp"
+)
+
+add_library(cryptopp ${cryptopp_SRC})
diff --git a/lib/inifile/CMakeLists.txt b/lib/inifile/CMakeLists.txt
new file mode 100644
index 000000000..efbd09796
--- /dev/null
+++ b/lib/inifile/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (iniFile)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
+
+add_library(iniFile iniFile)
diff --git a/lib/jsoncpp/CMakeLists.txt b/lib/jsoncpp/CMakeLists.txt
new file mode 100644
index 000000000..6c678f6a6
--- /dev/null
+++ b/lib/jsoncpp/CMakeLists.txt
@@ -0,0 +1,13 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (jsoncpp)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
+
+file(GLOB SOURCE
+ "src/lib_json/*.h"
+ "src/lib_json/*.cpp"
+)
+
+
+add_library(jsoncpp ${SOURCE})
diff --git a/lib/lua/CMakeLists.txt b/lib/lua/CMakeLists.txt
new file mode 100644
index 000000000..2fc194874
--- /dev/null
+++ b/lib/lua/CMakeLists.txt
@@ -0,0 +1,12 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (lua)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
+
+file(GLOB SOURCE
+ "src/*.c"
+)
+
+add_library(lua ${SOURCE})
+
diff --git a/lib/lua/Makefile b/lib/lua/Makefile
index 6e78f66fa..d23c39cc1 100644
--- a/lib/lua/Makefile
+++ b/lib/lua/Makefile
@@ -1,128 +1,998 @@
-# makefile for installing Lua
-# see INSTALL for installation instructions
-# see src/Makefile and src/luaconf.h for further customization
-
-# == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT =======================
-
-# Your platform. See PLATS for possible values.
-PLAT= none
-
-# Where to install. The installation starts in the src and doc directories,
-# so take care if INSTALL_TOP is not an absolute path.
-INSTALL_TOP= /usr/local
-INSTALL_BIN= $(INSTALL_TOP)/bin
-INSTALL_INC= $(INSTALL_TOP)/include
-INSTALL_LIB= $(INSTALL_TOP)/lib
-INSTALL_MAN= $(INSTALL_TOP)/man/man1
-#
-# You probably want to make INSTALL_LMOD and INSTALL_CMOD consistent with
-# LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h (and also with etc/lua.pc).
-INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V
-INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V
-
-# How to install. If your install program does not support "-p", then you
-# may have to run ranlib on the installed liblua.a (do "make ranlib").
-INSTALL= install -p
-INSTALL_EXEC= $(INSTALL) -m 0755
-INSTALL_DATA= $(INSTALL) -m 0644
-#
-# If you don't have install you can use cp instead.
-# INSTALL= cp -p
-# INSTALL_EXEC= $(INSTALL)
-# INSTALL_DATA= $(INSTALL)
-
-# Utilities.
-MKDIR= mkdir -p
-RANLIB= ranlib
-
-# == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE =========
-
-# Convenience platforms targets.
-PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris
-
-# What to install.
-TO_BIN= lua luac
-TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
-TO_LIB= liblua.a
-TO_MAN= lua.1 luac.1
-
-# Lua version and release.
-V= 5.1
-R= 5.1.4
-
-all: $(PLAT)
-
-$(PLATS) clean:
- cd src && $(MAKE) $@
-
-test: dummy
- src/lua test/hello.lua
-
-install: dummy
- cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD)
- cd src && $(INSTALL_EXEC) $(TO_BIN) $(INSTALL_BIN)
- cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC)
- cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB)
- cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN)
-
-ranlib:
- cd src && cd $(INSTALL_LIB) && $(RANLIB) $(TO_LIB)
-
-local:
- $(MAKE) install INSTALL_TOP=..
-
-none:
- @echo "Please do"
- @echo " make PLATFORM"
- @echo "where PLATFORM is one of these:"
- @echo " $(PLATS)"
- @echo "See INSTALL for complete instructions."
-
-# make may get confused with test/ and INSTALL in a case-insensitive OS
-dummy:
-
-# echo config parameters
-echo:
- @echo ""
- @echo "These are the parameters currently set in src/Makefile to build Lua $R:"
- @echo ""
- @cd src && $(MAKE) -s echo
- @echo ""
- @echo "These are the parameters currently set in Makefile to install Lua $R:"
- @echo ""
- @echo "PLAT = $(PLAT)"
- @echo "INSTALL_TOP = $(INSTALL_TOP)"
- @echo "INSTALL_BIN = $(INSTALL_BIN)"
- @echo "INSTALL_INC = $(INSTALL_INC)"
- @echo "INSTALL_LIB = $(INSTALL_LIB)"
- @echo "INSTALL_MAN = $(INSTALL_MAN)"
- @echo "INSTALL_LMOD = $(INSTALL_LMOD)"
- @echo "INSTALL_CMOD = $(INSTALL_CMOD)"
- @echo "INSTALL_EXEC = $(INSTALL_EXEC)"
- @echo "INSTALL_DATA = $(INSTALL_DATA)"
- @echo ""
- @echo "See also src/luaconf.h ."
- @echo ""
-
-# echo private config parameters
-pecho:
- @echo "V = $(V)"
- @echo "R = $(R)"
- @echo "TO_BIN = $(TO_BIN)"
- @echo "TO_INC = $(TO_INC)"
- @echo "TO_LIB = $(TO_LIB)"
- @echo "TO_MAN = $(TO_MAN)"
-
-# echo config parameters as Lua code
-# uncomment the last sed expression if you want nil instead of empty strings
-lecho:
- @echo "-- installation parameters for Lua $R"
- @echo "VERSION = '$V'"
- @echo "RELEASE = '$R'"
- @$(MAKE) echo | grep = | sed -e 's/= /= "/' -e 's/$$/"/' #-e 's/""/nil/'
- @echo "-- EOF"
-
-# list targets that do not create files (but not all makes understand .PHONY)
-.PHONY: all $(PLATS) clean test install local none dummy echo pecho lecho
-
-# (end of Makefile)
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# Default target executed when no arguments are given to make.
+default_target: all
+.PHONY : default_target
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/tycho/MCServer
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/tycho/MCServer
+
+#=============================================================================
+# Targets provided globally by CMake.
+
+# Special rule for the target edit_cache
+edit_cache:
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
+ /usr/bin/cmake -i .
+.PHONY : edit_cache
+
+# Special rule for the target edit_cache
+edit_cache/fast: edit_cache
+.PHONY : edit_cache/fast
+
+# Special rule for the target rebuild_cache
+rebuild_cache:
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
+ /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+.PHONY : rebuild_cache
+
+# Special rule for the target rebuild_cache
+rebuild_cache/fast: rebuild_cache
+.PHONY : rebuild_cache/fast
+
+# The main all target
+all: cmake_check_build_system
+ cd /home/tycho/MCServer && $(CMAKE_COMMAND) -E cmake_progress_start /home/tycho/MCServer/CMakeFiles /home/tycho/MCServer/lib/lua/CMakeFiles/progress.marks
+ cd /home/tycho/MCServer && $(MAKE) -f CMakeFiles/Makefile2 lib/lua/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home/tycho/MCServer/CMakeFiles 0
+.PHONY : all
+
+# The main clean target
+clean:
+ cd /home/tycho/MCServer && $(MAKE) -f CMakeFiles/Makefile2 lib/lua/clean
+.PHONY : clean
+
+# The main clean target
+clean/fast: clean
+.PHONY : clean/fast
+
+# Prepare targets for installation.
+preinstall: all
+ cd /home/tycho/MCServer && $(MAKE) -f CMakeFiles/Makefile2 lib/lua/preinstall
+.PHONY : preinstall
+
+# Prepare targets for installation.
+preinstall/fast:
+ cd /home/tycho/MCServer && $(MAKE) -f CMakeFiles/Makefile2 lib/lua/preinstall
+.PHONY : preinstall/fast
+
+# clear depends
+depend:
+ cd /home/tycho/MCServer && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
+.PHONY : depend
+
+# Convenience name for target.
+lib/lua/CMakeFiles/lua.dir/rule:
+ cd /home/tycho/MCServer && $(MAKE) -f CMakeFiles/Makefile2 lib/lua/CMakeFiles/lua.dir/rule
+.PHONY : lib/lua/CMakeFiles/lua.dir/rule
+
+# Convenience name for target.
+lua: lib/lua/CMakeFiles/lua.dir/rule
+.PHONY : lua
+
+# fast build rule for target.
+lua/fast:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/build
+.PHONY : lua/fast
+
+src/lapi.o: src/lapi.c.o
+.PHONY : src/lapi.o
+
+# target to build an object file
+src/lapi.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lapi.c.o
+.PHONY : src/lapi.c.o
+
+src/lapi.i: src/lapi.c.i
+.PHONY : src/lapi.i
+
+# target to preprocess a source file
+src/lapi.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lapi.c.i
+.PHONY : src/lapi.c.i
+
+src/lapi.s: src/lapi.c.s
+.PHONY : src/lapi.s
+
+# target to generate assembly for a file
+src/lapi.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lapi.c.s
+.PHONY : src/lapi.c.s
+
+src/lauxlib.o: src/lauxlib.c.o
+.PHONY : src/lauxlib.o
+
+# target to build an object file
+src/lauxlib.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lauxlib.c.o
+.PHONY : src/lauxlib.c.o
+
+src/lauxlib.i: src/lauxlib.c.i
+.PHONY : src/lauxlib.i
+
+# target to preprocess a source file
+src/lauxlib.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lauxlib.c.i
+.PHONY : src/lauxlib.c.i
+
+src/lauxlib.s: src/lauxlib.c.s
+.PHONY : src/lauxlib.s
+
+# target to generate assembly for a file
+src/lauxlib.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lauxlib.c.s
+.PHONY : src/lauxlib.c.s
+
+src/lbaselib.o: src/lbaselib.c.o
+.PHONY : src/lbaselib.o
+
+# target to build an object file
+src/lbaselib.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lbaselib.c.o
+.PHONY : src/lbaselib.c.o
+
+src/lbaselib.i: src/lbaselib.c.i
+.PHONY : src/lbaselib.i
+
+# target to preprocess a source file
+src/lbaselib.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lbaselib.c.i
+.PHONY : src/lbaselib.c.i
+
+src/lbaselib.s: src/lbaselib.c.s
+.PHONY : src/lbaselib.s
+
+# target to generate assembly for a file
+src/lbaselib.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lbaselib.c.s
+.PHONY : src/lbaselib.c.s
+
+src/lcode.o: src/lcode.c.o
+.PHONY : src/lcode.o
+
+# target to build an object file
+src/lcode.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lcode.c.o
+.PHONY : src/lcode.c.o
+
+src/lcode.i: src/lcode.c.i
+.PHONY : src/lcode.i
+
+# target to preprocess a source file
+src/lcode.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lcode.c.i
+.PHONY : src/lcode.c.i
+
+src/lcode.s: src/lcode.c.s
+.PHONY : src/lcode.s
+
+# target to generate assembly for a file
+src/lcode.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lcode.c.s
+.PHONY : src/lcode.c.s
+
+src/ldblib.o: src/ldblib.c.o
+.PHONY : src/ldblib.o
+
+# target to build an object file
+src/ldblib.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldblib.c.o
+.PHONY : src/ldblib.c.o
+
+src/ldblib.i: src/ldblib.c.i
+.PHONY : src/ldblib.i
+
+# target to preprocess a source file
+src/ldblib.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldblib.c.i
+.PHONY : src/ldblib.c.i
+
+src/ldblib.s: src/ldblib.c.s
+.PHONY : src/ldblib.s
+
+# target to generate assembly for a file
+src/ldblib.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldblib.c.s
+.PHONY : src/ldblib.c.s
+
+src/ldebug.o: src/ldebug.c.o
+.PHONY : src/ldebug.o
+
+# target to build an object file
+src/ldebug.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldebug.c.o
+.PHONY : src/ldebug.c.o
+
+src/ldebug.i: src/ldebug.c.i
+.PHONY : src/ldebug.i
+
+# target to preprocess a source file
+src/ldebug.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldebug.c.i
+.PHONY : src/ldebug.c.i
+
+src/ldebug.s: src/ldebug.c.s
+.PHONY : src/ldebug.s
+
+# target to generate assembly for a file
+src/ldebug.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldebug.c.s
+.PHONY : src/ldebug.c.s
+
+src/ldo.o: src/ldo.c.o
+.PHONY : src/ldo.o
+
+# target to build an object file
+src/ldo.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldo.c.o
+.PHONY : src/ldo.c.o
+
+src/ldo.i: src/ldo.c.i
+.PHONY : src/ldo.i
+
+# target to preprocess a source file
+src/ldo.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldo.c.i
+.PHONY : src/ldo.c.i
+
+src/ldo.s: src/ldo.c.s
+.PHONY : src/ldo.s
+
+# target to generate assembly for a file
+src/ldo.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldo.c.s
+.PHONY : src/ldo.c.s
+
+src/ldump.o: src/ldump.c.o
+.PHONY : src/ldump.o
+
+# target to build an object file
+src/ldump.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldump.c.o
+.PHONY : src/ldump.c.o
+
+src/ldump.i: src/ldump.c.i
+.PHONY : src/ldump.i
+
+# target to preprocess a source file
+src/ldump.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldump.c.i
+.PHONY : src/ldump.c.i
+
+src/ldump.s: src/ldump.c.s
+.PHONY : src/ldump.s
+
+# target to generate assembly for a file
+src/ldump.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldump.c.s
+.PHONY : src/ldump.c.s
+
+src/lfunc.o: src/lfunc.c.o
+.PHONY : src/lfunc.o
+
+# target to build an object file
+src/lfunc.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lfunc.c.o
+.PHONY : src/lfunc.c.o
+
+src/lfunc.i: src/lfunc.c.i
+.PHONY : src/lfunc.i
+
+# target to preprocess a source file
+src/lfunc.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lfunc.c.i
+.PHONY : src/lfunc.c.i
+
+src/lfunc.s: src/lfunc.c.s
+.PHONY : src/lfunc.s
+
+# target to generate assembly for a file
+src/lfunc.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lfunc.c.s
+.PHONY : src/lfunc.c.s
+
+src/lgc.o: src/lgc.c.o
+.PHONY : src/lgc.o
+
+# target to build an object file
+src/lgc.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lgc.c.o
+.PHONY : src/lgc.c.o
+
+src/lgc.i: src/lgc.c.i
+.PHONY : src/lgc.i
+
+# target to preprocess a source file
+src/lgc.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lgc.c.i
+.PHONY : src/lgc.c.i
+
+src/lgc.s: src/lgc.c.s
+.PHONY : src/lgc.s
+
+# target to generate assembly for a file
+src/lgc.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lgc.c.s
+.PHONY : src/lgc.c.s
+
+src/linit.o: src/linit.c.o
+.PHONY : src/linit.o
+
+# target to build an object file
+src/linit.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/linit.c.o
+.PHONY : src/linit.c.o
+
+src/linit.i: src/linit.c.i
+.PHONY : src/linit.i
+
+# target to preprocess a source file
+src/linit.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/linit.c.i
+.PHONY : src/linit.c.i
+
+src/linit.s: src/linit.c.s
+.PHONY : src/linit.s
+
+# target to generate assembly for a file
+src/linit.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/linit.c.s
+.PHONY : src/linit.c.s
+
+src/liolib.o: src/liolib.c.o
+.PHONY : src/liolib.o
+
+# target to build an object file
+src/liolib.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/liolib.c.o
+.PHONY : src/liolib.c.o
+
+src/liolib.i: src/liolib.c.i
+.PHONY : src/liolib.i
+
+# target to preprocess a source file
+src/liolib.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/liolib.c.i
+.PHONY : src/liolib.c.i
+
+src/liolib.s: src/liolib.c.s
+.PHONY : src/liolib.s
+
+# target to generate assembly for a file
+src/liolib.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/liolib.c.s
+.PHONY : src/liolib.c.s
+
+src/llex.o: src/llex.c.o
+.PHONY : src/llex.o
+
+# target to build an object file
+src/llex.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/llex.c.o
+.PHONY : src/llex.c.o
+
+src/llex.i: src/llex.c.i
+.PHONY : src/llex.i
+
+# target to preprocess a source file
+src/llex.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/llex.c.i
+.PHONY : src/llex.c.i
+
+src/llex.s: src/llex.c.s
+.PHONY : src/llex.s
+
+# target to generate assembly for a file
+src/llex.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/llex.c.s
+.PHONY : src/llex.c.s
+
+src/lmathlib.o: src/lmathlib.c.o
+.PHONY : src/lmathlib.o
+
+# target to build an object file
+src/lmathlib.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lmathlib.c.o
+.PHONY : src/lmathlib.c.o
+
+src/lmathlib.i: src/lmathlib.c.i
+.PHONY : src/lmathlib.i
+
+# target to preprocess a source file
+src/lmathlib.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lmathlib.c.i
+.PHONY : src/lmathlib.c.i
+
+src/lmathlib.s: src/lmathlib.c.s
+.PHONY : src/lmathlib.s
+
+# target to generate assembly for a file
+src/lmathlib.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lmathlib.c.s
+.PHONY : src/lmathlib.c.s
+
+src/lmem.o: src/lmem.c.o
+.PHONY : src/lmem.o
+
+# target to build an object file
+src/lmem.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lmem.c.o
+.PHONY : src/lmem.c.o
+
+src/lmem.i: src/lmem.c.i
+.PHONY : src/lmem.i
+
+# target to preprocess a source file
+src/lmem.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lmem.c.i
+.PHONY : src/lmem.c.i
+
+src/lmem.s: src/lmem.c.s
+.PHONY : src/lmem.s
+
+# target to generate assembly for a file
+src/lmem.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lmem.c.s
+.PHONY : src/lmem.c.s
+
+src/loadlib.o: src/loadlib.c.o
+.PHONY : src/loadlib.o
+
+# target to build an object file
+src/loadlib.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/loadlib.c.o
+.PHONY : src/loadlib.c.o
+
+src/loadlib.i: src/loadlib.c.i
+.PHONY : src/loadlib.i
+
+# target to preprocess a source file
+src/loadlib.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/loadlib.c.i
+.PHONY : src/loadlib.c.i
+
+src/loadlib.s: src/loadlib.c.s
+.PHONY : src/loadlib.s
+
+# target to generate assembly for a file
+src/loadlib.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/loadlib.c.s
+.PHONY : src/loadlib.c.s
+
+src/lobject.o: src/lobject.c.o
+.PHONY : src/lobject.o
+
+# target to build an object file
+src/lobject.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lobject.c.o
+.PHONY : src/lobject.c.o
+
+src/lobject.i: src/lobject.c.i
+.PHONY : src/lobject.i
+
+# target to preprocess a source file
+src/lobject.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lobject.c.i
+.PHONY : src/lobject.c.i
+
+src/lobject.s: src/lobject.c.s
+.PHONY : src/lobject.s
+
+# target to generate assembly for a file
+src/lobject.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lobject.c.s
+.PHONY : src/lobject.c.s
+
+src/lopcodes.o: src/lopcodes.c.o
+.PHONY : src/lopcodes.o
+
+# target to build an object file
+src/lopcodes.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lopcodes.c.o
+.PHONY : src/lopcodes.c.o
+
+src/lopcodes.i: src/lopcodes.c.i
+.PHONY : src/lopcodes.i
+
+# target to preprocess a source file
+src/lopcodes.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lopcodes.c.i
+.PHONY : src/lopcodes.c.i
+
+src/lopcodes.s: src/lopcodes.c.s
+.PHONY : src/lopcodes.s
+
+# target to generate assembly for a file
+src/lopcodes.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lopcodes.c.s
+.PHONY : src/lopcodes.c.s
+
+src/loslib.o: src/loslib.c.o
+.PHONY : src/loslib.o
+
+# target to build an object file
+src/loslib.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/loslib.c.o
+.PHONY : src/loslib.c.o
+
+src/loslib.i: src/loslib.c.i
+.PHONY : src/loslib.i
+
+# target to preprocess a source file
+src/loslib.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/loslib.c.i
+.PHONY : src/loslib.c.i
+
+src/loslib.s: src/loslib.c.s
+.PHONY : src/loslib.s
+
+# target to generate assembly for a file
+src/loslib.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/loslib.c.s
+.PHONY : src/loslib.c.s
+
+src/lparser.o: src/lparser.c.o
+.PHONY : src/lparser.o
+
+# target to build an object file
+src/lparser.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lparser.c.o
+.PHONY : src/lparser.c.o
+
+src/lparser.i: src/lparser.c.i
+.PHONY : src/lparser.i
+
+# target to preprocess a source file
+src/lparser.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lparser.c.i
+.PHONY : src/lparser.c.i
+
+src/lparser.s: src/lparser.c.s
+.PHONY : src/lparser.s
+
+# target to generate assembly for a file
+src/lparser.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lparser.c.s
+.PHONY : src/lparser.c.s
+
+src/lstate.o: src/lstate.c.o
+.PHONY : src/lstate.o
+
+# target to build an object file
+src/lstate.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstate.c.o
+.PHONY : src/lstate.c.o
+
+src/lstate.i: src/lstate.c.i
+.PHONY : src/lstate.i
+
+# target to preprocess a source file
+src/lstate.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstate.c.i
+.PHONY : src/lstate.c.i
+
+src/lstate.s: src/lstate.c.s
+.PHONY : src/lstate.s
+
+# target to generate assembly for a file
+src/lstate.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstate.c.s
+.PHONY : src/lstate.c.s
+
+src/lstring.o: src/lstring.c.o
+.PHONY : src/lstring.o
+
+# target to build an object file
+src/lstring.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstring.c.o
+.PHONY : src/lstring.c.o
+
+src/lstring.i: src/lstring.c.i
+.PHONY : src/lstring.i
+
+# target to preprocess a source file
+src/lstring.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstring.c.i
+.PHONY : src/lstring.c.i
+
+src/lstring.s: src/lstring.c.s
+.PHONY : src/lstring.s
+
+# target to generate assembly for a file
+src/lstring.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstring.c.s
+.PHONY : src/lstring.c.s
+
+src/lstrlib.o: src/lstrlib.c.o
+.PHONY : src/lstrlib.o
+
+# target to build an object file
+src/lstrlib.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstrlib.c.o
+.PHONY : src/lstrlib.c.o
+
+src/lstrlib.i: src/lstrlib.c.i
+.PHONY : src/lstrlib.i
+
+# target to preprocess a source file
+src/lstrlib.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstrlib.c.i
+.PHONY : src/lstrlib.c.i
+
+src/lstrlib.s: src/lstrlib.c.s
+.PHONY : src/lstrlib.s
+
+# target to generate assembly for a file
+src/lstrlib.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstrlib.c.s
+.PHONY : src/lstrlib.c.s
+
+src/ltable.o: src/ltable.c.o
+.PHONY : src/ltable.o
+
+# target to build an object file
+src/ltable.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltable.c.o
+.PHONY : src/ltable.c.o
+
+src/ltable.i: src/ltable.c.i
+.PHONY : src/ltable.i
+
+# target to preprocess a source file
+src/ltable.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltable.c.i
+.PHONY : src/ltable.c.i
+
+src/ltable.s: src/ltable.c.s
+.PHONY : src/ltable.s
+
+# target to generate assembly for a file
+src/ltable.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltable.c.s
+.PHONY : src/ltable.c.s
+
+src/ltablib.o: src/ltablib.c.o
+.PHONY : src/ltablib.o
+
+# target to build an object file
+src/ltablib.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltablib.c.o
+.PHONY : src/ltablib.c.o
+
+src/ltablib.i: src/ltablib.c.i
+.PHONY : src/ltablib.i
+
+# target to preprocess a source file
+src/ltablib.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltablib.c.i
+.PHONY : src/ltablib.c.i
+
+src/ltablib.s: src/ltablib.c.s
+.PHONY : src/ltablib.s
+
+# target to generate assembly for a file
+src/ltablib.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltablib.c.s
+.PHONY : src/ltablib.c.s
+
+src/ltm.o: src/ltm.c.o
+.PHONY : src/ltm.o
+
+# target to build an object file
+src/ltm.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltm.c.o
+.PHONY : src/ltm.c.o
+
+src/ltm.i: src/ltm.c.i
+.PHONY : src/ltm.i
+
+# target to preprocess a source file
+src/ltm.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltm.c.i
+.PHONY : src/ltm.c.i
+
+src/ltm.s: src/ltm.c.s
+.PHONY : src/ltm.s
+
+# target to generate assembly for a file
+src/ltm.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltm.c.s
+.PHONY : src/ltm.c.s
+
+src/lua.o: src/lua.c.o
+.PHONY : src/lua.o
+
+# target to build an object file
+src/lua.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lua.c.o
+.PHONY : src/lua.c.o
+
+src/lua.i: src/lua.c.i
+.PHONY : src/lua.i
+
+# target to preprocess a source file
+src/lua.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lua.c.i
+.PHONY : src/lua.c.i
+
+src/lua.s: src/lua.c.s
+.PHONY : src/lua.s
+
+# target to generate assembly for a file
+src/lua.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lua.c.s
+.PHONY : src/lua.c.s
+
+src/luac.o: src/luac.c.o
+.PHONY : src/luac.o
+
+# target to build an object file
+src/luac.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/luac.c.o
+.PHONY : src/luac.c.o
+
+src/luac.i: src/luac.c.i
+.PHONY : src/luac.i
+
+# target to preprocess a source file
+src/luac.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/luac.c.i
+.PHONY : src/luac.c.i
+
+src/luac.s: src/luac.c.s
+.PHONY : src/luac.s
+
+# target to generate assembly for a file
+src/luac.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/luac.c.s
+.PHONY : src/luac.c.s
+
+src/lundump.o: src/lundump.c.o
+.PHONY : src/lundump.o
+
+# target to build an object file
+src/lundump.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lundump.c.o
+.PHONY : src/lundump.c.o
+
+src/lundump.i: src/lundump.c.i
+.PHONY : src/lundump.i
+
+# target to preprocess a source file
+src/lundump.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lundump.c.i
+.PHONY : src/lundump.c.i
+
+src/lundump.s: src/lundump.c.s
+.PHONY : src/lundump.s
+
+# target to generate assembly for a file
+src/lundump.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lundump.c.s
+.PHONY : src/lundump.c.s
+
+src/lvm.o: src/lvm.c.o
+.PHONY : src/lvm.o
+
+# target to build an object file
+src/lvm.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lvm.c.o
+.PHONY : src/lvm.c.o
+
+src/lvm.i: src/lvm.c.i
+.PHONY : src/lvm.i
+
+# target to preprocess a source file
+src/lvm.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lvm.c.i
+.PHONY : src/lvm.c.i
+
+src/lvm.s: src/lvm.c.s
+.PHONY : src/lvm.s
+
+# target to generate assembly for a file
+src/lvm.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lvm.c.s
+.PHONY : src/lvm.c.s
+
+src/lzio.o: src/lzio.c.o
+.PHONY : src/lzio.o
+
+# target to build an object file
+src/lzio.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lzio.c.o
+.PHONY : src/lzio.c.o
+
+src/lzio.i: src/lzio.c.i
+.PHONY : src/lzio.i
+
+# target to preprocess a source file
+src/lzio.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lzio.c.i
+.PHONY : src/lzio.c.i
+
+src/lzio.s: src/lzio.c.s
+.PHONY : src/lzio.s
+
+# target to generate assembly for a file
+src/lzio.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lzio.c.s
+.PHONY : src/lzio.c.s
+
+src/print.o: src/print.c.o
+.PHONY : src/print.o
+
+# target to build an object file
+src/print.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/print.c.o
+.PHONY : src/print.c.o
+
+src/print.i: src/print.c.i
+.PHONY : src/print.i
+
+# target to preprocess a source file
+src/print.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/print.c.i
+.PHONY : src/print.c.i
+
+src/print.s: src/print.c.s
+.PHONY : src/print.s
+
+# target to generate assembly for a file
+src/print.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/print.c.s
+.PHONY : src/print.c.s
+
+# Help Target
+help:
+ @echo "The following are some of the valid targets for this Makefile:"
+ @echo "... all (the default if no target is provided)"
+ @echo "... clean"
+ @echo "... depend"
+ @echo "... edit_cache"
+ @echo "... lua"
+ @echo "... rebuild_cache"
+ @echo "... src/lapi.o"
+ @echo "... src/lapi.i"
+ @echo "... src/lapi.s"
+ @echo "... src/lauxlib.o"
+ @echo "... src/lauxlib.i"
+ @echo "... src/lauxlib.s"
+ @echo "... src/lbaselib.o"
+ @echo "... src/lbaselib.i"
+ @echo "... src/lbaselib.s"
+ @echo "... src/lcode.o"
+ @echo "... src/lcode.i"
+ @echo "... src/lcode.s"
+ @echo "... src/ldblib.o"
+ @echo "... src/ldblib.i"
+ @echo "... src/ldblib.s"
+ @echo "... src/ldebug.o"
+ @echo "... src/ldebug.i"
+ @echo "... src/ldebug.s"
+ @echo "... src/ldo.o"
+ @echo "... src/ldo.i"
+ @echo "... src/ldo.s"
+ @echo "... src/ldump.o"
+ @echo "... src/ldump.i"
+ @echo "... src/ldump.s"
+ @echo "... src/lfunc.o"
+ @echo "... src/lfunc.i"
+ @echo "... src/lfunc.s"
+ @echo "... src/lgc.o"
+ @echo "... src/lgc.i"
+ @echo "... src/lgc.s"
+ @echo "... src/linit.o"
+ @echo "... src/linit.i"
+ @echo "... src/linit.s"
+ @echo "... src/liolib.o"
+ @echo "... src/liolib.i"
+ @echo "... src/liolib.s"
+ @echo "... src/llex.o"
+ @echo "... src/llex.i"
+ @echo "... src/llex.s"
+ @echo "... src/lmathlib.o"
+ @echo "... src/lmathlib.i"
+ @echo "... src/lmathlib.s"
+ @echo "... src/lmem.o"
+ @echo "... src/lmem.i"
+ @echo "... src/lmem.s"
+ @echo "... src/loadlib.o"
+ @echo "... src/loadlib.i"
+ @echo "... src/loadlib.s"
+ @echo "... src/lobject.o"
+ @echo "... src/lobject.i"
+ @echo "... src/lobject.s"
+ @echo "... src/lopcodes.o"
+ @echo "... src/lopcodes.i"
+ @echo "... src/lopcodes.s"
+ @echo "... src/loslib.o"
+ @echo "... src/loslib.i"
+ @echo "... src/loslib.s"
+ @echo "... src/lparser.o"
+ @echo "... src/lparser.i"
+ @echo "... src/lparser.s"
+ @echo "... src/lstate.o"
+ @echo "... src/lstate.i"
+ @echo "... src/lstate.s"
+ @echo "... src/lstring.o"
+ @echo "... src/lstring.i"
+ @echo "... src/lstring.s"
+ @echo "... src/lstrlib.o"
+ @echo "... src/lstrlib.i"
+ @echo "... src/lstrlib.s"
+ @echo "... src/ltable.o"
+ @echo "... src/ltable.i"
+ @echo "... src/ltable.s"
+ @echo "... src/ltablib.o"
+ @echo "... src/ltablib.i"
+ @echo "... src/ltablib.s"
+ @echo "... src/ltm.o"
+ @echo "... src/ltm.i"
+ @echo "... src/ltm.s"
+ @echo "... src/lua.o"
+ @echo "... src/lua.i"
+ @echo "... src/lua.s"
+ @echo "... src/luac.o"
+ @echo "... src/luac.i"
+ @echo "... src/luac.s"
+ @echo "... src/lundump.o"
+ @echo "... src/lundump.i"
+ @echo "... src/lundump.s"
+ @echo "... src/lvm.o"
+ @echo "... src/lvm.i"
+ @echo "... src/lvm.s"
+ @echo "... src/lzio.o"
+ @echo "... src/lzio.i"
+ @echo "... src/lzio.s"
+ @echo "... src/print.o"
+ @echo "... src/print.i"
+ @echo "... src/print.s"
+.PHONY : help
+
+
+
+#=============================================================================
+# Special targets to cleanup operation of make.
+
+# Special rule to run CMake to check the build system integrity.
+# No rule that depends on this can have commands that come from listfiles
+# because they might be regenerated.
+cmake_check_build_system:
+ cd /home/tycho/MCServer && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system
+
diff --git a/lib/tolua++/CMakeLists.txt b/lib/tolua++/CMakeLists.txt
new file mode 100644
index 000000000..2b071108c
--- /dev/null
+++ b/lib/tolua++/CMakeLists.txt
@@ -0,0 +1,17 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (tolua++)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
+include_directories ("${PROJECT_SOURCE_DIR}/include/")
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+file(GLOB SOURCE
+ "src/bin/*.c"
+ "src/lib/*.c"
+)
+
+add_executable(tolua ${SOURCE})
+
+#m is the standard math librarys
+target_link_libraries(tolua lua m)
diff --git a/lib/tolua++/Makefile b/lib/tolua++/Makefile
index 92ded6c4e..e5a4b2d85 100644
--- a/lib/tolua++/Makefile
+++ b/lib/tolua++/Makefile
@@ -1,5 +1,323 @@
-# makefile for tolua hierarchy
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
+
+# Default target executed when no arguments are given to make.
+default_target: all
+.PHONY : default_target
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/tycho/MCServer
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/tycho/MCServer
+
+#=============================================================================
+# Targets provided globally by CMake.
+
+# Special rule for the target edit_cache
+edit_cache:
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
+ /usr/bin/cmake -i .
+.PHONY : edit_cache
+
+# Special rule for the target edit_cache
+edit_cache/fast: edit_cache
+.PHONY : edit_cache/fast
+
+# Special rule for the target rebuild_cache
+rebuild_cache:
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
+ /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+.PHONY : rebuild_cache
+
+# Special rule for the target rebuild_cache
+rebuild_cache/fast: rebuild_cache
+.PHONY : rebuild_cache/fast
+
+# The main all target
+all: cmake_check_build_system
+ cd /home/tycho/MCServer && $(CMAKE_COMMAND) -E cmake_progress_start /home/tycho/MCServer/CMakeFiles /home/tycho/MCServer/lib/tolua++/CMakeFiles/progress.marks
+ cd /home/tycho/MCServer && $(MAKE) -f CMakeFiles/Makefile2 lib/tolua++/all
+ $(CMAKE_COMMAND) -E cmake_progress_start /home/tycho/MCServer/CMakeFiles 0
+.PHONY : all
+
+# The main clean target
+clean:
+ cd /home/tycho/MCServer && $(MAKE) -f CMakeFiles/Makefile2 lib/tolua++/clean
+.PHONY : clean
+
+# The main clean target
+clean/fast: clean
+.PHONY : clean/fast
+
+# Prepare targets for installation.
+preinstall: all
+ cd /home/tycho/MCServer && $(MAKE) -f CMakeFiles/Makefile2 lib/tolua++/preinstall
+.PHONY : preinstall
+
+# Prepare targets for installation.
+preinstall/fast:
+ cd /home/tycho/MCServer && $(MAKE) -f CMakeFiles/Makefile2 lib/tolua++/preinstall
+.PHONY : preinstall/fast
+
+# clear depends
+depend:
+ cd /home/tycho/MCServer && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
+.PHONY : depend
+
+# Convenience name for target.
+lib/tolua++/CMakeFiles/tolua.dir/rule:
+ cd /home/tycho/MCServer && $(MAKE) -f CMakeFiles/Makefile2 lib/tolua++/CMakeFiles/tolua.dir/rule
+.PHONY : lib/tolua++/CMakeFiles/tolua.dir/rule
+
+# Convenience name for target.
+tolua: lib/tolua++/CMakeFiles/tolua.dir/rule
+.PHONY : tolua
+
+# fast build rule for target.
+tolua/fast:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/build
+.PHONY : tolua/fast
+
+src/bin/tolua.o: src/bin/tolua.c.o
+.PHONY : src/bin/tolua.o
+
+# target to build an object file
+src/bin/tolua.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/bin/tolua.c.o
+.PHONY : src/bin/tolua.c.o
+
+src/bin/tolua.i: src/bin/tolua.c.i
+.PHONY : src/bin/tolua.i
+
+# target to preprocess a source file
+src/bin/tolua.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/bin/tolua.c.i
+.PHONY : src/bin/tolua.c.i
+
+src/bin/tolua.s: src/bin/tolua.c.s
+.PHONY : src/bin/tolua.s
+
+# target to generate assembly for a file
+src/bin/tolua.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/bin/tolua.c.s
+.PHONY : src/bin/tolua.c.s
+
+src/bin/toluabind.o: src/bin/toluabind.c.o
+.PHONY : src/bin/toluabind.o
+
+# target to build an object file
+src/bin/toluabind.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/bin/toluabind.c.o
+.PHONY : src/bin/toluabind.c.o
+
+src/bin/toluabind.i: src/bin/toluabind.c.i
+.PHONY : src/bin/toluabind.i
+
+# target to preprocess a source file
+src/bin/toluabind.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/bin/toluabind.c.i
+.PHONY : src/bin/toluabind.c.i
+
+src/bin/toluabind.s: src/bin/toluabind.c.s
+.PHONY : src/bin/toluabind.s
+
+# target to generate assembly for a file
+src/bin/toluabind.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/bin/toluabind.c.s
+.PHONY : src/bin/toluabind.c.s
+
+src/lib/tolua_event.o: src/lib/tolua_event.c.o
+.PHONY : src/lib/tolua_event.o
+
+# target to build an object file
+src/lib/tolua_event.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_event.c.o
+.PHONY : src/lib/tolua_event.c.o
+
+src/lib/tolua_event.i: src/lib/tolua_event.c.i
+.PHONY : src/lib/tolua_event.i
+
+# target to preprocess a source file
+src/lib/tolua_event.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_event.c.i
+.PHONY : src/lib/tolua_event.c.i
+
+src/lib/tolua_event.s: src/lib/tolua_event.c.s
+.PHONY : src/lib/tolua_event.s
+
+# target to generate assembly for a file
+src/lib/tolua_event.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_event.c.s
+.PHONY : src/lib/tolua_event.c.s
+
+src/lib/tolua_is.o: src/lib/tolua_is.c.o
+.PHONY : src/lib/tolua_is.o
+
+# target to build an object file
+src/lib/tolua_is.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_is.c.o
+.PHONY : src/lib/tolua_is.c.o
+
+src/lib/tolua_is.i: src/lib/tolua_is.c.i
+.PHONY : src/lib/tolua_is.i
+
+# target to preprocess a source file
+src/lib/tolua_is.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_is.c.i
+.PHONY : src/lib/tolua_is.c.i
+
+src/lib/tolua_is.s: src/lib/tolua_is.c.s
+.PHONY : src/lib/tolua_is.s
+
+# target to generate assembly for a file
+src/lib/tolua_is.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_is.c.s
+.PHONY : src/lib/tolua_is.c.s
+
+src/lib/tolua_map.o: src/lib/tolua_map.c.o
+.PHONY : src/lib/tolua_map.o
+
+# target to build an object file
+src/lib/tolua_map.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_map.c.o
+.PHONY : src/lib/tolua_map.c.o
+
+src/lib/tolua_map.i: src/lib/tolua_map.c.i
+.PHONY : src/lib/tolua_map.i
+
+# target to preprocess a source file
+src/lib/tolua_map.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_map.c.i
+.PHONY : src/lib/tolua_map.c.i
+
+src/lib/tolua_map.s: src/lib/tolua_map.c.s
+.PHONY : src/lib/tolua_map.s
+
+# target to generate assembly for a file
+src/lib/tolua_map.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_map.c.s
+.PHONY : src/lib/tolua_map.c.s
+
+src/lib/tolua_push.o: src/lib/tolua_push.c.o
+.PHONY : src/lib/tolua_push.o
+
+# target to build an object file
+src/lib/tolua_push.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_push.c.o
+.PHONY : src/lib/tolua_push.c.o
+
+src/lib/tolua_push.i: src/lib/tolua_push.c.i
+.PHONY : src/lib/tolua_push.i
+
+# target to preprocess a source file
+src/lib/tolua_push.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_push.c.i
+.PHONY : src/lib/tolua_push.c.i
+
+src/lib/tolua_push.s: src/lib/tolua_push.c.s
+.PHONY : src/lib/tolua_push.s
+
+# target to generate assembly for a file
+src/lib/tolua_push.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_push.c.s
+.PHONY : src/lib/tolua_push.c.s
+
+src/lib/tolua_to.o: src/lib/tolua_to.c.o
+.PHONY : src/lib/tolua_to.o
+
+# target to build an object file
+src/lib/tolua_to.c.o:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_to.c.o
+.PHONY : src/lib/tolua_to.c.o
+
+src/lib/tolua_to.i: src/lib/tolua_to.c.i
+.PHONY : src/lib/tolua_to.i
+
+# target to preprocess a source file
+src/lib/tolua_to.c.i:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_to.c.i
+.PHONY : src/lib/tolua_to.c.i
+
+src/lib/tolua_to.s: src/lib/tolua_to.c.s
+.PHONY : src/lib/tolua_to.s
+
+# target to generate assembly for a file
+src/lib/tolua_to.c.s:
+ cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_to.c.s
+.PHONY : src/lib/tolua_to.c.s
+
+# Help Target
+help:
+ @echo "The following are some of the valid targets for this Makefile:"
+ @echo "... all (the default if no target is provided)"
+ @echo "... clean"
+ @echo "... depend"
+ @echo "... edit_cache"
+ @echo "... rebuild_cache"
+ @echo "... tolua"
+ @echo "... src/bin/tolua.o"
+ @echo "... src/bin/tolua.i"
+ @echo "... src/bin/tolua.s"
+ @echo "... src/bin/toluabind.o"
+ @echo "... src/bin/toluabind.i"
+ @echo "... src/bin/toluabind.s"
+ @echo "... src/lib/tolua_event.o"
+ @echo "... src/lib/tolua_event.i"
+ @echo "... src/lib/tolua_event.s"
+ @echo "... src/lib/tolua_is.o"
+ @echo "... src/lib/tolua_is.i"
+ @echo "... src/lib/tolua_is.s"
+ @echo "... src/lib/tolua_map.o"
+ @echo "... src/lib/tolua_map.i"
+ @echo "... src/lib/tolua_map.s"
+ @echo "... src/lib/tolua_push.o"
+ @echo "... src/lib/tolua_push.i"
+ @echo "... src/lib/tolua_push.s"
+ @echo "... src/lib/tolua_to.o"
+ @echo "... src/lib/tolua_to.i"
+ @echo "... src/lib/tolua_to.s"
+.PHONY : help
+
+
+
+#=============================================================================
+# Special targets to cleanup operation of make.
+
+# Special rule to run CMake to check the build system integrity.
+# No rule that depends on this can have commands that come from listfiles
+# because they might be regenerated.
+cmake_check_build_system:
+ cd /home/tycho/MCServer && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system
-all:
- @echo "Makefile is deprecated ;)"
- @echo "see INSTALL for details on how to build tolua++"
diff --git a/lib/tolua++/src/bin/tolua.c b/lib/tolua++/src/bin/tolua.c
new file mode 100644
index 000000000..fd8e1ed1e
--- /dev/null
+++ b/lib/tolua++/src/bin/tolua.c
@@ -0,0 +1,169 @@
+/* tolua
+** Support code for Lua bindings.
+** Written by Waldemar Celes
+** TeCGraf/PUC-Rio
+** Aug 2003
+** $Id:$
+*/
+
+/* This code is free software; you can redistribute it and/or modify it.
+** The software provided hereunder is on an "as is" basis, and
+** the author has no obligation to provide maintenance, support, updates,
+** enhancements, or modifications.
+*/
+
+#include "../../include/tolua++.h"
+
+#include "../../../lua/src/lua.h"
+#include "../../../lua/src/lualib.h"
+#include "../../../lua/src/lauxlib.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+
+static void help (void)
+{
+ fprintf(stderr,"\n"
+ "usage: tolua++ [options] input_file\n"
+ "\n"
+ "Command line options are:\n"
+ " -v : print version information.\n"
+ " -o file : set output file; default is stdout.\n"
+ " -H file : create include file.\n"
+ " -n name : set package name; default is input file root name.\n"
+ " -p : parse only.\n"
+ " -P : parse and print structure information (for debug).\n"
+ " -S : disable support for c++ strings.\n"
+ " -1 : substract 1 to operator[] index (for compatibility with tolua5).\n"
+ " -L file : run lua file (with dofile()) before doing anything.\n"
+ " -D : disable automatic exporting of destructors for classes that have\n"
+ " constructors (for compatibility with tolua5)\n"
+ " -W : disable warnings for unsupported features (for compatibility\n"
+ " with tolua5)\n"
+ " -C : disable cleanup of included lua code (for easier debugging)\n"
+ " -E value[=value] : add extra values to the luastate\n"
+ " -t : export a list of types asociates with the C++ typeid name\n"
+ " -q : don't print warnings to the console\n"
+ " -h : print this message.\n"
+ "Should the input file be omitted, stdin is assumed;\n"
+ "in that case, the package name must be explicitly set.\n\n"
+ );
+}
+
+static void version (void)
+{
+ fprintf(stderr, "%s (written by W. Celes, A. Manzur)\n",TOLUA_VERSION);
+}
+
+static void setfield (lua_State* L, int table, char* f, char* v)
+{
+ lua_pushstring(L,f);
+ lua_pushstring(L,v);
+ lua_settable(L,table);
+}
+
+static void add_extra (lua_State* L, char* value) {
+ int len;
+ lua_getglobal(L, "_extra_parameters");
+ len = luaL_getn(L, -1);
+ lua_pushstring(L, value);
+ lua_rawseti(L, -2, len+1);
+ lua_pop(L, 1);
+};
+
+static void error (char* o)
+{
+ fprintf(stderr,"tolua: unknown option '%s'\n",o);
+ help();
+ exit(1);
+}
+
+int main (int argc, char* argv[])
+{
+ #ifdef LUA_VERSION_NUM /* lua 5.1 */
+ lua_State* L = luaL_newstate();
+ luaL_openlibs(L);
+ #else
+ lua_State* L = lua_open();
+ luaopen_base(L);
+ luaopen_io(L);
+ luaopen_string(L);
+ luaopen_table(L);
+ luaopen_math(L);
+ luaopen_debug(L);
+ #endif
+
+ lua_pushstring(L,TOLUA_VERSION); lua_setglobal(L,"TOLUA_VERSION");
+ lua_pushstring(L,LUA_VERSION); lua_setglobal(L,"TOLUA_LUA_VERSION");
+
+ if (argc==1)
+ {
+ help();
+ return 0;
+ }
+ else
+ {
+ int i, t;
+ lua_newtable(L);
+ lua_setglobal(L, "_extra_parameters");
+ lua_newtable(L);
+ lua_pushvalue(L,-1);
+ lua_setglobal(L,"flags");
+ t = lua_gettop(L);
+ for (i=1; i<argc; ++i)
+ {
+ if (*argv[i] == '-')
+ {
+ switch (argv[i][1])
+ {
+ case 'v': version(); return 0;
+ case 'h': help(); return 0;
+ case 'p': setfield(L,t,"p",""); break;
+ case 'P': setfield(L,t,"P",""); break;
+ case 'o': setfield(L,t,"o",argv[++i]); break;
+ case 'n': setfield(L,t,"n",argv[++i]); break;
+ case 'H': setfield(L,t,"H",argv[++i]); break;
+ case 'S': setfield(L,t,"S",""); break;
+ case '1': setfield(L,t,"1",""); break;
+ case 'L': setfield(L,t,"L",argv[++i]); break;
+ case 'D': setfield(L,t,"D",""); break;
+ case 'W': setfield(L,t,"W",""); break;
+ case 'C': setfield(L,t,"C",""); break;
+ case 'E': add_extra(L,argv[++i]); break;
+ case 't': setfield(L,t,"t",""); break;
+ case 'q': setfield(L,t,"q",""); break;
+ default: error(argv[i]); break;
+ }
+ }
+ else
+ {
+ setfield(L,t,"f",argv[i]);
+ break;
+ }
+ }
+ lua_pop(L,1);
+ }
+/* #define TOLUA_SCRIPT_RUN */
+#ifndef TOLUA_SCRIPT_RUN
+ {
+ int tolua_tolua_open (lua_State* L);
+ tolua_tolua_open(L);
+ }
+#else
+ {
+ char* p;
+ char path[BUFSIZ];
+ strcpy(path,argv[0]);
+ p = strrchr(path,'/');
+ if (p==NULL) p = strrchr(path,'\\');
+ p = (p==NULL) ? path : p+1;
+ sprintf(p,"%s","../src/bin/lua/");
+ lua_pushstring(L,path); lua_setglobal(L,"path");
+ strcat(path,"all.lua");
+ lua_dofile(L,path);
+ }
+#endif
+ return 0;
+}
diff --git a/lib/tolua++/src/bin/tolua_scons.pkg b/lib/tolua++/src/bin/tolua_scons.pkg
new file mode 100644
index 000000000..da458ea7c
--- /dev/null
+++ b/lib/tolua++/src/bin/tolua_scons.pkg
@@ -0,0 +1,31 @@
+$lfile "src/bin/lua/compat-5.1.lua"
+$lfile "src/bin/lua/compat.lua"
+$lfile "src/bin/lua/basic.lua"
+$lfile "src/bin/lua/feature.lua"
+$lfile "src/bin/lua/verbatim.lua"
+$lfile "src/bin/lua/code.lua"
+$lfile "src/bin/lua/typedef.lua"
+$lfile "src/bin/lua/container.lua"
+$lfile "src/bin/lua/package.lua"
+$lfile "src/bin/lua/module.lua"
+$lfile "src/bin/lua/namespace.lua"
+$lfile "src/bin/lua/define.lua"
+$lfile "src/bin/lua/enumerate.lua"
+$lfile "src/bin/lua/declaration.lua"
+$lfile "src/bin/lua/variable.lua"
+$lfile "src/bin/lua/array.lua"
+$lfile "src/bin/lua/function.lua"
+$lfile "src/bin/lua/operator.lua"
+$lfile "src/bin/lua/template_class.lua"
+$lfile "src/bin/lua/class.lua"
+$lfile "src/bin/lua/clean.lua"
+$lfile "src/bin/lua/doit.lua"
+
+$[
+local err,msg = pcall(doit)
+if not err then
+ local _,_,label,msg = strfind(msg,"(.-:.-:%s*)(.*)")
+ tolua_error(msg,label)
+ print(debug.traceback())
+end
+$]
diff --git a/lib/tolua++/src/bin/toluabind.c b/lib/tolua++/src/bin/toluabind.c
new file mode 100644
index 000000000..bf71cf158
--- /dev/null
+++ b/lib/tolua++/src/bin/toluabind.c
@@ -0,0 +1,8107 @@
+/*
+** Lua binding: tolua
+** Generated automatically by tolua++-1.0.92 on Sun Feb 15 22:29:47 2009.
+** Fixed manually by _Xoft(o) on 2012_06_04 16:48, adding an AString as a builtin string type (doit.lua)
+*/
+
+#ifndef __cplusplus
+#include "stdlib.h"
+#endif
+#include "string.h"
+
+#include "tolua++.h"
+
+/* Exported function */
+TOLUA_API int tolua_tolua_open (lua_State* tolua_S);
+
+
+/* function to register type */
+static void tolua_reg_types (lua_State* tolua_S)
+{
+}
+
+/* Open function */
+TOLUA_API int tolua_tolua_open (lua_State* tolua_S)
+{
+ tolua_open(tolua_S);
+ tolua_reg_types(tolua_S);
+ tolua_module(tolua_S,NULL,0);
+ tolua_beginmodule(tolua_S,NULL);
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 105,102, 32,115,116,114,105,110,103, 46,102,105,110,100, 40,
+ 95, 86, 69, 82, 83, 73, 79, 78, 44, 32, 34, 53, 37, 46, 48,
+ 34, 41, 32,116,104,101,110, 13, 10, 9,114,101,116,117,114,
+ 110, 13, 10,101,110,100, 13, 10, 13, 10, 45, 45, 32, 34,108,
+ 111, 97,100,102,105,108,101, 34, 13, 10,108,111, 99, 97,108,
+ 32,102,117,110, 99,116,105,111,110, 32,112,112, 95,100,111,
+ 102,105,108,101, 40,112, 97,116,104, 41, 13, 10, 13, 10, 9,
+ 108,111, 99, 97,108, 32,108,111, 97,100,101,100, 32, 61, 32,
+ 102, 97,108,115,101, 13, 10, 9,108,111, 99, 97,108, 32,103,
+ 101,116,102,105,108,101, 32, 61, 32,102,117,110, 99,116,105,
+ 111,110, 40, 41, 13, 10, 13, 10, 9, 9,105,102, 32,108,111,
+ 97,100,101,100, 32,116,104,101,110, 13, 10, 9, 9, 9,114,
+ 101,116,117,114,110, 13, 10, 9, 9,101,108,115,101, 13, 10,
+ 9, 9, 9,108,111, 99, 97,108, 32,102,105,108,101, 44,101,
+ 114,114, 32, 61, 32,105,111, 46,111,112,101,110, 40,112, 97,
+ 116,104, 41, 13, 10, 9, 9, 9,105,102, 32,110,111,116, 32,
+ 102,105,108,101, 32,116,104,101,110, 13, 10, 9, 9, 9, 9,
+ 101,114,114,111,114, 40, 34,101,114,114,111,114, 32,108,111,
+ 97,100,105,110,103, 32,102,105,108,101, 32, 34, 46, 46,112,
+ 97,116,104, 46, 46, 34, 58, 32, 34, 46, 46,101,114,114, 41,
+ 13, 10, 9, 9, 9,101,110,100, 13, 10, 9, 9, 9,108,111,
+ 99, 97,108, 32,114,101,116, 32, 61, 32,102,105,108,101, 58,
+ 114,101, 97,100, 40, 34, 42, 97, 34, 41, 13, 10, 9, 9, 9,
+ 102,105,108,101, 58, 99,108,111,115,101, 40, 41, 13, 10, 13,
+ 10, 9, 9, 9,114,101,116, 32, 61, 32,115,116,114,105,110,
+ 103, 46,103,115,117, 98, 40,114,101,116, 44, 32, 34, 37, 46,
+ 37, 46, 37, 46, 37,115, 42, 37, 41, 34, 44, 32, 34, 46, 46,
+ 46, 41, 32,108,111, 99, 97,108, 32, 97,114,103, 32, 61, 32,
+ 123,110, 61,115,101,108,101, 99,116, 40, 39, 35, 39, 44, 32,
+ 46, 46, 46, 41, 44, 32, 46, 46, 46,125, 59, 34, 41, 13, 10,
+ 13, 10, 9, 9, 9,108,111, 97,100,101,100, 32, 61, 32,116,
+ 114,117,101, 13, 10, 9, 9, 9,114,101,116,117,114,110, 32,
+ 114,101,116, 13, 10, 9, 9,101,110,100, 13, 10, 9,101,110,
+ 100, 13, 10, 13, 10, 9,108,111, 99, 97,108, 32,102, 32, 61,
+ 32,108,111, 97,100, 40,103,101,116,102,105,108,101, 44, 32,
+ 112, 97,116,104, 41, 13, 10, 9,105,102, 32,110,111,116, 32,
+ 102, 32,116,104,101,110, 13, 10, 9, 13, 10, 9, 9,101,114,
+ 114,111,114, 40, 34,101,114,114,111,114, 32,108,111, 97,100,
+ 105,110,103, 32,102,105,108,101, 32, 34, 46, 46,112, 97,116,
+ 104, 41, 13, 10, 9,101,110,100, 13, 10, 9,114,101,116,117,
+ 114,110, 32,102, 40, 41, 13, 10,101,110,100, 13, 10, 13, 10,
+ 111,108,100, 95,100,111,102,105,108,101, 32, 61, 32,100,111,
+ 102,105,108,101, 13, 10,100,111,102,105,108,101, 32, 61, 32,
+ 112,112, 95,100,111,102,105,108,101, 13, 10, 13, 10, 13, 10,
+ 45, 45, 32,115,116,114,105,110,103, 46,103,115,117, 98, 13,
+ 10, 45, 45, 91, 91, 13, 10,108,111, 99, 97,108, 32,111,103,
+ 115,117, 98, 32, 61, 32,115,116,114,105,110,103, 46,103,115,
+ 117, 98, 13, 10,108,111, 99, 97,108, 32,102,117,110, 99,116,
+ 105,111,110, 32, 99,111,109,112,103,115,117, 98, 40, 97, 44,
+ 98, 44, 99, 44,100, 41, 13, 10, 32, 32,105,102, 32,116,121,
+ 112,101, 40, 99, 41, 32, 61, 61, 32, 34,102,117,110, 99,116,
+ 105,111,110, 34, 32,116,104,101,110, 13, 10, 32, 32, 32, 32,
+ 108,111, 99, 97,108, 32,111, 99, 32, 61, 32, 99, 13, 10, 32,
+ 32, 32, 32, 99, 32, 61, 32,102,117,110, 99,116,105,111,110,
+ 32, 40, 46, 46, 46, 41, 32,114,101,116,117,114,110, 32,111,
+ 99, 40, 46, 46, 46, 41, 32,111,114, 32, 39, 39, 32,101,110,
+ 100, 13, 10, 32, 32,101,110,100, 13, 10, 32, 32,114,101,116,
+ 117,114,110, 32,111,103,115,117, 98, 40, 97, 44, 98, 44, 99,
+ 44,100, 41, 13, 10,101,110,100, 13, 10,115,116,114,105,110,
+ 103, 46,114,101,112,108, 32, 61, 32,111,103,115,117, 98, 13,
+ 10, 45, 45, 93, 93, 13, 10, 13, 10, 45, 45,115,116,114,105,
+ 110,103, 46,103,115,117, 98, 32, 61, 32, 99,111,109,112,103,
+ 115,117, 98, 13,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/compat-5.1.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 10, 45, 45, 32, 82,101, 97,108,
+ 32,103,108,111, 98, 97,108,115, 10, 45, 45, 32, 95, 65, 76,
+ 69, 82, 84, 10, 45, 45, 32, 95, 69, 82, 82, 79, 82, 77, 69,
+ 83, 83, 65, 71, 69, 10, 45, 45, 32, 95, 86, 69, 82, 83, 73,
+ 79, 78, 10, 45, 45, 32, 95, 71, 10, 45, 45, 32, 97,115,115,
+ 101,114,116, 10, 45, 45, 32,101,114,114,111,114, 10, 45, 45,
+ 32,109,101,116, 97,116, 97, 98,108,101, 10, 45, 45, 32,110,
+ 101,120,116, 10, 45, 45, 32,112,114,105,110,116, 10, 45, 45,
+ 32,114,101,113,117,105,114,101, 10, 45, 45, 32,116,111,110,
+ 117,109, 98,101,114, 10, 45, 45, 32,116,111,115,116,114,105,
+ 110,103, 10, 45, 45, 32,116,121,112,101, 10, 45, 45, 32,117,
+ 110,112, 97, 99,107, 10, 10, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 10,
+ 45, 45, 32, 99,111,108,108,101, 99,116,103, 97,114, 98, 97,
+ 103,101, 10, 45, 45, 32,103, 99,105,110,102,111, 10, 10, 45,
+ 45, 32,103,108,111, 98, 97,108,115, 10, 10, 45, 45, 32, 99,
+ 97,108,108, 32, 32, 32, 45, 62, 32,112,114,111,116,101, 99,
+ 116, 40,102, 44, 32,101,114,114, 41, 10, 45, 45, 32,108,111,
+ 97,100,102,105,108,101, 10, 45, 45, 32,108,111, 97,100,115,
+ 116,114,105,110,103, 10, 10, 45, 45, 32,114, 97,119,103,101,
+ 116, 10, 45, 45, 32,114, 97,119,115,101,116, 10, 10, 45, 45,
+ 32,103,101,116, 97,114,103,115, 32, 61, 32, 77, 97,105,110,
+ 46,103,101,116, 97,114,103,115, 32, 63, 63, 10, 10,114, 97,
+ 119,116,121,112,101, 32, 61, 32,116,121,112,101, 10, 10,102,
+ 117,110, 99,116,105,111,110, 32,100,111, 95, 32, 40,102, 44,
+ 32,101,114,114, 41, 10, 32, 32,105,102, 32,110,111,116, 32,
+ 102, 32,116,104,101,110, 32,112,114,105,110,116, 40,101,114,
+ 114, 41, 59, 32,114,101,116,117,114,110, 32,101,110,100, 10,
+ 32, 32,108,111, 99, 97,108, 32, 97, 44, 98, 32, 61, 32,112,
+ 99, 97,108,108, 40,102, 41, 10, 32, 32,105,102, 32,110,111,
+ 116, 32, 97, 32,116,104,101,110, 32,112,114,105,110,116, 40,
+ 98, 41, 59, 32,114,101,116,117,114,110, 32,110,105,108, 10,
+ 32, 32,101,108,115,101, 32,114,101,116,117,114,110, 32, 98,
+ 32,111,114, 32,116,114,117,101, 10, 32, 32,101,110,100, 10,
+ 101,110,100, 10, 10,102,117,110, 99,116,105,111,110, 32,100,
+ 111,115,116,114,105,110,103, 40,115, 41, 32,114,101,116,117,
+ 114,110, 32,100,111, 95, 40,108,111, 97,100,115,116,114,105,
+ 110,103, 40,115, 41, 41, 32,101,110,100, 10, 45, 45, 32,102,
+ 117,110, 99,116,105,111,110, 32,100,111,102,105,108,101, 40,
+ 115, 41, 32,114,101,116,117,114,110, 32,100,111, 95, 40,108,
+ 111, 97,100,102,105,108,101, 40,115, 41, 41, 32,101,110,100,
+ 10, 10, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 10, 45, 45, 32, 84, 97,
+ 98,108,101, 32,108,105, 98,114, 97,114,121, 10,108,111, 99,
+ 97,108, 32,116, 97, 98, 32, 61, 32,116, 97, 98,108,101, 10,
+ 102,111,114,101, 97, 99,104, 32, 61, 32,116, 97, 98, 46,102,
+ 111,114,101, 97, 99,104, 10,102,111,114,101, 97, 99,104,105,
+ 32, 61, 32,116, 97, 98, 46,102,111,114,101, 97, 99,104,105,
+ 10,103,101,116,110, 32, 61, 32,116, 97, 98, 46,103,101,116,
+ 110, 10,116,105,110,115,101,114,116, 32, 61, 32,116, 97, 98,
+ 46,105,110,115,101,114,116, 10,116,114,101,109,111,118,101,
+ 32, 61, 32,116, 97, 98, 46,114,101,109,111,118,101, 10,115,
+ 111,114,116, 32, 61, 32,116, 97, 98, 46,115,111,114,116, 10,
+ 10, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 10, 45, 45, 32, 68,101, 98,
+ 117,103, 32,108,105, 98,114, 97,114,121, 10,108,111, 99, 97,
+ 108, 32,100, 98,103, 32, 61, 32,100,101, 98,117,103, 10,103,
+ 101,116,105,110,102,111, 32, 61, 32,100, 98,103, 46,103,101,
+ 116,105,110,102,111, 10,103,101,116,108,111, 99, 97,108, 32,
+ 61, 32,100, 98,103, 46,103,101,116,108,111, 99, 97,108, 10,
+ 115,101,116, 99, 97,108,108,104,111,111,107, 32, 61, 32,102,
+ 117,110, 99,116,105,111,110, 32, 40, 41, 32,101,114,114,111,
+ 114, 34, 96,115,101,116, 99, 97,108,108,104,111,111,107, 39,
+ 32,105,115, 32,100,101,112,114,101, 99, 97,116,101,100, 34,
+ 32,101,110,100, 10,115,101,116,108,105,110,101,104,111,111,
+ 107, 32, 61, 32,102,117,110, 99,116,105,111,110, 32, 40, 41,
+ 32,101,114,114,111,114, 34, 96,115,101,116,108,105,110,101,
+ 104,111,111,107, 39, 32,105,115, 32,100,101,112,114,101, 99,
+ 97,116,101,100, 34, 32,101,110,100, 10,115,101,116,108,111,
+ 99, 97,108, 32, 61, 32,100, 98,103, 46,115,101,116,108,111,
+ 99, 97,108, 10, 10, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 10, 45, 45,
+ 32,109, 97,116,104, 32,108,105, 98,114, 97,114,121, 10,108,
+ 111, 99, 97,108, 32,109, 97,116,104, 32, 61, 32,109, 97,116,
+ 104, 10, 97, 98,115, 32, 61, 32,109, 97,116,104, 46, 97, 98,
+ 115, 10, 97, 99,111,115, 32, 61, 32,102,117,110, 99,116,105,
+ 111,110, 32, 40,120, 41, 32,114,101,116,117,114,110, 32,109,
+ 97,116,104, 46,100,101,103, 40,109, 97,116,104, 46, 97, 99,
+ 111,115, 40,120, 41, 41, 32,101,110,100, 10, 97,115,105,110,
+ 32, 61, 32,102,117,110, 99,116,105,111,110, 32, 40,120, 41,
+ 32,114,101,116,117,114,110, 32,109, 97,116,104, 46,100,101,
+ 103, 40,109, 97,116,104, 46, 97,115,105,110, 40,120, 41, 41,
+ 32,101,110,100, 10, 97,116, 97,110, 32, 61, 32,102,117,110,
+ 99,116,105,111,110, 32, 40,120, 41, 32,114,101,116,117,114,
+ 110, 32,109, 97,116,104, 46,100,101,103, 40,109, 97,116,104,
+ 46, 97,116, 97,110, 40,120, 41, 41, 32,101,110,100, 10, 97,
+ 116, 97,110, 50, 32, 61, 32,102,117,110, 99,116,105,111,110,
+ 32, 40,120, 44,121, 41, 32,114,101,116,117,114,110, 32,109,
+ 97,116,104, 46,100,101,103, 40,109, 97,116,104, 46, 97,116,
+ 97,110, 50, 40,120, 44,121, 41, 41, 32,101,110,100, 10, 99,
+ 101,105,108, 32, 61, 32,109, 97,116,104, 46, 99,101,105,108,
+ 10, 99,111,115, 32, 61, 32,102,117,110, 99,116,105,111,110,
+ 32, 40,120, 41, 32,114,101,116,117,114,110, 32,109, 97,116,
+ 104, 46, 99,111,115, 40,109, 97,116,104, 46,114, 97,100, 40,
+ 120, 41, 41, 32,101,110,100, 10,100,101,103, 32, 61, 32,109,
+ 97,116,104, 46,100,101,103, 10,101,120,112, 32, 61, 32,109,
+ 97,116,104, 46,101,120,112, 10,102,108,111,111,114, 32, 61,
+ 32,109, 97,116,104, 46,102,108,111,111,114, 10,102,114,101,
+ 120,112, 32, 61, 32,109, 97,116,104, 46,102,114,101,120,112,
+ 10,108,100,101,120,112, 32, 61, 32,109, 97,116,104, 46,108,
+ 100,101,120,112, 10,108,111,103, 32, 61, 32,109, 97,116,104,
+ 46,108,111,103, 10,108,111,103, 49, 48, 32, 61, 32,109, 97,
+ 116,104, 46,108,111,103, 49, 48, 10,109, 97,120, 32, 61, 32,
+ 109, 97,116,104, 46,109, 97,120, 10,109,105,110, 32, 61, 32,
+ 109, 97,116,104, 46,109,105,110, 10,109,111,100, 32, 61, 32,
+ 109, 97,116,104, 46,109,111,100, 10, 80, 73, 32, 61, 32,109,
+ 97,116,104, 46,112,105, 10, 45, 45, 63, 63, 63, 32,112,111,
+ 119, 32, 61, 32,109, 97,116,104, 46,112,111,119, 32, 32, 10,
+ 114, 97,100, 32, 61, 32,109, 97,116,104, 46,114, 97,100, 10,
+ 114, 97,110,100,111,109, 32, 61, 32,109, 97,116,104, 46,114,
+ 97,110,100,111,109, 10,114, 97,110,100,111,109,115,101,101,
+ 100, 32, 61, 32,109, 97,116,104, 46,114, 97,110,100,111,109,
+ 115,101,101,100, 10,115,105,110, 32, 61, 32,102,117,110, 99,
+ 116,105,111,110, 32, 40,120, 41, 32,114,101,116,117,114,110,
+ 32,109, 97,116,104, 46,115,105,110, 40,109, 97,116,104, 46,
+ 114, 97,100, 40,120, 41, 41, 32,101,110,100, 10,115,113,114,
+ 116, 32, 61, 32,109, 97,116,104, 46,115,113,114,116, 10,116,
+ 97,110, 32, 61, 32,102,117,110, 99,116,105,111,110, 32, 40,
+ 120, 41, 32,114,101,116,117,114,110, 32,109, 97,116,104, 46,
+ 116, 97,110, 40,109, 97,116,104, 46,114, 97,100, 40,120, 41,
+ 41, 32,101,110,100, 10, 10, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 10,
+ 45, 45, 32,115,116,114,105,110,103, 32,108,105, 98,114, 97,
+ 114,121, 10,108,111, 99, 97,108, 32,115,116,114, 32, 61, 32,
+ 115,116,114,105,110,103, 10,115,116,114, 98,121,116,101, 32,
+ 61, 32,115,116,114, 46, 98,121,116,101, 10,115,116,114, 99,
+ 104, 97,114, 32, 61, 32,115,116,114, 46, 99,104, 97,114, 10,
+ 115,116,114,102,105,110,100, 32, 61, 32,115,116,114, 46,102,
+ 105,110,100, 10,102,111,114,109, 97,116, 32, 61, 32,115,116,
+ 114, 46,102,111,114,109, 97,116, 10,103,115,117, 98, 32, 61,
+ 32,115,116,114, 46,103,115,117, 98, 10,115,116,114,108,101,
+ 110, 32, 61, 32,115,116,114, 46,108,101,110, 10,115,116,114,
+ 108,111,119,101,114, 32, 61, 32,115,116,114, 46,108,111,119,
+ 101,114, 10,115,116,114,114,101,112, 32, 61, 32,115,116,114,
+ 46,114,101,112, 10,115,116,114,115,117, 98, 32, 61, 32,115,
+ 116,114, 46,115,117, 98, 10,115,116,114,117,112,112,101,114,
+ 32, 61, 32,115,116,114, 46,117,112,112,101,114, 10, 10, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 10, 45, 45, 32,111,115, 32,108,105,
+ 98,114, 97,114,121, 10, 99,108,111, 99,107, 32, 61, 32,111,
+ 115, 46, 99,108,111, 99,107, 10,100, 97,116,101, 32, 61, 32,
+ 111,115, 46,100, 97,116,101, 10,100,105,102,102,116,105,109,
+ 101, 32, 61, 32,111,115, 46,100,105,102,102,116,105,109,101,
+ 10,101,120,101, 99,117,116,101, 32, 61, 32,111,115, 46,101,
+ 120,101, 99,117,116,101, 32, 45, 45, 63, 10,101,120,105,116,
+ 32, 61, 32,111,115, 46,101,120,105,116, 10,103,101,116,101,
+ 110,118, 32, 61, 32,111,115, 46,103,101,116,101,110,118, 10,
+ 114,101,109,111,118,101, 32, 61, 32,111,115, 46,114,101,109,
+ 111,118,101, 10,114,101,110, 97,109,101, 32, 61, 32,111,115,
+ 46,114,101,110, 97,109,101, 10,115,101,116,108,111, 99, 97,
+ 108,101, 32, 61, 32,111,115, 46,115,101,116,108,111, 99, 97,
+ 108,101, 10,116,105,109,101, 32, 61, 32,111,115, 46,116,105,
+ 109,101, 10,116,109,112,110, 97,109,101, 32, 61, 32,111,115,
+ 46,116,109,112,110, 97,109,101, 10, 10, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 10, 45, 45, 32, 99,111,109,112, 97,116,105, 98,105,
+ 108,105,116,121, 32,111,110,108,121, 10,103,101,116,103,108,
+ 111, 98, 97,108, 32, 61, 32,102,117,110, 99,116,105,111,110,
+ 32, 40,110, 41, 32,114,101,116,117,114,110, 32, 95, 71, 91,
+ 110, 93, 32,101,110,100, 10,115,101,116,103,108,111, 98, 97,
+ 108, 32, 61, 32,102,117,110, 99,116,105,111,110, 32, 40,110,
+ 44,118, 41, 32, 95, 71, 91,110, 93, 32, 61, 32,118, 32,101,
+ 110,100, 10, 10, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 10, 10,108,111,
+ 99, 97,108, 32,105,111, 44, 32,116, 97, 98, 32, 61, 32,105,
+ 111, 44, 32,116, 97, 98,108,101, 10, 10, 45, 45, 32, 73, 79,
+ 32,108,105, 98,114, 97,114,121, 32, 40,102,105,108,101,115,
+ 41, 10, 95, 83, 84, 68, 73, 78, 32, 61, 32,105,111, 46,115,
+ 116,100,105,110, 10, 95, 83, 84, 68, 69, 82, 82, 32, 61, 32,
+ 105,111, 46,115,116,100,101,114,114, 10, 95, 83, 84, 68, 79,
+ 85, 84, 32, 61, 32,105,111, 46,115,116,100,111,117,116, 10,
+ 95, 73, 78, 80, 85, 84, 32, 61, 32,105,111, 46,115,116,100,
+ 105,110, 10, 95, 79, 85, 84, 80, 85, 84, 32, 61, 32,105,111,
+ 46,115,116,100,111,117,116, 10,115,101,101,107, 32, 61, 32,
+ 105,111, 46,115,116,100,105,110, 46,115,101,101,107, 32, 32,
+ 32, 45, 45, 32,115,105, 99,107, 32, 59, 45, 41, 10,116,109,
+ 112,102,105,108,101, 32, 61, 32,105,111, 46,116,109,112,102,
+ 105,108,101, 10, 99,108,111,115,101,102,105,108,101, 32, 61,
+ 32,105,111, 46, 99,108,111,115,101, 10,111,112,101,110,102,
+ 105,108,101, 32, 61, 32,105,111, 46,111,112,101,110, 10, 10,
+ 102,117,110, 99,116,105,111,110, 32,102,108,117,115,104, 32,
+ 40,102, 41, 10, 32, 32,105,102, 32,102, 32,116,104,101,110,
+ 32,102, 58,102,108,117,115,104, 40, 41, 10, 32, 32,101,108,
+ 115,101, 32, 95, 79, 85, 84, 80, 85, 84, 58,102,108,117,115,
+ 104, 40, 41, 10, 32, 32,101,110,100, 10,101,110,100, 10, 10,
+ 102,117,110, 99,116,105,111,110, 32,114,101, 97,100,102,114,
+ 111,109, 32, 40,110, 97,109,101, 41, 10, 32, 32,105,102, 32,
+ 110, 97,109,101, 32, 61, 61, 32,110,105,108, 32,116,104,101,
+ 110, 10, 32, 32, 32, 32,108,111, 99, 97,108, 32,102, 44, 32,
+ 101,114,114, 44, 32, 99,111,100, 32, 61, 32,105,111, 46, 99,
+ 108,111,115,101, 40, 95, 73, 78, 80, 85, 84, 41, 10, 32, 32,
+ 32, 32, 95, 73, 78, 80, 85, 84, 32, 61, 32,105,111, 46,115,
+ 116,100,105,110, 10, 32, 32, 32, 32,114,101,116,117,114,110,
+ 32,102, 44, 32,101,114,114, 44, 32, 99,111,100, 10, 32, 32,
+ 101,108,115,101, 10, 32, 32, 32, 32,108,111, 99, 97,108, 32,
+ 102, 44, 32,101,114,114, 44, 32, 99,111,100, 32, 61, 32,105,
+ 111, 46,111,112,101,110, 40,110, 97,109,101, 44, 32, 34,114,
+ 34, 41, 10, 32, 32, 32, 32, 95, 73, 78, 80, 85, 84, 32, 61,
+ 32,102, 32,111,114, 32, 95, 73, 78, 80, 85, 84, 10, 32, 32,
+ 32, 32,114,101,116,117,114,110, 32,102, 44, 32,101,114,114,
+ 44, 32, 99,111,100, 10, 32, 32,101,110,100, 10,101,110,100,
+ 10, 10,102,117,110, 99,116,105,111,110, 32,119,114,105,116,
+ 101,116,111, 32, 40,110, 97,109,101, 41, 10, 32, 32,105,102,
+ 32,110, 97,109,101, 32, 61, 61, 32,110,105,108, 32,116,104,
+ 101,110, 10, 32, 32, 32, 32,108,111, 99, 97,108, 32,102, 44,
+ 32,101,114,114, 44, 32, 99,111,100, 32, 61, 32,105,111, 46,
+ 99,108,111,115,101, 40, 95, 79, 85, 84, 80, 85, 84, 41, 10,
+ 32, 32, 32, 32, 95, 79, 85, 84, 80, 85, 84, 32, 61, 32,105,
+ 111, 46,115,116,100,111,117,116, 10, 32, 32, 32, 32,114,101,
+ 116,117,114,110, 32,102, 44, 32,101,114,114, 44, 32, 99,111,
+ 100, 10, 32, 32,101,108,115,101, 10, 32, 32, 32, 32,108,111,
+ 99, 97,108, 32,102, 44, 32,101,114,114, 44, 32, 99,111,100,
+ 32, 61, 32,105,111, 46,111,112,101,110, 40,110, 97,109,101,
+ 44, 32, 34,119, 34, 41, 10, 32, 32, 32, 32, 95, 79, 85, 84,
+ 80, 85, 84, 32, 61, 32,102, 32,111,114, 32, 95, 79, 85, 84,
+ 80, 85, 84, 10, 32, 32, 32, 32,114,101,116,117,114,110, 32,
+ 102, 44, 32,101,114,114, 44, 32, 99,111,100, 10, 32, 32,101,
+ 110,100, 10,101,110,100, 10, 10,102,117,110, 99,116,105,111,
+ 110, 32, 97,112,112,101,110,100,116,111, 32, 40,110, 97,109,
+ 101, 41, 10, 32, 32,108,111, 99, 97,108, 32,102, 44, 32,101,
+ 114,114, 44, 32, 99,111,100, 32, 61, 32,105,111, 46,111,112,
+ 101,110, 40,110, 97,109,101, 44, 32, 34, 97, 34, 41, 10, 32,
+ 32, 95, 79, 85, 84, 80, 85, 84, 32, 61, 32,102, 32,111,114,
+ 32, 95, 79, 85, 84, 80, 85, 84, 10, 32, 32,114,101,116,117,
+ 114,110, 32,102, 44, 32,101,114,114, 44, 32, 99,111,100, 10,
+ 101,110,100, 10, 10,102,117,110, 99,116,105,111,110, 32,114,
+ 101, 97,100, 32, 40, 46, 46, 46, 41, 10, 32, 32,108,111, 99,
+ 97,108, 32,102, 32, 61, 32, 95, 73, 78, 80, 85, 84, 10, 32,
+ 32,105,102, 32,114, 97,119,116,121,112,101, 40, 97,114,103,
+ 91, 49, 93, 41, 32, 61, 61, 32, 39,117,115,101,114,100, 97,
+ 116, 97, 39, 32,116,104,101,110, 10, 32, 32, 32, 32,102, 32,
+ 61, 32,116, 97, 98, 46,114,101,109,111,118,101, 40, 97,114,
+ 103, 44, 32, 49, 41, 10, 32, 32,101,110,100, 10, 32, 32,114,
+ 101,116,117,114,110, 32,102, 58,114,101, 97,100, 40,117,110,
+ 112, 97, 99,107, 40, 97,114,103, 41, 41, 10,101,110,100, 10,
+ 10,102,117,110, 99,116,105,111,110, 32,119,114,105,116,101,
+ 32, 40, 46, 46, 46, 41, 10, 32, 32,108,111, 99, 97,108, 32,
+ 102, 32, 61, 32, 95, 79, 85, 84, 80, 85, 84, 10, 32, 32,105,
+ 102, 32,114, 97,119,116,121,112,101, 40, 97,114,103, 91, 49,
+ 93, 41, 32, 61, 61, 32, 39,117,115,101,114,100, 97,116, 97,
+ 39, 32,116,104,101,110, 10, 32, 32, 32, 32,102, 32, 61, 32,
+ 116, 97, 98, 46,114,101,109,111,118,101, 40, 97,114,103, 44,
+ 32, 49, 41, 10, 32, 32,101,110,100, 10, 32, 32,114,101,116,
+ 117,114,110, 32,102, 58,119,114,105,116,101, 40,117,110,112,
+ 97, 99,107, 40, 97,114,103, 41, 41, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/compat.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32, 98, 97,115,105, 99,
+ 32,117,116,105,108,105,116,121, 32,102,117,110, 99,116,105,
+ 111,110,115, 10, 45, 45, 32, 87,114,105,116,116,101,110, 32,
+ 98,121, 32, 87, 97,108,100,101,109, 97,114, 32, 67,101,108,
+ 101,115, 10, 45, 45, 32, 84,101, 67, 71,114, 97,102, 47, 80,
+ 85, 67, 45, 82,105,111, 10, 45, 45, 32, 74,117,108, 32, 49,
+ 57, 57, 56, 10, 45, 45, 32, 76, 97,115,116, 32,117,112,100,
+ 97,116,101, 58, 32, 65,112,114, 32, 50, 48, 48, 51, 10, 45,
+ 45, 32, 36, 73,100, 58, 32, 36, 10, 10, 45, 45, 32, 84,104,
+ 105,115, 32, 99,111,100,101, 32,105,115, 32,102,114,101,101,
+ 32,115,111,102,116,119, 97,114,101, 59, 32,121,111,117, 32,
+ 99, 97,110, 32,114,101,100,105,115,116,114,105, 98,117,116,
+ 101, 32,105,116, 32, 97,110,100, 47,111,114, 32,109,111,100,
+ 105,102,121, 32,105,116, 46, 10, 45, 45, 32, 84,104,101, 32,
+ 115,111,102,116,119, 97,114,101, 32,112,114,111,118,105,100,
+ 101,100, 32,104,101,114,101,117,110,100,101,114, 32,105,115,
+ 32,111,110, 32, 97,110, 32, 34, 97,115, 32,105,115, 34, 32,
+ 98, 97,115,105,115, 44, 32, 97,110,100, 10, 45, 45, 32,116,
+ 104,101, 32, 97,117,116,104,111,114, 32,104, 97,115, 32,110,
+ 111, 32,111, 98,108,105,103, 97,116,105,111,110, 32,116,111,
+ 32,112,114,111,118,105,100,101, 32,109, 97,105,110,116,101,
+ 110, 97,110, 99,101, 44, 32,115,117,112,112,111,114,116, 44,
+ 32,117,112,100, 97,116,101,115, 44, 10, 45, 45, 32,101,110,
+ 104, 97,110, 99,101,109,101,110,116,115, 44, 32,111,114, 32,
+ 109,111,100,105,102,105, 99, 97,116,105,111,110,115, 46, 10,
+ 10, 10, 45, 45, 32, 66, 97,115,105, 99, 32, 67, 32,116,121,
+ 112,101,115, 32, 97,110,100, 32,116,104,101,105,114, 32, 99,
+ 111,114,114,101,115,112,111,110,100,105,110,103, 32, 76,117,
+ 97, 32,116,121,112,101,115, 10, 45, 45, 32, 65,108,108, 32,
+ 111, 99, 99,117,114,114,101,110, 99,101,115, 32,111,102, 32,
+ 34, 99,104, 97,114, 42, 34, 32,119,105,108,108, 32, 98,101,
+ 32,114,101,112,108, 97, 99,101,100, 32, 98,121, 32, 34, 95,
+ 99,115,116,114,105,110,103, 34, 44, 10, 45, 45, 32, 97,110,
+ 100, 32, 97,108,108, 32,111, 99, 99,117,114,114,101,110, 99,
+ 101,115, 32,111,102, 32, 34,118,111,105,100, 42, 34, 32,119,
+ 105,108,108, 32, 98,101, 32,114,101,112,108, 97, 99,101,100,
+ 32, 98,121, 32, 34, 95,117,115,101,114,100, 97,116, 97, 34,
+ 10, 95, 98, 97,115,105, 99, 32, 61, 32,123, 10, 32, 91, 39,
+ 118,111,105,100, 39, 93, 32, 61, 32, 39, 39, 44, 10, 32, 91,
+ 39, 99,104, 97,114, 39, 93, 32, 61, 32, 39,110,117,109, 98,
+ 101,114, 39, 44, 10, 32, 91, 39,105,110,116, 39, 93, 32, 61,
+ 32, 39,110,117,109, 98,101,114, 39, 44, 10, 32, 91, 39,115,
+ 104,111,114,116, 39, 93, 32, 61, 32, 39,110,117,109, 98,101,
+ 114, 39, 44, 10, 32, 91, 39,108,111,110,103, 39, 93, 32, 61,
+ 32, 39,110,117,109, 98,101,114, 39, 44, 10, 32, 91, 39,117,
+ 110,115,105,103,110,101,100, 39, 93, 32, 61, 32, 39,110,117,
+ 109, 98,101,114, 39, 44, 10, 32, 91, 39,102,108,111, 97,116,
+ 39, 93, 32, 61, 32, 39,110,117,109, 98,101,114, 39, 44, 10,
+ 32, 91, 39,100,111,117, 98,108,101, 39, 93, 32, 61, 32, 39,
+ 110,117,109, 98,101,114, 39, 44, 10, 32, 91, 39, 95, 99,115,
+ 116,114,105,110,103, 39, 93, 32, 61, 32, 39,115,116,114,105,
+ 110,103, 39, 44, 10, 32, 91, 39, 95,117,115,101,114,100, 97,
+ 116, 97, 39, 93, 32, 61, 32, 39,117,115,101,114,100, 97,116,
+ 97, 39, 44, 10, 32, 91, 39, 99,104, 97,114, 42, 39, 93, 32,
+ 61, 32, 39,115,116,114,105,110,103, 39, 44, 10, 32, 91, 39,
+ 118,111,105,100, 42, 39, 93, 32, 61, 32, 39,117,115,101,114,
+ 100, 97,116, 97, 39, 44, 10, 32, 91, 39, 98,111,111,108, 39,
+ 93, 32, 61, 32, 39, 98,111,111,108,101, 97,110, 39, 44, 10,
+ 32, 91, 39,108,117, 97, 95, 79, 98,106,101, 99,116, 39, 93,
+ 32, 61, 32, 39,118, 97,108,117,101, 39, 44, 10, 32, 91, 39,
+ 76, 85, 65, 95, 86, 65, 76, 85, 69, 39, 93, 32, 61, 32, 39,
+ 118, 97,108,117,101, 39, 44, 32, 32, 32, 32, 45, 45, 32,102,
+ 111,114, 32, 99,111,109,112, 97,116,105, 98,105,108,105,116,
+ 121, 32,119,105,116,104, 32,116,111,108,117, 97, 32, 52, 46,
+ 48, 10, 32, 91, 39,108,117, 97, 95, 83,116, 97,116,101, 42,
+ 39, 93, 32, 61, 32, 39,115,116, 97,116,101, 39, 44, 10, 32,
+ 91, 39, 95,108,115,116, 97,116,101, 39, 93, 32, 61, 32, 39,
+ 115,116, 97,116,101, 39, 44, 10, 32, 91, 39,108,117, 97, 95,
+ 70,117,110, 99,116,105,111,110, 39, 93, 32, 61, 32, 39,118,
+ 97,108,117,101, 39, 44, 10,125, 10, 10, 95, 98, 97,115,105,
+ 99, 95, 99,116,121,112,101, 32, 61, 32,123, 10, 32,110,117,
+ 109, 98,101,114, 32, 61, 32, 34,108,117, 97, 95, 78,117,109,
+ 98,101,114, 34, 44, 10, 32,115,116,114,105,110,103, 32, 61,
+ 32, 34, 99,111,110,115,116, 32, 99,104, 97,114, 42, 34, 44,
+ 10, 32,117,115,101,114,100, 97,116, 97, 32, 61, 32, 34,118,
+ 111,105,100, 42, 34, 44, 10, 32, 98,111,111,108,101, 97,110,
+ 32, 61, 32, 34, 98,111,111,108, 34, 44, 10, 32,118, 97,108,
+ 117,101, 32, 61, 32, 34,105,110,116, 34, 44, 10, 32,115,116,
+ 97,116,101, 32, 61, 32, 34,108,117, 97, 95, 83,116, 97,116,
+ 101, 42, 34, 44, 10,125, 10, 10, 45, 45, 32,102,117,110, 99,
+ 116,105,111,110,115, 32,116,104,101, 32, 97,114,101, 32,117,
+ 115,101,100, 32,116,111, 32,100,111, 32, 97, 32, 39,114, 97,
+ 119, 32,112,117,115,104, 39, 32,111,102, 32, 98, 97,115,105,
+ 99, 32,116,121,112,101,115, 10, 95, 98, 97,115,105, 99, 95,
+ 114, 97,119, 95,112,117,115,104, 32, 61, 32,123,125, 10, 10,
+ 45, 45, 32, 76,105,115,116, 32,111,102, 32,117,115,101,114,
+ 32,100,101,102,105,110,101,100, 32,116,121,112,101,115, 10,
+ 45, 45, 32, 69, 97, 99,104, 32,116,121,112,101, 32, 99,111,
+ 114,114,101,115,112,111,110,100,115, 32,116,111, 32, 97, 32,
+ 118, 97,114,105, 97, 98,108,101, 32,110, 97,109,101, 32,116,
+ 104, 97,116, 32,115,116,111,114,101,115, 32,105,116,115, 32,
+ 116, 97,103, 32,118, 97,108,117,101, 46, 10, 95,117,115,101,
+ 114,116,121,112,101, 32, 61, 32,123,125, 10, 10, 45, 45, 32,
+ 76,105,115,116, 32,111,102, 32,116,121,112,101,115, 32,116,
+ 104, 97,116, 32,104, 97,118,101, 32,116,111, 32, 98,101, 32,
+ 99,111,108,108,101, 99,116,101,100, 10, 95, 99,111,108,108,
+ 101, 99,116, 32, 61, 32,123,125, 10, 10, 45, 45, 32, 76,105,
+ 115,116, 32,111,102, 32,116,121,112,101,115, 10, 95,103,108,
+ 111, 98, 97,108, 95,116,121,112,101,115, 32, 61, 32,123,110,
+ 61, 48,125, 10, 95,103,108,111, 98, 97,108, 95,116,121,112,
+ 101,115, 95,104, 97,115,104, 32, 61, 32,123,125, 10, 10, 45,
+ 45, 32,108,105,115,116, 32,111,102, 32, 99,108, 97,115,115,
+ 101,115, 10, 95,103,108,111, 98, 97,108, 95, 99,108, 97,115,
+ 115,101,115, 32, 61, 32,123,125, 10, 10, 45, 45, 32, 76,105,
+ 115,116, 32,111,102, 32,101,110,117,109, 32, 99,111,110,115,
+ 116, 97,110,116,115, 10, 95,103,108,111, 98, 97,108, 95,101,
+ 110,117,109,115, 32, 61, 32,123,125, 10, 10, 45, 45, 32, 76,
+ 105,115,116, 32,111,102, 32, 97,117,116,111, 32,114,101,110,
+ 97,109,105,110,103, 10, 95,114,101,110, 97,109,105,110,103,
+ 32, 61, 32,123,125, 10,102,117,110, 99,116,105,111,110, 32,
+ 97,112,112,101,110,100,114,101,110, 97,109,105,110,103, 32,
+ 40,115, 41, 10, 32,108,111, 99, 97,108, 32, 98, 44,101, 44,
+ 111,108,100, 44,110,101,119, 32, 61, 32,115,116,114,102,105,
+ 110,100, 40,115, 44, 34, 37,115, 42, 40, 46, 45, 41, 37,115,
+ 42, 64, 37,115, 42, 40, 46, 45, 41, 37,115, 42, 36, 34, 41,
+ 10, 9,105,102, 32,110,111,116, 32, 98, 32,116,104,101,110,
+ 10, 9, 32,101,114,114,111,114, 40, 34, 35, 73,110,118, 97,
+ 108,105,100, 32,114,101,110, 97,109,105,110,103, 32,115,121,
+ 110,116, 97,120, 59, 32,105,116, 32,115,104,111,117,108,100,
+ 32, 98,101, 32,111,102, 32,116,104,101, 32,102,111,114,109,
+ 58, 32,112, 97,116,116,101,114,110, 64,112, 97,116,116,101,
+ 114,110, 34, 41, 10, 9,101,110,100, 10, 9,116,105,110,115,
+ 101,114,116, 40, 95,114,101,110, 97,109,105,110,103, 44,123,
+ 111,108,100, 61,111,108,100, 44, 32,110,101,119, 61,110,101,
+ 119,125, 41, 10,101,110,100, 10, 10,102,117,110, 99,116,105,
+ 111,110, 32, 97,112,112,108,121,114,101,110, 97,109,105,110,
+ 103, 32, 40,115, 41, 10, 9,102,111,114, 32,105, 61, 49, 44,
+ 103,101,116,110, 40, 95,114,101,110, 97,109,105,110,103, 41,
+ 32,100,111, 10, 9, 32,108,111, 99, 97,108, 32,109, 44,110,
+ 32, 61, 32,103,115,117, 98, 40,115, 44, 95,114,101,110, 97,
+ 109,105,110,103, 91,105, 93, 46,111,108,100, 44, 95,114,101,
+ 110, 97,109,105,110,103, 91,105, 93, 46,110,101,119, 41, 10,
+ 9, 9,105,102, 32,110, 32,126, 61, 32, 48, 32,116,104,101,
+ 110, 10, 9, 9, 32,114,101,116,117,114,110, 32,109, 10, 9,
+ 9,101,110,100, 10, 9,101,110,100, 10, 9,114,101,116,117,
+ 114,110, 32,110,105,108, 10,101,110,100, 10, 10, 45, 45, 32,
+ 69,114,114,111,114, 32,104, 97,110,100,108,101,114, 10,102,
+ 117,110, 99,116,105,111,110, 32,116,111,108,117, 97, 95,101,
+ 114,114,111,114, 32, 40,115, 44,102, 41, 10,105,102, 32, 95,
+ 99,117,114,114, 95, 99,111,100,101, 32,116,104,101,110, 10,
+ 9,112,114,105,110,116, 40, 34, 42, 42, 42, 99,117,114,114,
+ 32, 99,111,100,101, 32,102,111,114, 32,101,114,114,111,114,
+ 32,105,115, 32, 34, 46, 46,116,111,115,116,114,105,110,103,
+ 40, 95, 99,117,114,114, 95, 99,111,100,101, 41, 41, 10, 9,
+ 112,114,105,110,116, 40,100,101, 98,117,103, 46,116,114, 97,
+ 99,101, 98, 97, 99,107, 40, 41, 41, 10,101,110,100, 10, 32,
+ 108,111, 99, 97,108, 32,111,117,116, 32, 61, 32, 95, 79, 85,
+ 84, 80, 85, 84, 10, 32, 95, 79, 85, 84, 80, 85, 84, 32, 61,
+ 32, 95, 83, 84, 68, 69, 82, 82, 10, 32,105,102, 32,115,116,
+ 114,115,117, 98, 40,115, 44, 49, 44, 49, 41, 32, 61, 61, 32,
+ 39, 35, 39, 32,116,104,101,110, 10, 32, 32,119,114,105,116,
+ 101, 40, 34, 92,110, 42, 42, 32,116,111,108,117, 97, 58, 32,
+ 34, 46, 46,115,116,114,115,117, 98, 40,115, 44, 50, 41, 46,
+ 46, 34, 46, 92,110, 92,110, 34, 41, 10, 32, 32,105,102, 32,
+ 95, 99,117,114,114, 95, 99,111,100,101, 32,116,104,101,110,
+ 10, 32, 32, 32,108,111, 99, 97,108, 32, 95, 44, 95, 44,115,
+ 32, 61, 32,115,116,114,102,105,110,100, 40, 95, 99,117,114,
+ 114, 95, 99,111,100,101, 44, 34, 94, 37,115, 42, 40, 46, 45,
+ 92,110, 41, 34, 41, 32, 45, 45, 32,101,120,116,114, 97, 99,
+ 116, 32,102,105,114,115,116, 32,108,105,110,101, 10, 32, 32,
+ 32,105,102, 32,115, 61, 61,110,105,108, 32,116,104,101,110,
+ 32,115, 32, 61, 32, 95, 99,117,114,114, 95, 99,111,100,101,
+ 32,101,110,100, 10, 32, 32, 32,115, 32, 61, 32,103,115,117,
+ 98, 40,115, 44, 34, 95,117,115,101,114,100, 97,116, 97, 34,
+ 44, 34,118,111,105,100, 42, 34, 41, 32, 45, 45, 32,114,101,
+ 116,117,114,110, 32,119,105,116,104, 32, 39,118,111,105,100,
+ 42, 39, 10, 32, 32, 32,115, 32, 61, 32,103,115,117, 98, 40,
+ 115, 44, 34, 95, 99,115,116,114,105,110,103, 34, 44, 34, 99,
+ 104, 97,114, 42, 34, 41, 32, 32, 45, 45, 32,114,101,116,117,
+ 114,110, 32,119,105,116,104, 32, 39, 99,104, 97,114, 42, 39,
+ 10, 32, 32, 32,115, 32, 61, 32,103,115,117, 98, 40,115, 44,
+ 34, 95,108,115,116, 97,116,101, 34, 44, 34,108,117, 97, 95,
+ 83,116, 97,116,101, 42, 34, 41, 32, 32, 45, 45, 32,114,101,
+ 116,117,114,110, 32,119,105,116,104, 32, 39,108,117, 97, 95,
+ 83,116, 97,116,101, 42, 39, 10, 32, 32, 32,119,114,105,116,
+ 101, 40, 34, 67,111,100,101, 32, 98,101,105,110,103, 32,112,
+ 114,111, 99,101,115,115,101,100, 58, 92,110, 34, 46, 46,115,
+ 46, 46, 34, 92,110, 34, 41, 10, 32, 32,101,110,100, 10, 32,
+ 101,108,115,101, 10, 32,105,102, 32,110,111,116, 32,102, 32,
+ 116,104,101,110, 32,102, 32, 61, 32, 34, 40,102, 32,105,115,
+ 32,110,105,108, 41, 34, 32,101,110,100, 10, 32, 32,112,114,
+ 105,110,116, 40, 34, 92,110, 42, 42, 32,116,111,108,117, 97,
+ 32,105,110,116,101,114,110, 97,108, 32,101,114,114,111,114,
+ 58, 32, 34, 46, 46,102, 46, 46,115, 46, 46, 34, 46, 92,110,
+ 92,110, 34, 41, 10, 32, 32,114,101,116,117,114,110, 10, 32,
+ 101,110,100, 10, 32, 95, 79, 85, 84, 80, 85, 84, 32, 61, 32,
+ 111,117,116, 10,101,110,100, 10, 10,102,117,110, 99,116,105,
+ 111,110, 32,119, 97,114,110,105,110,103, 32, 40,109,115,103,
+ 41, 10, 32,105,102, 32,102,108, 97,103,115, 46,113, 32,116,
+ 104,101,110, 32,114,101,116,117,114,110, 32,101,110,100, 10,
+ 32,108,111, 99, 97,108, 32,111,117,116, 32, 61, 32, 95, 79,
+ 85, 84, 80, 85, 84, 10, 32, 95, 79, 85, 84, 80, 85, 84, 32,
+ 61, 32, 95, 83, 84, 68, 69, 82, 82, 10, 32,119,114,105,116,
+ 101, 40, 34, 92,110, 42, 42, 32,116,111,108,117, 97, 32,119,
+ 97,114,110,105,110,103, 58, 32, 34, 46, 46,109,115,103, 46,
+ 46, 34, 46, 92,110, 92,110, 34, 41, 10, 32, 95, 79, 85, 84,
+ 80, 85, 84, 32, 61, 32,111,117,116, 10,101,110,100, 10, 10,
+ 45, 45, 32,114,101,103,105,115,116,101,114, 32, 97,110, 32,
+ 117,115,101,114, 32,100,101,102,105,110,101,100, 32,116,121,
+ 112,101, 58, 32,114,101,116,117,114,110,115, 32,102,117,108,
+ 108, 32,116,121,112,101, 10,102,117,110, 99,116,105,111,110,
+ 32,114,101,103,116,121,112,101, 32, 40,116, 41, 10, 9, 45,
+ 45,105,102, 32,105,115, 98, 97,115,105, 99, 40,116, 41, 32,
+ 116,104,101,110, 10, 9, 45, 45, 9,114,101,116,117,114,110,
+ 32,116, 10, 9, 45, 45,101,110,100, 10, 9,108,111, 99, 97,
+ 108, 32,102,116, 32, 61, 32,102,105,110,100,116,121,112,101,
+ 40,116, 41, 10, 10, 9,105,102, 32,110,111,116, 32, 95,117,
+ 115,101,114,116,121,112,101, 91,102,116, 93, 32,116,104,101,
+ 110, 10, 9, 9,114,101,116,117,114,110, 32, 97,112,112,101,
+ 110,100,117,115,101,114,116,121,112,101, 40,116, 41, 10, 9,
+ 101,110,100, 10, 9,114,101,116,117,114,110, 32,102,116, 10,
+ 101,110,100, 10, 10, 45, 45, 32,114,101,116,117,114,110, 32,
+ 116,121,112,101, 32,110, 97,109,101, 58, 32,114,101,116,117,
+ 114,110,115, 32,102,117,108,108, 32,116,121,112,101, 10,102,
+ 117,110, 99,116,105,111,110, 32,116,121,112,101,118, 97,114,
+ 40,116,121,112,101, 41, 10, 9,105,102, 32,116,121,112,101,
+ 32, 61, 61, 32, 39, 39, 32,111,114, 32,116,121,112,101, 32,
+ 61, 61, 32, 39,118,111,105,100, 39, 32,116,104,101,110, 10,
+ 9, 9,114,101,116,117,114,110, 32,116,121,112,101, 10, 9,
+ 101,108,115,101, 10, 9, 9,108,111, 99, 97,108, 32,102,116,
+ 32, 61, 32,102,105,110,100,116,121,112,101, 40,116,121,112,
+ 101, 41, 10, 9, 9,105,102, 32,102,116, 32,116,104,101,110,
+ 10, 9, 9, 9,114,101,116,117,114,110, 32,102,116, 10, 9,
+ 9,101,110,100, 10, 9, 9, 95,117,115,101,114,116,121,112,
+ 101, 91,116,121,112,101, 93, 32, 61, 32,116,121,112,101, 10,
+ 9, 9,114,101,116,117,114,110, 32,116,121,112,101, 10, 9,
+ 101,110,100, 10,101,110,100, 10, 10, 45, 45, 32, 99,104,101,
+ 99,107, 32,105,102, 32, 98, 97,115,105, 99, 32,116,121,112,
+ 101, 10,102,117,110, 99,116,105,111,110, 32,105,115, 98, 97,
+ 115,105, 99, 32, 40,116,121,112,101, 41, 10, 32,108,111, 99,
+ 97,108, 32,116, 32, 61, 32,103,115,117, 98, 40,116,121,112,
+ 101, 44, 39, 99,111,110,115,116, 32, 39, 44, 39, 39, 41, 10,
+ 32,108,111, 99, 97,108, 32,109, 44,116, 32, 61, 32, 97,112,
+ 112,108,121,116,121,112,101,100,101,102, 40, 39, 39, 44, 32,
+ 116, 41, 10, 32,108,111, 99, 97,108, 32, 98, 32, 61, 32, 95,
+ 98, 97,115,105, 99, 91,116, 93, 10, 32,105,102, 32, 98, 32,
+ 116,104,101,110, 10, 32, 32,114,101,116,117,114,110, 32, 98,
+ 44, 95, 98, 97,115,105, 99, 95, 99,116,121,112,101, 91, 98,
+ 93, 10, 32,101,110,100, 10, 32,114,101,116,117,114,110, 32,
+ 110,105,108, 10,101,110,100, 10, 10, 45, 45, 32,115,112,108,
+ 105,116, 32,115,116,114,105,110,103, 32,117,115,105,110,103,
+ 32, 97, 32,116,111,107,101,110, 10,102,117,110, 99,116,105,
+ 111,110, 32,115,112,108,105,116, 32, 40,115, 44,116, 41, 10,
+ 32,108,111, 99, 97,108, 32,108, 32, 61, 32,123,110, 61, 48,
+ 125, 10, 32,108,111, 99, 97,108, 32,102, 32, 61, 32,102,117,
+ 110, 99,116,105,111,110, 32, 40,115, 41, 10, 32, 32,108, 46,
+ 110, 32, 61, 32,108, 46,110, 32, 43, 32, 49, 10, 32, 32,108,
+ 91,108, 46,110, 93, 32, 61, 32,115, 10, 32, 32,114,101,116,
+ 117,114,110, 32, 34, 34, 10, 32,101,110,100, 10, 32,108,111,
+ 99, 97,108, 32,112, 32, 61, 32, 34, 37,115, 42, 40, 46, 45,
+ 41, 37,115, 42, 34, 46, 46,116, 46, 46, 34, 37,115, 42, 34,
+ 10, 32,115, 32, 61, 32,103,115,117, 98, 40,115, 44, 34, 94,
+ 37,115, 43, 34, 44, 34, 34, 41, 10, 32,115, 32, 61, 32,103,
+ 115,117, 98, 40,115, 44, 34, 37,115, 43, 36, 34, 44, 34, 34,
+ 41, 10, 32,115, 32, 61, 32,103,115,117, 98, 40,115, 44,112,
+ 44,102, 41, 10, 32,108, 46,110, 32, 61, 32,108, 46,110, 32,
+ 43, 32, 49, 10, 32,108, 91,108, 46,110, 93, 32, 61, 32,103,
+ 115,117, 98, 40,115, 44, 34, 40, 37,115, 37,115, 42, 41, 36,
+ 34, 44, 34, 34, 41, 10, 32,114,101,116,117,114,110, 32,108,
+ 10,101,110,100, 10, 10, 45, 45, 32,115,112,108,105,116,115,
+ 32, 97, 32,115,116,114,105,110,103, 32,117,115,105,110,103,
+ 32, 97, 32,112, 97,116,116,101,114,110, 44, 32, 99,111,110,
+ 115,105,100,101,114,105,110,103, 32,116,104,101, 32,115,112,
+ 97, 99,105, 97,108, 32, 99, 97,115,101,115, 32,111,102, 32,
+ 67, 32, 99,111,100,101, 32, 40,116,101,109,112,108, 97,116,
+ 101,115, 44, 32,102,117,110, 99,116,105,111,110, 32,112, 97,
+ 114, 97,109,101,116,101,114,115, 44, 32,101,116, 99, 41, 10,
+ 45, 45, 32,112, 97,116,116,101,114,110, 32, 99, 97,110, 39,
+ 116, 32, 99,111,110,116, 97,105,110, 32,116,104,101, 32, 39,
+ 94, 39, 32, 40, 97,115, 32,117,115,101,100, 32,116,111, 32,
+ 105,100,101,110,116,105,102,121, 32,116,104,101, 32, 98,101,
+ 103,105,110,105,110,103, 32,111,102, 32,116,104,101, 32,108,
+ 105,110,101, 41, 10, 45, 45, 32, 97,108,115,111, 32,115,116,
+ 114,105,112,115, 32,119,104,105,116,101,115,112, 97, 99,101,
+ 10,102,117,110, 99,116,105,111,110, 32,115,112,108,105,116,
+ 95, 99, 95,116,111,107,101,110,115, 40,115, 44, 32,112, 97,
+ 116, 41, 10, 10, 9,115, 32, 61, 32,115,116,114,105,110,103,
+ 46,103,115,117, 98, 40,115, 44, 32, 34, 94, 37,115, 42, 34,
+ 44, 32, 34, 34, 41, 10, 9,115, 32, 61, 32,115,116,114,105,
+ 110,103, 46,103,115,117, 98, 40,115, 44, 32, 34, 37,115, 42,
+ 36, 34, 44, 32, 34, 34, 41, 10, 10, 9,108,111, 99, 97,108,
+ 32,116,111,107,101,110, 95, 98,101,103,105,110, 32, 61, 32,
+ 49, 10, 9,108,111, 99, 97,108, 32,116,111,107,101,110, 95,
+ 101,110,100, 32, 61, 32, 49, 10, 9,108,111, 99, 97,108, 32,
+ 111,102,115, 32, 61, 32, 49, 10, 9,108,111, 99, 97,108, 32,
+ 114,101,116, 32, 61, 32,123,110, 61, 48,125, 10, 10, 9,102,
+ 117,110, 99,116,105,111,110, 32, 97,100,100, 95,116,111,107,
+ 101,110, 40,111,102,115, 41, 10, 10, 9, 9,108,111, 99, 97,
+ 108, 32,116, 32, 61, 32,115,116,114,105,110,103, 46,115,117,
+ 98, 40,115, 44, 32,116,111,107,101,110, 95, 98,101,103,105,
+ 110, 44, 32,111,102,115, 41, 10, 9, 9,116, 32, 61, 32,115,
+ 116,114,105,110,103, 46,103,115,117, 98, 40,116, 44, 32, 34,
+ 94, 37,115, 42, 34, 44, 32, 34, 34, 41, 10, 9, 9,116, 32,
+ 61, 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,116,
+ 44, 32, 34, 37,115, 42, 36, 34, 44, 32, 34, 34, 41, 10, 9,
+ 9,114,101,116, 46,110, 32, 61, 32,114,101,116, 46,110, 32,
+ 43, 32, 49, 10, 9, 9,114,101,116, 91,114,101,116, 46,110,
+ 93, 32, 61, 32,116, 10, 9,101,110,100, 10, 10, 9,119,104,
+ 105,108,101, 32,111,102,115, 32, 60, 61, 32,115,116,114,105,
+ 110,103, 46,108,101,110, 40,115, 41, 32,100,111, 10, 10, 9,
+ 9,108,111, 99, 97,108, 32,115,117, 98, 32, 61, 32,115,116,
+ 114,105,110,103, 46,115,117, 98, 40,115, 44, 32,111,102,115,
+ 44, 32, 45, 49, 41, 10, 9, 9,108,111, 99, 97,108, 32, 98,
+ 44,101, 32, 61, 32,115,116,114,105,110,103, 46,102,105,110,
+ 100, 40,115,117, 98, 44, 32, 34, 94, 34, 46, 46,112, 97,116,
+ 41, 10, 9, 9,105,102, 32, 98, 32,116,104,101,110, 10, 9,
+ 9, 9, 97,100,100, 95,116,111,107,101,110, 40,111,102,115,
+ 45, 49, 41, 10, 9, 9, 9,111,102,115, 32, 61, 32,111,102,
+ 115, 43,101, 10, 9, 9, 9,116,111,107,101,110, 95, 98,101,
+ 103,105,110, 32, 61, 32,111,102,115, 10, 9, 9,101,108,115,
+ 101, 10, 9, 9, 9,108,111, 99, 97,108, 32, 99,104, 97,114,
+ 32, 61, 32,115,116,114,105,110,103, 46,115,117, 98, 40,115,
+ 44, 32,111,102,115, 44, 32,111,102,115, 41, 10, 9, 9, 9,
+ 105,102, 32, 99,104, 97,114, 32, 61, 61, 32, 34, 40, 34, 32,
+ 111,114, 32, 99,104, 97,114, 32, 61, 61, 32, 34, 60, 34, 32,
+ 116,104,101,110, 10, 10, 9, 9, 9, 9,108,111, 99, 97,108,
+ 32, 98,108,111, 99,107, 10, 9, 9, 9, 9,105,102, 32, 99,
+ 104, 97,114, 32, 61, 61, 32, 34, 40, 34, 32,116,104,101,110,
+ 32, 98,108,111, 99,107, 32, 61, 32, 34, 94, 37, 98, 40, 41,
+ 34, 32,101,110,100, 10, 9, 9, 9, 9,105,102, 32, 99,104,
+ 97,114, 32, 61, 61, 32, 34, 60, 34, 32,116,104,101,110, 32,
+ 98,108,111, 99,107, 32, 61, 32, 34, 94, 37, 98, 60, 62, 34,
+ 32,101,110,100, 10, 10, 9, 9, 9, 9, 98, 44,101, 32, 61,
+ 32,115,116,114,105,110,103, 46,102,105,110,100, 40,115,117,
+ 98, 44, 32, 98,108,111, 99,107, 41, 10, 9, 9, 9, 9,105,
+ 102, 32,110,111,116, 32, 98, 32,116,104,101,110, 10, 9, 9,
+ 9, 9, 9, 45, 45, 32,117,110,116,101,114,109,105,110, 97,
+ 116,101,100, 32, 98,108,111, 99,107, 63, 10, 9, 9, 9, 9,
+ 9,111,102,115, 32, 61, 32,111,102,115, 43, 49, 10, 9, 9,
+ 9, 9,101,108,115,101, 10, 9, 9, 9, 9, 9,111,102,115,
+ 32, 61, 32,111,102,115, 32, 43, 32,101, 10, 9, 9, 9, 9,
+ 101,110,100, 10, 10, 9, 9, 9,101,108,115,101, 10, 9, 9,
+ 9, 9,111,102,115, 32, 61, 32,111,102,115, 43, 49, 10, 9,
+ 9, 9,101,110,100, 10, 9, 9,101,110,100, 10, 10, 9,101,
+ 110,100, 10, 9, 97,100,100, 95,116,111,107,101,110, 40,111,
+ 102,115, 41, 10, 9, 45, 45,105,102, 32,114,101,116, 46,110,
+ 32, 61, 61, 32, 48, 32,116,104,101,110, 10, 10, 9, 45, 45,
+ 9,114,101,116, 46,110, 61, 49, 10, 9, 45, 45, 9,114,101,
+ 116, 91, 49, 93, 32, 61, 32, 34, 34, 10, 9, 45, 45,101,110,
+ 100, 10, 10, 9,114,101,116,117,114,110, 32,114,101,116, 10,
+ 10,101,110,100, 10, 10, 45, 45, 32, 99,111,110, 99, 97,116,
+ 101,110, 97,116,101, 32,115,116,114,105,110,103,115, 32,111,
+ 102, 32, 97, 32,116, 97, 98,108,101, 10,102,117,110, 99,116,
+ 105,111,110, 32, 99,111,110, 99, 97,116, 32, 40,116, 44,102,
+ 44,108, 44,106,115,116,114, 41, 10, 9,106,115,116,114, 32,
+ 61, 32,106,115,116,114, 32,111,114, 32, 34, 32, 34, 10, 32,
+ 108,111, 99, 97,108, 32,115, 32, 61, 32, 39, 39, 10, 32,108,
+ 111, 99, 97,108, 32,105, 61,102, 10, 32,119,104,105,108,101,
+ 32,105, 60, 61,108, 32,100,111, 10, 32, 32,115, 32, 61, 32,
+ 115, 46, 46,116, 91,105, 93, 10, 32, 32,105, 32, 61, 32,105,
+ 43, 49, 10, 32, 32,105,102, 32,105, 32, 60, 61, 32,108, 32,
+ 116,104,101,110, 32,115, 32, 61, 32,115, 46, 46,106,115,116,
+ 114, 32,101,110,100, 10, 32,101,110,100, 10, 32,114,101,116,
+ 117,114,110, 32,115, 10,101,110,100, 10, 10, 45, 45, 32, 99,
+ 111,110, 99, 97,116,101,110, 97,116,101, 32, 97,108,108, 32,
+ 112, 97,114, 97,109,101,116,101,114,115, 44, 32,102,111,108,
+ 108,111,119,105,110,103, 32,111,117,116,112,117,116, 32,114,
+ 117,108,101,115, 10,102,117,110, 99,116,105,111,110, 32, 99,
+ 111,110, 99, 97,116,112, 97,114, 97,109, 32, 40,108,105,110,
+ 101, 44, 32, 46, 46, 46, 41, 10, 32,108,111, 99, 97,108, 32,
+ 105, 61, 49, 10, 32,119,104,105,108,101, 32,105, 60, 61, 97,
+ 114,103, 46,110, 32,100,111, 10, 32, 32,105,102, 32, 95, 99,
+ 111,110,116, 32, 97,110,100, 32,110,111,116, 32,115,116,114,
+ 102,105,110,100, 40, 95, 99,111,110,116, 44, 39, 91, 37, 40,
+ 44, 34, 93, 39, 41, 32, 97,110,100, 10, 32, 32, 32, 32, 32,
+ 115,116,114,102,105,110,100, 40, 97,114,103, 91,105, 93, 44,
+ 34, 94, 91, 37, 97, 95,126, 93, 34, 41, 32,116,104,101,110,
+ 10, 9, 32, 32, 32, 32,108,105,110,101, 32, 61, 32,108,105,
+ 110,101, 32, 46, 46, 32, 39, 32, 39, 10, 32, 32,101,110,100,
+ 10, 32, 32,108,105,110,101, 32, 61, 32,108,105,110,101, 32,
+ 46, 46, 32, 97,114,103, 91,105, 93, 10, 32, 32,105,102, 32,
+ 97,114,103, 91,105, 93, 32,126, 61, 32, 39, 39, 32,116,104,
+ 101,110, 10, 32, 32, 32, 95, 99,111,110,116, 32, 61, 32,115,
+ 116,114,115,117, 98, 40, 97,114,103, 91,105, 93, 44, 45, 49,
+ 44, 45, 49, 41, 10, 32, 32,101,110,100, 10, 32, 32,105, 32,
+ 61, 32,105, 43, 49, 10, 32,101,110,100, 10, 32,105,102, 32,
+ 115,116,114,102,105,110,100, 40, 97,114,103, 91, 97,114,103,
+ 46,110, 93, 44, 34, 91, 37, 47, 37, 41, 37, 59, 37,123, 37,
+ 125, 93, 36, 34, 41, 32,116,104,101,110, 10, 32, 32, 95, 99,
+ 111,110,116, 61,110,105,108, 32,108,105,110,101, 32, 61, 32,
+ 108,105,110,101, 32, 46, 46, 32, 39, 92,110, 39, 10, 32,101,
+ 110,100, 10, 9,114,101,116,117,114,110, 32,108,105,110,101,
+ 10,101,110,100, 10, 10, 45, 45, 32,111,117,116,112,117,116,
+ 32,108,105,110,101, 10,102,117,110, 99,116,105,111,110, 32,
+ 111,117,116,112,117,116, 32, 40, 46, 46, 46, 41, 10, 32,108,
+ 111, 99, 97,108, 32,105, 61, 49, 10, 32,119,104,105,108,101,
+ 32,105, 60, 61, 97,114,103, 46,110, 32,100,111, 10, 32, 32,
+ 105,102, 32, 95, 99,111,110,116, 32, 97,110,100, 32,110,111,
+ 116, 32,115,116,114,102,105,110,100, 40, 95, 99,111,110,116,
+ 44, 39, 91, 37, 40, 44, 34, 93, 39, 41, 32, 97,110,100, 10,
+ 32, 32, 32, 32, 32,115,116,114,102,105,110,100, 40, 97,114,
+ 103, 91,105, 93, 44, 34, 94, 91, 37, 97, 95,126, 93, 34, 41,
+ 32,116,104,101,110, 10, 9, 32, 32, 32, 32,119,114,105,116,
+ 101, 40, 39, 32, 39, 41, 10, 32, 32,101,110,100, 10, 32, 32,
+ 119,114,105,116,101, 40, 97,114,103, 91,105, 93, 41, 10, 32,
+ 32,105,102, 32, 97,114,103, 91,105, 93, 32,126, 61, 32, 39,
+ 39, 32,116,104,101,110, 10, 32, 32, 32, 95, 99,111,110,116,
+ 32, 61, 32,115,116,114,115,117, 98, 40, 97,114,103, 91,105,
+ 93, 44, 45, 49, 44, 45, 49, 41, 10, 32, 32,101,110,100, 10,
+ 32, 32,105, 32, 61, 32,105, 43, 49, 10, 32,101,110,100, 10,
+ 32,105,102, 32,115,116,114,102,105,110,100, 40, 97,114,103,
+ 91, 97,114,103, 46,110, 93, 44, 34, 91, 37, 47, 37, 41, 37,
+ 59, 37,123, 37,125, 93, 36, 34, 41, 32,116,104,101,110, 10,
+ 32, 32, 95, 99,111,110,116, 61,110,105,108, 32,119,114,105,
+ 116,101, 40, 39, 92,110, 39, 41, 10, 32,101,110,100, 10,101,
+ 110,100, 10, 10,102,117,110, 99,116,105,111,110, 32,103,101,
+ 116, 95,112,114,111,112,101,114,116,121, 95,109,101,116,104,
+ 111,100,115, 40,112,116,121,112,101, 44, 32,110, 97,109,101,
+ 41, 10, 10, 9,105,102, 32,103,101,116, 95,112,114,111,112,
+ 101,114,116,121, 95,109,101,116,104,111,100,115, 95,104,111,
+ 111,107, 32, 97,110,100, 32,103,101,116, 95,112,114,111,112,
+ 101,114,116,121, 95,109,101,116,104,111,100,115, 95,104,111,
+ 111,107, 40,112,116,121,112,101, 44,110, 97,109,101, 41, 32,
+ 116,104,101,110, 10, 9, 9,114,101,116,117,114,110, 32,103,
+ 101,116, 95,112,114,111,112,101,114,116,121, 95,109,101,116,
+ 104,111,100,115, 95,104,111,111,107, 40,112,116,121,112,101,
+ 44, 32,110, 97,109,101, 41, 10, 9,101,110,100, 10, 10, 9,
+ 105,102, 32,112,116,121,112,101, 32, 61, 61, 32, 34,100,101,
+ 102, 97,117,108,116, 34, 32,116,104,101,110, 32, 45, 45, 32,
+ 103,101,116, 95,110, 97,109,101, 44, 32,115,101,116, 95,110,
+ 97,109,101, 10, 9, 9,114,101,116,117,114,110, 32, 34,103,
+ 101,116, 95, 34, 46, 46,110, 97,109,101, 44, 32, 34,115,101,
+ 116, 95, 34, 46, 46,110, 97,109,101, 10, 9,101,110,100, 10,
+ 10, 9,105,102, 32,112,116,121,112,101, 32, 61, 61, 32, 34,
+ 113,116, 34, 32,116,104,101,110, 32, 45, 45, 32,110, 97,109,
+ 101, 44, 32,115,101,116, 78, 97,109,101, 10, 9, 9,114,101,
+ 116,117,114,110, 32,110, 97,109,101, 44, 32, 34,115,101,116,
+ 34, 46, 46,115,116,114,105,110,103, 46,117,112,112,101,114,
+ 40,115,116,114,105,110,103, 46,115,117, 98, 40,110, 97,109,
+ 101, 44, 32, 49, 44, 32, 49, 41, 41, 46, 46,115,116,114,105,
+ 110,103, 46,115,117, 98, 40,110, 97,109,101, 44, 32, 50, 44,
+ 32, 45, 49, 41, 10, 9,101,110,100, 10, 10, 9,105,102, 32,
+ 112,116,121,112,101, 32, 61, 61, 32, 34,111,118,101,114,108,
+ 111, 97,100, 34, 32,116,104,101,110, 32, 45, 45, 32,110, 97,
+ 109,101, 44, 32,110, 97,109,101, 10, 9, 9,114,101,116,117,
+ 114,110, 32,110, 97,109,101, 44,110, 97,109,101, 10, 9,101,
+ 110,100, 10, 10, 9,114,101,116,117,114,110, 32,110,105,108,
+ 10,101,110,100, 10, 10, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 32,116,104,101, 32,104,111,111,107,115,
+ 10, 10, 45, 45, 32, 99, 97,108,108,101,100, 32,114,105,103,
+ 104,116, 32, 97,102,116,101,114, 32,112,114,111, 99,101,115,
+ 115,105,110,103, 32,116,104,101, 32, 36, 91,105, 99,104,108,
+ 93,102,105,108,101, 32,100,105,114,101, 99,116,105,118,101,
+ 115, 44, 10, 45, 45, 32,114,105,103,104,116, 32, 98,101,102,
+ 111,114,101, 32,112,114,111, 99,101,115,115,105,110,103, 32,
+ 97,110,121,116,104,105,110,103, 32,101,108,115,101, 10, 45,
+ 45, 32,116, 97,107,101,115, 32,116,104,101, 32,112, 97, 99,
+ 107, 97,103,101, 32,111, 98,106,101, 99,116, 32, 97,115, 32,
+ 116,104,101, 32,112, 97,114, 97,109,101,116,101,114, 10,102,
+ 117,110, 99,116,105,111,110, 32,112,114,101,112,114,111, 99,
+ 101,115,115, 95,104,111,111,107, 40,112, 41, 10, 9, 45, 45,
+ 32,112, 46, 99,111,100,101, 32,104, 97,115, 32, 97,108,108,
+ 32,116,104,101, 32,105,110,112,117,116, 32, 99,111,100,101,
+ 32,102,114,111,109, 32,116,104,101, 32,112,107,103, 10,101,
+ 110,100, 10, 10, 10, 45, 45, 32, 99, 97,108,108,101,100, 32,
+ 102,111,114, 32,101,118,101,114,121, 32, 36,105,102,105,108,
+ 101, 32,100,105,114,101, 99,116,105,118,101, 10, 45, 45, 32,
+ 116, 97,107,101,115, 32, 97, 32,116, 97, 98,108,101, 32,119,
+ 105,116,104, 32, 97, 32,115,116,114,105,110,103, 32, 99, 97,
+ 108,108,101,100, 32, 39, 99,111,100,101, 39, 32,105,110,115,
+ 105,100,101, 44, 32,116,104,101, 32,102,105,108,101,110, 97,
+ 109,101, 44, 32, 97,110,100, 32, 97,110,121, 32,101,120,116,
+ 114, 97, 32, 97,114,103,117,109,101,110,116,115, 10, 45, 45,
+ 32,112, 97,115,115,101,100, 32,116,111, 32, 36,105,102,105,
+ 108,101, 46, 32,110,111, 32,114,101,116,117,114,110, 32,118,
+ 97,108,117,101, 10,102,117,110, 99,116,105,111,110, 32,105,
+ 110, 99,108,117,100,101, 95,102,105,108,101, 95,104,111,111,
+ 107, 40,116, 44, 32,102,105,108,101,110, 97,109,101, 44, 32,
+ 46, 46, 46, 41, 10, 10,101,110,100, 10, 10, 45, 45, 32, 99,
+ 97,108,108,101,100, 32, 97,102,116,101,114, 32,112,114,111,
+ 99,101,115,115,105,110,103, 32, 97,110,121,116,104,105,110,
+ 103, 32,116,104, 97,116, 39,115, 32,110,111,116, 32, 99,111,
+ 100,101, 32, 40,108,105,107,101, 32, 39, 36,114,101,110, 97,
+ 109,105,110,103, 39, 44, 32, 99,111,109,109,101,110,116,115,
+ 44, 32,101,116, 99, 41, 10, 45, 45, 32, 97,110,100, 32,114,
+ 105,103,104,116, 32, 98,101,102,111,114,101, 32,112, 97,114,
+ 115,105,110,103, 32,116,104,101, 32, 97, 99,116,117, 97,108,
+ 32, 99,111,100,101, 46, 10, 45, 45, 32,116, 97,107,101,115,
+ 32,116,104,101, 32, 80, 97, 99,107, 97,103,101, 32,111, 98,
+ 106,101, 99,116, 32,119,105,116,104, 32, 97,108,108, 32,116,
+ 104,101, 32, 99,111,100,101, 32,111,110, 32,116,104,101, 32,
+ 39, 99,111,100,101, 39, 32,107,101,121, 46, 32,110,111, 32,
+ 114,101,116,117,114,110, 32,118, 97,108,117,101, 10,102,117,
+ 110, 99,116,105,111,110, 32,112,114,101,112, 97,114,115,101,
+ 95,104,111,111,107, 40,112, 97, 99,107, 97,103,101, 41, 10,
+ 10,101,110,100, 10, 10, 45, 45, 32, 99, 97,108,108,101,100,
+ 32, 98,101,102,111,114,101, 32,115,116, 97,114,116,105,110,
+ 103, 32,111,117,116,112,117,116, 10,102,117,110, 99,116,105,
+ 111,110, 32,112,114,101, 95,111,117,116,112,117,116, 95,104,
+ 111,111,107, 40,112, 97, 99,107, 97,103,101, 41, 10, 10,101,
+ 110,100, 10, 10, 45, 45, 32, 99, 97,108,108,101,100, 32, 97,
+ 102,116,101,114, 32,119,114,105,116,105,110,103, 32, 97,108,
+ 108, 32,116,104,101, 32,111,117,116,112,117,116, 46, 10, 45,
+ 45, 32,116, 97,107,101,115, 32,116,104,101, 32, 80, 97, 99,
+ 107, 97,103,101, 32,111, 98,106,101, 99,116, 10,102,117,110,
+ 99,116,105,111,110, 32,112,111,115,116, 95,111,117,116,112,
+ 117,116, 95,104,111,111,107, 40,112, 97, 99,107, 97,103,101,
+ 41, 10, 10,101,110,100, 10, 10, 10, 45, 45, 32, 99, 97,108,
+ 108,101,100, 32,102,114,111,109, 32, 39,103,101,116, 95,112,
+ 114,111,112,101,114,116,121, 95,109,101,116,104,111,100,115,
+ 39, 32,116,111, 32,103,101,116, 32,116,104,101, 32,109,101,
+ 116,104,111,100,115, 32,116,111, 32,114,101,116,114,105,101,
+ 118,101, 32, 97, 32,112,114,111,112,101,114,116,121, 10, 45,
+ 45, 32, 97, 99, 99,111,114,100,105,110,103, 32,116,111, 32,
+ 105,116,115, 32,116,121,112,101, 10,102,117,110, 99,116,105,
+ 111,110, 32,103,101,116, 95,112,114,111,112,101,114,116,121,
+ 95,109,101,116,104,111,100,115, 95,104,111,111,107, 40,112,
+ 114,111,112,101,114,116,121, 95,116,121,112,101, 44, 32,110,
+ 97,109,101, 41, 10, 10,101,110,100, 10, 10, 45, 45, 32, 99,
+ 97,108,108,101,100, 32,102,114,111,109, 32, 67,108, 97,115,
+ 115, 67,111,110,116, 97,105,110,101,114, 58,100,111,112, 97,
+ 114,115,101, 32,119,105,116,104, 32,116,104,101, 32,115,116,
+ 114,105,110,103, 32, 98,101,105,110,103, 32,112, 97,114,115,
+ 101,100, 10, 45, 45, 32,114,101,116,117,114,110, 32,110,105,
+ 108, 44, 32,111,114, 32, 97, 32,115,117, 98,115,116,114,105,
+ 110,103, 10,102,117,110, 99,116,105,111,110, 32,112, 97,114,
+ 115,101,114, 95,104,111,111,107, 40,115, 41, 10, 10, 9,114,
+ 101,116,117,114,110, 32,110,105,108, 10,101,110,100, 10, 10,
+ 45, 45, 32, 99, 97,108,108,101,100, 32,102,114,111,109, 32,
+ 99,108, 97,115,115, 70,117,110, 99,116,105,111,110, 58,115,
+ 117,112, 99,111,100,101, 44, 32, 98,101,102,111,114,101, 32,
+ 116,104,101, 32, 99, 97,108,108, 32,116,111, 32,116,104,101,
+ 32,102,117,110, 99,116,105,111,110, 32,105,115, 32,111,117,
+ 116,112,117,116, 10,102,117,110, 99,116,105,111,110, 32,112,
+ 114,101, 95, 99, 97,108,108, 95,104,111,111,107, 40,102, 41,
+ 10, 10,101,110,100, 10, 10, 45, 45, 32, 99, 97,108,108,101,
+ 100, 32,102,114,111,109, 32, 99,108, 97,115,115, 70,117,110,
+ 99,116,105,111,110, 58,115,117,112, 99,111,100,101, 44, 32,
+ 97,102,116,101,114, 32,116,104,101, 32, 99, 97,108,108, 32,
+ 116,111, 32,116,104,101, 32,102,117,110, 99,116,105,111,110,
+ 32,105,115, 32,111,117,116,112,117,116, 10,102,117,110, 99,
+ 116,105,111,110, 32,112,111,115,116, 95, 99, 97,108,108, 95,
+ 104,111,111,107, 40,102, 41, 10, 10,101,110,100, 10, 10, 45,
+ 45, 32, 99, 97,108,108,101,100, 32, 98,101,102,111,114,101,
+ 32,116,104,101, 32,114,101,103,105,115,116,101,114, 32, 99,
+ 111,100,101, 32,105,115, 32,111,117,116,112,117,116, 10,102,
+ 117,110, 99,116,105,111,110, 32,112,114,101, 95,114,101,103,
+ 105,115,116,101,114, 95,104,111,111,107, 40,112, 97, 99,107,
+ 97,103,101, 41, 10, 10,101,110,100, 10, 10, 45, 45, 32, 99,
+ 97,108,108,101,100, 32,116,111, 32,111,117,116,112,117,116,
+ 32, 97,110, 32,101,114,114,111,114, 32,109,101,115,115, 97,
+ 103,101, 10,102,117,110, 99,116,105,111,110, 32,111,117,116,
+ 112,117,116, 95,101,114,114,111,114, 95,104,111,111,107, 40,
+ 46, 46, 46, 41, 10, 9,114,101,116,117,114,110, 32,115,116,
+ 114,105,110,103, 46,102,111,114,109, 97,116, 40, 46, 46, 46,
+ 41, 10,101,110,100, 10, 10, 45, 45, 32, 99,117,115,116,111,
+ 109, 32,112,117,115,104,101,114,115, 10, 10, 95,112,117,115,
+ 104, 95,102,117,110, 99,116,105,111,110,115, 32, 61, 32,123,
+ 125, 10, 95,105,115, 95,102,117,110, 99,116,105,111,110,115,
+ 32, 61, 32,123,125, 10, 95,116,111, 95,102,117,110, 99,116,
+ 105,111,110,115, 32, 61, 32,123,125, 10, 10, 95, 98, 97,115,
+ 101, 95,112,117,115,104, 95,102,117,110, 99,116,105,111,110,
+ 115, 32, 61, 32,123,125, 10, 95, 98, 97,115,101, 95,105,115,
+ 95,102,117,110, 99,116,105,111,110,115, 32, 61, 32,123,125,
+ 10, 95, 98, 97,115,101, 95,116,111, 95,102,117,110, 99,116,
+ 105,111,110,115, 32, 61, 32,123,125, 10, 10,108,111, 99, 97,
+ 108, 32,102,117,110, 99,116,105,111,110, 32,115,101, 97,114,
+ 99,104, 95, 98, 97,115,101, 40,116, 44, 32,102,117,110, 99,
+ 115, 41, 10, 10, 9,108,111, 99, 97,108, 32, 99,108, 97,115,
+ 115, 32, 61, 32, 95,103,108,111, 98, 97,108, 95, 99,108, 97,
+ 115,115,101,115, 91,116, 93, 10, 10, 9,119,104,105,108,101,
+ 32, 99,108, 97,115,115, 32,100,111, 10, 9, 9,105,102, 32,
+ 102,117,110, 99,115, 91, 99,108, 97,115,115, 46,116,121,112,
+ 101, 93, 32,116,104,101,110, 10, 9, 9, 9,114,101,116,117,
+ 114,110, 32,102,117,110, 99,115, 91, 99,108, 97,115,115, 46,
+ 116,121,112,101, 93, 10, 9, 9,101,110,100, 10, 9, 9, 99,
+ 108, 97,115,115, 32, 61, 32, 95,103,108,111, 98, 97,108, 95,
+ 99,108, 97,115,115,101,115, 91, 99,108, 97,115,115, 46, 98,
+ 116,121,112,101, 93, 10, 9,101,110,100, 10, 9,114,101,116,
+ 117,114,110, 32,110,105,108, 10,101,110,100, 10, 10,102,117,
+ 110, 99,116,105,111,110, 32,103,101,116, 95,112,117,115,104,
+ 95,102,117,110, 99,116,105,111,110, 40,116, 41, 10, 9,114,
+ 101,116,117,114,110, 32, 95,112,117,115,104, 95,102,117,110,
+ 99,116,105,111,110,115, 91,116, 93, 32,111,114, 32,115,101,
+ 97,114, 99,104, 95, 98, 97,115,101, 40,116, 44, 32, 95, 98,
+ 97,115,101, 95,112,117,115,104, 95,102,117,110, 99,116,105,
+ 111,110,115, 41, 32,111,114, 32, 34,116,111,108,117, 97, 95,
+ 112,117,115,104,117,115,101,114,116,121,112,101, 34, 10,101,
+ 110,100, 10, 10,102,117,110, 99,116,105,111,110, 32,103,101,
+ 116, 95,116,111, 95,102,117,110, 99,116,105,111,110, 40,116,
+ 41, 10, 9,114,101,116,117,114,110, 32, 95,116,111, 95,102,
+ 117,110, 99,116,105,111,110,115, 91,116, 93, 32,111,114, 32,
+ 115,101, 97,114, 99,104, 95, 98, 97,115,101, 40,116, 44, 32,
+ 95, 98, 97,115,101, 95,116,111, 95,102,117,110, 99,116,105,
+ 111,110,115, 41, 32,111,114, 32, 34,116,111,108,117, 97, 95,
+ 116,111,117,115,101,114,116,121,112,101, 34, 10,101,110,100,
+ 10, 10,102,117,110, 99,116,105,111,110, 32,103,101,116, 95,
+ 105,115, 95,102,117,110, 99,116,105,111,110, 40,116, 41, 10,
+ 9,114,101,116,117,114,110, 32, 95,105,115, 95,102,117,110,
+ 99,116,105,111,110,115, 91,116, 93, 32,111,114, 32,115,101,
+ 97,114, 99,104, 95, 98, 97,115,101, 40,116, 44, 32, 95, 98,
+ 97,115,101, 95,105,115, 95,102,117,110, 99,116,105,111,110,
+ 115, 41, 32,111,114, 32, 34,116,111,108,117, 97, 95,105,115,
+ 117,115,101,114,116,121,112,101, 34, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/basic.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32, 97, 98,115,116,114,
+ 97, 99,116, 32,102,101, 97,116,117,114,101, 32, 99,108, 97,
+ 115,115, 10, 45, 45, 32, 87,114,105,116,116,101,110, 32, 98,
+ 121, 32, 87, 97,108,100,101,109, 97,114, 32, 67,101,108,101,
+ 115, 10, 45, 45, 32, 84,101, 67, 71,114, 97,102, 47, 80, 85,
+ 67, 45, 82,105,111, 10, 45, 45, 32, 74,117,108, 32, 49, 57,
+ 57, 56, 10, 45, 45, 32, 36, 73,100, 58, 32, 36, 10, 10, 45,
+ 45, 32, 84,104,105,115, 32, 99,111,100,101, 32,105,115, 32,
+ 102,114,101,101, 32,115,111,102,116,119, 97,114,101, 59, 32,
+ 121,111,117, 32, 99, 97,110, 32,114,101,100,105,115,116,114,
+ 105, 98,117,116,101, 32,105,116, 32, 97,110,100, 47,111,114,
+ 32,109,111,100,105,102,121, 32,105,116, 46, 10, 45, 45, 32,
+ 84,104,101, 32,115,111,102,116,119, 97,114,101, 32,112,114,
+ 111,118,105,100,101,100, 32,104,101,114,101,117,110,100,101,
+ 114, 32,105,115, 32,111,110, 32, 97,110, 32, 34, 97,115, 32,
+ 105,115, 34, 32, 98, 97,115,105,115, 44, 32, 97,110,100, 10,
+ 45, 45, 32,116,104,101, 32, 97,117,116,104,111,114, 32,104,
+ 97,115, 32,110,111, 32,111, 98,108,105,103, 97,116,105,111,
+ 110, 32,116,111, 32,112,114,111,118,105,100,101, 32,109, 97,
+ 105,110,116,101,110, 97,110, 99,101, 44, 32,115,117,112,112,
+ 111,114,116, 44, 32,117,112,100, 97,116,101,115, 44, 10, 45,
+ 45, 32,101,110,104, 97,110, 99,101,109,101,110,116,115, 44,
+ 32,111,114, 32,109,111,100,105,102,105, 99, 97,116,105,111,
+ 110,115, 46, 10, 10, 10, 45, 45, 32, 70,101, 97,116,117,114,
+ 101, 32, 99,108, 97,115,115, 10, 45, 45, 32, 82,101,112,114,
+ 101,115,101,110,116,115, 32,116,104,101, 32, 98, 97,115,101,
+ 32, 99,108, 97,115,115, 32,111,102, 32, 97,108,108, 32,109,
+ 97,112,112,101,100, 32,102,101, 97,116,117,114,101, 46, 10,
+ 99,108, 97,115,115, 70,101, 97,116,117,114,101, 32, 61, 32,
+ 123, 10,125, 10, 99,108, 97,115,115, 70,101, 97,116,117,114,
+ 101, 46, 95, 95,105,110,100,101,120, 32, 61, 32, 99,108, 97,
+ 115,115, 70,101, 97,116,117,114,101, 10, 10, 45, 45, 32,119,
+ 114,105,116,101, 32,115,117,112,112,111,114,116, 32, 99,111,
+ 100,101, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,
+ 115,115, 70,101, 97,116,117,114,101, 58,115,117,112, 99,111,
+ 100,101, 32, 40, 41, 10,101,110,100, 10, 10, 45, 45, 32,111,
+ 117,116,112,117,116, 32,116, 97,103, 10,102,117,110, 99,116,
+ 105,111,110, 32, 99,108, 97,115,115, 70,101, 97,116,117,114,
+ 101, 58,100,101, 99,108,116,121,112,101, 32, 40, 41, 10,101,
+ 110,100, 10, 10, 45, 45, 32,114,101,103,105,115,116,101,114,
+ 32,102,101, 97,116,117,114,101, 10,102,117,110, 99,116,105,
+ 111,110, 32, 99,108, 97,115,115, 70,101, 97,116,117,114,101,
+ 58,114,101,103,105,115,116,101,114, 32, 40,112,114,101, 41,
+ 10,101,110,100, 10, 10, 45, 45, 32,116,114, 97,110,115,108,
+ 97,116,101, 32,118,101,114, 98, 97,116,105,109, 10,102,117,
+ 110, 99,116,105,111,110, 32, 99,108, 97,115,115, 70,101, 97,
+ 116,117,114,101, 58,112,114,101, 97,109, 98,108,101, 32, 40,
+ 41, 10,101,110,100, 10, 10, 45, 45, 32, 99,104,101, 99,107,
+ 32,105,102, 32,105,116, 32,105,115, 32, 97, 32,118, 97,114,
+ 105, 97, 98,108,101, 10,102,117,110, 99,116,105,111,110, 32,
+ 99,108, 97,115,115, 70,101, 97,116,117,114,101, 58,105,115,
+ 118, 97,114,105, 97, 98,108,101, 32, 40, 41, 10, 32,114,101,
+ 116,117,114,110, 32,102, 97,108,115,101, 10,101,110,100, 10,
+ 10, 45, 45, 32, 99,104,101, 99,107, 32,105,102, 32,105,116,
+ 32,114,101,113,117,105,114,101,115, 32, 99,111,108,108,101,
+ 99,116,105,111,110, 10,102,117,110, 99,116,105,111,110, 32,
+ 99,108, 97,115,115, 70,101, 97,116,117,114,101, 58,114,101,
+ 113,117,105,114,101, 99,111,108,108,101, 99,116,105,111,110,
+ 32, 40,116, 41, 10, 32,114,101,116,117,114,110, 32,102, 97,
+ 108,115,101, 10,101,110,100, 10, 10, 45, 45, 32, 98,117,105,
+ 108,100, 32,110, 97,109,101,115, 10,102,117,110, 99,116,105,
+ 111,110, 32, 99,108, 97,115,115, 70,101, 97,116,117,114,101,
+ 58, 98,117,105,108,100,110, 97,109,101,115, 32, 40, 41, 10,
+ 32,105,102, 32,115,101,108,102, 46,110, 97,109,101, 32, 97,
+ 110,100, 32,115,101,108,102, 46,110, 97,109,101,126, 61, 39,
+ 39, 32,116,104,101,110, 10, 32, 32,108,111, 99, 97,108, 32,
+ 110, 32, 61, 32,115,112,108,105,116, 40,115,101,108,102, 46,
+ 110, 97,109,101, 44, 39, 64, 39, 41, 10, 32, 32,115,101,108,
+ 102, 46,110, 97,109,101, 32, 61, 32,110, 91, 49, 93, 10, 32,
+ 32,115,101,108,102, 46,110, 97,109,101, 32, 61, 32,115,116,
+ 114,105,110,103, 46,103,115,117, 98, 40,115,101,108,102, 46,
+ 110, 97,109,101, 44, 32, 34, 58, 37,100, 42, 36, 34, 44, 32,
+ 34, 34, 41, 10, 32, 32,105,102, 32,110,111,116, 32,110, 91,
+ 50, 93, 32,116,104,101,110, 10, 32, 32, 32,110, 91, 50, 93,
+ 32, 61, 32, 97,112,112,108,121,114,101,110, 97,109,105,110,
+ 103, 40,110, 91, 49, 93, 41, 10, 32, 32,101,110,100, 10, 32,
+ 32,115,101,108,102, 46,108,110, 97,109,101, 32, 61, 32,110,
+ 91, 50, 93, 32,111,114, 32,103,115,117, 98, 40,110, 91, 49,
+ 93, 44, 34, 37, 91, 46, 45, 37, 93, 34, 44, 34, 34, 41, 10,
+ 32, 32,115,101,108,102, 46,108,110, 97,109,101, 32, 61, 32,
+ 115,116,114,105,110,103, 46,103,115,117, 98, 40,115,101,108,
+ 102, 46,108,110, 97,109,101, 44, 32, 34, 58, 37,100, 42, 36,
+ 34, 44, 32, 34, 34, 41, 10, 32, 32,115,101,108,102, 46,111,
+ 114,105,103,105,110, 97,108, 95,110, 97,109,101, 32, 61, 32,
+ 115,101,108,102, 46,110, 97,109,101, 10, 32, 32,115,101,108,
+ 102, 46,108,110, 97,109,101, 32, 61, 32, 99,108,101, 97,110,
+ 95,116,101,109,112,108, 97,116,101, 40,115,101,108,102, 46,
+ 108,110, 97,109,101, 41, 10, 32,101,110,100, 10, 32,105,102,
+ 32,110,111,116, 32,115,101,108,102, 46,105,115, 95,112, 97,
+ 114, 97,109,101,116,101,114, 32,116,104,101,110, 10, 9, 32,
+ 115,101,108,102, 46,110, 97,109,101, 32, 61, 32,103,101,116,
+ 111,110,108,121,110, 97,109,101,115,112, 97, 99,101, 40, 41,
+ 32, 46, 46, 32,115,101,108,102, 46,110, 97,109,101, 10, 32,
+ 101,110,100, 10, 10, 32,108,111, 99, 97,108, 32,112, 97,114,
+ 101,110,116, 32, 61, 32, 99,108, 97,115,115, 67,111,110,116,
+ 97,105,110,101,114, 46, 99,117,114,114, 10, 32,105,102, 32,
+ 112, 97,114,101,110,116, 32,116,104,101,110, 10, 32, 9,115,
+ 101,108,102, 46, 97, 99, 99,101,115,115, 32, 61, 32,112, 97,
+ 114,101,110,116, 46, 99,117,114,114, 95,109,101,109, 98,101,
+ 114, 95, 97, 99, 99,101,115,115, 10, 9,115,101,108,102, 46,
+ 103,108,111, 98, 97,108, 95, 97, 99, 99,101,115,115, 32, 61,
+ 32,115,101,108,102, 58, 99,104,101, 99,107, 95,112,117, 98,
+ 108,105, 99, 95, 97, 99, 99,101,115,115, 40, 41, 10, 32,101,
+ 108,115,101, 10, 32,101,110,100, 10,101,110,100, 10, 10,102,
+ 117,110, 99,116,105,111,110, 32, 99,108, 97,115,115, 70,101,
+ 97,116,117,114,101, 58, 99,104,101, 99,107, 95,112,117, 98,
+ 108,105, 99, 95, 97, 99, 99,101,115,115, 40, 41, 10, 10, 9,
+ 105,102, 32,116,121,112,101, 40,115,101,108,102, 46,103,108,
+ 111, 98, 97,108, 95, 97, 99, 99,101,115,115, 41, 32, 61, 61,
+ 32, 34, 98,111,111,108,101, 97,110, 34, 32,116,104,101,110,
+ 10, 9, 9,114,101,116,117,114,110, 32,115,101,108,102, 46,
+ 103,108,111, 98, 97,108, 95, 97, 99, 99,101,115,115, 10, 9,
+ 101,110,100, 10, 10, 9,105,102, 32,115,101,108,102, 46, 97,
+ 99, 99,101,115,115, 32, 97,110,100, 32,115,101,108,102, 46,
+ 97, 99, 99,101,115,115, 32,126, 61, 32, 48, 32,116,104,101,
+ 110, 10, 9, 9,114,101,116,117,114,110, 32,102, 97,108,115,
+ 101, 10, 9,101,110,100, 10, 10, 9,108,111, 99, 97,108, 32,
+ 112, 97,114,101,110,116, 32, 61, 32, 99,108, 97,115,115, 67,
+ 111,110,116, 97,105,110,101,114, 46, 99,117,114,114, 10, 9,
+ 119,104,105,108,101, 32,112, 97,114,101,110,116, 32,100,111,
+ 10, 9, 9,105,102, 32,112, 97,114,101,110,116, 46, 97, 99,
+ 99,101,115,115, 32, 97,110,100, 32,112, 97,114,101,110,116,
+ 46, 97, 99, 99,101,115,115, 32,126, 61, 32, 48, 32,116,104,
+ 101,110, 10, 9, 9, 9,114,101,116,117,114,110, 32,102, 97,
+ 108,115,101, 10, 9, 9,101,110,100, 10, 9, 9,112, 97,114,
+ 101,110,116, 32, 61, 32,112, 97,114,101,110,116, 46,112,114,
+ 111,120, 10, 9,101,110,100, 10, 9,114,101,116,117,114,110,
+ 32,116,114,117,101, 10,101,110,100, 10, 10,102,117,110, 99,
+ 116,105,111,110, 32, 99,108,101, 97,110, 95,116,101,109,112,
+ 108, 97,116,101, 40,116, 41, 10, 10, 9,114,101,116,117,114,
+ 110, 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,116,
+ 44, 32, 34, 91, 60, 62, 58, 44, 32, 37, 42, 93, 34, 44, 32,
+ 34, 95, 34, 41, 10,101,110,100, 10, 10, 45, 45, 32, 99,104,
+ 101, 99,107, 32,105,102, 32,102,101, 97,116,117,114,101, 32,
+ 105,115, 32,105,110,115,105,100,101, 32, 97, 32, 99,111,110,
+ 116, 97,105,110,101,114, 32,100,101,102,105,110,105,116,105,
+ 111,110, 10, 45, 45, 32,105,116, 32,114,101,116,117,114,110,
+ 115, 32,116,104,101, 32, 99,111,110,116, 97,105,110,101,114,
+ 32, 99,108, 97,115,115, 32,110, 97,109,101, 32,111,114, 32,
+ 110,105,108, 46, 10,102,117,110, 99,116,105,111,110, 32, 99,
+ 108, 97,115,115, 70,101, 97,116,117,114,101, 58,105,110, 99,
+ 111,110,116, 97,105,110,101,114, 32, 40,119,104,105, 99,104,
+ 41, 10, 32,105,102, 32,115,101,108,102, 46,112, 97,114,101,
+ 110,116, 32,116,104,101,110, 10, 32, 32,108,111, 99, 97,108,
+ 32,112, 97,114,101,110,116, 32, 61, 32,115,101,108,102, 46,
+ 112, 97,114,101,110,116, 10, 32, 32,119,104,105,108,101, 32,
+ 112, 97,114,101,110,116, 32,100,111, 10, 32, 32, 32,105,102,
+ 32,112, 97,114,101,110,116, 46, 99,108, 97,115,115,116,121,
+ 112,101, 32, 61, 61, 32,119,104,105, 99,104, 32,116,104,101,
+ 110, 10, 32, 32, 32, 32,114,101,116,117,114,110, 32,112, 97,
+ 114,101,110,116, 46,110, 97,109,101, 10, 32, 32, 32,101,110,
+ 100, 10, 32, 32, 32,112, 97,114,101,110,116, 32, 61, 32,112,
+ 97,114,101,110,116, 46,112, 97,114,101,110,116, 10, 32, 32,
+ 101,110,100, 10, 32,101,110,100, 10, 32,114,101,116,117,114,
+ 110, 32,110,105,108, 10,101,110,100, 10, 10,102,117,110, 99,
+ 116,105,111,110, 32, 99,108, 97,115,115, 70,101, 97,116,117,
+ 114,101, 58,105,110, 99,108, 97,115,115, 32, 40, 41, 10, 32,
+ 114,101,116,117,114,110, 32,115,101,108,102, 58,105,110, 99,
+ 111,110,116, 97,105,110,101,114, 40, 39, 99,108, 97,115,115,
+ 39, 41, 10,101,110,100, 10, 10,102,117,110, 99,116,105,111,
+ 110, 32, 99,108, 97,115,115, 70,101, 97,116,117,114,101, 58,
+ 105,110,109,111,100,117,108,101, 32, 40, 41, 10, 32,114,101,
+ 116,117,114,110, 32,115,101,108,102, 58,105,110, 99,111,110,
+ 116, 97,105,110,101,114, 40, 39,109,111,100,117,108,101, 39,
+ 41, 10,101,110,100, 10, 10,102,117,110, 99,116,105,111,110,
+ 32, 99,108, 97,115,115, 70,101, 97,116,117,114,101, 58,105,
+ 110,110, 97,109,101,115,112, 97, 99,101, 32, 40, 41, 10, 32,
+ 114,101,116,117,114,110, 32,115,101,108,102, 58,105,110, 99,
+ 111,110,116, 97,105,110,101,114, 40, 39,110, 97,109,101,115,
+ 112, 97, 99,101, 39, 41, 10,101,110,100, 10, 10, 45, 45, 32,
+ 114,101,116,117,114,110, 32, 67, 32, 98,105,110,100,105,110,
+ 103, 32,102,117,110, 99,116,105,111,110, 32,110, 97,109,101,
+ 32, 98, 97,115,101,100, 32,111,110, 32,110, 97,109,101, 10,
+ 45, 45, 32,116,104,101, 32, 99,108,105,101,110,116, 32,115,
+ 112,101, 99,105,102,105,101,115, 32, 97, 32,112,114,101,102,
+ 105,120, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,
+ 115,115, 70,101, 97,116,117,114,101, 58, 99,102,117,110, 99,
+ 110, 97,109,101, 32, 40,110, 41, 10, 10, 32,105,102, 32,115,
+ 101,108,102, 46,112, 97,114,101,110,116, 32,116,104,101,110,
+ 10, 32, 32,110, 32, 61, 32,115,101,108,102, 46,112, 97,114,
+ 101,110,116, 58, 99,102,117,110, 99,110, 97,109,101, 40,110,
+ 41, 10, 32,101,110,100, 10, 10, 32,108,111, 99, 97,108, 32,
+ 102,110, 97,109,101, 32, 61, 32,115,101,108,102, 46,108,110,
+ 97,109,101, 10, 32,105,102, 32,110,111,116, 32,102,110, 97,
+ 109,101, 32,111,114, 32,102,110, 97,109,101, 32, 61, 61, 32,
+ 39, 39, 32,116,104,101,110, 10, 32, 9,102,110, 97,109,101,
+ 32, 61, 32,115,101,108,102, 46,110, 97,109,101, 10, 32,101,
+ 110,100, 10, 32, 32,110, 32, 61, 32,115,116,114,105,110,103,
+ 46,103,115,117, 98, 40,110, 46, 46, 39, 95, 39, 46, 46, 32,
+ 40,102,110, 97,109,101, 41, 44, 32, 34, 91, 60, 62, 58, 44,
+ 32, 92, 46, 37, 42, 38, 93, 34, 44, 32, 34, 95, 34, 41, 10,
+ 10, 32, 32,114,101,116,117,114,110, 32,110, 10,101,110,100,
+ 32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/feature.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32,118,101,114, 98, 97,
+ 116,105,109, 32, 99,108, 97,115,115, 10, 45, 45, 32, 87,114,
+ 105,116,116,101,110, 32, 98,121, 32, 87, 97,108,100,101,109,
+ 97,114, 32, 67,101,108,101,115, 10, 45, 45, 32, 84,101, 67,
+ 71,114, 97,102, 47, 80, 85, 67, 45, 82,105,111, 10, 45, 45,
+ 32, 74,117,108, 32, 49, 57, 57, 56, 10, 45, 45, 32, 36, 73,
+ 100, 58, 32,118,101,114, 98, 97,116,105,109, 46,108,117, 97,
+ 44,118, 32, 49, 46, 51, 32, 50, 48, 48, 48, 47, 48, 49, 47,
+ 50, 52, 32, 50, 48, 58, 52, 49, 58, 49, 54, 32, 99,101,108,
+ 101,115, 32, 69,120,112, 32, 36, 10, 10, 45, 45, 32, 84,104,
+ 105,115, 32, 99,111,100,101, 32,105,115, 32,102,114,101,101,
+ 32,115,111,102,116,119, 97,114,101, 59, 32,121,111,117, 32,
+ 99, 97,110, 32,114,101,100,105,115,116,114,105, 98,117,116,
+ 101, 32,105,116, 32, 97,110,100, 47,111,114, 32,109,111,100,
+ 105,102,121, 32,105,116, 46, 10, 45, 45, 32, 84,104,101, 32,
+ 115,111,102,116,119, 97,114,101, 32,112,114,111,118,105,100,
+ 101,100, 32,104,101,114,101,117,110,100,101,114, 32,105,115,
+ 32,111,110, 32, 97,110, 32, 34, 97,115, 32,105,115, 34, 32,
+ 98, 97,115,105,115, 44, 32, 97,110,100, 10, 45, 45, 32,116,
+ 104,101, 32, 97,117,116,104,111,114, 32,104, 97,115, 32,110,
+ 111, 32,111, 98,108,105,103, 97,116,105,111,110, 32,116,111,
+ 32,112,114,111,118,105,100,101, 32,109, 97,105,110,116,101,
+ 110, 97,110, 99,101, 44, 32,115,117,112,112,111,114,116, 44,
+ 32,117,112,100, 97,116,101,115, 44, 10, 45, 45, 32,101,110,
+ 104, 97,110, 99,101,109,101,110,116,115, 44, 32,111,114, 32,
+ 109,111,100,105,102,105, 99, 97,116,105,111,110,115, 46, 10,
+ 10, 10, 10, 45, 45, 32, 86,101,114, 98, 97,116,105,109, 32,
+ 99,108, 97,115,115, 10, 45, 45, 32, 82,101,112,114,101,115,
+ 101,110,116,115, 32, 97, 32,108,105,110,101, 32,116,114, 97,
+ 110,115,108, 97,116,101,100, 32,100,105,114,101, 99,116,101,
+ 100, 32,116,111, 32,116,104,101, 32, 98,105,110,100,105,110,
+ 103, 32,102,105,108,101, 46, 10, 45, 45, 32, 84,104,101, 32,
+ 102,111,108,108,111,119,105,110,103, 32,102,105,108,100,115,
+ 32, 97,114,101, 32,115,116,111,114,101,100, 58, 10, 45, 45,
+ 32, 32, 32,108,105,110,101, 32, 61, 32,108,105,110,101, 32,
+ 116,101,120,116, 10, 99,108, 97,115,115, 86,101,114, 98, 97,
+ 116,105,109, 32, 61, 32,123, 10, 32,108,105,110,101, 32, 61,
+ 32, 39, 39, 44, 10, 9, 99,111,110,100, 32, 61, 32,110,105,
+ 108, 44, 32, 32, 32, 32, 45, 45, 32, 99,111,110,100,105,116,
+ 105,111,110, 58, 32,119,104,101,114,101, 32,116,111, 32,103,
+ 101,110,101,114, 97,116,101, 32,116,104,101, 32, 99,111,100,
+ 101, 32, 40,115, 61,115,117,112,111,114,116, 44, 32,114, 61,
+ 114,101,103,105,115,116,101,114, 41, 10,125, 10, 99,108, 97,
+ 115,115, 86,101,114, 98, 97,116,105,109, 46, 95, 95,105,110,
+ 100,101,120, 32, 61, 32, 99,108, 97,115,115, 86,101,114, 98,
+ 97,116,105,109, 10,115,101,116,109,101,116, 97,116, 97, 98,
+ 108,101, 40, 99,108, 97,115,115, 86,101,114, 98, 97,116,105,
+ 109, 44, 99,108, 97,115,115, 70,101, 97,116,117,114,101, 41,
+ 10, 10, 45, 45, 32,112,114,101, 97,109, 98,108,101, 32,118,
+ 101,114, 98, 97,116,105,109, 10,102,117,110, 99,116,105,111,
+ 110, 32, 99,108, 97,115,115, 86,101,114, 98, 97,116,105,109,
+ 58,112,114,101, 97,109, 98,108,101, 32, 40, 41, 10, 32,105,
+ 102, 32,115,101,108,102, 46, 99,111,110,100, 32, 61, 61, 32,
+ 39, 39, 32,116,104,101,110, 10, 32, 32,119,114,105,116,101,
+ 40,115,101,108,102, 46,108,105,110,101, 41, 10, 32,101,110,
+ 100, 10,101,110,100, 10, 10, 45, 45, 32,115,117,112,112,111,
+ 114,116, 32, 99,111,100,101, 10,102,117,110, 99,116,105,111,
+ 110, 32, 99,108, 97,115,115, 86,101,114, 98, 97,116,105,109,
+ 58,115,117,112, 99,111,100,101, 32, 40, 41, 10, 32,105,102,
+ 32,115,116,114,102,105,110,100, 40,115,101,108,102, 46, 99,
+ 111,110,100, 44, 39,115, 39, 41, 32,116,104,101,110, 10, 32,
+ 32,119,114,105,116,101, 40,115,101,108,102, 46,108,105,110,
+ 101, 41, 10, 32, 32,119,114,105,116,101, 40, 39, 92,110, 39,
+ 41, 10, 32,101,110,100, 10,101,110,100, 10, 10, 45, 45, 32,
+ 114,101,103,105,115,116,101,114, 32, 99,111,100,101, 10,102,
+ 117,110, 99,116,105,111,110, 32, 99,108, 97,115,115, 86,101,
+ 114, 98, 97,116,105,109, 58,114,101,103,105,115,116,101,114,
+ 32, 40,112,114,101, 41, 10, 32,105,102, 32,115,116,114,102,
+ 105,110,100, 40,115,101,108,102, 46, 99,111,110,100, 44, 39,
+ 114, 39, 41, 32,116,104,101,110, 10, 32, 32,119,114,105,116,
+ 101, 40,115,101,108,102, 46,108,105,110,101, 41, 10, 32,101,
+ 110,100, 10,101,110,100, 10, 10, 10, 45, 45, 32, 80,114,105,
+ 110,116, 32,109,101,116,104,111,100, 10,102,117,110, 99,116,
+ 105,111,110, 32, 99,108, 97,115,115, 86,101,114, 98, 97,116,
+ 105,109, 58,112,114,105,110,116, 32, 40,105,100,101,110,116,
+ 44, 99,108,111,115,101, 41, 10, 32,112,114,105,110,116, 40,
+ 105,100,101,110,116, 46, 46, 34, 86,101,114, 98, 97,116,105,
+ 109,123, 34, 41, 10, 32,112,114,105,110,116, 40,105,100,101,
+ 110,116, 46, 46, 34, 32,108,105,110,101, 32, 61, 32, 39, 34,
+ 46, 46,115,101,108,102, 46,108,105,110,101, 46, 46, 34, 39,
+ 44, 34, 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,
+ 116, 46, 46, 34,125, 34, 46, 46, 99,108,111,115,101, 41, 10,
+ 101,110,100, 10, 10, 10, 45, 45, 32, 73,110,116,101,114,110,
+ 97,108, 32, 99,111,110,115,116,114,117, 99,116,111,114, 10,
+ 102,117,110, 99,116,105,111,110, 32, 95, 86,101,114, 98, 97,
+ 116,105,109, 32, 40,116, 41, 10, 32,115,101,116,109,101,116,
+ 97,116, 97, 98,108,101, 40,116, 44, 99,108, 97,115,115, 86,
+ 101,114, 98, 97,116,105,109, 41, 10, 32, 97,112,112,101,110,
+ 100, 40,116, 41, 10, 32,114,101,116,117,114,110, 32,116, 10,
+ 101,110,100, 10, 10, 45, 45, 32, 67,111,110,115,116,114,117,
+ 99,116,111,114, 10, 45, 45, 32, 69,120,112,101, 99,116,115,
+ 32, 97, 32,115,116,114,105,110,103, 32,114,101,112,114,101,
+ 115,101,110,116,105,110,103, 32,116,104,101, 32,116,101,120,
+ 116, 32,108,105,110,101, 10,102,117,110, 99,116,105,111,110,
+ 32, 86,101,114, 98, 97,116,105,109, 32, 40,108, 44, 99,111,
+ 110,100, 41, 10, 32,105,102, 32,115,116,114,115,117, 98, 40,
+ 108, 44, 49, 44, 49, 41, 32, 61, 61, 32, 34, 39, 34, 32,116,
+ 104,101,110, 10, 32, 32,108, 32, 61, 32,115,116,114,115,117,
+ 98, 40,108, 44, 50, 41, 10, 32,101,108,115,101,105,102, 32,
+ 115,116,114,115,117, 98, 40,108, 44, 49, 44, 49, 41, 32, 61,
+ 61, 32, 39, 36, 39, 32,116,104,101,110, 10, 32, 32, 99,111,
+ 110,100, 32, 61, 32, 39,115,114, 39, 32, 32, 32, 32, 32, 32,
+ 32, 45, 45, 32,103,101,110,101,114, 97,116,101,115, 32,105,
+ 110, 32, 98,111,116,104, 32,115,117,112,111,114,116, 32, 97,
+ 110,100, 32,114,101,103,105,115,116,101,114, 32,102,114, 97,
+ 103,109,101,110,116,115, 10, 32, 32,108, 32, 61, 32,115,116,
+ 114,115,117, 98, 40,108, 44, 50, 41, 10, 32,101,110,100, 10,
+ 32,114,101,116,117,114,110, 32, 95, 86,101,114, 98, 97,116,
+ 105,109, 32,123, 10, 32, 32,108,105,110,101, 32, 61, 32,108,
+ 44, 10, 32, 32, 99,111,110,100, 32, 61, 32, 99,111,110,100,
+ 32,111,114, 32, 39, 39, 44, 10, 32,125, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/verbatim.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32, 99,111,100,101, 32,
+ 99,108, 97,115,115, 10, 45, 45, 32, 87,114,105,116,116,101,
+ 110, 32, 98,121, 32, 87, 97,108,100,101,109, 97,114, 32, 67,
+ 101,108,101,115, 10, 45, 45, 32, 84,101, 67, 71,114, 97,102,
+ 47, 80, 85, 67, 45, 82,105,111, 10, 45, 45, 32, 74,117,108,
+ 32, 49, 57, 57, 57, 10, 45, 45, 32, 36, 73,100, 58, 32, 36,
+ 10, 10, 45, 45, 32, 84,104,105,115, 32, 99,111,100,101, 32,
+ 105,115, 32,102,114,101,101, 32,115,111,102,116,119, 97,114,
+ 101, 59, 32,121,111,117, 32, 99, 97,110, 32,114,101,100,105,
+ 115,116,114,105, 98,117,116,101, 32,105,116, 32, 97,110,100,
+ 47,111,114, 32,109,111,100,105,102,121, 32,105,116, 46, 10,
+ 45, 45, 32, 84,104,101, 32,115,111,102,116,119, 97,114,101,
+ 32,112,114,111,118,105,100,101,100, 32,104,101,114,101,117,
+ 110,100,101,114, 32,105,115, 32,111,110, 32, 97,110, 32, 34,
+ 97,115, 32,105,115, 34, 32, 98, 97,115,105,115, 44, 32, 97,
+ 110,100, 10, 45, 45, 32,116,104,101, 32, 97,117,116,104,111,
+ 114, 32,104, 97,115, 32,110,111, 32,111, 98,108,105,103, 97,
+ 116,105,111,110, 32,116,111, 32,112,114,111,118,105,100,101,
+ 32,109, 97,105,110,116,101,110, 97,110, 99,101, 44, 32,115,
+ 117,112,112,111,114,116, 44, 32,117,112,100, 97,116,101,115,
+ 44, 10, 45, 45, 32,101,110,104, 97,110, 99,101,109,101,110,
+ 116,115, 44, 32,111,114, 32,109,111,100,105,102,105, 99, 97,
+ 116,105,111,110,115, 46, 10, 10, 45, 45, 32,103,108,111, 98,
+ 97,108, 10, 99,111,100,101, 95,110, 32, 61, 32, 49, 10, 10,
+ 45, 45, 32, 67,111,100,101, 32, 99,108, 97,115,115, 10, 45,
+ 45, 32, 82,101,112,114,101,115,101,110,116,115, 32, 76,117,
+ 97, 32, 99,111,100,101, 32,116,111, 32, 98,101, 32, 99,111,
+ 109,112,105,108,101,100, 32, 97,110,100, 32,105,110, 99,108,
+ 117,100,101,100, 10, 45, 45, 32,105,110, 32,116,104,101, 32,
+ 105,110,105,116,105, 97,108,105,122, 97,116,105,111,110, 32,
+ 102,117,110, 99,116,105,111,110, 46, 10, 45, 45, 32, 84,104,
+ 101, 32,102,111,108,108,111,119,105,110,103, 32,102,105,101,
+ 108,100,115, 32, 97,114,101, 32,115,116,111,114,101,100, 58,
+ 10, 45, 45, 32, 32, 32,116,101,120,116, 32, 61, 32,116,101,
+ 120,116, 32, 99,111,100,101, 10, 99,108, 97,115,115, 67,111,
+ 100,101, 32, 61, 32,123, 10, 32,116,101,120,116, 32, 61, 32,
+ 39, 39, 44, 10,125, 10, 99,108, 97,115,115, 67,111,100,101,
+ 46, 95, 95,105,110,100,101,120, 32, 61, 32, 99,108, 97,115,
+ 115, 67,111,100,101, 10,115,101,116,109,101,116, 97,116, 97,
+ 98,108,101, 40, 99,108, 97,115,115, 67,111,100,101, 44, 99,
+ 108, 97,115,115, 70,101, 97,116,117,114,101, 41, 10, 10, 45,
+ 45, 32,114,101,103,105,115,116,101,114, 32, 99,111,100,101,
+ 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,115,115,
+ 67,111,100,101, 58,114,101,103,105,115,116,101,114, 32, 40,
+ 112,114,101, 41, 10, 32,112,114,101, 32, 61, 32,112,114,101,
+ 32,111,114, 32, 39, 39, 10, 32, 45, 45, 32, 99,108,101, 97,
+ 110, 32, 76,117, 97, 32, 99,111,100,101, 10, 32,108,111, 99,
+ 97,108, 32,115, 32, 61, 32, 99,108,101, 97,110, 40,115,101,
+ 108,102, 46,116,101,120,116, 41, 10, 32,105,102, 32,110,111,
+ 116, 32,115, 32,116,104,101,110, 10, 32, 32, 45, 45,112,114,
+ 105,110,116, 40,115,101,108,102, 46,116,101,120,116, 41, 10,
+ 32, 32,101,114,114,111,114, 40, 34,112, 97,114,115,101,114,
+ 32,101,114,114,111,114, 32,105,110, 32,101,109, 98,101,100,
+ 100,101,100, 32, 99,111,100,101, 34, 41, 10, 32,101,110,100,
+ 10, 10, 32, 45, 45, 32,103,101,116, 32,102,105,114,115,116,
+ 32,108,105,110,101, 10, 32,108,111, 99, 97,108, 32, 95, 44,
+ 32, 95, 44, 32,102,105,114,115,116, 95,108,105,110,101, 61,
+ 115,116,114,105,110,103, 46,102,105,110,100, 40,115,101,108,
+ 102, 46,116,101,120,116, 44, 32, 34, 94, 40, 91, 94, 92,110,
+ 92,114, 93, 42, 41, 34, 41, 10, 32,105,102, 32,115,116,114,
+ 105,110,103, 46,102,105,110,100, 40,102,105,114,115,116, 95,
+ 108,105,110,101, 44, 32, 34, 94, 37,115, 42, 37, 45, 37, 45,
+ 34, 41, 32,116,104,101,110, 10, 9, 32,105,102, 32,115,116,
+ 114,105,110,103, 46,102,105,110,100, 40,102,105,114,115,116,
+ 95,108,105,110,101, 44, 32, 34, 94, 37, 45, 37, 45, 35, 35,
+ 34, 41, 32,116,104,101,110, 10, 9, 9,102,105,114,115,116,
+ 95,108,105,110,101, 32, 61, 32,115,116,114,105,110,103, 46,
+ 103,115,117, 98, 40,102,105,114,115,116, 95,108,105,110,101,
+ 44, 32, 34, 94, 37, 45, 37, 45, 35, 35, 34, 44, 32, 34, 34,
+ 41, 10, 9, 9,105,102, 32,102,108, 97,103,115, 91, 39, 67,
+ 39, 93, 32,116,104,101,110, 10, 9, 9, 9,115, 32, 61, 32,
+ 115,116,114,105,110,103, 46,103,115,117, 98, 40,115, 44, 32,
+ 34, 94, 37, 45, 37, 45, 35, 35, 91, 94, 92,110, 92,114, 93,
+ 42, 92,110, 34, 44, 32, 34, 34, 41, 10, 9, 9,101,110,100,
+ 10, 9, 32,101,110,100, 10, 32,101,108,115,101, 10, 32, 9,
+ 102,105,114,115,116, 95,108,105,110,101, 32, 61, 32, 34, 34,
+ 10, 32,101,110,100, 10, 10, 32, 45, 45, 32,112, 97,100, 32,
+ 116,111, 32, 49, 54, 32, 98,121,116,101,115, 10, 32,108,111,
+ 99, 97,108, 32,110,112, 97,100, 32, 61, 32, 49, 54, 32, 45,
+ 32, 40, 35,115, 32, 37, 32, 49, 54, 41, 10, 32,108,111, 99,
+ 97,108, 32,115,112, 97,100, 32, 61, 32, 34, 34, 10, 32,102,
+ 111,114, 32,105, 61, 49, 44,110,112, 97,100, 32,100,111, 10,
+ 32, 9,115,112, 97,100, 32, 61, 32,115,112, 97,100, 32, 46,
+ 46, 32, 34, 45, 34, 10, 32,101,110,100, 10, 32,115, 32, 61,
+ 32,115, 46, 46,115,112, 97,100, 10, 32, 10, 32, 45, 45, 32,
+ 99,111,110,118,101,114,116, 32,116,111, 32, 67, 10, 32,111,
+ 117,116,112,117,116, 40, 39, 92,110, 39, 46, 46,112,114,101,
+ 46, 46, 39,123, 32, 47, 42, 32, 98,101,103,105,110, 32,101,
+ 109, 98,101,100,100,101,100, 32,108,117, 97, 32, 99,111,100,
+ 101, 32, 42, 47, 92,110, 39, 41, 10, 32,111,117,116,112,117,
+ 116, 40,112,114,101, 46, 46, 39, 32,105,110,116, 32,116,111,
+ 112, 32, 61, 32,108,117, 97, 95,103,101,116,116,111,112, 40,
+ 116,111,108,117, 97, 95, 83, 41, 59, 39, 41, 10, 32,111,117,
+ 116,112,117,116, 40,112,114,101, 46, 46, 39, 32,115,116, 97,
+ 116,105, 99, 32, 99,111,110,115,116, 32,117,110,115,105,103,
+ 110,101,100, 32, 99,104, 97,114, 32, 66, 91, 93, 32, 61, 32,
+ 123, 92,110, 32, 32, 32, 39, 41, 10, 32,108,111, 99, 97,108,
+ 32,116, 61,123,110, 61, 48,125, 10, 10, 32,108,111, 99, 97,
+ 108, 32, 98, 32, 61, 32,103,115,117, 98, 40,115, 44, 39, 40,
+ 46, 41, 39, 44,102,117,110, 99,116,105,111,110, 32, 40, 99,
+ 41, 10, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,108,111, 99,
+ 97,108, 32,101, 32, 61, 32, 39, 39, 10, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32,116, 46,110, 61,116, 46,110, 43, 49, 32,
+ 105,102, 32,116, 46,110, 61, 61, 49, 53, 32,116,104,101,110,
+ 32,116, 46,110, 61, 48, 32,101, 61, 39, 92,110, 39, 46, 46,
+ 112,114,101, 46, 46, 39, 32, 32, 39, 32,101,110,100, 10, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32,114,101,116,117,114,110,
+ 32,102,111,114,109, 97,116, 40, 39, 37, 51,117, 44, 37,115,
+ 39, 44,115,116,114, 98,121,116,101, 40, 99, 41, 44,101, 41,
+ 10, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,101,110,100, 10, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 41,
+ 10, 32,111,117,116,112,117,116, 40, 98, 46, 46,115,116,114,
+ 98,121,116,101, 40, 34, 32, 34, 41, 41, 10, 32,111,117,116,
+ 112,117,116, 40, 39, 92,110, 39, 46, 46,112,114,101, 46, 46,
+ 39, 32,125, 59, 92,110, 39, 41, 10, 32,105,102, 32,102,105,
+ 114,115,116, 95,108,105,110,101, 32, 97,110,100, 32,102,105,
+ 114,115,116, 95,108,105,110,101, 32,126, 61, 32, 34, 34, 32,
+ 116,104,101,110, 10, 32, 9,111,117,116,112,117,116, 40,112,
+ 114,101, 46, 46, 39, 32,116,111,108,117, 97, 95,100,111, 98,
+ 117,102,102,101,114, 40,116,111,108,117, 97, 95, 83, 44, 40,
+ 99,104, 97,114, 42, 41, 66, 44,115,105,122,101,111,102, 40,
+ 66, 41, 44, 34,116,111,108,117, 97, 32,101,109, 98,101,100,
+ 100,101,100, 58, 32, 39, 46, 46,102,105,114,115,116, 95,108,
+ 105,110,101, 46, 46, 39, 34, 41, 59, 39, 41, 10, 32,101,108,
+ 115,101, 10, 32, 9,111,117,116,112,117,116, 40,112,114,101,
+ 46, 46, 39, 32,116,111,108,117, 97, 95,100,111, 98,117,102,
+ 102,101,114, 40,116,111,108,117, 97, 95, 83, 44, 40, 99,104,
+ 97,114, 42, 41, 66, 44,115,105,122,101,111,102, 40, 66, 41,
+ 44, 34,116,111,108,117, 97, 58, 32,101,109, 98,101,100,100,
+ 101,100, 32, 76,117, 97, 32, 99,111,100,101, 32, 39, 46, 46,
+ 99,111,100,101, 95,110, 46, 46, 39, 34, 41, 59, 39, 41, 10,
+ 32,101,110,100, 10, 32,111,117,116,112,117,116, 40,112,114,
+ 101, 46, 46, 39, 32,108,117, 97, 95,115,101,116,116,111,112,
+ 40,116,111,108,117, 97, 95, 83, 44, 32,116,111,112, 41, 59,
+ 39, 41, 10, 32,111,117,116,112,117,116, 40,112,114,101, 46,
+ 46, 39,125, 32, 47, 42, 32,101,110,100, 32,111,102, 32,101,
+ 109, 98,101,100,100,101,100, 32,108,117, 97, 32, 99,111,100,
+ 101, 32, 42, 47, 92,110, 92,110, 39, 41, 10, 32, 99,111,100,
+ 101, 95,110, 32, 61, 32, 99,111,100,101, 95,110, 32, 43, 49,
+ 10,101,110,100, 10, 10, 10, 45, 45, 32, 80,114,105,110,116,
+ 32,109,101,116,104,111,100, 10,102,117,110, 99,116,105,111,
+ 110, 32, 99,108, 97,115,115, 67,111,100,101, 58,112,114,105,
+ 110,116, 32, 40,105,100,101,110,116, 44, 99,108,111,115,101,
+ 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46,
+ 46, 34, 67,111,100,101,123, 34, 41, 10, 32,112,114,105,110,
+ 116, 40,105,100,101,110,116, 46, 46, 34, 32,116,101,120,116,
+ 32, 61, 32, 91, 91, 34, 46, 46,115,101,108,102, 46,116,101,
+ 120,116, 46, 46, 34, 93, 93, 44, 34, 41, 10, 32,112,114,105,
+ 110,116, 40,105,100,101,110,116, 46, 46, 34,125, 34, 46, 46,
+ 99,108,111,115,101, 41, 10,101,110,100, 10, 10, 10, 45, 45,
+ 32, 73,110,116,101,114,110, 97,108, 32, 99,111,110,115,116,
+ 114,117, 99,116,111,114, 10,102,117,110, 99,116,105,111,110,
+ 32, 95, 67,111,100,101, 32, 40,116, 41, 10, 32,115,101,116,
+ 109,101,116, 97,116, 97, 98,108,101, 40,116, 44, 99,108, 97,
+ 115,115, 67,111,100,101, 41, 10, 32, 97,112,112,101,110,100,
+ 40,116, 41, 10, 32,114,101,116,117,114,110, 32,116, 10,101,
+ 110,100, 10, 10, 45, 45, 32, 67,111,110,115,116,114,117, 99,
+ 116,111,114, 10, 45, 45, 32, 69,120,112,101, 99,116,115, 32,
+ 97, 32,115,116,114,105,110,103, 32,114,101,112,114,101,115,
+ 101,110,116,105,110,103, 32,116,104,101, 32, 99,111,100,101,
+ 32,116,101,120,116, 10,102,117,110, 99,116,105,111,110, 32,
+ 67,111,100,101, 32, 40,108, 41, 10, 32,114,101,116,117,114,
+ 110, 32, 95, 67,111,100,101, 32,123, 10, 32, 32,116,101,120,
+ 116, 32, 61, 32,108, 10, 32,125, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/code.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32,116,121,112,101,100,
+ 101,102, 32, 99,108, 97,115,115, 10, 45, 45, 32, 87,114,105,
+ 116,116,101,110, 32, 98,121, 32, 87, 97,108,100,101,109, 97,
+ 114, 32, 67,101,108,101,115, 10, 45, 45, 32, 84,101, 67, 71,
+ 114, 97,102, 47, 80, 85, 67, 45, 82,105,111, 10, 45, 45, 32,
+ 74,117,108, 32, 49, 57, 57, 56, 10, 45, 45, 32, 36, 73,100,
+ 58, 32, 36, 10, 10, 45, 45, 32, 84,104,105,115, 32, 99,111,
+ 100,101, 32,105,115, 32,102,114,101,101, 32,115,111,102,116,
+ 119, 97,114,101, 59, 32,121,111,117, 32, 99, 97,110, 32,114,
+ 101,100,105,115,116,114,105, 98,117,116,101, 32,105,116, 32,
+ 97,110,100, 47,111,114, 32,109,111,100,105,102,121, 32,105,
+ 116, 46, 10, 45, 45, 32, 84,104,101, 32,115,111,102,116,119,
+ 97,114,101, 32,112,114,111,118,105,100,101,100, 32,104,101,
+ 114,101,117,110,100,101,114, 32,105,115, 32,111,110, 32, 97,
+ 110, 32, 34, 97,115, 32,105,115, 34, 32, 98, 97,115,105,115,
+ 44, 32, 97,110,100, 10, 45, 45, 32,116,104,101, 32, 97,117,
+ 116,104,111,114, 32,104, 97,115, 32,110,111, 32,111, 98,108,
+ 105,103, 97,116,105,111,110, 32,116,111, 32,112,114,111,118,
+ 105,100,101, 32,109, 97,105,110,116,101,110, 97,110, 99,101,
+ 44, 32,115,117,112,112,111,114,116, 44, 32,117,112,100, 97,
+ 116,101,115, 44, 10, 45, 45, 32,101,110,104, 97,110, 99,101,
+ 109,101,110,116,115, 44, 32,111,114, 32,109,111,100,105,102,
+ 105, 99, 97,116,105,111,110,115, 46, 10, 10, 10, 10, 45, 45,
+ 32, 84,121,112,101,100,101,102, 32, 99,108, 97,115,115, 10,
+ 45, 45, 32, 82,101,112,114,101,115,101,110,116,115, 32, 97,
+ 32,116,121,112,101, 32,115,121,110,111,110,121,109, 46, 10,
+ 45, 45, 32, 84,104,101, 32, 39,100,101, 32,102, 97, 99,116,
+ 111, 39, 32,116,121,112,101, 32,114,101,112,108, 97, 99,101,
+ 115, 32,116,104,101, 32,116,121,112,101,100,101,102, 32, 98,
+ 101,102,111,114,101, 32,116,104,101, 10, 45, 45, 32,114,101,
+ 109, 97,105,110,105,110,103, 32, 99,111,100,101, 32,105,115,
+ 32,112, 97,114,115,101,100, 46, 10, 45, 45, 32, 84,104,101,
+ 32,102,111,108,108,111,119,105,110,103, 32,102,105,101,108,
+ 100,115, 32, 97,114,101, 32,115,116,111,114,101,100, 58, 10,
+ 45, 45, 32, 32, 32,117,116,121,112,101, 32, 61, 32,116,121,
+ 112,101,100,101,102, 32,110, 97,109,101, 10, 45, 45, 32, 32,
+ 32,116,121,112,101, 32, 61, 32, 39,116,104,101, 32,102, 97,
+ 99,116,111, 39, 32,116,121,112,101, 10, 45, 45, 32, 32, 32,
+ 109,111,100, 32, 61, 32,109,111,100,105,102,105,101,114,115,
+ 32,116,111, 32,116,104,101, 32, 39,100,101, 32,102, 97, 99,
+ 116,111, 39, 32,116,121,112,101, 10, 99,108, 97,115,115, 84,
+ 121,112,101,100,101,102, 32, 61, 32,123, 10, 32,117,116,121,
+ 112,101, 32, 61, 32, 39, 39, 44, 10, 32,109,111,100, 32, 61,
+ 32, 39, 39, 44, 10, 32,116,121,112,101, 32, 61, 32, 39, 39,
+ 10,125, 10, 99,108, 97,115,115, 84,121,112,101,100,101,102,
+ 46, 95, 95,105,110,100,101,120, 32, 61, 32, 99,108, 97,115,
+ 115, 84,121,112,101,100,101,102, 10, 10, 45, 45, 32, 80,114,
+ 105,110,116, 32,109,101,116,104,111,100, 10,102,117,110, 99,
+ 116,105,111,110, 32, 99,108, 97,115,115, 84,121,112,101,100,
+ 101,102, 58,112,114,105,110,116, 32, 40,105,100,101,110,116,
+ 44, 99,108,111,115,101, 41, 10, 32,112,114,105,110,116, 40,
+ 105,100,101,110,116, 46, 46, 34, 84,121,112,101,100,101,102,
+ 123, 34, 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,
+ 116, 46, 46, 34, 32,117,116,121,112,101, 32, 61, 32, 39, 34,
+ 46, 46,115,101,108,102, 46,117,116,121,112,101, 46, 46, 34,
+ 39, 44, 34, 41, 10, 32,112,114,105,110,116, 40,105,100,101,
+ 110,116, 46, 46, 34, 32,109,111,100, 32, 61, 32, 39, 34, 46,
+ 46,115,101,108,102, 46,109,111,100, 46, 46, 34, 39, 44, 34,
+ 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46,
+ 46, 34, 32,116,121,112,101, 32, 61, 32, 39, 34, 46, 46,115,
+ 101,108,102, 46,116,121,112,101, 46, 46, 34, 39, 44, 34, 41,
+ 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46,
+ 34,125, 34, 46, 46, 99,108,111,115,101, 41, 10,101,110,100,
+ 10, 10, 45, 45, 32, 82,101,116,117,114,110, 32,105,116, 39,
+ 115, 32,110,111,116, 32, 97, 32,118, 97,114,105, 97, 98,108,
+ 101, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,115,
+ 115, 84,121,112,101,100,101,102, 58,105,115,118, 97,114,105,
+ 97, 98,108,101, 32, 40, 41, 10, 32,114,101,116,117,114,110,
+ 32,102, 97,108,115,101, 10,101,110,100, 10, 10, 45, 45, 32,
+ 73,110,116,101,114,110, 97,108, 32, 99,111,110,115,116,114,
+ 117, 99,116,111,114, 10,102,117,110, 99,116,105,111,110, 32,
+ 95, 84,121,112,101,100,101,102, 32, 40,116, 41, 10, 32,115,
+ 101,116,109,101,116, 97,116, 97, 98,108,101, 40,116, 44, 99,
+ 108, 97,115,115, 84,121,112,101,100,101,102, 41, 10, 32,116,
+ 46,116,121,112,101, 32, 61, 32,114,101,115,111,108,118,101,
+ 95,116,101,109,112,108, 97,116,101, 95,116,121,112,101,115,
+ 40,116, 46,116,121,112,101, 41, 10, 32, 97,112,112,101,110,
+ 100,116,121,112,101,100,101,102, 40,116, 41, 10, 32,114,101,
+ 116,117,114,110, 32,116, 10,101,110,100, 10, 10, 45, 45, 32,
+ 67,111,110,115,116,114,117, 99,116,111,114, 10, 45, 45, 32,
+ 69,120,112,101, 99,116,115, 32,111,110,101, 32,115,116,114,
+ 105,110,103, 32,114,101,112,114,101,115,101,110,116,105,110,
+ 103, 32,116,104,101, 32,116,121,112,101, 32,100,101,102,105,
+ 110,105,116,105,111,110, 46, 10,102,117,110, 99,116,105,111,
+ 110, 32, 84,121,112,101,100,101,102, 32, 40,115, 41, 10, 32,
+ 105,102, 32,115,116,114,102,105,110,100, 40,115,116,114,105,
+ 110,103, 46,103,115,117, 98, 40,115, 44, 32, 39, 37, 98, 60,
+ 62, 39, 44, 32, 39, 39, 41, 44, 39, 91, 37, 42, 38, 93, 39,
+ 41, 32,116,104,101,110, 10, 32, 32,116,111,108,117, 97, 95,
+ 101,114,114,111,114, 40, 34, 35,105,110,118, 97,108,105,100,
+ 32,116,121,112,101,100,101,102, 58, 32,112,111,105,110,116,
+ 101,114,115, 32, 40, 97,110,100, 32,114,101,102,101,114,101,
+ 110, 99,101,115, 41, 32, 97,114,101, 32,110,111,116, 32,115,
+ 117,112,112,111,114,116,101,100, 34, 41, 10, 32,101,110,100,
+ 10, 32,108,111, 99, 97,108, 32,111, 32, 61, 32,123,109,111,
+ 100, 32, 61, 32, 39, 39,125, 10, 32,105,102, 32,115,116,114,
+ 105,110,103, 46,102,105,110,100, 40,115, 44, 32, 34, 91, 60,
+ 62, 93, 34, 41, 32,116,104,101,110, 10, 32, 9, 95, 44, 95,
+ 44,111, 46,116,121,112,101, 44,111, 46,117,116,121,112,101,
+ 32, 61, 32,115,116,114,105,110,103, 46,102,105,110,100, 40,
+ 115, 44, 32, 34, 94, 37,115, 42, 40, 91, 94, 60, 62, 93, 43,
+ 37, 98, 60, 62, 91, 94, 37,115, 93, 42, 41, 37,115, 43, 40,
+ 46, 45, 41, 36, 34, 41, 10, 32,101,108,115,101, 10, 32, 9,
+ 108,111, 99, 97,108, 32,116, 32, 61, 32,115,112,108,105,116,
+ 40,103,115,117, 98, 40,115, 44, 34, 37,115, 37,115, 42, 34,
+ 44, 34, 32, 34, 41, 44, 34, 32, 34, 41, 10, 32, 9,111, 32,
+ 61, 32,123, 10, 9, 32, 32,117,116,121,112,101, 32, 61, 32,
+ 116, 91,116, 46,110, 93, 44, 10, 9, 32, 32,116,121,112,101,
+ 32, 61, 32,116, 91,116, 46,110, 45, 49, 93, 44, 10, 9, 32,
+ 32,109,111,100, 32, 61, 32, 99,111,110, 99, 97,116, 40,116,
+ 44, 49, 44,116, 46,110, 45, 50, 41, 44, 10, 9, 32,125, 10,
+ 32,101,110,100, 10, 32,114,101,116,117,114,110, 32, 95, 84,
+ 121,112,101,100,101,102, 40,111, 41, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/typedef.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32, 99,111,110,116, 97,
+ 105,110,101,114, 32, 97, 98,115,116,114, 97, 99,116, 32, 99,
+ 108, 97,115,115, 10, 45, 45, 32, 87,114,105,116,116,101,110,
+ 32, 98,121, 32, 87, 97,108,100,101,109, 97,114, 32, 67,101,
+ 108,101,115, 10, 45, 45, 32, 84,101, 67, 71,114, 97,102, 47,
+ 80, 85, 67, 45, 82,105,111, 10, 45, 45, 32, 74,117,108, 32,
+ 49, 57, 57, 56, 10, 45, 45, 32, 36, 73,100, 58, 32, 36, 10,
+ 10, 45, 45, 32, 84,104,105,115, 32, 99,111,100,101, 32,105,
+ 115, 32,102,114,101,101, 32,115,111,102,116,119, 97,114,101,
+ 59, 32,121,111,117, 32, 99, 97,110, 32,114,101,100,105,115,
+ 116,114,105, 98,117,116,101, 32,105,116, 32, 97,110,100, 47,
+ 111,114, 32,109,111,100,105,102,121, 32,105,116, 46, 10, 45,
+ 45, 32, 84,104,101, 32,115,111,102,116,119, 97,114,101, 32,
+ 112,114,111,118,105,100,101,100, 32,104,101,114,101,117,110,
+ 100,101,114, 32,105,115, 32,111,110, 32, 97,110, 32, 34, 97,
+ 115, 32,105,115, 34, 32, 98, 97,115,105,115, 44, 32, 97,110,
+ 100, 10, 45, 45, 32,116,104,101, 32, 97,117,116,104,111,114,
+ 32,104, 97,115, 32,110,111, 32,111, 98,108,105,103, 97,116,
+ 105,111,110, 32,116,111, 32,112,114,111,118,105,100,101, 32,
+ 109, 97,105,110,116,101,110, 97,110, 99,101, 44, 32,115,117,
+ 112,112,111,114,116, 44, 32,117,112,100, 97,116,101,115, 44,
+ 10, 45, 45, 32,101,110,104, 97,110, 99,101,109,101,110,116,
+ 115, 44, 32,111,114, 32,109,111,100,105,102,105, 99, 97,116,
+ 105,111,110,115, 46, 10, 10, 45, 45, 32,116, 97, 98,108,101,
+ 32,116,111, 32,115,116,111,114,101, 32,110, 97,109,101,115,
+ 112, 97, 99,101,100, 32,116,121,112,101,100,101,102,115, 47,
+ 101,110,117,109,115, 32,105,110, 32,103,108,111, 98, 97,108,
+ 32,115, 99,111,112,101, 10,103,108,111, 98, 97,108, 95,116,
+ 121,112,101,100,101,102,115, 32, 61, 32,123,125, 10,103,108,
+ 111, 98, 97,108, 95,101,110,117,109,115, 32, 61, 32,123,125,
+ 10, 10, 45, 45, 32, 67,111,110,116, 97,105,110,101,114, 32,
+ 99,108, 97,115,115, 10, 45, 45, 32, 82,101,112,114,101,115,
+ 101,110,116,115, 32, 97, 32, 99,111,110,116, 97,105,110,101,
+ 114, 32,111,102, 32,102,101, 97,116,117,114,101,115, 32,116,
+ 111, 32, 98,101, 32, 98,111,117,110,100, 10, 45, 45, 32,116,
+ 111, 32,108,117, 97, 46, 10, 99,108, 97,115,115, 67,111,110,
+ 116, 97,105,110,101,114, 32, 61, 10,123, 10, 32, 99,117,114,
+ 114, 32, 61, 32,110,105,108, 44, 10,125, 10, 99,108, 97,115,
+ 115, 67,111,110,116, 97,105,110,101,114, 46, 95, 95,105,110,
+ 100,101,120, 32, 61, 32, 99,108, 97,115,115, 67,111,110,116,
+ 97,105,110,101,114, 10,115,101,116,109,101,116, 97,116, 97,
+ 98,108,101, 40, 99,108, 97,115,115, 67,111,110,116, 97,105,
+ 110,101,114, 44, 99,108, 97,115,115, 70,101, 97,116,117,114,
+ 101, 41, 10, 10, 45, 45, 32,111,117,116,112,117,116, 32,116,
+ 97,103,115, 10,102,117,110, 99,116,105,111,110, 32, 99,108,
+ 97,115,115, 67,111,110,116, 97,105,110,101,114, 58,100,101,
+ 99,108,116,121,112,101, 32, 40, 41, 10, 32,112,117,115,104,
+ 40,115,101,108,102, 41, 10, 32,108,111, 99, 97,108, 32,105,
+ 61, 49, 10, 32,119,104,105,108,101, 32,115,101,108,102, 91,
+ 105, 93, 32,100,111, 10, 32, 32,115,101,108,102, 91,105, 93,
+ 58,100,101, 99,108,116,121,112,101, 40, 41, 10, 32, 32,105,
+ 32, 61, 32,105, 43, 49, 10, 32,101,110,100, 10, 32,112,111,
+ 112, 40, 41, 10,101,110,100, 10, 10, 10, 45, 45, 32,119,114,
+ 105,116,101, 32,115,117,112,112,111,114,116, 32, 99,111,100,
+ 101, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,115,
+ 115, 67,111,110,116, 97,105,110,101,114, 58,115,117,112, 99,
+ 111,100,101, 32, 40, 41, 10, 10, 9,105,102, 32,110,111,116,
+ 32,115,101,108,102, 58, 99,104,101, 99,107, 95,112,117, 98,
+ 108,105, 99, 95, 97, 99, 99,101,115,115, 40, 41, 32,116,104,
+ 101,110, 10, 9, 9,114,101,116,117,114,110, 10, 9,101,110,
+ 100, 10, 10, 32,112,117,115,104, 40,115,101,108,102, 41, 10,
+ 32,108,111, 99, 97,108, 32,105, 61, 49, 10, 32,119,104,105,
+ 108,101, 32,115,101,108,102, 91,105, 93, 32,100,111, 10, 32,
+ 32,105,102, 32,115,101,108,102, 91,105, 93, 58, 99,104,101,
+ 99,107, 95,112,117, 98,108,105, 99, 95, 97, 99, 99,101,115,
+ 115, 40, 41, 32,116,104,101,110, 10, 32, 32, 9,115,101,108,
+ 102, 91,105, 93, 58,115,117,112, 99,111,100,101, 40, 41, 10,
+ 32, 32,101,110,100, 10, 32, 32,105, 32, 61, 32,105, 43, 49,
+ 10, 32,101,110,100, 10, 32,112,111,112, 40, 41, 10,101,110,
+ 100, 10, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,
+ 115,115, 67,111,110,116, 97,105,110,101,114, 58,104, 97,115,
+ 118, 97,114, 32, 40, 41, 10, 32,108,111, 99, 97,108, 32,105,
+ 61, 49, 10, 32,119,104,105,108,101, 32,115,101,108,102, 91,
+ 105, 93, 32,100,111, 10, 32, 32,105,102, 32,115,101,108,102,
+ 91,105, 93, 58,105,115,118, 97,114,105, 97, 98,108,101, 40,
+ 41, 32,116,104,101,110, 10, 9, 9, 32,114,101,116,117,114,
+ 110, 32, 49, 10, 9, 9,101,110,100, 10, 32, 32,105, 32, 61,
+ 32,105, 43, 49, 10, 32,101,110,100, 10, 9,114,101,116,117,
+ 114,110, 32, 48, 10,101,110,100, 10, 10, 45, 45, 32, 73,110,
+ 116,101,114,110, 97,108, 32, 99,111,110,116, 97,105,110,101,
+ 114, 32, 99,111,110,115,116,114,117, 99,116,111,114, 10,102,
+ 117,110, 99,116,105,111,110, 32, 95, 67,111,110,116, 97,105,
+ 110,101,114, 32, 40,115,101,108,102, 41, 10, 32,115,101,116,
+ 109,101,116, 97,116, 97, 98,108,101, 40,115,101,108,102, 44,
+ 99,108, 97,115,115, 67,111,110,116, 97,105,110,101,114, 41,
+ 10, 32,115,101,108,102, 46,110, 32, 61, 32, 48, 10, 32,115,
+ 101,108,102, 46,116,121,112,101,100,101,102,115, 32, 61, 32,
+ 123,116,111,108,117, 97, 95,110, 61, 48,125, 10, 32,115,101,
+ 108,102, 46,117,115,101,114,116,121,112,101,115, 32, 61, 32,
+ 123,125, 10, 32,115,101,108,102, 46,101,110,117,109,115, 32,
+ 61, 32,123,116,111,108,117, 97, 95,110, 61, 48,125, 10, 32,
+ 115,101,108,102, 46,108,110, 97,109,101,115, 32, 61, 32,123,
+ 125, 10, 32,114,101,116,117,114,110, 32,115,101,108,102, 10,
+ 101,110,100, 10, 10, 45, 45, 32,112,117,115,104, 32, 99,111,
+ 110,116, 97,105,110,101,114, 10,102,117,110, 99,116,105,111,
+ 110, 32,112,117,115,104, 32, 40,116, 41, 10, 9,116, 46,112,
+ 114,111,120, 32, 61, 32, 99,108, 97,115,115, 67,111,110,116,
+ 97,105,110,101,114, 46, 99,117,114,114, 10, 32, 99,108, 97,
+ 115,115, 67,111,110,116, 97,105,110,101,114, 46, 99,117,114,
+ 114, 32, 61, 32,116, 10,101,110,100, 10, 10, 45, 45, 32,112,
+ 111,112, 32, 99,111,110,116, 97,105,110,101,114, 10,102,117,
+ 110, 99,116,105,111,110, 32,112,111,112, 32, 40, 41, 10, 45,
+ 45,112,114,105,110,116, 40, 34,110, 97,109,101, 34, 44, 99,
+ 108, 97,115,115, 67,111,110,116, 97,105,110,101,114, 46, 99,
+ 117,114,114, 46,110, 97,109,101, 41, 10, 45, 45,102,111,114,
+ 101, 97, 99,104, 40, 99,108, 97,115,115, 67,111,110,116, 97,
+ 105,110,101,114, 46, 99,117,114,114, 46,117,115,101,114,116,
+ 121,112,101,115, 44,112,114,105,110,116, 41, 10, 45, 45,112,
+ 114,105,110,116, 40, 34, 95, 95, 95, 95, 95, 95, 95, 95, 95,
+ 95, 95, 95, 95, 95, 34, 41, 10, 32, 99,108, 97,115,115, 67,
+ 111,110,116, 97,105,110,101,114, 46, 99,117,114,114, 32, 61,
+ 32, 99,108, 97,115,115, 67,111,110,116, 97,105,110,101,114,
+ 46, 99,117,114,114, 46,112,114,111,120, 10,101,110,100, 10,
+ 10, 45, 45, 32,103,101,116, 32, 99,117,114,114,101,110,116,
+ 32,110, 97,109,101,115,112, 97, 99,101, 10,102,117,110, 99,
+ 116,105,111,110, 32,103,101,116, 99,117,114,114,110, 97,109,
+ 101,115,112, 97, 99,101, 32, 40, 41, 10, 9,114,101,116,117,
+ 114,110, 32,103,101,116,110, 97,109,101,115,112, 97, 99,101,
+ 40, 99,108, 97,115,115, 67,111,110,116, 97,105,110,101,114,
+ 46, 99,117,114,114, 41, 10,101,110,100, 10, 10, 45, 45, 32,
+ 97,112,112,101,110,100, 32,116,111, 32, 99,117,114,114,101,
+ 110,116, 32, 99,111,110,116, 97,105,110,101,114, 10,102,117,
+ 110, 99,116,105,111,110, 32, 97,112,112,101,110,100, 32, 40,
+ 116, 41, 10, 32,114,101,116,117,114,110, 32, 99,108, 97,115,
+ 115, 67,111,110,116, 97,105,110,101,114, 46, 99,117,114,114,
+ 58, 97,112,112,101,110,100, 40,116, 41, 10,101,110,100, 10,
+ 10, 45, 45, 32, 97,112,112,101,110,100, 32,116,121,112,101,
+ 100,101,102, 32,116,111, 32, 99,117,114,114,101,110,116, 32,
+ 99,111,110,116, 97,105,110,101,114, 10,102,117,110, 99,116,
+ 105,111,110, 32, 97,112,112,101,110,100,116,121,112,101,100,
+ 101,102, 32, 40,116, 41, 10, 32,114,101,116,117,114,110, 32,
+ 99,108, 97,115,115, 67,111,110,116, 97,105,110,101,114, 46,
+ 99,117,114,114, 58, 97,112,112,101,110,100,116,121,112,101,
+ 100,101,102, 40,116, 41, 10,101,110,100, 10, 10, 45, 45, 32,
+ 97,112,112,101,110,100, 32,117,115,101,114,116,121,112,101,
+ 32,116,111, 32, 99,117,114,114,101,110,116, 32, 99,111,110,
+ 116, 97,105,110,101,114, 10,102,117,110, 99,116,105,111,110,
+ 32, 97,112,112,101,110,100,117,115,101,114,116,121,112,101,
+ 32, 40,116, 41, 10, 32,114,101,116,117,114,110, 32, 99,108,
+ 97,115,115, 67,111,110,116, 97,105,110,101,114, 46, 99,117,
+ 114,114, 58, 97,112,112,101,110,100,117,115,101,114,116,121,
+ 112,101, 40,116, 41, 10,101,110,100, 10, 10, 45, 45, 32, 97,
+ 112,112,101,110,100, 32,101,110,117,109, 32,116,111, 32, 99,
+ 117,114,114,101,110,116, 32, 99,111,110,116, 97,105,110,101,
+ 114, 10,102,117,110, 99,116,105,111,110, 32, 97,112,112,101,
+ 110,100,101,110,117,109, 32, 40,116, 41, 10, 32,114,101,116,
+ 117,114,110, 32, 99,108, 97,115,115, 67,111,110,116, 97,105,
+ 110,101,114, 46, 99,117,114,114, 58, 97,112,112,101,110,100,
+ 101,110,117,109, 40,116, 41, 10,101,110,100, 10, 10, 45, 45,
+ 32,115,117, 98,115,116,105,116,117,116,101, 32,116,121,112,
+ 101,100,101,102, 10,102,117,110, 99,116,105,111,110, 32, 97,
+ 112,112,108,121,116,121,112,101,100,101,102, 32, 40,109,111,
+ 100, 44,116,121,112,101, 41, 10, 32,114,101,116,117,114,110,
+ 32, 99,108, 97,115,115, 67,111,110,116, 97,105,110,101,114,
+ 46, 99,117,114,114, 58, 97,112,112,108,121,116,121,112,101,
+ 100,101,102, 40,109,111,100, 44,116,121,112,101, 41, 10,101,
+ 110,100, 10, 10, 45, 45, 32, 99,104,101, 99,107, 32,105,102,
+ 32,105,115, 32,116,121,112,101, 10,102,117,110, 99,116,105,
+ 111,110, 32,102,105,110,100,116,121,112,101, 32, 40,116,121,
+ 112,101, 41, 10, 32,108,111, 99, 97,108, 32,116, 32, 61, 32,
+ 99,108, 97,115,115, 67,111,110,116, 97,105,110,101,114, 46,
+ 99,117,114,114, 58,102,105,110,100,116,121,112,101, 40,116,
+ 121,112,101, 41, 10, 9,114,101,116,117,114,110, 32,116, 10,
+ 101,110,100, 10, 10, 45, 45, 32, 99,104,101, 99,107, 32,105,
+ 102, 32,105,115, 32,116,121,112,101,100,101,102, 10,102,117,
+ 110, 99,116,105,111,110, 32,105,115,116,121,112,101,100,101,
+ 102, 32, 40,116,121,112,101, 41, 10, 32,114,101,116,117,114,
+ 110, 32, 99,108, 97,115,115, 67,111,110,116, 97,105,110,101,
+ 114, 46, 99,117,114,114, 58,105,115,116,121,112,101,100,101,
+ 102, 40,116,121,112,101, 41, 10,101,110,100, 10, 10, 45, 45,
+ 32,103,101,116, 32,102,117,108,108,116,121,112,101, 32, 40,
+ 119,105,116,104, 32,110, 97,109,101,115,112, 97, 99,101, 41,
+ 10,102,117,110, 99,116,105,111,110, 32,102,117,108,108,116,
+ 121,112,101, 32, 40,116, 41, 10, 32,108,111, 99, 97,108, 32,
+ 99,117,114,114, 32, 61, 32, 32, 99,108, 97,115,115, 67,111,
+ 110,116, 97,105,110,101,114, 46, 99,117,114,114, 10, 9,119,
+ 104,105,108,101, 32, 99,117,114,114, 32,100,111, 10, 9, 32,
+ 105,102, 32, 99,117,114,114, 32,116,104,101,110, 10, 9, 9,
+ 32,105,102, 32, 99,117,114,114, 46,116,121,112,101,100,101,
+ 102,115, 32, 97,110,100, 32, 99,117,114,114, 46,116,121,112,
+ 101,100,101,102,115, 91,116, 93, 32,116,104,101,110, 10, 9,
+ 9, 32, 32,114,101,116,117,114,110, 32, 99,117,114,114, 46,
+ 116,121,112,101,100,101,102,115, 91,116, 93, 10, 9, 9, 32,
+ 101,108,115,101,105,102, 32, 99,117,114,114, 46,117,115,101,
+ 114,116,121,112,101,115, 32, 97,110,100, 32, 99,117,114,114,
+ 46,117,115,101,114,116,121,112,101,115, 91,116, 93, 32,116,
+ 104,101,110, 10, 9, 9, 32, 32,114,101,116,117,114,110, 32,
+ 99,117,114,114, 46,117,115,101,114,116,121,112,101,115, 91,
+ 116, 93, 10, 9, 9, 9,101,110,100, 10, 9, 9,101,110,100,
+ 10, 9, 32, 99,117,114,114, 32, 61, 32, 99,117,114,114, 46,
+ 112,114,111,120, 10, 9,101,110,100, 10, 9,114,101,116,117,
+ 114,110, 32,116, 10,101,110,100, 10, 10, 45, 45, 32, 99,104,
+ 101, 99,107,115, 32,105,102, 32,105,116, 32,114,101,113,117,
+ 105,114,101,115, 32, 99,111,108,108,101, 99,116,105,111,110,
+ 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,115,115,
+ 67,111,110,116, 97,105,110,101,114, 58,114,101,113,117,105,
+ 114,101, 99,111,108,108,101, 99,116,105,111,110, 32, 40,116,
+ 41, 10, 32,112,117,115,104, 40,115,101,108,102, 41, 10, 32,
+ 108,111, 99, 97,108, 32,105, 61, 49, 10, 9,108,111, 99, 97,
+ 108, 32,114, 32, 61, 32,102, 97,108,115,101, 10, 32,119,104,
+ 105,108,101, 32,115,101,108,102, 91,105, 93, 32,100,111, 10,
+ 32, 32,114, 32, 61, 32,115,101,108,102, 91,105, 93, 58,114,
+ 101,113,117,105,114,101, 99,111,108,108,101, 99,116,105,111,
+ 110, 40,116, 41, 32,111,114, 32,114, 10, 32, 32,105, 32, 61,
+ 32,105, 43, 49, 10, 32,101,110,100, 10, 9,112,111,112, 40,
+ 41, 10, 9,114,101,116,117,114,110, 32,114, 10,101,110,100,
+ 10, 10, 10, 45, 45, 32,103,101,116, 32,110, 97,109,101,115,
+ 97,112, 99,101, 10,102,117,110, 99,116,105,111,110, 32,103,
+ 101,116,110, 97,109,101,115,112, 97, 99,101, 32, 40, 99,117,
+ 114,114, 41, 10, 9,108,111, 99, 97,108, 32,110, 97,109,101,
+ 115,112, 97, 99,101, 32, 61, 32, 39, 39, 10, 9,119,104,105,
+ 108,101, 32, 99,117,114,114, 32,100,111, 10, 9, 32,105,102,
+ 32, 99,117,114,114, 32, 97,110,100, 10, 9, 9, 32, 32, 32,
+ 40, 32, 99,117,114,114, 46, 99,108, 97,115,115,116,121,112,
+ 101, 32, 61, 61, 32, 39, 99,108, 97,115,115, 39, 32,111,114,
+ 32, 99,117,114,114, 46, 99,108, 97,115,115,116,121,112,101,
+ 32, 61, 61, 32, 39,110, 97,109,101,115,112, 97, 99,101, 39,
+ 41, 10, 9, 9,116,104,101,110, 10, 9, 9, 32,110, 97,109,
+ 101,115,112, 97, 99,101, 32, 61, 32, 40, 99,117,114,114, 46,
+ 111,114,105,103,105,110, 97,108, 95,110, 97,109,101, 32,111,
+ 114, 32, 99,117,114,114, 46,110, 97,109,101, 41, 32, 46, 46,
+ 32, 39, 58, 58, 39, 32, 46, 46, 32,110, 97,109,101,115,112,
+ 97, 99,101, 10, 9, 9, 32, 45, 45,110, 97,109,101,115,112,
+ 97, 99,101, 32, 61, 32, 99,117,114,114, 46,110, 97,109,101,
+ 32, 46, 46, 32, 39, 58, 58, 39, 32, 46, 46, 32,110, 97,109,
+ 101,115,112, 97, 99,101, 10, 9, 9,101,110,100, 10, 9, 32,
+ 99,117,114,114, 32, 61, 32, 99,117,114,114, 46,112,114,111,
+ 120, 10, 9,101,110,100, 10, 9,114,101,116,117,114,110, 32,
+ 110, 97,109,101,115,112, 97, 99,101, 10,101,110,100, 10, 10,
+ 45, 45, 32,103,101,116, 32,110, 97,109,101,115,112, 97, 99,
+ 101, 32, 40,111,110,108,121, 32,110, 97,109,101,115,112, 97,
+ 99,101, 41, 10,102,117,110, 99,116,105,111,110, 32,103,101,
+ 116,111,110,108,121,110, 97,109,101,115,112, 97, 99,101, 32,
+ 40, 41, 10, 32,108,111, 99, 97,108, 32, 99,117,114,114, 32,
+ 61, 32, 99,108, 97,115,115, 67,111,110,116, 97,105,110,101,
+ 114, 46, 99,117,114,114, 10, 9,108,111, 99, 97,108, 32,110,
+ 97,109,101,115,112, 97, 99,101, 32, 61, 32, 39, 39, 10, 9,
+ 119,104,105,108,101, 32, 99,117,114,114, 32,100,111, 10, 9,
+ 9,105,102, 32, 99,117,114,114, 46, 99,108, 97,115,115,116,
+ 121,112,101, 32, 61, 61, 32, 39, 99,108, 97,115,115, 39, 32,
+ 116,104,101,110, 10, 9, 9, 32,114,101,116,117,114,110, 32,
+ 110, 97,109,101,115,112, 97, 99,101, 10, 9, 9,101,108,115,
+ 101,105,102, 32, 99,117,114,114, 46, 99,108, 97,115,115,116,
+ 121,112,101, 32, 61, 61, 32, 39,110, 97,109,101,115,112, 97,
+ 99,101, 39, 32,116,104,101,110, 10, 9, 9, 32,110, 97,109,
+ 101,115,112, 97, 99,101, 32, 61, 32, 99,117,114,114, 46,110,
+ 97,109,101, 32, 46, 46, 32, 39, 58, 58, 39, 32, 46, 46, 32,
+ 110, 97,109,101,115,112, 97, 99,101, 10, 9, 9,101,110,100,
+ 10, 9, 32, 99,117,114,114, 32, 61, 32, 99,117,114,114, 46,
+ 112,114,111,120, 10, 9,101,110,100, 10, 9,114,101,116,117,
+ 114,110, 32,110, 97,109,101,115,112, 97, 99,101, 10,101,110,
+ 100, 10, 10, 45, 45, 32, 99,104,101, 99,107, 32,105,102, 32,
+ 105,115, 32,101,110,117,109, 10,102,117,110, 99,116,105,111,
+ 110, 32,105,115,101,110,117,109, 32, 40,116,121,112,101, 41,
+ 10, 32,114,101,116,117,114,110, 32, 99,108, 97,115,115, 67,
+ 111,110,116, 97,105,110,101,114, 46, 99,117,114,114, 58,105,
+ 115,101,110,117,109, 40,116,121,112,101, 41, 10,101,110,100,
+ 10, 10, 45, 45, 32, 97,112,112,101,110,100, 32,102,101, 97,
+ 116,117,114,101, 32,116,111, 32, 99,111,110,116, 97,105,110,
+ 101,114, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,
+ 115,115, 67,111,110,116, 97,105,110,101,114, 58, 97,112,112,
+ 101,110,100, 32, 40,116, 41, 10, 32,115,101,108,102, 46,110,
+ 32, 61, 32,115,101,108,102, 46,110, 32, 43, 32, 49, 10, 32,
+ 115,101,108,102, 91,115,101,108,102, 46,110, 93, 32, 61, 32,
+ 116, 10, 32,116, 46,112, 97,114,101,110,116, 32, 61, 32,115,
+ 101,108,102, 10,101,110,100, 10, 10, 45, 45, 32, 97,112,112,
+ 101,110,100, 32,116,121,112,101,100,101,102, 10,102,117,110,
+ 99,116,105,111,110, 32, 99,108, 97,115,115, 67,111,110,116,
+ 97,105,110,101,114, 58, 97,112,112,101,110,100,116,121,112,
+ 101,100,101,102, 32, 40,116, 41, 10, 32,108,111, 99, 97,108,
+ 32,110, 97,109,101,115,112, 97, 99,101, 32, 61, 32,103,101,
+ 116,110, 97,109,101,115,112, 97, 99,101, 40, 99,108, 97,115,
+ 115, 67,111,110,116, 97,105,110,101,114, 46, 99,117,114,114,
+ 41, 10, 32,115,101,108,102, 46,116,121,112,101,100,101,102,
+ 115, 46,116,111,108,117, 97, 95,110, 32, 61, 32,115,101,108,
+ 102, 46,116,121,112,101,100,101,102,115, 46,116,111,108,117,
+ 97, 95,110, 32, 43, 32, 49, 10, 32,115,101,108,102, 46,116,
+ 121,112,101,100,101,102,115, 91,115,101,108,102, 46,116,121,
+ 112,101,100,101,102,115, 46,116,111,108,117, 97, 95,110, 93,
+ 32, 61, 32,116, 10, 9,115,101,108,102, 46,116,121,112,101,
+ 100,101,102,115, 91,116, 46,117,116,121,112,101, 93, 32, 61,
+ 32,110, 97,109,101,115,112, 97, 99,101, 32, 46, 46, 32,116,
+ 46,117,116,121,112,101, 10, 9,103,108,111, 98, 97,108, 95,
+ 116,121,112,101,100,101,102,115, 91,110, 97,109,101,115,112,
+ 97, 99,101, 46, 46,116, 46,117,116,121,112,101, 93, 32, 61,
+ 32,116, 10, 9,116, 46,102,116,121,112,101, 32, 61, 32,102,
+ 105,110,100,116,121,112,101, 40,116, 46,116,121,112,101, 41,
+ 32,111,114, 32,116, 46,116,121,112,101, 10, 9, 45, 45,112,
+ 114,105,110,116, 40, 34, 97,112,112,101,110,100,105,110,103,
+ 32,116,121,112,101,100,101,102, 32, 34, 46, 46,116, 46,117,
+ 116,121,112,101, 46, 46, 34, 32, 97,115, 32, 34, 46, 46,110,
+ 97,109,101,115,112, 97, 99,101, 46, 46,116, 46,117,116,121,
+ 112,101, 46, 46, 34, 32,119,105,116,104, 32,102,116,121,112,
+ 101, 32, 34, 46, 46,116, 46,102,116,121,112,101, 41, 10, 9,
+ 97,112,112,101,110,100, 95,103,108,111, 98, 97,108, 95,116,
+ 121,112,101, 40,110, 97,109,101,115,112, 97, 99,101, 46, 46,
+ 116, 46,117,116,121,112,101, 41, 10, 9,105,102, 32,116, 46,
+ 102,116,121,112,101, 32, 97,110,100, 32,105,115,101,110,117,
+ 109, 40,116, 46,102,116,121,112,101, 41, 32,116,104,101,110,
+ 10, 10, 9, 9,103,108,111, 98, 97,108, 95,101,110,117,109,
+ 115, 91,110, 97,109,101,115,112, 97, 99,101, 46, 46,116, 46,
+ 117,116,121,112,101, 93, 32, 61, 32,116,114,117,101, 10, 9,
+ 101,110,100, 10,101,110,100, 10, 10, 45, 45, 32, 97,112,112,
+ 101,110,100, 32,117,115,101,114,116,121,112,101, 58, 32,114,
+ 101,116,117,114,110, 32,102,117,108,108, 32,116,121,112,101,
+ 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,115,115,
+ 67,111,110,116, 97,105,110,101,114, 58, 97,112,112,101,110,
+ 100,117,115,101,114,116,121,112,101, 32, 40,116, 41, 10, 9,
+ 108,111, 99, 97,108, 32, 99,111,110,116, 97,105,110,101,114,
+ 10, 9,105,102, 32,116, 32, 61, 61, 32, 40,115,101,108,102,
+ 46,111,114,105,103,105,110, 97,108, 95,110, 97,109,101, 32,
+ 111,114, 32,115,101,108,102, 46,110, 97,109,101, 41, 32,116,
+ 104,101,110, 10, 9, 9, 99,111,110,116, 97,105,110,101,114,
+ 32, 61, 32,115,101,108,102, 46,112,114,111,120, 10, 9,101,
+ 108,115,101, 10, 9, 9, 99,111,110,116, 97,105,110,101,114,
+ 32, 61, 32,115,101,108,102, 10, 9,101,110,100, 10, 9,108,
+ 111, 99, 97,108, 32,102,116, 32, 61, 32,103,101,116,110, 97,
+ 109,101,115,112, 97, 99,101, 40, 99,111,110,116, 97,105,110,
+ 101,114, 41, 32, 46, 46, 32,116, 10, 9, 99,111,110,116, 97,
+ 105,110,101,114, 46,117,115,101,114,116,121,112,101,115, 91,
+ 116, 93, 32, 61, 32,102,116, 10, 9, 95,117,115,101,114,116,
+ 121,112,101, 91,102,116, 93, 32, 61, 32,102,116, 10, 9,114,
+ 101,116,117,114,110, 32,102,116, 10,101,110,100, 10, 10, 45,
+ 45, 32, 97,112,112,101,110,100, 32,101,110,117,109, 10,102,
+ 117,110, 99,116,105,111,110, 32, 99,108, 97,115,115, 67,111,
+ 110,116, 97,105,110,101,114, 58, 97,112,112,101,110,100,101,
+ 110,117,109, 32, 40,116, 41, 10, 32,108,111, 99, 97,108, 32,
+ 110, 97,109,101,115,112, 97, 99,101, 32, 61, 32,103,101,116,
+ 110, 97,109,101,115,112, 97, 99,101, 40, 99,108, 97,115,115,
+ 67,111,110,116, 97,105,110,101,114, 46, 99,117,114,114, 41,
+ 10, 32,115,101,108,102, 46,101,110,117,109,115, 46,116,111,
+ 108,117, 97, 95,110, 32, 61, 32,115,101,108,102, 46,101,110,
+ 117,109,115, 46,116,111,108,117, 97, 95,110, 32, 43, 32, 49,
+ 10, 32,115,101,108,102, 46,101,110,117,109,115, 91,115,101,
+ 108,102, 46,101,110,117,109,115, 46,116,111,108,117, 97, 95,
+ 110, 93, 32, 61, 32,116, 10, 9,103,108,111, 98, 97,108, 95,
+ 101,110,117,109,115, 91,110, 97,109,101,115,112, 97, 99,101,
+ 46, 46,116, 46,110, 97,109,101, 93, 32, 61, 32,116, 10,101,
+ 110,100, 10, 10, 45, 45, 32,100,101,116,101,114,109,105,110,
+ 101, 32,108,117, 97, 32,102,117,110, 99,116,105,111,110, 32,
+ 110, 97,109,101, 32,111,118,101,114,108,111, 97,100, 10,102,
+ 117,110, 99,116,105,111,110, 32, 99,108, 97,115,115, 67,111,
+ 110,116, 97,105,110,101,114, 58,111,118,101,114,108,111, 97,
+ 100, 32, 40,108,110, 97,109,101, 41, 10, 32,105,102, 32,110,
+ 111,116, 32,115,101,108,102, 46,108,110, 97,109,101,115, 91,
+ 108,110, 97,109,101, 93, 32,116,104,101,110, 10, 32, 32,115,
+ 101,108,102, 46,108,110, 97,109,101,115, 91,108,110, 97,109,
+ 101, 93, 32, 61, 32, 48, 10, 32,101,108,115,101, 10, 32, 32,
+ 115,101,108,102, 46,108,110, 97,109,101,115, 91,108,110, 97,
+ 109,101, 93, 32, 61, 32,115,101,108,102, 46,108,110, 97,109,
+ 101,115, 91,108,110, 97,109,101, 93, 32, 43, 32, 49, 10, 32,
+ 101,110,100, 10, 32,114,101,116,117,114,110, 32,102,111,114,
+ 109, 97,116, 40, 34, 37, 48, 50,100, 34, 44,115,101,108,102,
+ 46,108,110, 97,109,101,115, 91,108,110, 97,109,101, 93, 41,
+ 10,101,110,100, 10, 10, 45, 45, 32, 97,112,112,108,105,101,
+ 115, 32,116,121,112,101,100,101,102, 58, 32,114,101,116,117,
+ 114,110,115, 32,116,104,101, 32, 39,116,104,101, 32,102, 97,
+ 99,116,111, 39, 32,109,111,100,105,102,105,101,114, 32, 97,
+ 110,100, 32,116,121,112,101, 10,102,117,110, 99,116,105,111,
+ 110, 32, 99,108, 97,115,115, 67,111,110,116, 97,105,110,101,
+ 114, 58, 97,112,112,108,121,116,121,112,101,100,101,102, 32,
+ 40,109,111,100, 44,116,121,112,101, 41, 10, 9,105,102, 32,
+ 103,108,111, 98, 97,108, 95,116,121,112,101,100,101,102,115,
+ 91,116,121,112,101, 93, 32,116,104,101,110, 10, 9, 9, 45,
+ 45,112,114,105,110,116, 40, 34,102,111,117,110,100, 32,116,
+ 121,112,101,100,101,102, 32, 34, 46, 46,103,108,111, 98, 97,
+ 108, 95,116,121,112,101,100,101,102,115, 91,116,121,112,101,
+ 93, 46,116,121,112,101, 41, 10, 9, 9,108,111, 99, 97,108,
+ 32,109,111,100, 49, 44, 32,116,121,112,101, 49, 32, 61, 32,
+ 103,108,111, 98, 97,108, 95,116,121,112,101,100,101,102,115,
+ 91,116,121,112,101, 93, 46,109,111,100, 44, 32,103,108,111,
+ 98, 97,108, 95,116,121,112,101,100,101,102,115, 91,116,121,
+ 112,101, 93, 46,102,116,121,112,101, 10, 9, 9,108,111, 99,
+ 97,108, 32,109,111,100, 50, 44, 32,116,121,112,101, 50, 32,
+ 61, 32, 97,112,112,108,121,116,121,112,101,100,101,102, 40,
+ 109,111,100, 46, 46, 34, 32, 34, 46, 46,109,111,100, 49, 44,
+ 32,116,121,112,101, 49, 41, 10, 9, 9, 45, 45,114,101,116,
+ 117,114,110, 32,109,111,100, 50, 32, 46, 46, 32, 39, 32, 39,
+ 32, 46, 46, 32,109,111,100, 49, 44, 32,116,121,112,101, 50,
+ 10, 9, 9,114,101,116,117,114,110, 32,109,111,100, 50, 44,
+ 32,116,121,112,101, 50, 10, 9,101,110,100, 10, 9,100,111,
+ 32,114,101,116,117,114,110, 32,109,111,100, 44,116,121,112,
+ 101, 32,101,110,100, 10,101,110,100, 10, 10, 45, 45, 32, 99,
+ 104,101, 99,107, 32,105,102, 32,105,116, 32,105,115, 32, 97,
+ 32,116,121,112,101,100,101,102, 10,102,117,110, 99,116,105,
+ 111,110, 32, 99,108, 97,115,115, 67,111,110,116, 97,105,110,
+ 101,114, 58,105,115,116,121,112,101,100,101,102, 32, 40,116,
+ 121,112,101, 41, 10, 32,108,111, 99, 97,108, 32,101,110,118,
+ 32, 61, 32,115,101,108,102, 10, 32,119,104,105,108,101, 32,
+ 101,110,118, 32,100,111, 10, 32, 32,105,102, 32,101,110,118,
+ 46,116,121,112,101,100,101,102,115, 32,116,104,101,110, 10,
+ 32, 32, 32,108,111, 99, 97,108, 32,105, 61, 49, 10, 32, 32,
+ 32,119,104,105,108,101, 32,101,110,118, 46,116,121,112,101,
+ 100,101,102,115, 91,105, 93, 32,100,111, 10, 32, 32, 32, 32,
+ 105,102, 32,101,110,118, 46,116,121,112,101,100,101,102,115,
+ 91,105, 93, 46,117,116,121,112,101, 32, 61, 61, 32,116,121,
+ 112,101, 32,116,104,101,110, 10, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32,114,101,116,117,114,110, 32,116,121,112,101, 10, 32,
+ 32, 32, 32, 32, 32, 32, 32,101,110,100, 10, 32, 32, 32, 32,
+ 32, 32, 32, 32,105, 32, 61, 32,105, 43, 49, 10, 32, 32, 32,
+ 101,110,100, 10, 32, 32,101,110,100, 10, 32, 32,101,110,118,
+ 32, 61, 32,101,110,118, 46,112, 97,114,101,110,116, 10, 32,
+ 101,110,100, 10, 32,114,101,116,117,114,110, 32,110,105,108,
+ 10,101,110,100, 10, 10,102,117,110, 99,116,105,111,110, 32,
+ 102,105,110,100, 95,101,110,117,109, 95,118, 97,114, 40,118,
+ 97,114, 41, 10, 10, 9,105,102, 32,116,111,110,117,109, 98,
+ 101,114, 40,118, 97,114, 41, 32,116,104,101,110, 32,114,101,
+ 116,117,114,110, 32,118, 97,114, 32,101,110,100, 10, 10, 9,
+ 108,111, 99, 97,108, 32, 99, 32, 61, 32, 99,108, 97,115,115,
+ 67,111,110,116, 97,105,110,101,114, 46, 99,117,114,114, 10,
+ 9,119,104,105,108,101, 32, 99, 32,100,111, 10, 9, 9,108,
+ 111, 99, 97,108, 32,110,115, 32, 61, 32,103,101,116,110, 97,
+ 109,101,115,112, 97, 99,101, 40, 99, 41, 10, 9, 9,102,111,
+ 114, 32,107, 44,118, 32,105,110, 32,112, 97,105,114,115, 40,
+ 95,103,108,111, 98, 97,108, 95,101,110,117,109,115, 41, 32,
+ 100,111, 10, 9, 9, 9,105,102, 32,109, 97,116, 99,104, 95,
+ 116,121,112,101, 40,118, 97,114, 44, 32,118, 44, 32,110,115,
+ 41, 32,116,104,101,110, 10, 9, 9, 9, 9,114,101,116,117,
+ 114,110, 32,118, 10, 9, 9, 9,101,110,100, 10, 9, 9,101,
+ 110,100, 10, 9, 9,105,102, 32, 99, 46, 98, 97,115,101, 32,
+ 97,110,100, 32, 99, 46, 98, 97,115,101, 32,126, 61, 32, 39,
+ 39, 32,116,104,101,110, 10, 9, 9, 9, 99, 32, 61, 32, 95,
+ 103,108,111, 98, 97,108, 95, 99,108, 97,115,115,101,115, 91,
+ 99, 58,102,105,110,100,116,121,112,101, 40, 99, 46, 98, 97,
+ 115,101, 41, 93, 10, 9, 9,101,108,115,101, 10, 9, 9, 9,
+ 99, 32, 61, 32,110,105,108, 10, 9, 9,101,110,100, 10, 9,
+ 101,110,100, 10, 10, 9,114,101,116,117,114,110, 32,118, 97,
+ 114, 10,101,110,100, 10, 10, 45, 45, 32, 99,104,101, 99,107,
+ 32,105,102, 32,105,115, 32, 97, 32,114,101,103,105,115,116,
+ 101,114,101,100, 32,116,121,112,101, 58, 32,114,101,116,117,
+ 114,110, 32,102,117,108,108, 32,116,121,112,101, 32,111,114,
+ 32,110,105,108, 10,102,117,110, 99,116,105,111,110, 32, 99,
+ 108, 97,115,115, 67,111,110,116, 97,105,110,101,114, 58,102,
+ 105,110,100,116,121,112,101, 32, 40,116, 41, 10, 10, 9,116,
+ 32, 61, 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,
+ 116, 44, 32, 34, 61, 46, 42, 34, 44, 32, 34, 34, 41, 10, 9,
+ 105,102, 32, 95, 98, 97,115,105, 99, 91,116, 93, 32,116,104,
+ 101,110, 10, 9, 32,114,101,116,117,114,110, 32,116, 10, 9,
+ 101,110,100, 10, 10, 9,108,111, 99, 97,108, 32, 95, 44, 95,
+ 44,101,109, 32, 61, 32,115,116,114,105,110,103, 46,102,105,
+ 110,100, 40,116, 44, 32, 34, 40, 91, 38, 37, 42, 93, 41, 37,
+ 115, 42, 36, 34, 41, 10, 9,116, 32, 61, 32,115,116,114,105,
+ 110,103, 46,103,115,117, 98, 40,116, 44, 32, 34, 37,115, 42,
+ 40, 91, 38, 37, 42, 93, 41, 37,115, 42, 36, 34, 44, 32, 34,
+ 34, 41, 10, 9,112, 32, 61, 32,115,101,108,102, 10, 9,119,
+ 104,105,108,101, 32,112, 32, 97,110,100, 32,116,121,112,101,
+ 40,112, 41, 61, 61, 39,116, 97, 98,108,101, 39, 32,100,111,
+ 10, 9, 9,108,111, 99, 97,108, 32,115,116, 32, 61, 32,103,
+ 101,116,110, 97,109,101,115,112, 97, 99,101, 40,112, 41, 10,
+ 10, 9, 9,102,111,114, 32,105, 61, 95,103,108,111, 98, 97,
+ 108, 95,116,121,112,101,115, 46,110, 44, 49, 44, 45, 49, 32,
+ 100,111, 32, 45, 45, 32,105,110, 32,114,101,118,101,114,115,
+ 101, 32,111,114,100,101,114, 10, 10, 9, 9, 9,105,102, 32,
+ 109, 97,116, 99,104, 95,116,121,112,101, 40,116, 44, 32, 95,
+ 103,108,111, 98, 97,108, 95,116,121,112,101,115, 91,105, 93,
+ 44, 32,115,116, 41, 32,116,104,101,110, 10, 9, 9, 9, 9,
+ 114,101,116,117,114,110, 32, 95,103,108,111, 98, 97,108, 95,
+ 116,121,112,101,115, 91,105, 93, 46, 46, 40,101,109, 32,111,
+ 114, 32, 34, 34, 41, 10, 9, 9, 9,101,110,100, 10, 9, 9,
+ 101,110,100, 10, 9, 9,105,102, 32,112, 46, 98, 97,115,101,
+ 32, 97,110,100, 32,112, 46, 98, 97,115,101, 32,126, 61, 32,
+ 39, 39, 32, 97,110,100, 32,112, 46, 98, 97,115,101, 32,126,
+ 61, 32,116, 32,116,104,101,110, 10, 9, 9, 9, 45, 45,112,
+ 114,105,110,116, 40, 34,116,121,112,101, 32,105,115, 32, 34,
+ 46, 46,116, 46, 46, 34, 44, 32,112, 32,105,115, 32, 34, 46,
+ 46,112, 46, 98, 97,115,101, 46, 46, 34, 32,115,101,108,102,
+ 46,116,121,112,101, 32,105,115, 32, 34, 46, 46,115,101,108,
+ 102, 46,116,121,112,101, 46, 46, 34, 32,115,101,108,102, 46,
+ 110, 97,109,101, 32,105,115, 32, 34, 46, 46,115,101,108,102,
+ 46,110, 97,109,101, 41, 10, 9, 9, 9,112, 32, 61, 32, 95,
+ 103,108,111, 98, 97,108, 95, 99,108, 97,115,115,101,115, 91,
+ 112, 58,102,105,110,100,116,121,112,101, 40,112, 46, 98, 97,
+ 115,101, 41, 93, 10, 9, 9,101,108,115,101, 10, 9, 9, 9,
+ 112, 32, 61, 32,110,105,108, 10, 9, 9,101,110,100, 10, 9,
+ 101,110,100, 10, 10, 9,114,101,116,117,114,110, 32,110,105,
+ 108, 10,101,110,100, 10, 10,102,117,110, 99,116,105,111,110,
+ 32, 97,112,112,101,110,100, 95,103,108,111, 98, 97,108, 95,
+ 116,121,112,101, 40,116, 44, 32, 99,108, 97,115,115, 41, 10,
+ 9, 95,103,108,111, 98, 97,108, 95,116,121,112,101,115, 46,
+ 110, 32, 61, 32, 95,103,108,111, 98, 97,108, 95,116,121,112,
+ 101,115, 46,110, 32, 43, 49, 10, 9, 95,103,108,111, 98, 97,
+ 108, 95,116,121,112,101,115, 91, 95,103,108,111, 98, 97,108,
+ 95,116,121,112,101,115, 46,110, 93, 32, 61, 32,116, 10, 9,
+ 95,103,108,111, 98, 97,108, 95,116,121,112,101,115, 95,104,
+ 97,115,104, 91,116, 93, 32, 61, 32, 49, 10, 9,105,102, 32,
+ 99,108, 97,115,115, 32,116,104,101,110, 32, 97,112,112,101,
+ 110,100, 95, 99,108, 97,115,115, 95,116,121,112,101, 40,116,
+ 44, 32, 99,108, 97,115,115, 41, 32,101,110,100, 10,101,110,
+ 100, 10, 10,102,117,110, 99,116,105,111,110, 32, 97,112,112,
+ 101,110,100, 95, 99,108, 97,115,115, 95,116,121,112,101, 40,
+ 116, 44, 99,108, 97,115,115, 41, 10, 9,105,102, 32, 95,103,
+ 108,111, 98, 97,108, 95, 99,108, 97,115,115,101,115, 91,116,
+ 93, 32,116,104,101,110, 10, 9, 9, 99,108, 97,115,115, 46,
+ 102,108, 97,103,115, 32, 61, 32, 95,103,108,111, 98, 97,108,
+ 95, 99,108, 97,115,115,101,115, 91,116, 93, 46,102,108, 97,
+ 103,115, 10, 9, 9, 99,108, 97,115,115, 46,108,110, 97,109,
+ 101,115, 32, 61, 32, 95,103,108,111, 98, 97,108, 95, 99,108,
+ 97,115,115,101,115, 91,116, 93, 46,108,110, 97,109,101,115,
+ 10, 9, 9,105,102, 32, 95,103,108,111, 98, 97,108, 95, 99,
+ 108, 97,115,115,101,115, 91,116, 93, 46, 98, 97,115,101, 32,
+ 97,110,100, 32, 40, 95,103,108,111, 98, 97,108, 95, 99,108,
+ 97,115,115,101,115, 91,116, 93, 46, 98, 97,115,101, 32,126,
+ 61, 32, 39, 39, 41, 32,116,104,101,110, 10, 9, 9, 9, 99,
+ 108, 97,115,115, 46, 98, 97,115,101, 32, 61, 32, 95,103,108,
+ 111, 98, 97,108, 95, 99,108, 97,115,115,101,115, 91,116, 93,
+ 46, 98, 97,115,101, 32,111,114, 32, 99,108, 97,115,115, 46,
+ 98, 97,115,101, 10, 9, 9,101,110,100, 10, 9,101,110,100,
+ 10, 9, 95,103,108,111, 98, 97,108, 95, 99,108, 97,115,115,
+ 101,115, 91,116, 93, 32, 61, 32, 99,108, 97,115,115, 10, 9,
+ 99,108, 97,115,115, 46,102,108, 97,103,115, 32, 61, 32, 99,
+ 108, 97,115,115, 46,102,108, 97,103,115, 32,111,114, 32,123,
+ 125, 10,101,110,100, 10, 10,102,117,110, 99,116,105,111,110,
+ 32,109, 97,116, 99,104, 95,116,121,112,101, 40, 99,104,105,
+ 108,100,116,121,112,101, 44, 32,114,101,103,116,121,112,101,
+ 44, 32,115,116, 41, 10, 45, 45,112,114,105,110,116, 40, 34,
+ 102,105,110,100,116,121,112,101, 32, 34, 46, 46, 99,104,105,
+ 108,100,116,121,112,101, 46, 46, 34, 44, 32, 34, 46, 46,114,
+ 101,103,116,121,112,101, 46, 46, 34, 44, 32, 34, 46, 46,115,
+ 116, 41, 10, 9,108,111, 99, 97,108, 32, 98, 44,101, 32, 61,
+ 32,115,116,114,105,110,103, 46,102,105,110,100, 40,114,101,
+ 103,116,121,112,101, 44, 32, 99,104,105,108,100,116,121,112,
+ 101, 44, 32, 45,115,116,114,105,110,103, 46,108,101,110, 40,
+ 99,104,105,108,100,116,121,112,101, 41, 44, 32,116,114,117,
+ 101, 41, 10, 9,105,102, 32, 98, 32,116,104,101,110, 10, 10,
+ 9, 9,105,102, 32,101, 32, 61, 61, 32,115,116,114,105,110,
+ 103, 46,108,101,110, 40,114,101,103,116,121,112,101, 41, 32,
+ 97,110,100, 10, 9, 9, 9, 9, 40, 98, 32, 61, 61, 32, 49,
+ 32,111,114, 32, 40,115,116,114,105,110,103, 46,115,117, 98,
+ 40,114,101,103,116,121,112,101, 44, 32, 98, 45, 49, 44, 32,
+ 98, 45, 49, 41, 32, 61, 61, 32, 39, 58, 39, 32, 97,110,100,
+ 10, 9, 9, 9, 9,115,116,114,105,110,103, 46,115,117, 98,
+ 40,114,101,103,116,121,112,101, 44, 32, 49, 44, 32, 98, 45,
+ 49, 41, 32, 61, 61, 32,115,116,114,105,110,103, 46,115,117,
+ 98, 40,115,116, 44, 32, 49, 44, 32, 98, 45, 49, 41, 41, 41,
+ 32,116,104,101,110, 10, 9, 9, 9,114,101,116,117,114,110,
+ 32,116,114,117,101, 10, 9, 9,101,110,100, 10, 9,101,110,
+ 100, 10, 10, 9,114,101,116,117,114,110, 32,102, 97,108,115,
+ 101, 10,101,110,100, 10, 10,102,117,110, 99,116,105,111,110,
+ 32,102,105,110,100,116,121,112,101, 95,111,110, 95, 99,104,
+ 105,108,100,115, 40,115,101,108,102, 44, 32,116, 41, 10, 10,
+ 9,108,111, 99, 97,108, 32,116, 99,104,105,108,100, 10, 9,
+ 105,102, 32,115,101,108,102, 46, 99,108, 97,115,115,116,121,
+ 112,101, 32, 61, 61, 32, 39, 99,108, 97,115,115, 39, 32,111,
+ 114, 32,115,101,108,102, 46, 99,108, 97,115,115,116,121,112,
+ 101, 32, 61, 61, 32, 39,110, 97,109,101,115,112, 97, 99,101,
+ 39, 32,116,104,101,110, 10, 9, 9,102,111,114, 32,107, 44,
+ 118, 32,105,110, 32,105,112, 97,105,114,115, 40,115,101,108,
+ 102, 41, 32,100,111, 10, 9, 9, 9,105,102, 32,118, 46, 99,
+ 108, 97,115,115,116,121,112,101, 32, 61, 61, 32, 39, 99,108,
+ 97,115,115, 39, 32,111,114, 32,118, 46, 99,108, 97,115,115,
+ 116,121,112,101, 32, 61, 61, 32, 39,110, 97,109,101,115,112,
+ 97, 99,101, 39, 32,116,104,101,110, 10, 9, 9, 9, 9,105,
+ 102, 32,118, 46,116,121,112,101,100,101,102,115, 32, 97,110,
+ 100, 32,118, 46,116,121,112,101,100,101,102,115, 91,116, 93,
+ 32,116,104,101,110, 10, 9, 9, 9, 9, 32,114,101,116,117,
+ 114,110, 32,118, 46,116,121,112,101,100,101,102,115, 91,116,
+ 93, 10, 9, 9, 9, 9,101,108,115,101,105,102, 32,118, 46,
+ 117,115,101,114,116,121,112,101,115, 32, 97,110,100, 32,118,
+ 46,117,115,101,114,116,121,112,101,115, 91,116, 93, 32,116,
+ 104,101,110, 10, 9, 9, 9, 9, 32,114,101,116,117,114,110,
+ 32,118, 46,117,115,101,114,116,121,112,101,115, 91,116, 93,
+ 10, 9, 9, 9, 9,101,110,100, 10, 9, 9, 9, 9,116, 99,
+ 104,105,108,100, 32, 61, 32,102,105,110,100,116,121,112,101,
+ 95,111,110, 95, 99,104,105,108,100,115, 40,118, 44, 32,116,
+ 41, 10, 9, 9, 9, 9,105,102, 32,116, 99,104,105,108,100,
+ 32,116,104,101,110, 32,114,101,116,117,114,110, 32,116, 99,
+ 104,105,108,100, 32,101,110,100, 10, 9, 9, 9,101,110,100,
+ 10, 9, 9,101,110,100, 10, 9,101,110,100, 10, 9,114,101,
+ 116,117,114,110, 32,110,105,108, 10, 10,101,110,100, 10, 10,
+ 102,117,110, 99,116,105,111,110, 32, 99,108, 97,115,115, 67,
+ 111,110,116, 97,105,110,101,114, 58,105,115,101,110,117,109,
+ 32, 40,116,121,112,101, 41, 10, 32,105,102, 32,103,108,111,
+ 98, 97,108, 95,101,110,117,109,115, 91,116,121,112,101, 93,
+ 32,116,104,101,110, 10, 9,114,101,116,117,114,110, 32,116,
+ 121,112,101, 10, 32,101,108,115,101, 10, 32, 9,114,101,116,
+ 117,114,110, 32,102, 97,108,115,101, 10, 32,101,110,100, 10,
+ 10, 32,108,111, 99, 97,108, 32, 98, 97,115,101,116,121,112,
+ 101, 32, 61, 32,103,115,117, 98, 40,116,121,112,101, 44, 34,
+ 94, 46, 42, 58, 58, 34, 44, 34, 34, 41, 10, 32,108,111, 99,
+ 97,108, 32,101,110,118, 32, 61, 32,115,101,108,102, 10, 32,
+ 119,104,105,108,101, 32,101,110,118, 32,100,111, 10, 32, 32,
+ 105,102, 32,101,110,118, 46,101,110,117,109,115, 32,116,104,
+ 101,110, 10, 32, 32, 32,108,111, 99, 97,108, 32,105, 61, 49,
+ 10, 32, 32, 32,119,104,105,108,101, 32,101,110,118, 46,101,
+ 110,117,109,115, 91,105, 93, 32,100,111, 10, 32, 32, 32, 32,
+ 105,102, 32,101,110,118, 46,101,110,117,109,115, 91,105, 93,
+ 46,110, 97,109,101, 32, 61, 61, 32, 98, 97,115,101,116,121,
+ 112,101, 32,116,104,101,110, 10, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32,114,101,116,117,114,110, 32,116,114,117,101, 10, 32,
+ 32, 32, 32, 32, 32, 32, 32,101,110,100, 10, 32, 32, 32, 32,
+ 32, 32, 32, 32,105, 32, 61, 32,105, 43, 49, 10, 32, 32, 32,
+ 101,110,100, 10, 32, 32,101,110,100, 10, 32, 32,101,110,118,
+ 32, 61, 32,101,110,118, 46,112, 97,114,101,110,116, 10, 32,
+ 101,110,100, 10, 32,114,101,116,117,114,110, 32,102, 97,108,
+ 115,101, 10,101,110,100, 10, 10,109,101,116,104,111,100,105,
+ 115,118,105,114,116,117, 97,108, 32, 61, 32,102, 97,108,115,
+ 101, 32, 45, 45, 32, 97, 32,103,108,111, 98, 97,108, 10, 10,
+ 45, 45, 32,112, 97,114,115,101, 32, 99,104,117,110,107, 10,
+ 102,117,110, 99,116,105,111,110, 32, 99,108, 97,115,115, 67,
+ 111,110,116, 97,105,110,101,114, 58,100,111,112, 97,114,115,
+ 101, 32, 40,115, 41, 10, 45, 45,112,114,105,110,116, 32, 40,
+ 34,112, 97,114,115,101, 32, 34, 46, 46,115, 41, 10, 10, 32,
+ 45, 45, 32,116,114,121, 32,116,104,101, 32,112, 97,114,115,
+ 101,114, 32,104,111,111,107, 10, 32,100,111, 10, 32, 9,108,
+ 111, 99, 97,108, 32,115,117, 98, 32, 61, 32,112, 97,114,115,
+ 101,114, 95,104,111,111,107, 40,115, 41, 10, 32, 9,105,102,
+ 32,115,117, 98, 32,116,104,101,110, 10, 32, 9, 9,114,101,
+ 116,117,114,110, 32,115,117, 98, 10, 32, 9,101,110,100, 10,
+ 32,101,110,100, 10, 10, 32, 45, 45, 32,116,114,121, 32,116,
+ 104,101, 32,110,117,108,108, 32,115,116, 97,116,101,109,101,
+ 110,116, 10, 32,100,111, 10, 32, 9,108,111, 99, 97,108, 32,
+ 98, 44,101, 44, 99,111,100,101, 32, 61, 32,115,116,114,105,
+ 110,103, 46,102,105,110,100, 40,115, 44, 32, 34, 94, 37,115,
+ 42, 59, 34, 41, 10, 32, 9,105,102, 32, 98, 32,116,104,101,
+ 110, 10, 32, 9, 9,114,101,116,117,114,110, 32,115,116,114,
+ 115,117, 98, 40,115, 44,101, 43, 49, 41, 10, 32, 9,101,110,
+ 100, 10, 32,101,110,100, 10, 10, 32, 45, 45, 32,116,114,121,
+ 32,101,109,112,116,121, 32,118,101,114, 98, 97,116,105,109,
+ 32,108,105,110,101, 10, 32,100,111, 10, 32, 9,108,111, 99,
+ 97,108, 32, 98, 44,101, 44, 99,111,100,101, 32, 61, 32,115,
+ 116,114,105,110,103, 46,102,105,110,100, 40,115, 44, 32, 34,
+ 94, 37,115, 42, 36, 92,110, 34, 41, 10, 32, 9,105,102, 32,
+ 98, 32,116,104,101,110, 10, 32, 9, 9,114,101,116,117,114,
+ 110, 32,115,116,114,115,117, 98, 40,115, 44,101, 43, 49, 41,
+ 10, 32, 9,101,110,100, 10, 32,101,110,100, 10, 10, 32, 45,
+ 45, 32,116,114,121, 32, 76,117, 97, 32, 99,111,100,101, 10,
+ 32,100,111, 10, 32, 32,108,111, 99, 97,108, 32, 98, 44,101,
+ 44, 99,111,100,101, 32, 61, 32,115,116,114,102,105,110,100,
+ 40,115, 44, 34, 94, 37,115, 42, 40, 37, 98, 92, 49, 92, 50,
+ 41, 34, 41, 10, 32, 32,105,102, 32, 98, 32,116,104,101,110,
+ 10, 32, 32, 32, 67,111,100,101, 40,115,116,114,115,117, 98,
+ 40, 99,111,100,101, 44, 50, 44, 45, 50, 41, 41, 10, 32, 32,
+ 32,114,101,116,117,114,110, 32,115,116,114,115,117, 98, 40,
+ 115, 44,101, 43, 49, 41, 10, 32, 32,101,110,100, 10, 32,101,
+ 110,100, 10, 10, 32, 45, 45, 32,116,114,121, 32, 67, 32, 99,
+ 111,100,101, 10, 32,100,111, 10, 32, 32,108,111, 99, 97,108,
+ 32, 98, 44,101, 44, 99,111,100,101, 32, 61, 32,115,116,114,
+ 102,105,110,100, 40,115, 44, 34, 94, 37,115, 42, 40, 37, 98,
+ 92, 51, 92, 52, 41, 34, 41, 10, 32, 32,105,102, 32, 98, 32,
+ 116,104,101,110, 10, 9, 99,111,100,101, 32, 61, 32, 39,123,
+ 39, 46, 46,115,116,114,115,117, 98, 40, 99,111,100,101, 44,
+ 50, 44, 45, 50, 41, 46, 46, 39, 92,110,125, 92,110, 39, 10,
+ 9, 86,101,114, 98, 97,116,105,109, 40, 99,111,100,101, 44,
+ 39,114, 39, 41, 32, 32, 32, 32, 32, 32, 32, 32, 45, 45, 32,
+ 118,101,114, 98, 97,116,105,109, 32, 99,111,100,101, 32,102,
+ 111,114, 32, 39,114, 39,101,103,105,115,116,101,114, 32,102,
+ 114, 97,103,109,101,110,116, 10, 9,114,101,116,117,114,110,
+ 32,115,116,114,115,117, 98, 40,115, 44,101, 43, 49, 41, 10,
+ 32, 32,101,110,100, 10, 32,101,110,100, 10, 10, 32, 45, 45,
+ 32,116,114,121, 32, 67, 32, 99,111,100,101, 32,102,111,114,
+ 32,112,114,101, 97,109, 98,108,101, 32,115,101, 99,116,105,
+ 111,110, 10, 32,100,111, 10, 32, 9,108,111, 99, 97,108, 32,
+ 98, 44,101, 44, 99,111,100,101, 32, 61, 32,115,116,114,105,
+ 110,103, 46,102,105,110,100, 40,115, 44, 32, 34, 94, 37,115,
+ 42, 40, 37, 98, 92, 53, 92, 54, 41, 34, 41, 10, 32, 9,105,
+ 102, 32, 98, 32,116,104,101,110, 10, 32, 9, 9, 99,111,100,
+ 101, 32, 61, 32,115,116,114,105,110,103, 46,115,117, 98, 40,
+ 99,111,100,101, 44, 32, 50, 44, 32, 45, 50, 41, 46, 46, 34,
+ 92,110, 34, 10, 9, 9, 86,101,114, 98, 97,116,105,109, 40,
+ 99,111,100,101, 44, 32, 39, 39, 41, 10, 9, 9,114,101,116,
+ 117,114,110, 32,115,116,114,105,110,103, 46,115,117, 98, 40,
+ 115, 44, 32,101, 43, 49, 41, 10, 32, 9,101,110,100, 10, 32,
+ 101,110,100, 10, 10, 32, 45, 45, 32,116,114,121, 32,100,101,
+ 102, 97,117,108,116, 95,112,114,111,112,101,114,116,121, 32,
+ 100,105,114,101, 99,116,105,118,101, 10, 32,100,111, 10, 32,
+ 9,108,111, 99, 97,108, 32, 98, 44,101, 44,112,116,121,112,
+ 101, 32, 61, 32,115,116,114,102,105,110,100, 40,115, 44, 32,
+ 34, 94, 37,115, 42, 84, 79, 76, 85, 65, 95, 80, 82, 79, 80,
+ 69, 82, 84, 89, 95, 84, 89, 80, 69, 37,115, 42, 37, 40, 43,
+ 37,115, 42, 40, 91, 94, 37, 41, 37,115, 93, 42, 41, 37,115,
+ 42, 37, 41, 43, 37,115, 42, 59, 63, 34, 41, 10, 32, 9,105,
+ 102, 32, 98, 32,116,104,101,110, 10, 32, 9, 9,105,102, 32,
+ 110,111,116, 32,112,116,121,112,101, 32,111,114, 32,112,116,
+ 121,112,101, 32, 61, 61, 32, 34, 34, 32,116,104,101,110, 10,
+ 32, 9, 9, 9,112,116,121,112,101, 32, 61, 32, 34,100,101,
+ 102, 97,117,108,116, 34, 10, 32, 9, 9,101,110,100, 10, 32,
+ 9, 9,115,101,108,102, 58,115,101,116, 95,112,114,111,112,
+ 101,114,116,121, 95,116,121,112,101, 40,112,116,121,112,101,
+ 41, 10, 9, 32, 9,114,101,116,117,114,110, 32,115,116,114,
+ 115,117, 98, 40,115, 44, 32,101, 43, 49, 41, 10, 32, 9,101,
+ 110,100, 10, 32,101,110,100, 10, 10, 32, 45, 45, 32,116,114,
+ 121, 32,112,114,111,116,101, 99,116,101,100, 95,100,101,115,
+ 116,114,117, 99,116,111,114, 32,100,105,114,101, 99,116,105,
+ 118,101, 10, 32,100,111, 10, 32, 9,108,111, 99, 97,108, 32,
+ 98, 44,101, 32, 61, 32,115,116,114,105,110,103, 46,102,105,
+ 110,100, 40,115, 44, 32, 34, 94, 37,115, 42, 84, 79, 76, 85,
+ 65, 95, 80, 82, 79, 84, 69, 67, 84, 69, 68, 95, 68, 69, 83,
+ 84, 82, 85, 67, 84, 79, 82, 37,115, 42, 59, 63, 34, 41, 10,
+ 9,105,102, 32, 98, 32,116,104,101,110, 10, 9, 9,105,102,
+ 32,115,101,108,102, 46,115,101,116, 95,112,114,111,116,101,
+ 99,116,101,100, 95,100,101,115,116,114,117, 99,116,111,114,
+ 32,116,104,101,110, 10, 9, 32, 9, 9,115,101,108,102, 58,
+ 115,101,116, 95,112,114,111,116,101, 99,116,101,100, 95,100,
+ 101,115,116,114,117, 99,116,111,114, 40,116,114,117,101, 41,
+ 10, 9, 32, 9,101,110,100, 10, 32, 9, 9,114,101,116,117,
+ 114,110, 32,115,116,114,115,117, 98, 40,115, 44, 32,101, 43,
+ 49, 41, 10, 32, 9,101,110,100, 10, 32,101,110,100, 10, 10,
+ 32, 45, 45, 32,116,114,121, 32, 39,101,120,116,101,114,110,
+ 39, 32,107,101,121,119,111,114,100, 10, 32,100,111, 10, 32,
+ 9,108,111, 99, 97,108, 32, 98, 44,101, 32, 61, 32,115,116,
+ 114,105,110,103, 46,102,105,110,100, 40,115, 44, 32, 34, 94,
+ 37,115, 42,101,120,116,101,114,110, 37,115, 43, 34, 41, 10,
+ 32, 9,105,102, 32, 98, 32,116,104,101,110, 10, 9, 9, 45,
+ 45, 32,100,111, 32,110,111,116,104,105,110,103, 10, 32, 9,
+ 9,114,101,116,117,114,110, 32,115,116,114,115,117, 98, 40,
+ 115, 44, 32,101, 43, 49, 41, 10, 32, 9,101,110,100, 10, 32,
+ 101,110,100, 10, 10, 32, 45, 45, 32,116,114,121, 32, 39,118,
+ 105,114,116,117, 97,108, 39, 32,107,101,121,119,111,114,107,
+ 100, 10, 32,100,111, 10, 32, 9,108,111, 99, 97,108, 32, 98,
+ 44,101, 32, 61, 32,115,116,114,105,110,103, 46,102,105,110,
+ 100, 40,115, 44, 32, 34, 94, 37,115, 42,118,105,114,116,117,
+ 97,108, 37,115, 43, 34, 41, 10, 32, 9,105,102, 32, 98, 32,
+ 116,104,101,110, 10, 32, 9, 9,109,101,116,104,111,100,105,
+ 115,118,105,114,116,117, 97,108, 32, 61, 32,116,114,117,101,
+ 10, 32, 9, 9,114,101,116,117,114,110, 32,115,116,114,115,
+ 117, 98, 40,115, 44, 32,101, 43, 49, 41, 10, 32, 9,101,110,
+ 100, 10, 32,101,110,100, 10, 10, 32, 45, 45, 32,116,114,121,
+ 32,108, 97, 98,101,108,115, 32, 40,112,117, 98,108,105, 99,
+ 44, 32,112,114,105,118, 97,116,101, 44, 32,101,116, 99, 41,
+ 10, 32,100,111, 10, 32, 9,108,111, 99, 97,108, 32, 98, 44,
+ 101, 32, 61, 32,115,116,114,105,110,103, 46,102,105,110,100,
+ 40,115, 44, 32, 34, 94, 37,115, 42, 37,119, 42, 37,115, 42,
+ 58, 91, 94, 58, 93, 34, 41, 10, 32, 9,105,102, 32, 98, 32,
+ 116,104,101,110, 10, 32, 9, 9,114,101,116,117,114,110, 32,
+ 115,116,114,115,117, 98, 40,115, 44, 32,101, 41, 32, 45, 45,
+ 32,112,114,101,115,101,114,118,101, 32,116,104,101, 32, 91,
+ 94, 58, 93, 10, 32, 9,101,110,100, 10, 32,101,110,100, 10,
+ 10, 32, 45, 45, 32,116,114,121, 32,109,111,100,117,108,101,
+ 10, 32,100,111, 10, 32, 32,108,111, 99, 97,108, 32, 98, 44,
+ 101, 44,110, 97,109,101, 44, 98,111,100,121, 32, 61, 32,115,
+ 116,114,102,105,110,100, 40,115, 44, 34, 94, 37,115, 42,109,
+ 111,100,117,108,101, 37,115, 37,115, 42, 40, 91, 95, 37,119,
+ 93, 91, 95, 37,119, 93, 42, 41, 37,115, 42, 40, 37, 98,123,
+ 125, 41, 37,115, 42, 34, 41, 10, 32, 32,105,102, 32, 98, 32,
+ 116,104,101,110, 10, 32, 32, 32, 95, 99,117,114,114, 95, 99,
+ 111,100,101, 32, 61, 32,115,116,114,115,117, 98, 40,115, 44,
+ 98, 44,101, 41, 10, 32, 32, 32, 77,111,100,117,108,101, 40,
+ 110, 97,109,101, 44, 98,111,100,121, 41, 10, 32, 32, 32,114,
+ 101,116,117,114,110, 32,115,116,114,115,117, 98, 40,115, 44,
+ 101, 43, 49, 41, 10, 32, 32,101,110,100, 10, 32,101,110,100,
+ 10, 10, 32, 45, 45, 32,116,114,121, 32,110, 97,109,101,115,
+ 97,112, 99,101, 10, 32,100,111, 10, 32, 32,108,111, 99, 97,
+ 108, 32, 98, 44,101, 44,110, 97,109,101, 44, 98,111,100,121,
+ 32, 61, 32,115,116,114,102,105,110,100, 40,115, 44, 34, 94,
+ 37,115, 42,110, 97,109,101,115,112, 97, 99,101, 37,115, 37,
+ 115, 42, 40, 91, 95, 37,119, 93, 91, 95, 37,119, 93, 42, 41,
+ 37,115, 42, 40, 37, 98,123,125, 41, 37,115, 42, 59, 63, 34,
+ 41, 10, 32, 32,105,102, 32, 98, 32,116,104,101,110, 10, 32,
+ 32, 32, 95, 99,117,114,114, 95, 99,111,100,101, 32, 61, 32,
+ 115,116,114,115,117, 98, 40,115, 44, 98, 44,101, 41, 10, 32,
+ 32, 32, 78, 97,109,101,115,112, 97, 99,101, 40,110, 97,109,
+ 101, 44, 98,111,100,121, 41, 10, 32, 32, 32,114,101,116,117,
+ 114,110, 32,115,116,114,115,117, 98, 40,115, 44,101, 43, 49,
+ 41, 10, 32, 32,101,110,100, 10, 32,101,110,100, 10, 10, 32,
+ 45, 45, 32,116,114,121, 32,100,101,102,105,110,101, 10, 32,
+ 100,111, 10, 32, 32,108,111, 99, 97,108, 32, 98, 44,101, 44,
+ 110, 97,109,101, 32, 61, 32,115,116,114,102,105,110,100, 40,
+ 115, 44, 34, 94, 37,115, 42, 35,100,101,102,105,110,101, 37,
+ 115, 37,115, 42, 40, 91, 94, 37,115, 93, 42, 41, 91, 94, 92,
+ 110, 93, 42, 92,110, 37,115, 42, 34, 41, 10, 32, 32,105,102,
+ 32, 98, 32,116,104,101,110, 10, 32, 32, 32, 95, 99,117,114,
+ 114, 95, 99,111,100,101, 32, 61, 32,115,116,114,115,117, 98,
+ 40,115, 44, 98, 44,101, 41, 10, 32, 32, 32, 68,101,102,105,
+ 110,101, 40,110, 97,109,101, 41, 10, 32, 32, 32,114,101,116,
+ 117,114,110, 32,115,116,114,115,117, 98, 40,115, 44,101, 43,
+ 49, 41, 10, 32, 32,101,110,100, 10, 32,101,110,100, 10, 10,
+ 32, 45, 45, 32,116,114,121, 32,101,110,117,109,101,114, 97,
+ 116,101,115, 10, 10, 32,100,111, 10, 32, 32,108,111, 99, 97,
+ 108, 32, 98, 44,101, 44,110, 97,109,101, 44, 98,111,100,121,
+ 44,118, 97,114,110, 97,109,101, 32, 61, 32,115,116,114,102,
+ 105,110,100, 40,115, 44, 34, 94, 37,115, 42,101,110,117,109,
+ 37,115, 43, 40, 37, 83, 42, 41, 37,115, 42, 40, 37, 98,123,
+ 125, 41, 37,115, 42, 40, 91, 94, 37,115, 59, 93, 42, 41, 37,
+ 115, 42, 59, 63, 37,115, 42, 34, 41, 10, 32, 32,105,102, 32,
+ 98, 32,116,104,101,110, 10, 32, 32, 32, 45, 45,101,114,114,
+ 111,114, 40, 34, 35, 83,111,114,114,121, 44, 32,100,101, 99,
+ 108, 97,114, 97,116,105,111,110, 32,111,102, 32,101,110,117,
+ 109,115, 32, 97,110,100, 32,118, 97,114,105, 97, 98,108,101,
+ 115, 32,111,110, 32,116,104,101, 32,115, 97,109,101, 32,115,
+ 116, 97,116,101,109,101,110,116, 32,105,115, 32,110,111,116,
+ 32,115,117,112,112,111,114,116,101,100, 46, 92,110, 68,101,
+ 99,108, 97,114,101, 32,121,111,117,114, 32,118, 97,114,105,
+ 97, 98,108,101, 32,115,101,112, 97,114, 97,116,101,108,121,
+ 32, 40,101,120, 97,109,112,108,101, 58, 32, 39, 34, 46, 46,
+ 110, 97,109,101, 46, 46, 34, 32, 34, 46, 46,118, 97,114,110,
+ 97,109,101, 46, 46, 34, 59, 39, 41, 34, 41, 10, 32, 32, 32,
+ 95, 99,117,114,114, 95, 99,111,100,101, 32, 61, 32,115,116,
+ 114,115,117, 98, 40,115, 44, 98, 44,101, 41, 10, 32, 32, 32,
+ 69,110,117,109,101,114, 97,116,101, 40,110, 97,109,101, 44,
+ 98,111,100,121, 44,118, 97,114,110, 97,109,101, 41, 10, 32,
+ 32, 32,114,101,116,117,114,110, 32,115,116,114,115,117, 98,
+ 40,115, 44,101, 43, 49, 41, 10, 32, 32,101,110,100, 10, 32,
+ 101,110,100, 10, 10, 45, 45, 32,100,111, 10, 45, 45, 32, 32,
+ 108,111, 99, 97,108, 32, 98, 44,101, 44,110, 97,109,101, 44,
+ 98,111,100,121, 32, 61, 32,115,116,114,102,105,110,100, 40,
+ 115, 44, 34, 94, 37,115, 42,101,110,117,109, 37,115, 43, 40,
+ 37, 83, 42, 41, 37,115, 42, 40, 37, 98,123,125, 41, 37,115,
+ 42, 59, 63, 37,115, 42, 34, 41, 10, 45, 45, 32, 32,105,102,
+ 32, 98, 32,116,104,101,110, 10, 45, 45, 32, 32, 32, 95, 99,
+ 117,114,114, 95, 99,111,100,101, 32, 61, 32,115,116,114,115,
+ 117, 98, 40,115, 44, 98, 44,101, 41, 10, 45, 45, 32, 32, 32,
+ 69,110,117,109,101,114, 97,116,101, 40,110, 97,109,101, 44,
+ 98,111,100,121, 41, 10, 45, 45, 32, 32,114,101,116,117,114,
+ 110, 32,115,116,114,115,117, 98, 40,115, 44,101, 43, 49, 41,
+ 10, 45, 45, 32, 32,101,110,100, 10, 45, 45, 32,101,110,100,
+ 10, 10, 32,100,111, 10, 32, 32,108,111, 99, 97,108, 32, 98,
+ 44,101, 44, 98,111,100,121, 44,110, 97,109,101, 32, 61, 32,
+ 115,116,114,102,105,110,100, 40,115, 44, 34, 94, 37,115, 42,
+ 116,121,112,101,100,101,102, 37,115, 43,101,110,117,109, 91,
+ 94,123, 93, 42, 40, 37, 98,123,125, 41, 37,115, 42, 40, 91,
+ 37,119, 95, 93, 91, 94, 37,115, 93, 42, 41, 37,115, 42, 59,
+ 37,115, 42, 34, 41, 10, 32, 32,105,102, 32, 98, 32,116,104,
+ 101,110, 10, 32, 32, 32, 95, 99,117,114,114, 95, 99,111,100,
+ 101, 32, 61, 32,115,116,114,115,117, 98, 40,115, 44, 98, 44,
+ 101, 41, 10, 32, 32, 32, 69,110,117,109,101,114, 97,116,101,
+ 40,110, 97,109,101, 44, 98,111,100,121, 41, 10, 32, 32, 32,
+ 114,101,116,117,114,110, 32,115,116,114,115,117, 98, 40,115,
+ 44,101, 43, 49, 41, 10, 32, 32,101,110,100, 10, 32,101,110,
+ 100, 10, 10, 32, 45, 45, 32,116,114,121, 32,111,112,101,114,
+ 97,116,111,114, 10, 32,100,111, 10, 32, 32,108,111, 99, 97,
+ 108, 32, 98, 44,101, 44,100,101, 99,108, 44,107,105,110,100,
+ 44, 97,114,103, 44, 99,111,110,115,116, 32, 61, 32,115,116,
+ 114,102,105,110,100, 40,115, 44, 34, 94, 37,115, 42, 40, 91,
+ 95, 37,119, 93, 91, 95, 37,119, 37,115, 37, 42, 38, 58, 60,
+ 62, 44, 93, 45, 37,115, 43,111,112,101,114, 97,116,111,114,
+ 41, 37,115, 42, 40, 91, 94, 37,115, 93, 91, 94, 37,115, 93,
+ 42, 41, 37,115, 42, 40, 37, 98, 40, 41, 41, 37,115, 42, 40,
+ 99, 63,111, 63,110, 63,115, 63,116, 63, 41, 37,115, 42, 59,
+ 37,115, 42, 34, 41, 10, 32, 32,105,102, 32,110,111,116, 32,
+ 98, 32,116,104,101,110, 10, 9, 9, 32, 45, 45, 32,116,114,
+ 121, 32,105,110,108,105,110,101, 10, 32, 32, 32, 98, 44,101,
+ 44,100,101, 99,108, 44,107,105,110,100, 44, 97,114,103, 44,
+ 99,111,110,115,116, 32, 61, 32,115,116,114,102,105,110,100,
+ 40,115, 44, 34, 94, 37,115, 42, 40, 91, 95, 37,119, 93, 91,
+ 95, 37,119, 37,115, 37, 42, 38, 58, 60, 62, 44, 93, 45, 37,
+ 115, 43,111,112,101,114, 97,116,111,114, 41, 37,115, 42, 40,
+ 91, 94, 37,115, 93, 91, 94, 37,115, 93, 42, 41, 37,115, 42,
+ 40, 37, 98, 40, 41, 41, 37,115, 42, 40, 99, 63,111, 63,110,
+ 63,115, 63,116, 63, 41, 91, 37,115, 92,110, 93, 42, 37, 98,
+ 123,125, 37,115, 42, 59, 63, 37,115, 42, 34, 41, 10, 32, 32,
+ 101,110,100, 10, 32, 32,105,102, 32,110,111,116, 32, 98, 32,
+ 116,104,101,110, 10, 32, 32, 9, 45, 45, 32,116,114,121, 32,
+ 99, 97,115,116, 32,111,112,101,114, 97,116,111,114, 10, 32,
+ 32, 9, 98, 44,101, 44,100,101, 99,108, 44,107,105,110,100,
+ 44, 97,114,103, 44, 99,111,110,115,116, 32, 61, 32,115,116,
+ 114,102,105,110,100, 40,115, 44, 32, 34, 94, 37,115, 42, 40,
+ 111,112,101,114, 97,116,111,114, 41, 37,115, 43, 40, 91, 37,
+ 119, 95, 58, 37,100, 60, 62, 37, 42, 37, 38, 37,115, 93, 43,
+ 41, 37,115, 42, 40, 37, 98, 40, 41, 41, 37,115, 42, 40, 99,
+ 63,111, 63,110, 63,115, 63,116, 63, 41, 34, 41, 59, 10, 32,
+ 32, 9,105,102, 32, 98, 32,116,104,101,110, 10, 32, 32, 9,
+ 9,108,111, 99, 97,108, 32, 95, 44,105,101, 32, 61, 32,115,
+ 116,114,105,110,103, 46,102,105,110,100, 40,115, 44, 32, 34,
+ 94, 37,115, 42, 37, 98,123,125, 34, 44, 32,101, 43, 49, 41,
+ 10, 32, 32, 9, 9,105,102, 32,105,101, 32,116,104,101,110,
+ 10, 32, 32, 9, 9, 9,101, 32, 61, 32,105,101, 10, 32, 32,
+ 9, 9,101,110,100, 10, 32, 32, 9,101,110,100, 10, 32, 32,
+ 101,110,100, 10, 32, 32,105,102, 32, 98, 32,116,104,101,110,
+ 10, 32, 32, 32, 95, 99,117,114,114, 95, 99,111,100,101, 32,
+ 61, 32,115,116,114,115,117, 98, 40,115, 44, 98, 44,101, 41,
+ 10, 32, 32, 32, 79,112,101,114, 97,116,111,114, 40,100,101,
+ 99,108, 44,107,105,110,100, 44, 97,114,103, 44, 99,111,110,
+ 115,116, 41, 10, 32, 32, 32,114,101,116,117,114,110, 32,115,
+ 116,114,115,117, 98, 40,115, 44,101, 43, 49, 41, 10, 32, 32,
+ 101,110,100, 10, 32,101,110,100, 10, 10, 32, 45, 45, 32,116,
+ 114,121, 32,102,117,110, 99,116,105,111,110, 10, 32,100,111,
+ 10, 32, 32, 45, 45,108,111, 99, 97,108, 32, 98, 44,101, 44,
+ 100,101, 99,108, 44, 97,114,103, 44, 99,111,110,115,116, 32,
+ 61, 32,115,116,114,102,105,110,100, 40,115, 44, 34, 94, 37,
+ 115, 42, 40, 91,126, 95, 37,119, 93, 91, 95, 64, 37,119, 37,
+ 115, 37, 42, 38, 58, 60, 62, 93, 42, 91, 95, 37,119, 93, 41,
+ 37,115, 42, 40, 37, 98, 40, 41, 41, 37,115, 42, 40, 99, 63,
+ 111, 63,110, 63,115, 63,116, 63, 41, 37,115, 42, 61, 63, 37,
+ 115, 42, 48, 63, 37,115, 42, 59, 37,115, 42, 34, 41, 10, 32,
+ 32,108,111, 99, 97,108, 32, 98, 44,101, 44,100,101, 99,108,
+ 44, 97,114,103, 44, 99,111,110,115,116, 44,118,105,114,116,
+ 32, 61, 32,115,116,114,102,105,110,100, 40,115, 44, 34, 94,
+ 37,115, 42, 40, 91, 94, 37, 40, 92,110, 93, 43, 41, 37,115,
+ 42, 40, 37, 98, 40, 41, 41, 37,115, 42, 40, 99, 63,111, 63,
+ 110, 63,115, 63,116, 63, 41, 37,115, 42, 40, 61, 63, 37,115,
+ 42, 48, 63, 41, 37,115, 42, 59, 37,115, 42, 34, 41, 10, 32,
+ 32,105,102, 32,110,111,116, 32, 98, 32,116,104,101,110, 10,
+ 32, 32, 9, 45, 45, 32,116,114,121, 32,102,117,110, 99,116,
+ 105,111,110, 32,119,105,116,104, 32,116,101,109,112,108, 97,
+ 116,101, 10, 32, 32, 9, 98, 44,101, 44,100,101, 99,108, 44,
+ 97,114,103, 44, 99,111,110,115,116, 32, 61, 32,115,116,114,
+ 102,105,110,100, 40,115, 44, 34, 94, 37,115, 42, 40, 91,126,
+ 95, 37,119, 93, 91, 95, 64, 37,119, 37,115, 37, 42, 38, 58,
+ 60, 62, 93, 42, 91, 95, 37,119, 93, 37, 98, 60, 62, 41, 37,
+ 115, 42, 40, 37, 98, 40, 41, 41, 37,115, 42, 40, 99, 63,111,
+ 63,110, 63,115, 63,116, 63, 41, 37,115, 42, 61, 63, 37,115,
+ 42, 48, 63, 37,115, 42, 59, 37,115, 42, 34, 41, 10, 32, 32,
+ 101,110,100, 10, 32, 32,105,102, 32,110,111,116, 32, 98, 32,
+ 116,104,101,110, 10, 32, 32, 32, 45, 45, 32,116,114,121, 32,
+ 97, 32,115,105,110,103,108,101, 32,108,101,116,116,101,114,
+ 32,102,117,110, 99,116,105,111,110, 32,110, 97,109,101, 10,
+ 32, 32, 32, 98, 44,101, 44,100,101, 99,108, 44, 97,114,103,
+ 44, 99,111,110,115,116, 32, 61, 32,115,116,114,102,105,110,
+ 100, 40,115, 44, 34, 94, 37,115, 42, 40, 91, 95, 37,119, 93,
+ 41, 37,115, 42, 40, 37, 98, 40, 41, 41, 37,115, 42, 40, 99,
+ 63,111, 63,110, 63,115, 63,116, 63, 41, 37,115, 42, 59, 37,
+ 115, 42, 34, 41, 10, 32, 32,101,110,100, 10, 32, 32,105,102,
+ 32,110,111,116, 32, 98, 32,116,104,101,110, 10, 32, 32, 32,
+ 45, 45, 32,116,114,121, 32,102,117,110, 99,116,105,111,110,
+ 32,112,111,105,110,116,101,114, 10, 32, 32, 32, 98, 44,101,
+ 44,100,101, 99,108, 44, 97,114,103, 44, 99,111,110,115,116,
+ 32, 61, 32,115,116,114,102,105,110,100, 40,115, 44, 34, 94,
+ 37,115, 42, 40, 91, 94, 37, 40, 59, 92,110, 93, 43, 37, 98,
+ 40, 41, 41, 37,115, 42, 40, 37, 98, 40, 41, 41, 37,115, 42,
+ 59, 37,115, 42, 34, 41, 10, 32, 32, 32,105,102, 32, 98, 32,
+ 116,104,101,110, 10, 32, 32, 32, 32,100,101, 99,108, 32, 61,
+ 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,100,101,
+ 99,108, 44, 32, 34, 37, 40, 37,115, 42, 37, 42, 40, 91, 94,
+ 37, 41, 93, 42, 41, 37,115, 42, 37, 41, 34, 44, 32, 34, 32,
+ 37, 49, 32, 34, 41, 10, 32, 32, 32,101,110,100, 10, 32, 32,
+ 101,110,100, 10, 32, 32,105,102, 32, 98, 32,116,104,101,110,
+ 10, 32, 32, 9,105,102, 32,118,105,114,116, 32, 97,110,100,
+ 32,115,116,114,105,110,103, 46,102,105,110,100, 40,118,105,
+ 114,116, 44, 32, 34, 91, 61, 48, 93, 34, 41, 32,116,104,101,
+ 110, 10, 32, 32, 9, 9,105,102, 32,115,101,108,102, 46,102,
+ 108, 97,103,115, 32,116,104,101,110, 10, 32, 32, 9, 9, 9,
+ 115,101,108,102, 46,102,108, 97,103,115, 46,112,117,114,101,
+ 95,118,105,114,116,117, 97,108, 32, 61, 32,116,114,117,101,
+ 10, 32, 32, 9, 9,101,110,100, 10, 32, 32, 9,101,110,100,
+ 10, 32, 32, 32, 95, 99,117,114,114, 95, 99,111,100,101, 32,
+ 61, 32,115,116,114,115,117, 98, 40,115, 44, 98, 44,101, 41,
+ 10, 32, 32, 32, 70,117,110, 99,116,105,111,110, 40,100,101,
+ 99,108, 44, 97,114,103, 44, 99,111,110,115,116, 41, 10, 32,
+ 32, 32,114,101,116,117,114,110, 32,115,116,114,115,117, 98,
+ 40,115, 44,101, 43, 49, 41, 10, 32, 32,101,110,100, 10, 32,
+ 101,110,100, 10, 10, 32, 45, 45, 32,116,114,121, 32,105,110,
+ 108,105,110,101, 32,102,117,110, 99,116,105,111,110, 10, 32,
+ 100,111, 10, 32, 32,108,111, 99, 97,108, 32, 98, 44,101, 44,
+ 100,101, 99,108, 44, 97,114,103, 44, 99,111,110,115,116, 32,
+ 61, 32,115,116,114,102,105,110,100, 40,115, 44, 34, 94, 37,
+ 115, 42, 40, 91, 94, 37, 40, 92,110, 93, 43, 41, 37,115, 42,
+ 40, 37, 98, 40, 41, 41, 37,115, 42, 40, 99, 63,111, 63,110,
+ 63,115, 63,116, 63, 41, 91, 94, 59,123, 93, 42, 37, 98,123,
+ 125, 37,115, 42, 59, 63, 37,115, 42, 34, 41, 10, 32, 32, 45,
+ 45,108,111, 99, 97,108, 32, 98, 44,101, 44,100,101, 99,108,
+ 44, 97,114,103, 44, 99,111,110,115,116, 32, 61, 32,115,116,
+ 114,102,105,110,100, 40,115, 44, 34, 94, 37,115, 42, 40, 91,
+ 126, 95, 37,119, 93, 91, 95, 64, 37,119, 37,115, 37, 42, 38,
+ 58, 60, 62, 93, 42, 91, 95, 37,119, 62, 93, 41, 37,115, 42,
+ 40, 37, 98, 40, 41, 41, 37,115, 42, 40, 99, 63,111, 63,110,
+ 63,115, 63,116, 63, 41, 91, 94, 59, 93, 42, 37, 98,123,125,
+ 37,115, 42, 59, 63, 37,115, 42, 34, 41, 10, 32, 32,105,102,
+ 32,110,111,116, 32, 98, 32,116,104,101,110, 10, 32, 32, 32,
+ 45, 45, 32,116,114,121, 32, 97, 32,115,105,110,103,108,101,
+ 32,108,101,116,116,101,114, 32,102,117,110, 99,116,105,111,
+ 110, 32,110, 97,109,101, 10, 32, 32, 32, 98, 44,101, 44,100,
+ 101, 99,108, 44, 97,114,103, 44, 99,111,110,115,116, 32, 61,
+ 32,115,116,114,102,105,110,100, 40,115, 44, 34, 94, 37,115,
+ 42, 40, 91, 95, 37,119, 93, 41, 37,115, 42, 40, 37, 98, 40,
+ 41, 41, 37,115, 42, 40, 99, 63,111, 63,110, 63,115, 63,116,
+ 63, 41, 46, 45, 37, 98,123,125, 37,115, 42, 59, 63, 37,115,
+ 42, 34, 41, 10, 32, 32,101,110,100, 10, 32, 32,105,102, 32,
+ 98, 32,116,104,101,110, 10, 32, 32, 32, 95, 99,117,114,114,
+ 95, 99,111,100,101, 32, 61, 32,115,116,114,115,117, 98, 40,
+ 115, 44, 98, 44,101, 41, 10, 32, 32, 32, 70,117,110, 99,116,
+ 105,111,110, 40,100,101, 99,108, 44, 97,114,103, 44, 99,111,
+ 110,115,116, 41, 10, 32, 32, 32,114,101,116,117,114,110, 32,
+ 115,116,114,115,117, 98, 40,115, 44,101, 43, 49, 41, 10, 32,
+ 32,101,110,100, 10, 32,101,110,100, 10, 10, 32, 45, 45, 32,
+ 116,114,121, 32, 99,108, 97,115,115, 10, 32,100,111, 10, 9,
+ 32,108,111, 99, 97,108, 32, 98, 44,101, 44,110, 97,109,101,
+ 44, 98, 97,115,101, 44, 98,111,100,121, 10, 9, 9, 98, 97,
+ 115,101, 32, 61, 32, 39, 39, 32, 98,111,100,121, 32, 61, 32,
+ 39, 39, 10, 9, 9, 98, 44,101, 44,110, 97,109,101, 32, 61,
+ 32,115,116,114,102,105,110,100, 40,115, 44, 34, 94, 37,115,
+ 42, 99,108, 97,115,115, 37,115, 42, 40, 91, 95, 37,119, 93,
+ 91, 95, 37,119, 64, 93, 42, 41, 37,115, 42, 59, 34, 41, 32,
+ 32, 45, 45, 32,100,117,109,109,121, 32, 99,108, 97,115,115,
+ 10, 9, 9,108,111, 99, 97,108, 32,100,117,109,109,121, 32,
+ 61, 32,102, 97,108,115,101, 10, 9, 9,105,102, 32,110,111,
+ 116, 32, 98, 32,116,104,101,110, 10, 9, 9, 9, 98, 44,101,
+ 44,110, 97,109,101, 32, 61, 32,115,116,114,102,105,110,100,
+ 40,115, 44, 34, 94, 37,115, 42,115,116,114,117, 99,116, 37,
+ 115, 42, 40, 91, 95, 37,119, 93, 91, 95, 37,119, 64, 93, 42,
+ 41, 37,115, 42, 59, 34, 41, 32, 32, 32, 32, 45, 45, 32,100,
+ 117,109,109,121, 32,115,116,114,117, 99,116, 10, 9, 9, 9,
+ 105,102, 32,110,111,116, 32, 98, 32,116,104,101,110, 10, 9,
+ 9, 9, 9, 98, 44,101, 44,110, 97,109,101, 44, 98, 97,115,
+ 101, 44, 98,111,100,121, 32, 61, 32,115,116,114,102,105,110,
+ 100, 40,115, 44, 34, 94, 37,115, 42, 99,108, 97,115,115, 37,
+ 115, 42, 40, 91, 95, 37,119, 93, 91, 95, 37,119, 64, 93, 42,
+ 41, 37,115, 42, 40, 91, 94,123, 93, 45, 41, 37,115, 42, 40,
+ 37, 98,123,125, 41, 37,115, 42, 34, 41, 10, 9, 9, 9, 9,
+ 105,102, 32,110,111,116, 32, 98, 32,116,104,101,110, 10, 9,
+ 9, 9, 9, 9, 98, 44,101, 44,110, 97,109,101, 44, 98, 97,
+ 115,101, 44, 98,111,100,121, 32, 61, 32,115,116,114,102,105,
+ 110,100, 40,115, 44, 34, 94, 37,115, 42,115,116,114,117, 99,
+ 116, 37,115, 43, 40, 91, 95, 37,119, 93, 91, 95, 37,119, 64,
+ 93, 42, 41, 37,115, 42, 40, 91, 94,123, 93, 45, 41, 37,115,
+ 42, 40, 37, 98,123,125, 41, 37,115, 42, 34, 41, 10, 9, 9,
+ 9, 9, 9,105,102, 32,110,111,116, 32, 98, 32,116,104,101,
+ 110, 10, 9, 9, 9, 9, 9, 9, 98, 44,101, 44,110, 97,109,
+ 101, 44, 98, 97,115,101, 44, 98,111,100,121, 32, 61, 32,115,
+ 116,114,102,105,110,100, 40,115, 44, 34, 94, 37,115, 42,117,
+ 110,105,111,110, 37,115, 42, 40, 91, 95, 37,119, 93, 91, 95,
+ 37,119, 64, 93, 42, 41, 37,115, 42, 40, 91, 94,123, 93, 45,
+ 41, 37,115, 42, 40, 37, 98,123,125, 41, 37,115, 42, 34, 41,
+ 10, 9, 9, 9, 9, 9, 9,105,102, 32,110,111,116, 32, 98,
+ 32,116,104,101,110, 10, 9, 9, 9, 9, 9, 9, 9, 98, 97,
+ 115,101, 32, 61, 32, 39, 39, 10, 9, 9, 9, 9, 9, 9, 9,
+ 98, 44,101, 44, 98,111,100,121, 44,110, 97,109,101, 32, 61,
+ 32,115,116,114,102,105,110,100, 40,115, 44, 34, 94, 37,115,
+ 42,116,121,112,101,100,101,102, 37,115, 37,115, 42,115,116,
+ 114,117, 99,116, 37,115, 37,115, 42, 91, 95, 37,119, 93, 42,
+ 37,115, 42, 40, 37, 98,123,125, 41, 37,115, 42, 40, 91, 95,
+ 37,119, 93, 91, 95, 37,119, 64, 93, 42, 41, 37,115, 42, 59,
+ 34, 41, 10, 9, 9, 9, 9, 9, 9,101,110,100, 10, 9, 9,
+ 9, 9, 9,101,110,100, 10, 9, 9, 9, 9,101,110,100, 10,
+ 9, 9, 9,101,108,115,101, 32,100,117,109,109,121, 32, 61,
+ 32, 49, 32,101,110,100, 10, 9, 9,101,108,115,101, 32,100,
+ 117,109,109,121, 32, 61, 32, 49, 32,101,110,100, 10, 9, 9,
+ 105,102, 32, 98, 32,116,104,101,110, 10, 9, 9, 9,105,102,
+ 32, 98, 97,115,101, 32,126, 61, 32, 39, 39, 32,116,104,101,
+ 110, 10, 9, 9, 9, 9, 98, 97,115,101, 32, 61, 32,115,116,
+ 114,105,110,103, 46,103,115,117, 98, 40, 98, 97,115,101, 44,
+ 32, 34, 94, 37,115, 42, 58, 37,115, 42, 34, 44, 32, 34, 34,
+ 41, 10, 9, 9, 9, 9, 98, 97,115,101, 32, 61, 32,115,116,
+ 114,105,110,103, 46,103,115,117, 98, 40, 98, 97,115,101, 44,
+ 32, 34, 37,115, 42,112,117, 98,108,105, 99, 37,115, 42, 34,
+ 44, 32, 34, 34, 41, 10, 9, 9, 9, 9, 98, 97,115,101, 32,
+ 61, 32,115,112,108,105,116, 40, 98, 97,115,101, 44, 32, 34,
+ 44, 34, 41, 10, 9, 9, 9, 9, 45, 45,108,111, 99, 97,108,
+ 32, 98, 44,101, 10, 9, 9, 9, 9, 45, 45, 98, 44,101, 44,
+ 98, 97,115,101, 32, 61, 32,115,116,114,102,105,110,100, 40,
+ 98, 97,115,101, 44, 34, 46, 45, 40, 91, 95, 37,119, 93, 91,
+ 95, 37,119, 60, 62, 44, 58, 93, 42, 41, 36, 34, 41, 10, 9,
+ 9, 9,101,108,115,101, 10, 9, 9, 9, 9, 98, 97,115,101,
+ 32, 61, 32,123,125, 10, 9, 9, 9,101,110,100, 10, 9, 9,
+ 9, 95, 99,117,114,114, 95, 99,111,100,101, 32, 61, 32,115,
+ 116,114,115,117, 98, 40,115, 44, 98, 44,101, 41, 10, 9, 9,
+ 9, 67,108, 97,115,115, 40,110, 97,109,101, 44, 98, 97,115,
+ 101, 44, 98,111,100,121, 41, 10, 9, 9, 9,105,102, 32,110,
+ 111,116, 32,100,117,109,109,121, 32,116,104,101,110, 10, 9,
+ 9, 9, 9,118, 97,114, 98, 44,118, 97,114,101, 44,118, 97,
+ 114,110, 97,109,101, 32, 61, 32,115,116,114,105,110,103, 46,
+ 102,105,110,100, 40,115, 44, 32, 34, 94, 37,115, 42, 40, 91,
+ 95, 37,119, 93, 43, 41, 37,115, 42, 59, 34, 44, 32,101, 43,
+ 49, 41, 10, 9, 9, 9, 9,105,102, 32,118, 97,114, 98, 32,
+ 116,104,101,110, 10, 9, 9, 9, 9, 9, 86, 97,114,105, 97,
+ 98,108,101, 40,110, 97,109,101, 46, 46, 34, 32, 34, 46, 46,
+ 118, 97,114,110, 97,109,101, 41, 10, 9, 9, 9, 9, 9,101,
+ 32, 61, 32,118, 97,114,101, 10, 9, 9, 9, 9,101,110,100,
+ 10, 9, 9, 9,101,110,100, 10, 9, 9, 9,114,101,116,117,
+ 114,110, 32,115,116,114,115,117, 98, 40,115, 44,101, 43, 49,
+ 41, 10, 9, 9,101,110,100, 10, 9,101,110,100, 10, 10, 32,
+ 45, 45, 32,116,114,121, 32,116,121,112,101,100,101,102, 10,
+ 32,100,111, 10, 32, 32,108,111, 99, 97,108, 32, 98, 44,101,
+ 44,116,121,112,101,115, 32, 61, 32,115,116,114,102,105,110,
+ 100, 40,115, 44, 34, 94, 37,115, 42,116,121,112,101,100,101,
+ 102, 37,115, 37,115, 42, 40, 46, 45, 41, 37,115, 42, 59, 37,
+ 115, 42, 34, 41, 10, 32, 32,105,102, 32, 98, 32,116,104,101,
+ 110, 10, 32, 32, 32, 95, 99,117,114,114, 95, 99,111,100,101,
+ 32, 61, 32,115,116,114,115,117, 98, 40,115, 44, 98, 44,101,
+ 41, 10, 32, 32, 32, 84,121,112,101,100,101,102, 40,116,121,
+ 112,101,115, 41, 10, 32, 32, 32,114,101,116,117,114,110, 32,
+ 115,116,114,115,117, 98, 40,115, 44,101, 43, 49, 41, 10, 32,
+ 32,101,110,100, 10, 32,101,110,100, 10, 10, 32, 45, 45, 32,
+ 116,114,121, 32,118, 97,114,105, 97, 98,108,101, 10, 32,100,
+ 111, 10, 32, 32,108,111, 99, 97,108, 32, 98, 44,101, 44,100,
+ 101, 99,108, 32, 61, 32,115,116,114,102,105,110,100, 40,115,
+ 44, 34, 94, 37,115, 42, 40, 91, 95, 37,119, 93, 91, 95, 64,
+ 37,115, 37,119, 37,100, 37, 42, 38, 58, 60, 62, 44, 93, 42,
+ 91, 95, 37,119, 37,100, 93, 41, 37,115, 42, 59, 37,115, 42,
+ 34, 41, 10, 32, 32,105,102, 32, 98, 32,116,104,101,110, 10,
+ 32, 32, 32, 95, 99,117,114,114, 95, 99,111,100,101, 32, 61,
+ 32,115,116,114,115,117, 98, 40,115, 44, 98, 44,101, 41, 10,
+ 10, 9,108,111, 99, 97,108, 32,108,105,115,116, 32, 61, 32,
+ 115,112,108,105,116, 95, 99, 95,116,111,107,101,110,115, 40,
+ 100,101, 99,108, 44, 32, 34, 44, 34, 41, 10, 9, 86, 97,114,
+ 105, 97, 98,108,101, 40,108,105,115,116, 91, 49, 93, 41, 10,
+ 9,105,102, 32,108,105,115,116, 46,110, 32, 62, 32, 49, 32,
+ 116,104,101,110, 10, 9, 9,108,111, 99, 97,108, 32, 95, 44,
+ 95, 44,116,121,112,101, 32, 61, 32,115,116,114,102,105,110,
+ 100, 40,108,105,115,116, 91, 49, 93, 44, 32, 34, 40, 46, 45,
+ 41, 37,115, 43, 40, 91, 94, 37,115, 93, 42, 41, 36, 34, 41,
+ 59, 10, 10, 9, 9,108,111, 99, 97,108, 32,105, 32, 61, 50,
+ 59, 10, 9, 9,119,104,105,108,101, 32,108,105,115,116, 91,
+ 105, 93, 32,100,111, 10, 9, 9, 9, 86, 97,114,105, 97, 98,
+ 108,101, 40,116,121,112,101, 46, 46, 34, 32, 34, 46, 46,108,
+ 105,115,116, 91,105, 93, 41, 10, 9, 9, 9,105, 61,105, 43,
+ 49, 10, 9, 9,101,110,100, 10, 9,101,110,100, 10, 32, 32,
+ 32, 45, 45, 86, 97,114,105, 97, 98,108,101, 40,100,101, 99,
+ 108, 41, 10, 32, 32, 32,114,101,116,117,114,110, 32,115,116,
+ 114,115,117, 98, 40,115, 44,101, 43, 49, 41, 10, 32, 32,101,
+ 110,100, 10, 32,101,110,100, 10, 10, 9, 45, 45, 32,116,114,
+ 121, 32,115,116,114,105,110,103, 10, 32,100,111, 10, 32, 32,
+ 108,111, 99, 97,108, 32, 98, 44,101, 44,100,101, 99,108, 32,
+ 61, 32,115,116,114,102,105,110,100, 40,115, 44, 34, 94, 37,
+ 115, 42, 40, 91, 95, 37,119, 93, 63, 91, 95, 37,115, 37,119,
+ 37,100, 93, 45, 99,104, 97,114, 37,115, 43, 91, 95, 64, 37,
+ 119, 37,100, 93, 42, 37,115, 42, 37, 91, 37,115, 42, 37, 83,
+ 43, 37,115, 42, 37, 93, 41, 37,115, 42, 59, 37,115, 42, 34,
+ 41, 10, 32, 32,105,102, 32, 98, 32,116,104,101,110, 10, 32,
+ 32, 32, 95, 99,117,114,114, 95, 99,111,100,101, 32, 61, 32,
+ 115,116,114,115,117, 98, 40,115, 44, 98, 44,101, 41, 10, 32,
+ 32, 32, 86, 97,114,105, 97, 98,108,101, 40,100,101, 99,108,
+ 41, 10, 32, 32, 32,114,101,116,117,114,110, 32,115,116,114,
+ 115,117, 98, 40,115, 44,101, 43, 49, 41, 10, 32, 32,101,110,
+ 100, 10, 32,101,110,100, 10, 10, 32, 45, 45, 32,116,114,121,
+ 32, 97,114,114, 97,121, 10, 32,100,111, 10, 32, 32,108,111,
+ 99, 97,108, 32, 98, 44,101, 44,100,101, 99,108, 32, 61, 32,
+ 115,116,114,102,105,110,100, 40,115, 44, 34, 94, 37,115, 42,
+ 40, 91, 95, 37,119, 93, 91, 93, 91, 95, 64, 37,115, 37,119,
+ 37,100, 37, 42, 38, 58, 60, 62, 93, 42, 91, 93, 95, 37,119,
+ 37,100, 93, 41, 37,115, 42, 59, 37,115, 42, 34, 41, 10, 32,
+ 32,105,102, 32, 98, 32,116,104,101,110, 10, 32, 32, 32, 95,
+ 99,117,114,114, 95, 99,111,100,101, 32, 61, 32,115,116,114,
+ 115,117, 98, 40,115, 44, 98, 44,101, 41, 10, 32, 32, 32, 65,
+ 114,114, 97,121, 40,100,101, 99,108, 41, 10, 32, 32, 32,114,
+ 101,116,117,114,110, 32,115,116,114,115,117, 98, 40,115, 44,
+ 101, 43, 49, 41, 10, 32, 32,101,110,100, 10, 32,101,110,100,
+ 10, 10, 32, 45, 45, 32,110,111, 32,109, 97,116, 99,104,105,
+ 110,103, 10, 32,105,102, 32,103,115,117, 98, 40,115, 44, 34,
+ 37,115, 37,115, 42, 34, 44, 34, 34, 41, 32,126, 61, 32, 34,
+ 34, 32,116,104,101,110, 10, 32, 32, 95, 99,117,114,114, 95,
+ 99,111,100,101, 32, 61, 32,115, 10, 32, 32,101,114,114,111,
+ 114, 40, 34, 35,112, 97,114,115,101, 32,101,114,114,111,114,
+ 34, 41, 10, 32,101,108,115,101, 10, 32, 32,114,101,116,117,
+ 114,110, 32, 34, 34, 10, 32,101,110,100, 10, 10,101,110,100,
+ 10, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,115,
+ 115, 67,111,110,116, 97,105,110,101,114, 58,112, 97,114,115,
+ 101, 32, 40,115, 41, 10, 10, 9, 45, 45,115,101,108,102, 46,
+ 99,117,114,114, 95,109,101,109, 98,101,114, 95, 97, 99, 99,
+ 101,115,115, 32, 61, 32,110,105,108, 10, 10, 32,119,104,105,
+ 108,101, 32,115, 32,126, 61, 32, 39, 39, 32,100,111, 10, 32,
+ 32,115, 32, 61, 32,115,101,108,102, 58,100,111,112, 97,114,
+ 115,101, 40,115, 41, 10, 32, 32,109,101,116,104,111,100,105,
+ 115,118,105,114,116,117, 97,108, 32, 61, 32,102, 97,108,115,
+ 101, 10, 32,101,110,100, 10,101,110,100, 10, 10, 10, 45, 45,
+ 32,112,114,111,112,101,114,116,121, 32,116,121,112,101,115,
+ 10, 10,102,117,110, 99,116,105,111,110, 32,103,101,116, 95,
+ 112,114,111,112,101,114,116,121, 95,116,121,112,101, 40, 41,
+ 10, 10, 9,114,101,116,117,114,110, 32, 99,108, 97,115,115,
+ 67,111,110,116, 97,105,110,101,114, 46, 99,117,114,114, 58,
+ 103,101,116, 95,112,114,111,112,101,114,116,121, 95,116,121,
+ 112,101, 40, 41, 10,101,110,100, 10, 10,102,117,110, 99,116,
+ 105,111,110, 32, 99,108, 97,115,115, 67,111,110,116, 97,105,
+ 110,101,114, 58,115,101,116, 95,112,114,111,112,101,114,116,
+ 121, 95,116,121,112,101, 40,112,116,121,112,101, 41, 10, 9,
+ 112,116,121,112,101, 32, 61, 32,115,116,114,105,110,103, 46,
+ 103,115,117, 98, 40,112,116,121,112,101, 44, 32, 34, 94, 37,
+ 115, 42, 34, 44, 32, 34, 34, 41, 10, 9,112,116,121,112,101,
+ 32, 61, 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,
+ 112,116,121,112,101, 44, 32, 34, 37,115, 42, 36, 34, 44, 32,
+ 34, 34, 41, 10, 10, 9,115,101,108,102, 46,112,114,111,112,
+ 101,114,116,121, 95,116,121,112,101, 32, 61, 32,112,116,121,
+ 112,101, 10,101,110,100, 10, 10,102,117,110, 99,116,105,111,
+ 110, 32, 99,108, 97,115,115, 67,111,110,116, 97,105,110,101,
+ 114, 58,103,101,116, 95,112,114,111,112,101,114,116,121, 95,
+ 116,121,112,101, 40, 41, 10, 9,114,101,116,117,114,110, 32,
+ 115,101,108,102, 46,112,114,111,112,101,114,116,121, 95,116,
+ 121,112,101, 32,111,114, 32, 40,115,101,108,102, 46,112, 97,
+ 114,101,110,116, 32, 97,110,100, 32,115,101,108,102, 46,112,
+ 97,114,101,110,116, 58,103,101,116, 95,112,114,111,112,101,
+ 114,116,121, 95,116,121,112,101, 40, 41, 41, 32,111,114, 32,
+ 34,100,101,102, 97,117,108,116, 34, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/container.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32,112, 97, 99,107, 97,
+ 103,101, 32, 99,108, 97,115,115, 10, 45, 45, 32, 87,114,105,
+ 116,116,101,110, 32, 98,121, 32, 87, 97,108,100,101,109, 97,
+ 114, 32, 67,101,108,101,115, 10, 45, 45, 32, 84,101, 67, 71,
+ 114, 97,102, 47, 80, 85, 67, 45, 82,105,111, 10, 45, 45, 32,
+ 74,117,108, 32, 49, 57, 57, 56, 10, 45, 45, 32, 36, 73,100,
+ 58, 32, 36, 10, 10, 45, 45, 32, 84,104,105,115, 32, 99,111,
+ 100,101, 32,105,115, 32,102,114,101,101, 32,115,111,102,116,
+ 119, 97,114,101, 59, 32,121,111,117, 32, 99, 97,110, 32,114,
+ 101,100,105,115,116,114,105, 98,117,116,101, 32,105,116, 32,
+ 97,110,100, 47,111,114, 32,109,111,100,105,102,121, 32,105,
+ 116, 46, 10, 45, 45, 32, 84,104,101, 32,115,111,102,116,119,
+ 97,114,101, 32,112,114,111,118,105,100,101,100, 32,104,101,
+ 114,101,117,110,100,101,114, 32,105,115, 32,111,110, 32, 97,
+ 110, 32, 34, 97,115, 32,105,115, 34, 32, 98, 97,115,105,115,
+ 44, 32, 97,110,100, 10, 45, 45, 32,116,104,101, 32, 97,117,
+ 116,104,111,114, 32,104, 97,115, 32,110,111, 32,111, 98,108,
+ 105,103, 97,116,105,111,110, 32,116,111, 32,112,114,111,118,
+ 105,100,101, 32,109, 97,105,110,116,101,110, 97,110, 99,101,
+ 44, 32,115,117,112,112,111,114,116, 44, 32,117,112,100, 97,
+ 116,101,115, 44, 10, 45, 45, 32,101,110,104, 97,110, 99,101,
+ 109,101,110,116,115, 44, 32,111,114, 32,109,111,100,105,102,
+ 105, 99, 97,116,105,111,110,115, 46, 10, 10, 10, 10, 45, 45,
+ 32, 80, 97, 99,107, 97,103,101, 32, 99,108, 97,115,115, 10,
+ 45, 45, 32, 82,101,112,114,101,115,101,110,116,115, 32,116,
+ 104,101, 32,119,104,111,108,101, 32,112, 97, 99,107, 97,103,
+ 101, 32, 98,101,105,110,103, 32, 98,111,117,110,100, 46, 10,
+ 45, 45, 32, 84,104,101, 32,102,111,108,108,111,119,105,110,
+ 103, 32,102,105,101,108,100,115, 32, 97,114,101, 32,115,116,
+ 111,114,101,100, 58, 10, 45, 45, 32, 32, 32, 32,123,105,125,
+ 32, 61, 32,108,105,115,116, 32,111,102, 32,111, 98,106,101,
+ 99,116,115, 32,105,110, 32,116,104,101, 32,112, 97, 99,107,
+ 97,103,101, 46, 10, 99,108, 97,115,115, 80, 97, 99,107, 97,
+ 103,101, 32, 61, 32,123, 10, 32, 99,108, 97,115,115,116,121,
+ 112,101, 32, 61, 32, 39,112, 97, 99,107, 97,103,101, 39, 10,
+ 125, 10, 99,108, 97,115,115, 80, 97, 99,107, 97,103,101, 46,
+ 95, 95,105,110,100,101,120, 32, 61, 32, 99,108, 97,115,115,
+ 80, 97, 99,107, 97,103,101, 10,115,101,116,109,101,116, 97,
+ 116, 97, 98,108,101, 40, 99,108, 97,115,115, 80, 97, 99,107,
+ 97,103,101, 44, 99,108, 97,115,115, 67,111,110,116, 97,105,
+ 110,101,114, 41, 10, 10, 45, 45, 32, 80,114,105,110,116, 32,
+ 109,101,116,104,111,100, 10,102,117,110, 99,116,105,111,110,
+ 32, 99,108, 97,115,115, 80, 97, 99,107, 97,103,101, 58,112,
+ 114,105,110,116, 32, 40, 41, 10, 32,112,114,105,110,116, 40,
+ 34, 80, 97, 99,107, 97,103,101, 58, 32, 34, 46, 46,115,101,
+ 108,102, 46,110, 97,109,101, 41, 10, 32,108,111, 99, 97,108,
+ 32,105, 61, 49, 10, 32,119,104,105,108,101, 32,115,101,108,
+ 102, 91,105, 93, 32,100,111, 10, 32, 32,115,101,108,102, 91,
+ 105, 93, 58,112,114,105,110,116, 40, 34, 34, 44, 34, 34, 41,
+ 10, 32, 32,105, 32, 61, 32,105, 43, 49, 10, 32,101,110,100,
+ 10,101,110,100, 10, 10,102,117,110, 99,116,105,111,110, 32,
+ 99,108, 97,115,115, 80, 97, 99,107, 97,103,101, 58,112,114,
+ 101,112,114,111, 99,101,115,115, 32, 40, 41, 10, 10, 32, 45,
+ 45, 32, 97,118,111,105,100, 32,112,114,101,112,114,111, 99,
+ 101,115,115,105,110,103, 32,101,109, 98,101,100,100,101,100,
+ 32, 76,117, 97, 32, 99,111,100,101, 10, 32,108,111, 99, 97,
+ 108, 32, 76, 32, 61, 32,123,125, 10, 32,115,101,108,102, 46,
+ 99,111,100,101, 32, 61, 32,103,115,117, 98, 40,115,101,108,
+ 102, 46, 99,111,100,101, 44, 34, 92,110, 37,115, 42, 37, 36,
+ 37, 91, 34, 44, 34, 92, 49, 34, 41, 32, 45, 45, 32,100,101,
+ 97,108, 32,119,105,116,104, 32,101,109, 98,101,100,100,101,
+ 100, 32,108,117, 97, 32, 99,111,100,101, 10, 32,115,101,108,
+ 102, 46, 99,111,100,101, 32, 61, 32,103,115,117, 98, 40,115,
+ 101,108,102, 46, 99,111,100,101, 44, 34, 92,110, 37,115, 42,
+ 37, 36, 37, 93, 34, 44, 34, 92, 50, 34, 41, 10, 32,115,101,
+ 108,102, 46, 99,111,100,101, 32, 61, 32,103,115,117, 98, 40,
+ 115,101,108,102, 46, 99,111,100,101, 44, 34, 40, 37, 98, 92,
+ 49, 92, 50, 41, 34, 44, 32, 32, 32, 32, 32, 32, 32,102,117,
+ 110, 99,116,105,111,110, 32, 40, 99, 41, 10, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,116,105,
+ 110,115,101,114,116, 40, 76, 44, 99, 41, 10, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,114,101,
+ 116,117,114,110, 32, 34, 92,110, 35, 91, 34, 46, 46,103,101,
+ 116,110, 40, 76, 41, 46, 46, 34, 93, 35, 34, 10, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,101,110,
+ 100, 41, 10, 32, 45, 45, 32, 97,118,111,105,100, 32,112,114,
+ 101,112,114,111, 99,101,115,115,105,110,103, 32,101,109, 98,
+ 101,100,100,101,100, 32, 67, 32, 99,111,100,101, 10, 32,108,
+ 111, 99, 97,108, 32, 67, 32, 61, 32,123,125, 10, 32,115,101,
+ 108,102, 46, 99,111,100,101, 32, 61, 32,103,115,117, 98, 40,
+ 115,101,108,102, 46, 99,111,100,101, 44, 34, 92,110, 37,115,
+ 42, 37, 36, 37, 60, 34, 44, 34, 92, 51, 34, 41, 32, 45, 45,
+ 32,100,101, 97,108, 32,119,105,116,104, 32,101,109, 98,101,
+ 100,100,101,100, 32, 67, 32, 99,111,100,101, 10, 32,115,101,
+ 108,102, 46, 99,111,100,101, 32, 61, 32,103,115,117, 98, 40,
+ 115,101,108,102, 46, 99,111,100,101, 44, 34, 92,110, 37,115,
+ 42, 37, 36, 37, 62, 34, 44, 34, 92, 52, 34, 41, 10, 32,115,
+ 101,108,102, 46, 99,111,100,101, 32, 61, 32,103,115,117, 98,
+ 40,115,101,108,102, 46, 99,111,100,101, 44, 34, 40, 37, 98,
+ 92, 51, 92, 52, 41, 34, 44, 32, 32, 32, 32, 32, 32, 32,102,
+ 117,110, 99,116,105,111,110, 32, 40, 99, 41, 10, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,116,
+ 105,110,115,101,114,116, 40, 67, 44, 99, 41, 10, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,114,
+ 101,116,117,114,110, 32, 34, 92,110, 35, 60, 34, 46, 46,103,
+ 101,116,110, 40, 67, 41, 46, 46, 34, 62, 35, 34, 10, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,101,
+ 110,100, 41, 10, 32, 45, 45, 32, 97,118,111,105,100, 32,112,
+ 114,101,112,114,111, 99,101,115,115,105,110,103, 32,101,109,
+ 98,101,100,100,101,100, 32, 67, 32, 99,111,100,101, 10, 32,
+ 115,101,108,102, 46, 99,111,100,101, 32, 61, 32,103,115,117,
+ 98, 40,115,101,108,102, 46, 99,111,100,101, 44, 34, 92,110,
+ 37,115, 42, 37, 36, 37,123, 34, 44, 34, 92, 53, 34, 41, 32,
+ 45, 45, 32,100,101, 97,108, 32,119,105,116,104, 32,101,109,
+ 98,101,100,100,101,100, 32, 67, 32, 99,111,100,101, 10, 32,
+ 115,101,108,102, 46, 99,111,100,101, 32, 61, 32,103,115,117,
+ 98, 40,115,101,108,102, 46, 99,111,100,101, 44, 34, 92,110,
+ 37,115, 42, 37, 36, 37,125, 34, 44, 34, 92, 54, 34, 41, 10,
+ 32,115,101,108,102, 46, 99,111,100,101, 32, 61, 32,103,115,
+ 117, 98, 40,115,101,108,102, 46, 99,111,100,101, 44, 34, 40,
+ 37, 98, 92, 53, 92, 54, 41, 34, 44, 32, 32, 32, 32, 32, 32,
+ 32,102,117,110, 99,116,105,111,110, 32, 40, 99, 41, 10, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32,116,105,110,115,101,114,116, 40, 67, 44, 99, 41, 10, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32,114,101,116,117,114,110, 32, 34, 92,110, 35, 60, 34, 46,
+ 46,103,101,116,110, 40, 67, 41, 46, 46, 34, 62, 35, 34, 10,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32,101,110,100, 41, 10, 10, 32, 45, 45,115,101,108,102, 46,
+ 99,111,100,101, 32, 61, 32,103,115,117, 98, 40,115,101,108,
+ 102, 46, 99,111,100,101, 44, 34, 92,110, 37,115, 42, 35, 91,
+ 94,100, 93, 91, 94, 92,110, 93, 42, 92,110, 34, 44, 32, 34,
+ 92,110, 92,110, 34, 41, 32, 45, 45, 32,101,108,105,109,105,
+ 110, 97,116,101, 32,112,114,101,112,114,111, 99,101,115,115,
+ 111,114, 32,100,105,114,101, 99,116,105,118,101,115, 32,116,
+ 104, 97,116, 32,100,111,110, 39,116, 32,115,116, 97,114,116,
+ 32,119,105,116,104, 32, 39,100, 39, 10, 32,115,101,108,102,
+ 46, 99,111,100,101, 32, 61, 32,103,115,117, 98, 40,115,101,
+ 108,102, 46, 99,111,100,101, 44, 34, 92,110, 91, 32, 92,116,
+ 93, 42, 35, 91, 32, 92,116, 93, 42, 91, 94,100, 37, 60, 37,
+ 91, 93, 34, 44, 32, 34, 92,110, 47, 47, 34, 41, 32, 45, 45,
+ 32,101,108,105,109,105,110, 97,116,101, 32,112,114,101,112,
+ 114,111, 99,101,115,115,111,114, 32,100,105,114,101, 99,116,
+ 105,118,101,115, 32,116,104, 97,116, 32,100,111,110, 39,116,
+ 32,115,116, 97,114,116, 32,119,105,116,104, 32, 39,100, 39,
+ 10, 10, 32, 45, 45, 32, 97,118,111,105,100, 32,112,114,101,
+ 112,114,111, 99,101,115,115,105,110,103, 32,118,101,114, 98,
+ 97,116,105,109, 32,108,105,110,101,115, 10, 32,108,111, 99,
+ 97,108, 32, 86, 32, 61, 32,123,125, 10, 32,115,101,108,102,
+ 46, 99,111,100,101, 32, 61, 32,103,115,117, 98, 40,115,101,
+ 108,102, 46, 99,111,100,101, 44, 34, 92,110, 40, 37,115, 42,
+ 37, 36, 91, 94, 37, 91, 37, 93, 93, 91, 94, 92,110, 93, 42,
+ 41, 34, 44,102,117,110, 99,116,105,111,110, 32, 40,118, 41,
+ 10, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32,116,105,110,115,101,114,116, 40, 86, 44,118, 41,
+ 10, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32,114,101,116,117,114,110, 32, 34, 92,110, 35, 34,
+ 46, 46,103,101,116,110, 40, 86, 41, 46, 46, 34, 35, 34, 10,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32,101,110,100, 41, 10, 10, 32, 45, 45, 32,112,101,114,102,
+ 111,114,109, 32,103,108,111, 98, 97,108, 32,115,117, 98,115,
+ 116,105,116,117,116,105,111,110, 10, 10, 32,115,101,108,102,
+ 46, 99,111,100,101, 32, 61, 32,103,115,117, 98, 40,115,101,
+ 108,102, 46, 99,111,100,101, 44, 34, 40, 47, 47, 91, 94, 92,
+ 110, 93, 42, 41, 34, 44, 34, 34, 41, 32, 32, 32, 32, 32, 45,
+ 45, 32,101,108,105,109,105,110, 97,116,101, 32, 67, 43, 43,
+ 32, 99,111,109,109,101,110,116,115, 10, 32,115,101,108,102,
+ 46, 99,111,100,101, 32, 61, 32,103,115,117, 98, 40,115,101,
+ 108,102, 46, 99,111,100,101, 44, 34, 47, 37, 42, 34, 44, 34,
+ 92, 49, 34, 41, 10, 32,115,101,108,102, 46, 99,111,100,101,
+ 32, 61, 32,103,115,117, 98, 40,115,101,108,102, 46, 99,111,
+ 100,101, 44, 34, 37, 42, 47, 34, 44, 34, 92, 50, 34, 41, 10,
+ 32,115,101,108,102, 46, 99,111,100,101, 32, 61, 32,103,115,
+ 117, 98, 40,115,101,108,102, 46, 99,111,100,101, 44, 34, 37,
+ 98, 92, 49, 92, 50, 34, 44, 34, 34, 41, 10, 32,115,101,108,
+ 102, 46, 99,111,100,101, 32, 61, 32,103,115,117, 98, 40,115,
+ 101,108,102, 46, 99,111,100,101, 44, 34, 92, 49, 34, 44, 34,
+ 47, 37, 42, 34, 41, 10, 32,115,101,108,102, 46, 99,111,100,
+ 101, 32, 61, 32,103,115,117, 98, 40,115,101,108,102, 46, 99,
+ 111,100,101, 44, 34, 92, 50, 34, 44, 34, 37, 42, 47, 34, 41,
+ 10, 32,115,101,108,102, 46, 99,111,100,101, 32, 61, 32,103,
+ 115,117, 98, 40,115,101,108,102, 46, 99,111,100,101, 44, 34,
+ 37,115, 42, 64, 37,115, 42, 34, 44, 34, 64, 34, 41, 32, 45,
+ 45, 32,101,108,105,109,105,110, 97,116,101, 32,115,112, 97,
+ 99,101,115, 32, 98,101,115,105,100,101, 32, 64, 10, 32,115,
+ 101,108,102, 46, 99,111,100,101, 32, 61, 32,103,115,117, 98,
+ 40,115,101,108,102, 46, 99,111,100,101, 44, 34, 37,115, 63,
+ 105,110,108,105,110,101, 40, 37,115, 41, 34, 44, 34, 37, 49,
+ 34, 41, 32, 45, 45, 32,101,108,105,109,105,110, 97,116,101,
+ 32, 39,105,110,108,105,110,101, 39, 32,107,101,121,119,111,
+ 114,100, 10, 32, 45, 45,115,101,108,102, 46, 99,111,100,101,
+ 32, 61, 32,103,115,117, 98, 40,115,101,108,102, 46, 99,111,
+ 100,101, 44, 34, 37,115, 63,101,120,116,101,114,110, 40, 37,
+ 115, 41, 34, 44, 34, 37, 49, 34, 41, 32, 45, 45, 32,101,108,
+ 105,109,105,110, 97,116,101, 32, 39,101,120,116,101,114,110,
+ 39, 32,107,101,121,119,111,114,100, 10, 32, 45, 45,115,101,
+ 108,102, 46, 99,111,100,101, 32, 61, 32,103,115,117, 98, 40,
+ 115,101,108,102, 46, 99,111,100,101, 44, 34, 37,115, 63,118,
+ 105,114,116,117, 97,108, 40, 37,115, 41, 34, 44, 34, 37, 49,
+ 34, 41, 32, 45, 45, 32,101,108,105,109,105,110, 97,116,101,
+ 32, 39,118,105,114,116,117, 97,108, 39, 32,107,101,121,119,
+ 111,114,100, 10, 32, 45, 45,115,101,108,102, 46, 99,111,100,
+ 101, 32, 61, 32,103,115,117, 98, 40,115,101,108,102, 46, 99,
+ 111,100,101, 44, 34,112,117, 98,108,105, 99, 58, 34, 44, 34,
+ 34, 41, 32, 45, 45, 32,101,108,105,109,105,110, 97,116,101,
+ 32, 39,112,117, 98,108,105, 99, 58, 39, 32,107,101,121,119,
+ 111,114,100, 10, 32,115,101,108,102, 46, 99,111,100,101, 32,
+ 61, 32,103,115,117, 98, 40,115,101,108,102, 46, 99,111,100,
+ 101, 44, 34, 40, 91, 94, 37,119, 95, 93, 41,118,111,105,100,
+ 37,115, 42, 37, 42, 34, 44, 34, 37, 49, 95,117,115,101,114,
+ 100, 97,116, 97, 32, 34, 41, 32, 45, 45, 32,115,117, 98,115,
+ 116,105,116,117,116,101, 32, 39,118,111,105,100, 42, 39, 10,
+ 32,115,101,108,102, 46, 99,111,100,101, 32, 61, 32,103,115,
+ 117, 98, 40,115,101,108,102, 46, 99,111,100,101, 44, 34, 40,
+ 91, 94, 37,119, 95, 93, 41,118,111,105,100, 37,115, 42, 37,
+ 42, 34, 44, 34, 37, 49, 95,117,115,101,114,100, 97,116, 97,
+ 32, 34, 41, 32, 45, 45, 32,115,117, 98,115,116,105,116,117,
+ 116,101, 32, 39,118,111,105,100, 42, 39, 10, 32,115,101,108,
+ 102, 46, 99,111,100,101, 32, 61, 32,103,115,117, 98, 40,115,
+ 101,108,102, 46, 99,111,100,101, 44, 34, 40, 91, 94, 37,119,
+ 95, 93, 41, 99,104, 97,114, 37,115, 42, 37, 42, 34, 44, 34,
+ 37, 49, 95, 99,115,116,114,105,110,103, 32, 34, 41, 32, 32,
+ 45, 45, 32,115,117, 98,115,116,105,116,117,116,101, 32, 39,
+ 99,104, 97,114, 42, 39, 10, 32,115,101,108,102, 46, 99,111,
+ 100,101, 32, 61, 32,103,115,117, 98, 40,115,101,108,102, 46,
+ 99,111,100,101, 44, 34, 40, 91, 94, 37,119, 95, 93, 41,108,
+ 117, 97, 95, 83,116, 97,116,101, 37,115, 42, 37, 42, 34, 44,
+ 34, 37, 49, 95,108,115,116, 97,116,101, 32, 34, 41, 32, 32,
+ 45, 45, 32,115,117, 98,115,116,105,116,117,116,101, 32, 39,
+ 108,117, 97, 95, 83,116, 97,116,101, 42, 39, 10, 10, 32, 45,
+ 45, 32,114,101,115,116,111,114,101, 32,101,109, 98,101,100,
+ 100,101,100, 32, 76,117, 97, 32, 99,111,100,101, 10, 32,115,
+ 101,108,102, 46, 99,111,100,101, 32, 61, 32,103,115,117, 98,
+ 40,115,101,108,102, 46, 99,111,100,101, 44, 34, 37, 35, 37,
+ 91, 40, 37,100, 43, 41, 37, 93, 37, 35, 34, 44,102,117,110,
+ 99,116,105,111,110, 32, 40,110, 41, 10, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,114,101,116,117,
+ 114,110, 32, 76, 91,116,111,110,117,109, 98,101,114, 40,110,
+ 41, 93, 10, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32,101,110,100, 41, 10, 32, 45, 45, 32,114,101,115,116,
+ 111,114,101, 32,101,109, 98,101,100,100,101,100, 32, 67, 32,
+ 99,111,100,101, 10, 32,115,101,108,102, 46, 99,111,100,101,
+ 32, 61, 32,103,115,117, 98, 40,115,101,108,102, 46, 99,111,
+ 100,101, 44, 34, 37, 35, 37, 60, 40, 37,100, 43, 41, 37, 62,
+ 37, 35, 34, 44,102,117,110, 99,116,105,111,110, 32, 40,110,
+ 41, 10, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32,114,101,116,117,114,110, 32, 67, 91,116,111,110,117,
+ 109, 98,101,114, 40,110, 41, 93, 10, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32,101,110,100, 41, 10, 32, 45,
+ 45, 32,114,101,115,116,111,114,101, 32,118,101,114, 98, 97,
+ 116,105,109, 32,108,105,110,101,115, 10, 32,115,101,108,102,
+ 46, 99,111,100,101, 32, 61, 32,103,115,117, 98, 40,115,101,
+ 108,102, 46, 99,111,100,101, 44, 34, 37, 35, 40, 37,100, 43,
+ 41, 37, 35, 34, 44,102,117,110, 99,116,105,111,110, 32, 40,
+ 110, 41, 10, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,114,
+ 101,116,117,114,110, 32, 86, 91,116,111,110,117,109, 98,101,
+ 114, 40,110, 41, 93, 10, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32,101,110,100, 41, 10, 10, 32,115,101,108,102, 46, 99,111,
+ 100,101, 32, 61, 32,115,116,114,105,110,103, 46,103,115,117,
+ 98, 40,115,101,108,102, 46, 99,111,100,101, 44, 32, 34, 92,
+ 110, 37,115, 42, 37, 36, 40, 91, 94, 92,110, 93, 43, 41, 34,
+ 44, 32,102,117,110, 99,116,105,111,110, 32, 40,108, 41, 10,
+ 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 86,101,114, 98,
+ 97,116,105,109, 40,108, 46, 46, 34, 92,110, 34, 41, 10, 9,
+ 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,114,101,116,117,114,
+ 110, 32, 34, 92,110, 34, 10, 9, 9, 9, 9, 9, 9, 9, 9,
+ 9, 9, 32, 32,101,110,100, 41, 10,101,110,100, 10, 10, 45,
+ 45, 32,116,114, 97,110,115,108, 97,116,101, 32,118,101,114,
+ 98, 97,116,105,109, 10,102,117,110, 99,116,105,111,110, 32,
+ 99,108, 97,115,115, 80, 97, 99,107, 97,103,101, 58,112,114,
+ 101, 97,109, 98,108,101, 32, 40, 41, 10, 32,111,117,116,112,
+ 117,116, 40, 39, 47, 42, 92,110, 39, 41, 10, 32,111,117,116,
+ 112,117,116, 40, 39, 42, 42, 32, 76,117, 97, 32, 98,105,110,
+ 100,105,110,103, 58, 32, 39, 46, 46,115,101,108,102, 46,110,
+ 97,109,101, 46, 46, 39, 92,110, 39, 41, 10, 32,111,117,116,
+ 112,117,116, 40, 39, 42, 42, 32, 71,101,110,101,114, 97,116,
+ 101,100, 32, 97,117,116,111,109, 97,116,105, 99, 97,108,108,
+ 121, 32, 98,121, 32, 39, 46, 46, 84, 79, 76, 85, 65, 95, 86,
+ 69, 82, 83, 73, 79, 78, 46, 46, 39, 32,111,110, 32, 39, 46,
+ 46,100, 97,116,101, 40, 41, 46, 46, 39, 46, 92,110, 39, 41,
+ 10, 32,111,117,116,112,117,116, 40, 39, 42, 47, 92,110, 92,
+ 110, 39, 41, 10, 10, 9,111,117,116,112,117,116, 40, 39, 35,
+ 105,102,110,100,101,102, 32, 95, 95, 99,112,108,117,115,112,
+ 108,117,115, 92,110, 39, 41, 10, 9,111,117,116,112,117,116,
+ 40, 39, 35,105,110, 99,108,117,100,101, 32, 34,115,116,100,
+ 108,105, 98, 46,104, 34, 92,110, 39, 41, 10, 9,111,117,116,
+ 112,117,116, 40, 39, 35,101,110,100,105,102, 92,110, 39, 41,
+ 10, 9,111,117,116,112,117,116, 40, 39, 35,105,110, 99,108,
+ 117,100,101, 32, 34,115,116,114,105,110,103, 46,104, 34, 92,
+ 110, 92,110, 39, 41, 10, 32,111,117,116,112,117,116, 40, 39,
+ 35,105,110, 99,108,117,100,101, 32, 34,116,111,108,117, 97,
+ 43, 43, 46,104, 34, 92,110, 92,110, 39, 41, 10, 10, 32,105,
+ 102, 32,110,111,116, 32,102,108, 97,103,115, 46,104, 32,116,
+ 104,101,110, 10, 32, 32,111,117,116,112,117,116, 40, 39, 47,
+ 42, 32, 69,120,112,111,114,116,101,100, 32,102,117,110, 99,
+ 116,105,111,110, 32, 42, 47, 39, 41, 10, 32, 32,111,117,116,
+ 112,117,116, 40, 39, 84, 79, 76, 85, 65, 95, 65, 80, 73, 32,
+ 105,110,116, 32, 32,116,111,108,117, 97, 95, 39, 46, 46,115,
+ 101,108,102, 46,110, 97,109,101, 46, 46, 39, 95,111,112,101,
+ 110, 32, 40,108,117, 97, 95, 83,116, 97,116,101, 42, 32,116,
+ 111,108,117, 97, 95, 83, 41, 59, 39, 41, 10, 32, 32,111,117,
+ 116,112,117,116, 40, 39, 92,110, 39, 41, 10, 32,101,110,100,
+ 10, 10, 32,108,111, 99, 97,108, 32,105, 61, 49, 10, 32,119,
+ 104,105,108,101, 32,115,101,108,102, 91,105, 93, 32,100,111,
+ 10, 32, 32,115,101,108,102, 91,105, 93, 58,112,114,101, 97,
+ 109, 98,108,101, 40, 41, 10, 32, 32,105, 32, 61, 32,105, 43,
+ 49, 10, 32,101,110,100, 10, 10, 9,105,102, 32,115,101,108,
+ 102, 58,114,101,113,117,105,114,101, 99,111,108,108,101, 99,
+ 116,105,111,110, 40, 95, 99,111,108,108,101, 99,116, 41, 32,
+ 116,104,101,110, 10, 9, 9,111,117,116,112,117,116, 40, 39,
+ 92,110, 39, 41, 10, 9, 9,111,117,116,112,117,116, 40, 39,
+ 47, 42, 32,102,117,110, 99,116,105,111,110, 32,116,111, 32,
+ 114,101,108,101, 97,115,101, 32, 99,111,108,108,101, 99,116,
+ 101,100, 32,111, 98,106,101, 99,116, 32,118,105, 97, 32,100,
+ 101,115,116,114,117, 99,116,111,114, 32, 42, 47, 39, 41, 10,
+ 9, 9,111,117,116,112,117,116, 40, 39, 35,105,102,100,101,
+ 102, 32, 95, 95, 99,112,108,117,115,112,108,117,115, 92,110,
+ 39, 41, 10, 9, 9,102,111,114, 32,105, 44,118, 32,105,110,
+ 32,112, 97,105,114,115, 40, 95, 99,111,108,108,101, 99,116,
+ 41, 32,100,111, 10, 9, 9, 32,111,117,116,112,117,116, 40,
+ 39, 92,110,115,116, 97,116,105, 99, 32,105,110,116, 32, 39,
+ 46, 46,118, 46, 46, 39, 32, 40,108,117, 97, 95, 83,116, 97,
+ 116,101, 42, 32,116,111,108,117, 97, 95, 83, 41, 39, 41, 10,
+ 9, 9, 9,111,117,116,112,117,116, 40, 39,123, 39, 41, 10,
+ 9, 9, 9,111,117,116,112,117,116, 40, 39, 32, 39, 46, 46,
+ 105, 46, 46, 39, 42, 32,115,101,108,102, 32, 61, 32, 40, 39,
+ 46, 46,105, 46, 46, 39, 42, 41, 32,116,111,108,117, 97, 95,
+ 116,111,117,115,101,114,116,121,112,101, 40,116,111,108,117,
+ 97, 95, 83, 44, 49, 44, 48, 41, 59, 39, 41, 10, 9, 9, 9,
+ 111,117,116,112,117,116, 40, 39, 9, 77,116,111,108,117, 97,
+ 95,100,101,108,101,116,101, 40,115,101,108,102, 41, 59, 39,
+ 41, 10, 9, 9, 9,111,117,116,112,117,116, 40, 39, 9,114,
+ 101,116,117,114,110, 32, 48, 59, 39, 41, 10, 9, 9, 9,111,
+ 117,116,112,117,116, 40, 39,125, 39, 41, 10, 9, 9,101,110,
+ 100, 10, 9, 9,111,117,116,112,117,116, 40, 39, 35,101,110,
+ 100,105,102, 92,110, 92,110, 39, 41, 10, 9,101,110,100, 10,
+ 10, 32,111,117,116,112,117,116, 40, 39, 92,110, 39, 41, 10,
+ 32,111,117,116,112,117,116, 40, 39, 47, 42, 32,102,117,110,
+ 99,116,105,111,110, 32,116,111, 32,114,101,103,105,115,116,
+ 101,114, 32,116,121,112,101, 32, 42, 47, 39, 41, 10, 32,111,
+ 117,116,112,117,116, 40, 39,115,116, 97,116,105, 99, 32,118,
+ 111,105,100, 32,116,111,108,117, 97, 95,114,101,103, 95,116,
+ 121,112,101,115, 32, 40,108,117, 97, 95, 83,116, 97,116,101,
+ 42, 32,116,111,108,117, 97, 95, 83, 41, 39, 41, 10, 32,111,
+ 117,116,112,117,116, 40, 39,123, 39, 41, 10, 10, 9,105,102,
+ 32,102,108, 97,103,115, 46,116, 32,116,104,101,110, 10, 9,
+ 9,111,117,116,112,117,116, 40, 34, 35,105,102,110,100,101,
+ 102, 32, 77,116,111,108,117, 97, 95,116,121,112,101,105,100,
+ 92,110, 35,100,101,102,105,110,101, 32, 77,116,111,108,117,
+ 97, 95,116,121,112,101,105,100, 40, 76, 44, 84, 73, 44, 84,
+ 41, 92,110, 35,101,110,100,105,102, 92,110, 34, 41, 10, 9,
+ 101,110,100, 10, 9,102,111,114,101, 97, 99,104, 40, 95,117,
+ 115,101,114,116,121,112,101, 44,102,117,110, 99,116,105,111,
+ 110, 40,110, 44,118, 41, 10, 9, 9,105,102, 32, 40,110,111,
+ 116, 32, 95,103,108,111, 98, 97,108, 95, 99,108, 97,115,115,
+ 101,115, 91,118, 93, 41, 32,111,114, 32, 95,103,108,111, 98,
+ 97,108, 95, 99,108, 97,115,115,101,115, 91,118, 93, 58, 99,
+ 104,101, 99,107, 95,112,117, 98,108,105, 99, 95, 97, 99, 99,
+ 101,115,115, 40, 41, 32,116,104,101,110, 10, 9, 9, 9,111,
+ 117,116,112,117,116, 40, 39, 32,116,111,108,117, 97, 95,117,
+ 115,101,114,116,121,112,101, 40,116,111,108,117, 97, 95, 83,
+ 44, 34, 39, 44,118, 44, 39, 34, 41, 59, 39, 41, 10, 9, 9,
+ 9,105,102, 32,102,108, 97,103,115, 46,116, 32,116,104,101,
+ 110, 10, 9, 9, 9, 9,111,117,116,112,117,116, 40, 39, 32,
+ 77,116,111,108,117, 97, 95,116,121,112,101,105,100, 40,116,
+ 111,108,117, 97, 95, 83, 44,116,121,112,101,105,100, 40, 39,
+ 44,118, 44, 39, 41, 44, 32, 34, 39, 44,118, 44, 39, 34, 41,
+ 59, 39, 41, 10, 9, 9, 9,101,110,100, 10, 9, 9,101,110,
+ 100, 10, 9, 32,101,110,100, 41, 10, 32,111,117,116,112,117,
+ 116, 40, 39,125, 39, 41, 10, 32,111,117,116,112,117,116, 40,
+ 39, 92,110, 39, 41, 10,101,110,100, 10, 10, 45, 45, 32,114,
+ 101,103,105,115,116,101,114, 32,112, 97, 99,107, 97,103,101,
+ 10, 45, 45, 32,119,114,105,116,101, 32,112, 97, 99,107, 97,
+ 103,101, 32,111,112,101,110, 32,102,117,110, 99,116,105,111,
+ 110, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,115,
+ 115, 80, 97, 99,107, 97,103,101, 58,114,101,103,105,115,116,
+ 101,114, 32, 40,112,114,101, 41, 10, 32,112,114,101, 32, 61,
+ 32,112,114,101, 32,111,114, 32, 39, 39, 10, 32,112,117,115,
+ 104, 40,115,101,108,102, 41, 10, 32,111,117,116,112,117,116,
+ 40,112,114,101, 46, 46, 34, 47, 42, 32, 79,112,101,110, 32,
+ 102,117,110, 99,116,105,111,110, 32, 42, 47, 34, 41, 10, 32,
+ 111,117,116,112,117,116, 40,112,114,101, 46, 46, 34, 84, 79,
+ 76, 85, 65, 95, 65, 80, 73, 32,105,110,116, 32,116,111,108,
+ 117, 97, 95, 34, 46, 46,115,101,108,102, 46,110, 97,109,101,
+ 46, 46, 34, 95,111,112,101,110, 32, 40,108,117, 97, 95, 83,
+ 116, 97,116,101, 42, 32,116,111,108,117, 97, 95, 83, 41, 34,
+ 41, 10, 32,111,117,116,112,117,116, 40,112,114,101, 46, 46,
+ 34,123, 34, 41, 10, 32,111,117,116,112,117,116, 40,112,114,
+ 101, 46, 46, 34, 32,116,111,108,117, 97, 95,111,112,101,110,
+ 40,116,111,108,117, 97, 95, 83, 41, 59, 34, 41, 10, 32,111,
+ 117,116,112,117,116, 40,112,114,101, 46, 46, 34, 32,116,111,
+ 108,117, 97, 95,114,101,103, 95,116,121,112,101,115, 40,116,
+ 111,108,117, 97, 95, 83, 41, 59, 34, 41, 10, 32,111,117,116,
+ 112,117,116, 40,112,114,101, 46, 46, 34, 32,116,111,108,117,
+ 97, 95,109,111,100,117,108,101, 40,116,111,108,117, 97, 95,
+ 83, 44, 78, 85, 76, 76, 44, 34, 44,115,101,108,102, 58,104,
+ 97,115,118, 97,114, 40, 41, 44, 34, 41, 59, 34, 41, 10, 32,
+ 111,117,116,112,117,116, 40,112,114,101, 46, 46, 34, 32,116,
+ 111,108,117, 97, 95, 98,101,103,105,110,109,111,100,117,108,
+ 101, 40,116,111,108,117, 97, 95, 83, 44, 78, 85, 76, 76, 41,
+ 59, 34, 41, 10, 32,108,111, 99, 97,108, 32,105, 61, 49, 10,
+ 32,119,104,105,108,101, 32,115,101,108,102, 91,105, 93, 32,
+ 100,111, 10, 32, 32,115,101,108,102, 91,105, 93, 58,114,101,
+ 103,105,115,116,101,114, 40,112,114,101, 46, 46, 34, 32, 32,
+ 34, 41, 10, 32, 32,105, 32, 61, 32,105, 43, 49, 10, 32,101,
+ 110,100, 10, 32,111,117,116,112,117,116, 40,112,114,101, 46,
+ 46, 34, 32,116,111,108,117, 97, 95,101,110,100,109,111,100,
+ 117,108,101, 40,116,111,108,117, 97, 95, 83, 41, 59, 34, 41,
+ 10, 32,111,117,116,112,117,116, 40,112,114,101, 46, 46, 34,
+ 32,114,101,116,117,114,110, 32, 49, 59, 34, 41, 10, 32,111,
+ 117,116,112,117,116, 40,112,114,101, 46, 46, 34,125, 34, 41,
+ 10, 10, 32,111,117,116,112,117,116, 40, 34, 92,110, 92,110,
+ 34, 41, 10, 32,111,117,116,112,117,116, 40, 34, 35,105,102,
+ 32,100,101,102,105,110,101,100, 40, 76, 85, 65, 95, 86, 69,
+ 82, 83, 73, 79, 78, 95, 78, 85, 77, 41, 32, 38, 38, 32, 76,
+ 85, 65, 95, 86, 69, 82, 83, 73, 79, 78, 95, 78, 85, 77, 32,
+ 62, 61, 32, 53, 48, 49, 92,110, 34, 41, 59, 10, 32,111,117,
+ 116,112,117,116, 40,112,114,101, 46, 46, 34, 84, 79, 76, 85,
+ 65, 95, 65, 80, 73, 32,105,110,116, 32,108,117, 97,111,112,
+ 101,110, 95, 34, 46, 46,115,101,108,102, 46,110, 97,109,101,
+ 46, 46, 34, 32, 40,108,117, 97, 95, 83,116, 97,116,101, 42,
+ 32,116,111,108,117, 97, 95, 83, 41, 32,123, 34, 41, 10, 32,
+ 111,117,116,112,117,116, 40,112,114,101, 46, 46, 34, 32,114,
+ 101,116,117,114,110, 32,116,111,108,117, 97, 95, 34, 46, 46,
+ 115,101,108,102, 46,110, 97,109,101, 46, 46, 34, 95,111,112,
+ 101,110, 40,116,111,108,117, 97, 95, 83, 41, 59, 34, 41, 10,
+ 32,111,117,116,112,117,116, 40,112,114,101, 46, 46, 34,125,
+ 59, 34, 41, 10, 32,111,117,116,112,117,116, 40, 34, 35,101,
+ 110,100,105,102, 92,110, 92,110, 34, 41, 10, 10, 9,112,111,
+ 112, 40, 41, 10,101,110,100, 10, 10, 45, 45, 32,119,114,105,
+ 116,101, 32,104,101, 97,100,101,114, 32,102,105,108,101, 10,
+ 102,117,110, 99,116,105,111,110, 32, 99,108, 97,115,115, 80,
+ 97, 99,107, 97,103,101, 58,104,101, 97,100,101,114, 32, 40,
+ 41, 10, 32,111,117,116,112,117,116, 40, 39, 47, 42, 92,110,
+ 39, 41, 32,111,117,116,112,117,116, 40, 39, 42, 42, 32, 76,
+ 117, 97, 32, 98,105,110,100,105,110,103, 58, 32, 39, 46, 46,
+ 115,101,108,102, 46,110, 97,109,101, 46, 46, 39, 92,110, 39,
+ 41, 10, 32,111,117,116,112,117,116, 40, 39, 42, 42, 32, 71,
+ 101,110,101,114, 97,116,101,100, 32, 97,117,116,111,109, 97,
+ 116,105, 99, 97,108,108,121, 32, 98,121, 32, 39, 46, 46, 84,
+ 79, 76, 85, 65, 95, 86, 69, 82, 83, 73, 79, 78, 46, 46, 39,
+ 32,111,110, 32, 39, 46, 46,100, 97,116,101, 40, 41, 46, 46,
+ 39, 46, 92,110, 39, 41, 10, 32,111,117,116,112,117,116, 40,
+ 39, 42, 47, 92,110, 92,110, 39, 41, 10, 10, 32,105,102, 32,
+ 110,111,116, 32,102,108, 97,103,115, 46,104, 32,116,104,101,
+ 110, 10, 32, 32,111,117,116,112,117,116, 40, 39, 47, 42, 32,
+ 69,120,112,111,114,116,101,100, 32,102,117,110, 99,116,105,
+ 111,110, 32, 42, 47, 39, 41, 10, 32, 32,111,117,116,112,117,
+ 116, 40, 39, 84, 79, 76, 85, 65, 95, 65, 80, 73, 32,105,110,
+ 116, 32, 32,116,111,108,117, 97, 95, 39, 46, 46,115,101,108,
+ 102, 46,110, 97,109,101, 46, 46, 39, 95,111,112,101,110, 32,
+ 40,108,117, 97, 95, 83,116, 97,116,101, 42, 32,116,111,108,
+ 117, 97, 95, 83, 41, 59, 39, 41, 10, 32, 32,111,117,116,112,
+ 117,116, 40, 39, 92,110, 39, 41, 10, 32,101,110,100, 10,101,
+ 110,100, 10, 10, 45, 45, 32, 73,110,116,101,114,110, 97,108,
+ 32, 99,111,110,115,116,114,117, 99,116,111,114, 10,102,117,
+ 110, 99,116,105,111,110, 32, 95, 80, 97, 99,107, 97,103,101,
+ 32, 40,115,101,108,102, 41, 10, 32,115,101,116,109,101,116,
+ 97,116, 97, 98,108,101, 40,115,101,108,102, 44, 99,108, 97,
+ 115,115, 80, 97, 99,107, 97,103,101, 41, 10, 32,114,101,116,
+ 117,114,110, 32,115,101,108,102, 10,101,110,100, 10, 10, 45,
+ 45, 32, 80, 97,114,115,101, 32, 67, 32,104,101, 97,100,101,
+ 114, 32,102,105,108,101, 32,119,105,116,104, 32,116,111,108,
+ 117, 97, 32,100,105,114,101, 99,116,105,118,101,115, 10, 45,
+ 45, 32, 42, 42, 42, 32, 84,104, 97,110,107,115, 32,116,111,
+ 32, 65,114,105,101,108, 32, 77, 97,110,122,117,114, 32,102,
+ 111,114, 32,102,105,120,105,110,103, 32, 98,117,103,115, 32,
+ 105,110, 32,110,101,115,116,101,100, 32,100,105,114,101, 99,
+ 116,105,118,101,115, 32, 42, 42, 42, 10,102,117,110, 99,116,
+ 105,111,110, 32,101,120,116,114, 97, 99,116, 95, 99,111,100,
+ 101, 40,102,110, 44,115, 41, 10, 9,108,111, 99, 97,108, 32,
+ 99,111,100,101, 32, 61, 32, 39, 92,110, 36, 35,105,110, 99,
+ 108,117,100,101, 32, 34, 39, 46, 46,102,110, 46, 46, 39, 34,
+ 92,110, 39, 10, 9,115, 61, 32, 34, 92,110, 34, 32, 46, 46,
+ 32,115, 32, 46, 46, 32, 34, 92,110, 34, 32, 45, 45, 32, 97,
+ 100,100, 32, 98,108, 97,110,107, 32,108,105,110,101,115, 32,
+ 97,115, 32,115,101,110,116,105,110,101,108,115, 10, 9,108,
+ 111, 99, 97,108, 32, 95, 44,101, 44, 99, 44,116, 32, 61, 32,
+ 115,116,114,102,105,110,100, 40,115, 44, 32, 34, 92,110, 40,
+ 91, 94, 92,110, 93, 45, 41, 91, 84,116, 93, 91, 79,111, 93,
+ 91, 76,108, 93, 91, 85,117, 93, 91, 65, 97, 93, 95, 40, 91,
+ 94, 37,115, 93, 42, 41, 91, 94, 92,110, 93, 42, 92,110, 34,
+ 41, 10, 9,119,104,105,108,101, 32,101, 32,100,111, 10, 9,
+ 9,116, 32, 61, 32,115,116,114,108,111,119,101,114, 40,116,
+ 41, 10, 9, 9,105,102, 32,116, 32, 61, 61, 32, 34, 98,101,
+ 103,105,110, 34, 32,116,104,101,110, 10, 9, 9, 9, 95, 44,
+ 101, 44, 99, 32, 61, 32,115,116,114,102,105,110,100, 40,115,
+ 44, 34, 40, 46, 45, 41, 92,110, 91, 94, 92,110, 93, 42, 91,
+ 84,116, 93, 91, 79,111, 93, 91, 76,108, 93, 91, 85,117, 93,
+ 91, 65, 97, 93, 95, 91, 69,101, 93, 91, 78,110, 93, 91, 68,
+ 100, 93, 91, 94, 92,110, 93, 42, 92,110, 34, 44,101, 41, 10,
+ 9, 9, 9,105,102, 32,110,111,116, 32,101, 32,116,104,101,
+ 110, 10, 9, 9, 9, 32,116,111,108,117, 97, 95,101,114,114,
+ 111,114, 40, 34, 85,110, 98, 97,108, 97,110, 99,101,100, 32,
+ 39,116,111,108,117, 97, 95, 98,101,103,105,110, 39, 32,100,
+ 105,114,101, 99,116,105,118,101, 32,105,110, 32,104,101, 97,
+ 100,101,114, 32,102,105,108,101, 34, 41, 10, 9, 9, 9,101,
+ 110,100, 10, 9, 9,101,110,100, 10, 9, 9, 99,111,100,101,
+ 32, 61, 32, 99,111,100,101, 32, 46, 46, 32, 99, 32, 46, 46,
+ 32, 34, 92,110, 34, 10, 9, 32, 95, 44,101, 44, 99, 44,116,
+ 32, 61, 32,115,116,114,102,105,110,100, 40,115, 44, 32, 34,
+ 92,110, 40, 91, 94, 92,110, 93, 45, 41, 91, 84,116, 93, 91,
+ 79,111, 93, 91, 76,108, 93, 91, 85,117, 93, 91, 65, 97, 93,
+ 95, 40, 91, 94, 37,115, 93, 42, 41, 91, 94, 92,110, 93, 42,
+ 92,110, 34, 44,101, 41, 10, 9,101,110,100, 10, 9,114,101,
+ 116,117,114,110, 32, 99,111,100,101, 10,101,110,100, 10, 10,
+ 45, 45, 32, 67,111,110,115,116,114,117, 99,116,111,114, 10,
+ 45, 45, 32, 69,120,112,101, 99,116,115, 32,116,104,101, 32,
+ 112, 97, 99,107, 97,103,101, 32,110, 97,109,101, 44, 32,116,
+ 104,101, 32,102,105,108,101, 32,101,120,116,101,110,115,105,
+ 111,110, 44, 32, 97,110,100, 32,116,104,101, 32,102,105,108,
+ 101, 32,116,101,120,116, 46, 10,102,117,110, 99,116,105,111,
+ 110, 32, 80, 97, 99,107, 97,103,101, 32, 40,110, 97,109,101,
+ 44,102,110, 41, 10, 32,108,111, 99, 97,108, 32,101,120,116,
+ 32, 61, 32, 34,112,107,103, 34, 10, 10, 32, 45, 45, 32,111,
+ 112,101,110, 32,105,110,112,117,116, 32,102,105,108,101, 44,
+ 32,105,102, 32, 97,110,121, 10, 32,108,111, 99, 97,108, 32,
+ 115,116, 44,109,115,103, 10, 32,105,102, 32,102,110, 32,116,
+ 104,101,110, 10, 32, 32,115,116, 44, 32,109,115,103, 32, 61,
+ 32,114,101, 97,100,102,114,111,109, 40,102,108, 97,103,115,
+ 46,102, 41, 10, 32, 32,105,102, 32,110,111,116, 32,115,116,
+ 32,116,104,101,110, 10, 32, 32, 32,101,114,114,111,114, 40,
+ 39, 35, 39, 46, 46,109,115,103, 41, 10, 32, 32,101,110,100,
+ 10, 32, 32,108,111, 99, 97,108, 32, 95, 59, 32, 95, 44, 32,
+ 95, 44, 32,101,120,116, 32, 61, 32,115,116,114,102,105,110,
+ 100, 40,102,110, 44, 34, 46, 42, 37, 46, 40, 46, 42, 41, 36,
+ 34, 41, 10, 32,101,110,100, 10, 32,108,111, 99, 97,108, 32,
+ 99,111,100,101, 10, 32,105,102, 32,101,120,116, 32, 61, 61,
+ 32, 39,112,107,103, 39, 32,116,104,101,110, 10, 32, 32, 99,
+ 111,100,101, 32, 61, 32,112,114,101,112, 40,115,116, 41, 10,
+ 32,101,108,115,101, 10, 32, 32, 99,111,100,101, 32, 61, 32,
+ 34, 92,110, 34, 32, 46, 46, 32,114,101, 97,100, 40, 39, 42,
+ 97, 39, 41, 10, 32, 32,105,102, 32,101,120,116, 32, 61, 61,
+ 32, 39,104, 39, 32,111,114, 32,101,120,116, 32, 61, 61, 32,
+ 39,104,112,112, 39, 32,116,104,101,110, 10, 32, 32, 32, 99,
+ 111,100,101, 32, 61, 32,101,120,116,114, 97, 99,116, 95, 99,
+ 111,100,101, 40,102,110, 44, 99,111,100,101, 41, 10, 32, 32,
+ 101,110,100, 10, 32,101,110,100, 10, 10, 32, 45, 45, 32, 99,
+ 108,111,115,101, 32,102,105,108,101, 10, 32,105,102, 32,102,
+ 110, 32,116,104,101,110, 10, 32, 32,114,101, 97,100,102,114,
+ 111,109, 40, 41, 10, 32,101,110,100, 10, 10, 32, 45, 45, 32,
+ 100,101, 97,108, 32,119,105,116,104, 32,105,110, 99,108,117,
+ 100,101, 32,100,105,114,101, 99,116,105,118,101, 10, 32,108,
+ 111, 99, 97,108, 32,110,115,117, 98,115,116, 10, 32,114,101,
+ 112,101, 97,116, 10, 32, 32, 99,111,100,101, 44,110,115,117,
+ 98,115,116, 32, 61, 32,103,115,117, 98, 40, 99,111,100,101,
+ 44, 39, 92,110, 37,115, 42, 37, 36, 40, 46, 41,102,105,108,
+ 101, 37,115, 42, 34, 40, 46, 45, 41, 34, 40, 91, 94, 92,110,
+ 93, 42, 41, 92,110, 39, 44, 10, 9, 9,102,117,110, 99,116,
+ 105,111,110, 32, 40,107,105,110,100, 44,102,110, 44,101,120,
+ 116,114, 97, 41, 10, 9, 9, 9,108,111, 99, 97,108, 32, 95,
+ 44, 32, 95, 44, 32,101,120,116, 32, 61, 32,115,116,114,102,
+ 105,110,100, 40,102,110, 44, 34, 46, 42, 37, 46, 40, 46, 42,
+ 41, 36, 34, 41, 10, 9, 9, 9,108,111, 99, 97,108, 32,102,
+ 112, 44,109,115,103, 32, 61, 32,111,112,101,110,102,105,108,
+ 101, 40,102,110, 44, 39,114, 39, 41, 10, 9, 9, 9,105,102,
+ 32,110,111,116, 32,102,112, 32,116,104,101,110, 10, 9, 9,
+ 9, 9,101,114,114,111,114, 40, 39, 35, 39, 46, 46,109,115,
+ 103, 46, 46, 39, 58, 32, 39, 46, 46,102,110, 41, 10, 9, 9,
+ 9,101,110,100, 10, 9, 9, 9,105,102, 32,107,105,110,100,
+ 32, 61, 61, 32, 39,112, 39, 32,116,104,101,110, 10, 9, 9,
+ 9, 9,108,111, 99, 97,108, 32,115, 32, 61, 32,112,114,101,
+ 112, 40,102,112, 41, 10, 9, 9, 9, 9, 99,108,111,115,101,
+ 102,105,108,101, 40,102,112, 41, 10, 9, 9, 9, 9,114,101,
+ 116,117,114,110, 32,115, 10, 9, 9, 9,101,110,100, 10, 9,
+ 9, 9,108,111, 99, 97,108, 32,115, 32, 61, 32,114,101, 97,
+ 100, 40,102,112, 44, 39, 42, 97, 39, 41, 10, 9, 9, 9, 99,
+ 108,111,115,101,102,105,108,101, 40,102,112, 41, 10, 9, 9,
+ 9,105,102, 32,107,105,110,100, 32, 61, 61, 32, 39, 99, 39,
+ 32,111,114, 32,107,105,110,100, 32, 61, 61, 32, 39,104, 39,
+ 32,116,104,101,110, 10, 9, 9, 9, 9,114,101,116,117,114,
+ 110, 32,101,120,116,114, 97, 99,116, 95, 99,111,100,101, 40,
+ 102,110, 44,115, 41, 10, 9, 9, 9,101,108,115,101,105,102,
+ 32,107,105,110,100, 32, 61, 61, 32, 39,108, 39, 32,116,104,
+ 101,110, 10, 9, 9, 9, 9,114,101,116,117,114,110, 32, 34,
+ 92,110, 36, 91, 45, 45, 35, 35, 34, 46, 46,102,110, 46, 46,
+ 34, 92,110, 34, 32, 46, 46, 32,115, 32, 46, 46, 32, 34, 92,
+ 110, 36, 93, 92,110, 34, 10, 9, 9, 9,101,108,115,101,105,
+ 102, 32,107,105,110,100, 32, 61, 61, 32, 39,105, 39, 32,116,
+ 104,101,110, 10, 9, 9, 9, 9,108,111, 99, 97,108, 32,116,
+ 32, 61, 32,123, 99,111,100,101, 61,115,125, 10, 9, 9, 9,
+ 9,101,120,116,114, 97, 32, 61, 32,115,116,114,105,110,103,
+ 46,103,115,117, 98, 40,101,120,116,114, 97, 44, 32, 34, 94,
+ 37,115, 42, 44, 37,115, 42, 34, 44, 32, 34, 34, 41, 10, 9,
+ 9, 9, 9,108,111, 99, 97,108, 32,112, 97,114,115, 32, 61,
+ 32,115,112,108,105,116, 95, 99, 95,116,111,107,101,110,115,
+ 40,101,120,116,114, 97, 44, 32, 34, 44, 34, 41, 10, 9, 9,
+ 9, 9,105,110, 99,108,117,100,101, 95,102,105,108,101, 95,
+ 104,111,111,107, 40,116, 44, 32,102,110, 44, 32,117,110,112,
+ 97, 99,107, 40,112, 97,114,115, 41, 41, 10, 9, 9, 9, 9,
+ 114,101,116,117,114,110, 32, 34, 92,110, 92,110, 34, 32, 46,
+ 46, 32,116, 46, 99,111,100,101, 10, 9, 9, 9,101,108,115,
+ 101, 10, 9, 9, 9, 9,101,114,114,111,114, 40, 39, 35, 73,
+ 110,118, 97,108,105,100, 32,105,110, 99,108,117,100,101, 32,
+ 100,105,114,101, 99,116,105,118,101, 32, 40,117,115,101, 32,
+ 36, 99,102,105,108,101, 44, 32, 36,112,102,105,108,101, 44,
+ 32, 36,108,102,105,108,101, 32,111,114, 32, 36,105,102,105,
+ 108,101, 41, 39, 41, 10, 9, 9, 9,101,110,100, 10, 9, 9,
+ 101,110,100, 41, 10, 32,117,110,116,105,108, 32,110,115,117,
+ 98,115,116, 61, 61, 48, 10, 10, 32, 45, 45, 32,100,101, 97,
+ 108, 32,119,105,116,104, 32,114,101,110, 97,109,105,110,103,
+ 32,100,105,114,101, 99,116,105,118,101, 10, 32,114,101,112,
+ 101, 97,116, 32, 45, 45, 32, 73, 32,100,111,110, 39,116, 32,
+ 107,110,111,119, 32,119,104,121, 32,116,104,105,115, 32,105,
+ 115, 32,110,101, 99,101,115, 97,114,121, 10, 9, 99,111,100,
+ 101, 44,110,115,117, 98,115,116, 32, 61, 32,103,115,117, 98,
+ 40, 99,111,100,101, 44, 39, 92,110, 37,115, 42, 37, 36,114,
+ 101,110, 97,109,105,110,103, 37,115, 42, 40, 46, 45, 41, 37,
+ 115, 42, 92,110, 39, 44, 32,102,117,110, 99,116,105,111,110,
+ 32, 40,114, 41, 32, 97,112,112,101,110,100,114,101,110, 97,
+ 109,105,110,103, 40,114, 41, 32,114,101,116,117,114,110, 32,
+ 34, 92,110, 34, 32,101,110,100, 41, 10, 32,117,110,116,105,
+ 108, 32,110,115,117, 98,115,116, 32, 61, 61, 32, 48, 10, 10,
+ 32,108,111, 99, 97,108, 32,116, 32, 61, 32, 95, 80, 97, 99,
+ 107, 97,103,101, 40, 95, 67,111,110,116, 97,105,110,101,114,
+ 123,110, 97,109,101, 61,110, 97,109,101, 44, 32, 99,111,100,
+ 101, 61, 99,111,100,101,125, 41, 10, 32,112,117,115,104, 40,
+ 116, 41, 10, 32,112,114,101,112,114,111, 99,101,115,115, 95,
+ 104,111,111,107, 40,116, 41, 10, 32,116, 58,112,114,101,112,
+ 114,111, 99,101,115,115, 40, 41, 10, 32,112,114,101,112, 97,
+ 114,115,101, 95,104,111,111,107, 40,116, 41, 10, 32,116, 58,
+ 112, 97,114,115,101, 40,116, 46, 99,111,100,101, 41, 10, 32,
+ 112,111,112, 40, 41, 10, 32,114,101,116,117,114,110, 32,116,
+ 10,101,110,100, 10, 10, 10,115,101,116,109,101,116, 97,116,
+ 97, 98,108,101, 40, 95,101,120,116,114, 97, 95,112, 97,114,
+ 97,109,101,116,101,114,115, 44, 32,123, 32, 95, 95,105,110,
+ 100,101,120, 32, 61, 32, 95, 71, 32,125, 41, 10, 10,102,117,
+ 110, 99,116,105,111,110, 32,112,114,101,112, 40,102,105,108,
+ 101, 41, 10, 10, 32, 32,108,111, 99, 97,108, 32, 99,104,117,
+ 110,107, 32, 61, 32,123, 39,108,111, 99, 97,108, 32, 95, 95,
+ 114,101,116, 32, 61, 32,123, 34, 92, 92,110, 34,125, 92,110,
+ 39,125, 10, 32, 32,102,111,114, 32,108,105,110,101, 32,105,
+ 110, 32,102,105,108,101, 58,108,105,110,101,115, 40, 41, 32,
+ 100,111, 10, 32, 32, 32, 32, 32,105,102, 32,115,116,114,105,
+ 110,103, 46,102,105,110,100, 40,108,105,110,101, 44, 32, 34,
+ 94, 35, 35, 34, 41, 32,116,104,101,110, 10, 32, 32, 32, 32,
+ 32, 32,116, 97, 98,108,101, 46,105,110,115,101,114,116, 40,
+ 99,104,117,110,107, 44, 32,115,116,114,105,110,103, 46,115,
+ 117, 98, 40,108,105,110,101, 44, 32, 51, 41, 32, 46, 46, 32,
+ 34, 92,110, 34, 41, 10, 32, 32, 32, 32, 32,101,108,115,101,
+ 10, 32, 32, 32, 32, 32, 32,108,111, 99, 97,108, 32,108, 97,
+ 115,116, 32, 61, 32, 49, 10, 32, 32, 32, 32, 32, 32,102,111,
+ 114, 32,116,101,120,116, 44, 32,101,120,112,114, 44, 32,105,
+ 110,100,101,120, 32,105,110, 32,115,116,114,105,110,103, 46,
+ 103,102,105,110,100, 40,108,105,110,101, 44, 32, 34, 40, 46,
+ 45, 41, 36, 40, 37, 98, 40, 41, 41, 40, 41, 34, 41, 32,100,
+ 111, 32, 10, 32, 32, 32, 32, 32, 32, 32, 32,108, 97,115,116,
+ 32, 61, 32,105,110,100,101,120, 10, 32, 32, 32, 32, 32, 32,
+ 32, 32,105,102, 32,116,101,120,116, 32,126, 61, 32, 34, 34,
+ 32,116,104,101,110, 10, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32,116, 97, 98,108,101, 46,105,110,115,101,114,116, 40, 99,
+ 104,117,110,107, 44, 32,115,116,114,105,110,103, 46,102,111,
+ 114,109, 97,116, 40, 39,116, 97, 98,108,101, 46,105,110,115,
+ 101,114,116, 40, 95, 95,114,101,116, 44, 32, 37,113, 32, 41,
+ 39, 44, 32,116,101,120,116, 41, 41, 10, 32, 32, 32, 32, 32,
+ 32, 32, 32,101,110,100, 10, 32, 32, 32, 32, 32, 32, 32, 32,
+ 116, 97, 98,108,101, 46,105,110,115,101,114,116, 40, 99,104,
+ 117,110,107, 44, 32,115,116,114,105,110,103, 46,102,111,114,
+ 109, 97,116, 40, 39,116, 97, 98,108,101, 46,105,110,115,101,
+ 114,116, 40, 95, 95,114,101,116, 44, 32, 37,115, 32, 41, 39,
+ 44, 32,101,120,112,114, 41, 41, 10, 32, 32, 32, 32, 32, 32,
+ 101,110,100, 10, 32, 32, 32, 32, 32, 32,116, 97, 98,108,101,
+ 46,105,110,115,101,114,116, 40, 99,104,117,110,107, 44, 32,
+ 115,116,114,105,110,103, 46,102,111,114,109, 97,116, 40, 39,
+ 116, 97, 98,108,101, 46,105,110,115,101,114,116, 40, 95, 95,
+ 114,101,116, 44, 32, 37,113, 41, 92,110, 39, 44, 10, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32,115,116,114,105,110,103,
+ 46,115,117, 98, 40,108,105,110,101, 44, 32,108, 97,115,116,
+ 41, 46, 46, 34, 92,110, 34, 41, 41, 10, 32, 32, 32, 32,101,
+ 110,100, 10, 32, 32,101,110,100, 10, 32, 32,116, 97, 98,108,
+ 101, 46,105,110,115,101,114,116, 40, 99,104,117,110,107, 44,
+ 32, 39, 92,110,114,101,116,117,114,110, 32,116, 97, 98,108,
+ 101, 46, 99,111,110, 99, 97,116, 40, 95, 95,114,101,116, 41,
+ 92,110, 39, 41, 10, 32, 32,108,111, 99, 97,108, 32,102, 44,
+ 101, 32, 61, 32,108,111, 97,100,115,116,114,105,110,103, 40,
+ 116, 97, 98,108,101, 46, 99,111,110, 99, 97,116, 40, 99,104,
+ 117,110,107, 41, 41, 10, 32, 32,105,102, 32,101, 32,116,104,
+ 101,110, 10, 32, 32, 9,101,114,114,111,114, 40, 34, 35, 34,
+ 46, 46,101, 41, 10, 32, 32,101,110,100, 10, 32, 32,115,101,
+ 116,102,101,110,118, 40,102, 44, 32, 95,101,120,116,114, 97,
+ 95,112, 97,114, 97,109,101,116,101,114,115, 41, 10, 32, 32,
+ 114,101,116,117,114,110, 32,102, 40, 41, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/package.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32,109,111,100,117,108,
+ 101, 32, 99,108, 97,115,115, 10, 45, 45, 32, 87,114,105,116,
+ 116,101,110, 32, 98,121, 32, 87, 97,108,100,101,109, 97,114,
+ 32, 67,101,108,101,115, 10, 45, 45, 32, 84,101, 67, 71,114,
+ 97,102, 47, 80, 85, 67, 45, 82,105,111, 10, 45, 45, 32, 74,
+ 117,108, 32, 49, 57, 57, 56, 10, 45, 45, 32, 36, 73,100, 58,
+ 32, 36, 10, 10, 45, 45, 32, 84,104,105,115, 32, 99,111,100,
+ 101, 32,105,115, 32,102,114,101,101, 32,115,111,102,116,119,
+ 97,114,101, 59, 32,121,111,117, 32, 99, 97,110, 32,114,101,
+ 100,105,115,116,114,105, 98,117,116,101, 32,105,116, 32, 97,
+ 110,100, 47,111,114, 32,109,111,100,105,102,121, 32,105,116,
+ 46, 10, 45, 45, 32, 84,104,101, 32,115,111,102,116,119, 97,
+ 114,101, 32,112,114,111,118,105,100,101,100, 32,104,101,114,
+ 101,117,110,100,101,114, 32,105,115, 32,111,110, 32, 97,110,
+ 32, 34, 97,115, 32,105,115, 34, 32, 98, 97,115,105,115, 44,
+ 32, 97,110,100, 10, 45, 45, 32,116,104,101, 32, 97,117,116,
+ 104,111,114, 32,104, 97,115, 32,110,111, 32,111, 98,108,105,
+ 103, 97,116,105,111,110, 32,116,111, 32,112,114,111,118,105,
+ 100,101, 32,109, 97,105,110,116,101,110, 97,110, 99,101, 44,
+ 32,115,117,112,112,111,114,116, 44, 32,117,112,100, 97,116,
+ 101,115, 44, 10, 45, 45, 32,101,110,104, 97,110, 99,101,109,
+ 101,110,116,115, 44, 32,111,114, 32,109,111,100,105,102,105,
+ 99, 97,116,105,111,110,115, 46, 10, 10, 10, 10, 45, 45, 32,
+ 77,111,100,117,108,101, 32, 99,108, 97,115,115, 10, 45, 45,
+ 32, 82,101,112,114,101,115,101,110,116,115, 32,109,111,100,
+ 117,108,101, 46, 10, 45, 45, 32, 84,104,101, 32,102,111,108,
+ 108,111,119,105,110,103, 32,102,105,101,108,100,115, 32, 97,
+ 114,101, 32,115,116,111,114,101,100, 58, 10, 45, 45, 32, 32,
+ 32, 32,123,105,125, 32, 61, 32,108,105,115,116, 32,111,102,
+ 32,111, 98,106,101, 99,116,115, 32,105,110, 32,116,104,101,
+ 32,109,111,100,117,108,101, 46, 10, 99,108, 97,115,115, 77,
+ 111,100,117,108,101, 32, 61, 32,123, 10, 32, 99,108, 97,115,
+ 115,116,121,112,101, 32, 61, 32, 39,109,111,100,117,108,101,
+ 39, 10,125, 10, 99,108, 97,115,115, 77,111,100,117,108,101,
+ 46, 95, 95,105,110,100,101,120, 32, 61, 32, 99,108, 97,115,
+ 115, 77,111,100,117,108,101, 10,115,101,116,109,101,116, 97,
+ 116, 97, 98,108,101, 40, 99,108, 97,115,115, 77,111,100,117,
+ 108,101, 44, 99,108, 97,115,115, 67,111,110,116, 97,105,110,
+ 101,114, 41, 10, 10, 45, 45, 32,114,101,103,105,115,116,101,
+ 114, 32,109,111,100,117,108,101, 10,102,117,110, 99,116,105,
+ 111,110, 32, 99,108, 97,115,115, 77,111,100,117,108,101, 58,
+ 114,101,103,105,115,116,101,114, 32, 40,112,114,101, 41, 10,
+ 32,112,114,101, 32, 61, 32,112,114,101, 32,111,114, 32, 39,
+ 39, 10, 32,112,117,115,104, 40,115,101,108,102, 41, 10, 32,
+ 111,117,116,112,117,116, 40,112,114,101, 46, 46, 39,116,111,
+ 108,117, 97, 95,109,111,100,117,108,101, 40,116,111,108,117,
+ 97, 95, 83, 44, 34, 39, 46, 46,115,101,108,102, 46,110, 97,
+ 109,101, 46, 46, 39, 34, 44, 39, 44,115,101,108,102, 58,104,
+ 97,115,118, 97,114, 40, 41, 44, 39, 41, 59, 39, 41, 10, 32,
+ 111,117,116,112,117,116, 40,112,114,101, 46, 46, 39,116,111,
+ 108,117, 97, 95, 98,101,103,105,110,109,111,100,117,108,101,
+ 40,116,111,108,117, 97, 95, 83, 44, 34, 39, 46, 46,115,101,
+ 108,102, 46,110, 97,109,101, 46, 46, 39, 34, 41, 59, 39, 41,
+ 10, 32,108,111, 99, 97,108, 32,105, 61, 49, 10, 32,119,104,
+ 105,108,101, 32,115,101,108,102, 91,105, 93, 32,100,111, 10,
+ 32, 32,115,101,108,102, 91,105, 93, 58,114,101,103,105,115,
+ 116,101,114, 40,112,114,101, 46, 46, 39, 32, 39, 41, 10, 32,
+ 32,105, 32, 61, 32,105, 43, 49, 10, 32,101,110,100, 10, 32,
+ 111,117,116,112,117,116, 40,112,114,101, 46, 46, 39,116,111,
+ 108,117, 97, 95,101,110,100,109,111,100,117,108,101, 40,116,
+ 111,108,117, 97, 95, 83, 41, 59, 39, 41, 10, 9,112,111,112,
+ 40, 41, 10,101,110,100, 10, 10, 45, 45, 32, 80,114,105,110,
+ 116, 32,109,101,116,104,111,100, 10,102,117,110, 99,116,105,
+ 111,110, 32, 99,108, 97,115,115, 77,111,100,117,108,101, 58,
+ 112,114,105,110,116, 32, 40,105,100,101,110,116, 44, 99,108,
+ 111,115,101, 41, 10, 32,112,114,105,110,116, 40,105,100,101,
+ 110,116, 46, 46, 34, 77,111,100,117,108,101,123, 34, 41, 10,
+ 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34,
+ 32,110, 97,109,101, 32, 61, 32, 39, 34, 46, 46,115,101,108,
+ 102, 46,110, 97,109,101, 46, 46, 34, 39, 59, 34, 41, 10, 32,
+ 108,111, 99, 97,108, 32,105, 61, 49, 10, 32,119,104,105,108,
+ 101, 32,115,101,108,102, 91,105, 93, 32,100,111, 10, 32, 32,
+ 115,101,108,102, 91,105, 93, 58,112,114,105,110,116, 40,105,
+ 100,101,110,116, 46, 46, 34, 32, 34, 44, 34, 44, 34, 41, 10,
+ 32, 32,105, 32, 61, 32,105, 43, 49, 10, 32,101,110,100, 10,
+ 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34,
+ 125, 34, 46, 46, 99,108,111,115,101, 41, 10,101,110,100, 10,
+ 10, 45, 45, 32, 73,110,116,101,114,110, 97,108, 32, 99,111,
+ 110,115,116,114,117, 99,116,111,114, 10,102,117,110, 99,116,
+ 105,111,110, 32, 95, 77,111,100,117,108,101, 32, 40,116, 41,
+ 10, 32,115,101,116,109,101,116, 97,116, 97, 98,108,101, 40,
+ 116, 44, 99,108, 97,115,115, 77,111,100,117,108,101, 41, 10,
+ 32, 97,112,112,101,110,100, 40,116, 41, 10, 32,114,101,116,
+ 117,114,110, 32,116, 10,101,110,100, 10, 10, 45, 45, 32, 67,
+ 111,110,115,116,114,117, 99,116,111,114, 10, 45, 45, 32, 69,
+ 120,112,101, 99,116,115, 32,116,119,111, 32,115,116,114,105,
+ 110,103, 32,114,101,112,114,101,115,101,110,116,105,110,103,
+ 32,116,104,101, 32,109,111,100,117,108,101, 32,110, 97,109,
+ 101, 32, 97,110,100, 32, 98,111,100,121, 46, 10,102,117,110,
+ 99,116,105,111,110, 32, 77,111,100,117,108,101, 32, 40,110,
+ 44, 98, 41, 10, 32,108,111, 99, 97,108, 32,116, 32, 61, 32,
+ 95, 77,111,100,117,108,101, 40, 95, 67,111,110,116, 97,105,
+ 110,101,114,123,110, 97,109,101, 61,110,125, 41, 10, 32,112,
+ 117,115,104, 40,116, 41, 10, 32,116, 58,112, 97,114,115,101,
+ 40,115,116,114,115,117, 98, 40, 98, 44, 50, 44,115,116,114,
+ 108,101,110, 40, 98, 41, 45, 49, 41, 41, 32, 45, 45, 32,101,
+ 108,105,109,105,110, 97,116,101, 32, 98,114, 97, 99,101,115,
+ 10, 32,112,111,112, 40, 41, 10, 32,114,101,116,117,114,110,
+ 32,116, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/module.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32,110, 97,109,101,115,
+ 112, 97, 99,101, 32, 99,108, 97,115,115, 10, 45, 45, 32, 87,
+ 114,105,116,116,101,110, 32, 98,121, 32, 87, 97,108,100,101,
+ 109, 97,114, 32, 67,101,108,101,115, 10, 45, 45, 32, 84,101,
+ 67, 71,114, 97,102, 47, 80, 85, 67, 45, 82,105,111, 10, 45,
+ 45, 32, 74,117,108, 32, 50, 48, 48, 51, 10, 45, 45, 32, 36,
+ 73,100, 58, 32, 36, 10, 10, 45, 45, 32, 84,104,105,115, 32,
+ 99,111,100,101, 32,105,115, 32,102,114,101,101, 32,115,111,
+ 102,116,119, 97,114,101, 59, 32,121,111,117, 32, 99, 97,110,
+ 32,114,101,100,105,115,116,114,105, 98,117,116,101, 32,105,
+ 116, 32, 97,110,100, 47,111,114, 32,109,111,100,105,102,121,
+ 32,105,116, 46, 10, 45, 45, 32, 84,104,101, 32,115,111,102,
+ 116,119, 97,114,101, 32,112,114,111,118,105,100,101,100, 32,
+ 104,101,114,101,117,110,100,101,114, 32,105,115, 32,111,110,
+ 32, 97,110, 32, 34, 97,115, 32,105,115, 34, 32, 98, 97,115,
+ 105,115, 44, 32, 97,110,100, 10, 45, 45, 32,116,104,101, 32,
+ 97,117,116,104,111,114, 32,104, 97,115, 32,110,111, 32,111,
+ 98,108,105,103, 97,116,105,111,110, 32,116,111, 32,112,114,
+ 111,118,105,100,101, 32,109, 97,105,110,116,101,110, 97,110,
+ 99,101, 44, 32,115,117,112,112,111,114,116, 44, 32,117,112,
+ 100, 97,116,101,115, 44, 10, 45, 45, 32,101,110,104, 97,110,
+ 99,101,109,101,110,116,115, 44, 32,111,114, 32,109,111,100,
+ 105,102,105, 99, 97,116,105,111,110,115, 46, 10, 10, 10, 45,
+ 45, 32, 78, 97,109,101,115,112, 97, 99,101, 32, 99,108, 97,
+ 115,115, 10, 45, 45, 32, 82,101,112,114,101,115,101,110,116,
+ 115, 32, 97, 32,110, 97,109,101,115, 97,112, 99,101, 32,100,
+ 101,102,105,110,105,116,105,111,110, 46, 10, 45, 45, 32, 83,
+ 116,111,114,101,115, 32,116,104,101, 32,102,111,108,108,111,
+ 119,105,110,103, 32,102,105,101,108,100,115, 58, 10, 45, 45,
+ 32, 32, 32, 32,110, 97,109,101, 32, 61, 32, 99,108, 97,115,
+ 115, 32,110, 97,109,101, 10, 45, 45, 32, 32, 32, 32,123,105,
+ 125, 32, 32, 61, 32,108,105,115,116, 32,111,102, 32,109,101,
+ 109, 98,101,114,115, 10, 99,108, 97,115,115, 78, 97,109,101,
+ 115,112, 97, 99,101, 32, 61, 32,123, 10, 32, 99,108, 97,115,
+ 115,116,121,112,101, 32, 61, 32, 39,110, 97,109,101,115,112,
+ 97, 99,101, 39, 44, 10, 32,110, 97,109,101, 32, 61, 32, 39,
+ 39, 44, 10,125, 10, 99,108, 97,115,115, 78, 97,109,101,115,
+ 112, 97, 99,101, 46, 95, 95,105,110,100,101,120, 32, 61, 32,
+ 99,108, 97,115,115, 78, 97,109,101,115,112, 97, 99,101, 10,
+ 115,101,116,109,101,116, 97,116, 97, 98,108,101, 40, 99,108,
+ 97,115,115, 78, 97,109,101,115,112, 97, 99,101, 44, 99,108,
+ 97,115,115, 77,111,100,117,108,101, 41, 10, 10, 45, 45, 32,
+ 80,114,105,110,116, 32,109,101,116,104,111,100, 10,102,117,
+ 110, 99,116,105,111,110, 32, 99,108, 97,115,115, 78, 97,109,
+ 101,115,112, 97, 99,101, 58,112,114,105,110,116, 32, 40,105,
+ 100,101,110,116, 44, 99,108,111,115,101, 41, 10, 32,112,114,
+ 105,110,116, 40,105,100,101,110,116, 46, 46, 34, 78, 97,109,
+ 101,115,112, 97, 99,101,123, 34, 41, 10, 32,112,114,105,110,
+ 116, 40,105,100,101,110,116, 46, 46, 34, 32,110, 97,109,101,
+ 32, 61, 32, 39, 34, 46, 46,115,101,108,102, 46,110, 97,109,
+ 101, 46, 46, 34, 39, 44, 34, 41, 10, 32,108,111, 99, 97,108,
+ 32,105, 61, 49, 10, 32,119,104,105,108,101, 32,115,101,108,
+ 102, 91,105, 93, 32,100,111, 10, 32, 32,115,101,108,102, 91,
+ 105, 93, 58,112,114,105,110,116, 40,105,100,101,110,116, 46,
+ 46, 34, 32, 34, 44, 34, 44, 34, 41, 10, 32, 32,105, 32, 61,
+ 32,105, 43, 49, 10, 32,101,110,100, 10, 32,112,114,105,110,
+ 116, 40,105,100,101,110,116, 46, 46, 34,125, 34, 46, 46, 99,
+ 108,111,115,101, 41, 10,101,110,100, 10, 10, 45, 45, 32, 73,
+ 110,116,101,114,110, 97,108, 32, 99,111,110,115,116,114,117,
+ 99,116,111,114, 10,102,117,110, 99,116,105,111,110, 32, 95,
+ 78, 97,109,101,115,112, 97, 99,101, 32, 40,116, 41, 10, 32,
+ 115,101,116,109,101,116, 97,116, 97, 98,108,101, 40,116, 44,
+ 99,108, 97,115,115, 78, 97,109,101,115,112, 97, 99,101, 41,
+ 10, 32, 97,112,112,101,110,100, 40,116, 41, 10, 32,114,101,
+ 116,117,114,110, 32,116, 10,101,110,100, 10, 10, 45, 45, 32,
+ 67,111,110,115,116,114,117, 99,116,111,114, 10, 45, 45, 32,
+ 69,120,112,101, 99,116,115, 32,116,104,101, 32,110, 97,109,
+ 101, 32, 97,110,100, 32,116,104,101, 32, 98,111,100,121, 32,
+ 111,102, 32,116,104,101, 32,110, 97,109,101,115,112, 97, 99,
+ 101, 46, 10,102,117,110, 99,116,105,111,110, 32, 78, 97,109,
+ 101,115,112, 97, 99,101, 32, 40,110, 44, 98, 41, 10, 32,108,
+ 111, 99, 97,108, 32, 99, 32, 61, 32, 95, 78, 97,109,101,115,
+ 112, 97, 99,101, 40, 95, 67,111,110,116, 97,105,110,101,114,
+ 123,110, 97,109,101, 61,110,125, 41, 10, 32,112,117,115,104,
+ 40, 99, 41, 10, 32, 99, 58,112, 97,114,115,101, 40,115,116,
+ 114,115,117, 98, 40, 98, 44, 50, 44,115,116,114,108,101,110,
+ 40, 98, 41, 45, 49, 41, 41, 32, 45, 45, 32,101,108,105,109,
+ 105,110, 97,116,101, 32, 98,114, 97, 99,101,115, 10, 32,112,
+ 111,112, 40, 41, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/namespace.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32,100,101,102,105,110,
+ 101, 32, 99,108, 97,115,115, 10, 45, 45, 32, 87,114,105,116,
+ 116,101,110, 32, 98,121, 32, 87, 97,108,100,101,109, 97,114,
+ 32, 67,101,108,101,115, 10, 45, 45, 32, 84,101, 67, 71,114,
+ 97,102, 47, 80, 85, 67, 45, 82,105,111, 10, 45, 45, 32, 74,
+ 117,108, 32, 49, 57, 57, 56, 10, 45, 45, 32, 36, 73,100, 58,
+ 32,100,101,102,105,110,101, 46,108,117, 97, 44,118, 32, 49,
+ 46, 50, 32, 49, 57, 57, 57, 47, 48, 55, 47, 50, 56, 32, 50,
+ 50, 58, 50, 49, 58, 48, 56, 32, 99,101,108,101,115, 32, 69,
+ 120,112, 32, 36, 10, 10, 45, 45, 32, 84,104,105,115, 32, 99,
+ 111,100,101, 32,105,115, 32,102,114,101,101, 32,115,111,102,
+ 116,119, 97,114,101, 59, 32,121,111,117, 32, 99, 97,110, 32,
+ 114,101,100,105,115,116,114,105, 98,117,116,101, 32,105,116,
+ 32, 97,110,100, 47,111,114, 32,109,111,100,105,102,121, 32,
+ 105,116, 46, 10, 45, 45, 32, 84,104,101, 32,115,111,102,116,
+ 119, 97,114,101, 32,112,114,111,118,105,100,101,100, 32,104,
+ 101,114,101,117,110,100,101,114, 32,105,115, 32,111,110, 32,
+ 97,110, 32, 34, 97,115, 32,105,115, 34, 32, 98, 97,115,105,
+ 115, 44, 32, 97,110,100, 10, 45, 45, 32,116,104,101, 32, 97,
+ 117,116,104,111,114, 32,104, 97,115, 32,110,111, 32,111, 98,
+ 108,105,103, 97,116,105,111,110, 32,116,111, 32,112,114,111,
+ 118,105,100,101, 32,109, 97,105,110,116,101,110, 97,110, 99,
+ 101, 44, 32,115,117,112,112,111,114,116, 44, 32,117,112,100,
+ 97,116,101,115, 44, 10, 45, 45, 32,101,110,104, 97,110, 99,
+ 101,109,101,110,116,115, 44, 32,111,114, 32,109,111,100,105,
+ 102,105, 99, 97,116,105,111,110,115, 46, 10, 10, 10, 45, 45,
+ 32, 68,101,102,105,110,101, 32, 99,108, 97,115,115, 10, 45,
+ 45, 32, 82,101,112,114,101,115,101,110,116,115, 32, 97, 32,
+ 110,117,109,101,114,105, 99, 32, 99,111,110,115,116, 32,100,
+ 101,102,105,110,105,116,105,111,110, 10, 45, 45, 32, 84,104,
+ 101, 32,102,111,108,108,111,119,105,110,103, 32,102,105,108,
+ 100,115, 32, 97,114,101, 32,115,116,111,114,101,100, 58, 10,
+ 45, 45, 32, 32, 32,110, 97,109,101, 32, 61, 32, 99,111,110,
+ 115,116, 97,110,116, 32,110, 97,109,101, 10, 99,108, 97,115,
+ 115, 68,101,102,105,110,101, 32, 61, 32,123, 10, 32,110, 97,
+ 109,101, 32, 61, 32, 39, 39, 44, 10,125, 10, 99,108, 97,115,
+ 115, 68,101,102,105,110,101, 46, 95, 95,105,110,100,101,120,
+ 32, 61, 32, 99,108, 97,115,115, 68,101,102,105,110,101, 10,
+ 115,101,116,109,101,116, 97,116, 97, 98,108,101, 40, 99,108,
+ 97,115,115, 68,101,102,105,110,101, 44, 99,108, 97,115,115,
+ 70,101, 97,116,117,114,101, 41, 10, 10, 45, 45, 32,114,101,
+ 103,105,115,116,101,114, 32,100,101,102,105,110,101, 10,102,
+ 117,110, 99,116,105,111,110, 32, 99,108, 97,115,115, 68,101,
+ 102,105,110,101, 58,114,101,103,105,115,116,101,114, 32, 40,
+ 112,114,101, 41, 10, 9,105,102, 32,110,111,116, 32,115,101,
+ 108,102, 58, 99,104,101, 99,107, 95,112,117, 98,108,105, 99,
+ 95, 97, 99, 99,101,115,115, 40, 41, 32,116,104,101,110, 10,
+ 9, 9,114,101,116,117,114,110, 10, 9,101,110,100, 10, 10,
+ 32,112,114,101, 32, 61, 32,112,114,101, 32,111,114, 32, 39,
+ 39, 10, 32,111,117,116,112,117,116, 40,112,114,101, 46, 46,
+ 39,116,111,108,117, 97, 95, 99,111,110,115,116, 97,110,116,
+ 40,116,111,108,117, 97, 95, 83, 44, 34, 39, 46, 46,115,101,
+ 108,102, 46,108,110, 97,109,101, 46, 46, 39, 34, 44, 39, 46,
+ 46,115,101,108,102, 46,110, 97,109,101, 46, 46, 39, 41, 59,
+ 39, 41, 10,101,110,100, 10, 10, 45, 45, 32, 80,114,105,110,
+ 116, 32,109,101,116,104,111,100, 10,102,117,110, 99,116,105,
+ 111,110, 32, 99,108, 97,115,115, 68,101,102,105,110,101, 58,
+ 112,114,105,110,116, 32, 40,105,100,101,110,116, 44, 99,108,
+ 111,115,101, 41, 10, 32,112,114,105,110,116, 40,105,100,101,
+ 110,116, 46, 46, 34, 68,101,102,105,110,101,123, 34, 41, 10,
+ 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34,
+ 32,110, 97,109,101, 32, 61, 32, 39, 34, 46, 46,115,101,108,
+ 102, 46,110, 97,109,101, 46, 46, 34, 39, 44, 34, 41, 10, 32,
+ 112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34, 32,
+ 108,110, 97,109,101, 32, 61, 32, 39, 34, 46, 46,115,101,108,
+ 102, 46,108,110, 97,109,101, 46, 46, 34, 39, 44, 34, 41, 10,
+ 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34,
+ 125, 34, 46, 46, 99,108,111,115,101, 41, 10,101,110,100, 10,
+ 10, 10, 45, 45, 32, 73,110,116,101,114,110, 97,108, 32, 99,
+ 111,110,115,116,114,117, 99,116,111,114, 10,102,117,110, 99,
+ 116,105,111,110, 32, 95, 68,101,102,105,110,101, 32, 40,116,
+ 41, 10, 32,115,101,116,109,101,116, 97,116, 97, 98,108,101,
+ 40,116, 44, 99,108, 97,115,115, 68,101,102,105,110,101, 41,
+ 10, 32,116, 58, 98,117,105,108,100,110, 97,109,101,115, 40,
+ 41, 10, 10, 32,105,102, 32,116, 46,110, 97,109,101, 32, 61,
+ 61, 32, 39, 39, 32,116,104,101,110, 10, 32, 32,101,114,114,
+ 111,114, 40, 34, 35,105,110,118, 97,108,105,100, 32,100,101,
+ 102,105,110,101, 34, 41, 10, 32,101,110,100, 10, 10, 32, 97,
+ 112,112,101,110,100, 40,116, 41, 10, 32,114,101,116,117,114,
+ 110, 32,116, 10,101,110,100, 10, 10, 45, 45, 32, 67,111,110,
+ 115,116,114,117, 99,116,111,114, 10, 45, 45, 32, 69,120,112,
+ 101, 99,116,115, 32, 97, 32,115,116,114,105,110,103, 32,114,
+ 101,112,114,101,115,101,110,116,105,110,103, 32,116,104,101,
+ 32, 99,111,110,115,116, 97,110,116, 32,110, 97,109,101, 10,
+ 102,117,110, 99,116,105,111,110, 32, 68,101,102,105,110,101,
+ 32, 40,110, 41, 10, 32,114,101,116,117,114,110, 32, 95, 68,
+ 101,102,105,110,101,123, 10, 32, 32,110, 97,109,101, 32, 61,
+ 32,110, 10, 32,125, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/define.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32,101,110,117,109,101,
+ 114, 97,116,101, 32, 99,108, 97,115,115, 10, 45, 45, 32, 87,
+ 114,105,116,116,101,110, 32, 98,121, 32, 87, 97,108,100,101,
+ 109, 97,114, 32, 67,101,108,101,115, 10, 45, 45, 32, 84,101,
+ 67, 71,114, 97,102, 47, 80, 85, 67, 45, 82,105,111, 10, 45,
+ 45, 32, 74,117,108, 32, 49, 57, 57, 56, 10, 45, 45, 32, 36,
+ 73,100, 58, 32,101,110,117,109,101,114, 97,116,101, 46,108,
+ 117, 97, 44,118, 32, 49, 46, 51, 32, 50, 48, 48, 48, 47, 48,
+ 49, 47, 50, 52, 32, 50, 48, 58, 52, 49, 58, 49, 53, 32, 99,
+ 101,108,101,115, 32, 69,120,112, 32, 36, 10, 10, 45, 45, 32,
+ 84,104,105,115, 32, 99,111,100,101, 32,105,115, 32,102,114,
+ 101,101, 32,115,111,102,116,119, 97,114,101, 59, 32,121,111,
+ 117, 32, 99, 97,110, 32,114,101,100,105,115,116,114,105, 98,
+ 117,116,101, 32,105,116, 32, 97,110,100, 47,111,114, 32,109,
+ 111,100,105,102,121, 32,105,116, 46, 10, 45, 45, 32, 84,104,
+ 101, 32,115,111,102,116,119, 97,114,101, 32,112,114,111,118,
+ 105,100,101,100, 32,104,101,114,101,117,110,100,101,114, 32,
+ 105,115, 32,111,110, 32, 97,110, 32, 34, 97,115, 32,105,115,
+ 34, 32, 98, 97,115,105,115, 44, 32, 97,110,100, 10, 45, 45,
+ 32,116,104,101, 32, 97,117,116,104,111,114, 32,104, 97,115,
+ 32,110,111, 32,111, 98,108,105,103, 97,116,105,111,110, 32,
+ 116,111, 32,112,114,111,118,105,100,101, 32,109, 97,105,110,
+ 116,101,110, 97,110, 99,101, 44, 32,115,117,112,112,111,114,
+ 116, 44, 32,117,112,100, 97,116,101,115, 44, 10, 45, 45, 32,
+ 101,110,104, 97,110, 99,101,109,101,110,116,115, 44, 32,111,
+ 114, 32,109,111,100,105,102,105, 99, 97,116,105,111,110,115,
+ 46, 10, 10, 10, 45, 45, 32, 69,110,117,109,101,114, 97,116,
+ 101, 32, 99,108, 97,115,115, 10, 45, 45, 32, 82,101,112,114,
+ 101,115,101,110,116,115, 32,101,110,117,109,101,114, 97,116,
+ 105,111,110, 10, 45, 45, 32, 84,104,101, 32,102,111,108,108,
+ 111,119,105,110,103, 32,102,105,101,108,100,115, 32, 97,114,
+ 101, 32,115,116,111,114,101,100, 58, 10, 45, 45, 32, 32, 32,
+ 32,123,105,125, 32, 61, 32,108,105,115,116, 32,111,102, 32,
+ 99,111,110,115,116, 97,110,116, 32,110, 97,109,101,115, 10,
+ 99,108, 97,115,115, 69,110,117,109,101,114, 97,116,101, 32,
+ 61, 32,123, 10,125, 10, 99,108, 97,115,115, 69,110,117,109,
+ 101,114, 97,116,101, 46, 95, 95,105,110,100,101,120, 32, 61,
+ 32, 99,108, 97,115,115, 69,110,117,109,101,114, 97,116,101,
+ 10,115,101,116,109,101,116, 97,116, 97, 98,108,101, 40, 99,
+ 108, 97,115,115, 69,110,117,109,101,114, 97,116,101, 44, 99,
+ 108, 97,115,115, 70,101, 97,116,117,114,101, 41, 10, 10, 45,
+ 45, 32,114,101,103,105,115,116,101,114, 32,101,110,117,109,
+ 101,114, 97,116,105,111,110, 10,102,117,110, 99,116,105,111,
+ 110, 32, 99,108, 97,115,115, 69,110,117,109,101,114, 97,116,
+ 101, 58,114,101,103,105,115,116,101,114, 32, 40,112,114,101,
+ 41, 10, 9,105,102, 32,110,111,116, 32,115,101,108,102, 58,
+ 99,104,101, 99,107, 95,112,117, 98,108,105, 99, 95, 97, 99,
+ 99,101,115,115, 40, 41, 32,116,104,101,110, 10, 9, 9,114,
+ 101,116,117,114,110, 10, 9,101,110,100, 10, 32,112,114,101,
+ 32, 61, 32,112,114,101, 32,111,114, 32, 39, 39, 10, 32,108,
+ 111, 99, 97,108, 32,110,115,112, 97, 99,101, 32, 61, 32,103,
+ 101,116,110, 97,109,101,115,112, 97, 99,101, 40, 99,108, 97,
+ 115,115, 67,111,110,116, 97,105,110,101,114, 46, 99,117,114,
+ 114, 41, 10, 32,108,111, 99, 97,108, 32,105, 61, 49, 10, 32,
+ 119,104,105,108,101, 32,115,101,108,102, 91,105, 93, 32,100,
+ 111, 10, 32, 9,105,102, 32,115,101,108,102, 46,108,110, 97,
+ 109,101,115, 91,105, 93, 32, 97,110,100, 32,115,101,108,102,
+ 46,108,110, 97,109,101,115, 91,105, 93, 32,126, 61, 32, 34,
+ 34, 32,116,104,101,110, 10, 9, 10, 9, 9,111,117,116,112,
+ 117,116, 40,112,114,101, 46, 46, 39,116,111,108,117, 97, 95,
+ 99,111,110,115,116, 97,110,116, 40,116,111,108,117, 97, 95,
+ 83, 44, 34, 39, 46, 46,115,101,108,102, 46,108,110, 97,109,
+ 101,115, 91,105, 93, 46, 46, 39, 34, 44, 39, 46, 46,110,115,
+ 112, 97, 99,101, 46, 46,115,101,108,102, 91,105, 93, 46, 46,
+ 39, 41, 59, 39, 41, 10, 9,101,110,100, 10, 32, 32,105, 32,
+ 61, 32,105, 43, 49, 10, 32,101,110,100, 10,101,110,100, 10,
+ 10, 45, 45, 32, 80,114,105,110,116, 32,109,101,116,104,111,
+ 100, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,115,
+ 115, 69,110,117,109,101,114, 97,116,101, 58,112,114,105,110,
+ 116, 32, 40,105,100,101,110,116, 44, 99,108,111,115,101, 41,
+ 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46,
+ 34, 69,110,117,109,101,114, 97,116,101,123, 34, 41, 10, 32,
+ 112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34, 32,
+ 110, 97,109,101, 32, 61, 32, 34, 46, 46,115,101,108,102, 46,
+ 110, 97,109,101, 41, 10, 32,108,111, 99, 97,108, 32,105, 61,
+ 49, 10, 32,119,104,105,108,101, 32,115,101,108,102, 91,105,
+ 93, 32,100,111, 10, 32, 32,112,114,105,110,116, 40,105,100,
+ 101,110,116, 46, 46, 34, 32, 39, 34, 46, 46,115,101,108,102,
+ 91,105, 93, 46, 46, 34, 39, 40, 34, 46, 46,115,101,108,102,
+ 46,108,110, 97,109,101,115, 91,105, 93, 46, 46, 34, 41, 44,
+ 34, 41, 10, 32, 32,105, 32, 61, 32,105, 43, 49, 10, 32,101,
+ 110,100, 10, 32,112,114,105,110,116, 40,105,100,101,110,116,
+ 46, 46, 34,125, 34, 46, 46, 99,108,111,115,101, 41, 10,101,
+ 110,100, 10, 10, 45, 45, 32, 73,110,116,101,114,110, 97,108,
+ 32, 99,111,110,115,116,114,117, 99,116,111,114, 10,102,117,
+ 110, 99,116,105,111,110, 32, 95, 69,110,117,109,101,114, 97,
+ 116,101, 32, 40,116, 44,118, 97,114,110, 97,109,101, 41, 10,
+ 32,115,101,116,109,101,116, 97,116, 97, 98,108,101, 40,116,
+ 44, 99,108, 97,115,115, 69,110,117,109,101,114, 97,116,101,
+ 41, 10, 32, 97,112,112,101,110,100, 40,116, 41, 10, 32, 97,
+ 112,112,101,110,100,101,110,117,109, 40,116, 41, 10, 9, 32,
+ 105,102, 32,118, 97,114,110, 97,109,101, 32, 97,110,100, 32,
+ 118, 97,114,110, 97,109,101, 32,126, 61, 32, 34, 34, 32,116,
+ 104,101,110, 10, 9, 9,105,102, 32,116, 46,110, 97,109,101,
+ 32,126, 61, 32, 34, 34, 32,116,104,101,110, 10, 9, 9, 9,
+ 86, 97,114,105, 97, 98,108,101, 40,116, 46,110, 97,109,101,
+ 46, 46, 34, 32, 34, 46, 46,118, 97,114,110, 97,109,101, 41,
+ 10, 9, 9,101,108,115,101, 10, 9, 9, 9,108,111, 99, 97,
+ 108, 32,110,115, 32, 61, 32,103,101,116, 99,117,114,114,110,
+ 97,109,101,115,112, 97, 99,101, 40, 41, 10, 9, 9, 9,119,
+ 97,114,110,105,110,103, 40, 34, 86, 97,114,105, 97, 98,108,
+ 101, 32, 34, 46, 46,110,115, 46, 46,118, 97,114,110, 97,109,
+ 101, 46, 46, 34, 32,111,102, 32,116,121,112,101, 32, 60, 97,
+ 110,111,110,121,109,111,117,115, 32,101,110,117,109, 62, 32,
+ 105,115, 32,100,101, 99,108, 97,114,101,100, 32, 97,115, 32,
+ 114,101, 97,100, 45,111,110,108,121, 34, 41, 10, 9, 9, 9,
+ 86, 97,114,105, 97, 98,108,101, 40, 34,116,111,108,117, 97,
+ 95,114,101, 97,100,111,110,108,121, 32,105,110,116, 32, 34,
+ 46, 46,118, 97,114,110, 97,109,101, 41, 10, 9, 9,101,110,
+ 100, 10, 9,101,110,100, 10, 9, 32,108,111, 99, 97,108, 32,
+ 112, 97,114,101,110,116, 32, 61, 32, 99,108, 97,115,115, 67,
+ 111,110,116, 97,105,110,101,114, 46, 99,117,114,114, 10, 9,
+ 32,105,102, 32,112, 97,114,101,110,116, 32,116,104,101,110,
+ 10, 9, 9,116, 46, 97, 99, 99,101,115,115, 32, 61, 32,112,
+ 97,114,101,110,116, 46, 99,117,114,114, 95,109,101,109, 98,
+ 101,114, 95, 97, 99, 99,101,115,115, 10, 9, 9,116, 46,103,
+ 108,111, 98, 97,108, 95, 97, 99, 99,101,115,115, 32, 61, 32,
+ 116, 58, 99,104,101, 99,107, 95,112,117, 98,108,105, 99, 95,
+ 97, 99, 99,101,115,115, 40, 41, 10, 9, 32,101,110,100, 10,
+ 114,101,116,117,114,110, 32,116, 10,101,110,100, 10, 10, 45,
+ 45, 32, 67,111,110,115,116,114,117, 99,116,111,114, 10, 45,
+ 45, 32, 69,120,112,101, 99,116,115, 32, 97, 32,115,116,114,
+ 105,110,103, 32,114,101,112,114,101,115,101,110,116,105,110,
+ 103, 32,116,104,101, 32,101,110,117,109,101,114, 97,116,101,
+ 32, 98,111,100,121, 10,102,117,110, 99,116,105,111,110, 32,
+ 69,110,117,109,101,114, 97,116,101, 32, 40,110, 44, 98, 44,
+ 118, 97,114,110, 97,109,101, 41, 10, 9, 98, 32, 61, 32,115,
+ 116,114,105,110,103, 46,103,115,117, 98, 40, 98, 44, 32, 34,
+ 44, 91, 37,115, 92,110, 93, 42,125, 34, 44, 32, 34, 92,110,
+ 125, 34, 41, 32, 45, 45, 32,101,108,105,109,105,110, 97,116,
+ 101, 32,108, 97,115,116, 32, 39, 44, 39, 10, 32,108,111, 99,
+ 97,108, 32,116, 32, 61, 32,115,112,108,105,116, 40,115,116,
+ 114,115,117, 98, 40, 98, 44, 50, 44, 45, 50, 41, 44, 39, 44,
+ 39, 41, 32, 45, 45, 32,101,108,105,109,105,110, 97,116,101,
+ 32, 98,114, 97, 99,101,115, 10, 32,108,111, 99, 97,108, 32,
+ 105, 32, 61, 32, 49, 10, 32,108,111, 99, 97,108, 32,101, 32,
+ 61, 32,123,110, 61, 48,125, 10, 32,119,104,105,108,101, 32,
+ 116, 91,105, 93, 32,100,111, 10, 32, 32,108,111, 99, 97,108,
+ 32,116,116, 32, 61, 32,115,112,108,105,116, 40,116, 91,105,
+ 93, 44, 39, 61, 39, 41, 32, 32, 45, 45, 32,100,105,115, 99,
+ 97,114,100, 32,105,110,105,116,105, 97,108, 32,118, 97,108,
+ 117,101, 10, 32, 32,101, 46,110, 32, 61, 32,101, 46,110, 32,
+ 43, 32, 49, 10, 32, 32,101, 91,101, 46,110, 93, 32, 61, 32,
+ 116,116, 91, 49, 93, 10, 32, 32,105, 32, 61, 32,105, 43, 49,
+ 10, 32,101,110,100, 10, 32, 45, 45, 32,115,101,116, 32,108,
+ 117, 97, 32,110, 97,109,101,115, 10, 32,105, 32, 32, 61, 32,
+ 49, 10, 32,101, 46,108,110, 97,109,101,115, 32, 61, 32,123,
+ 125, 10, 32,108,111, 99, 97,108, 32,110,115, 32, 61, 32,103,
+ 101,116, 99,117,114,114,110, 97,109,101,115,112, 97, 99,101,
+ 40, 41, 10, 32,119,104,105,108,101, 32,101, 91,105, 93, 32,
+ 100,111, 10, 32, 32,108,111, 99, 97,108, 32,116, 32, 61, 32,
+ 115,112,108,105,116, 40,101, 91,105, 93, 44, 39, 64, 39, 41,
+ 10, 32, 32,101, 91,105, 93, 32, 61, 32,116, 91, 49, 93, 10,
+ 9, 9,105,102, 32,110,111,116, 32,116, 91, 50, 93, 32,116,
+ 104,101,110, 10, 9, 9, 32,116, 91, 50, 93, 32, 61, 32, 97,
+ 112,112,108,121,114,101,110, 97,109,105,110,103, 40,116, 91,
+ 49, 93, 41, 10, 9, 9,101,110,100, 10, 32, 32,101, 46,108,
+ 110, 97,109,101,115, 91,105, 93, 32, 61, 32,116, 91, 50, 93,
+ 32,111,114, 32,116, 91, 49, 93, 10, 32, 32, 95,103,108,111,
+ 98, 97,108, 95,101,110,117,109,115, 91, 32,110,115, 46, 46,
+ 101, 91,105, 93, 32, 93, 32, 61, 32, 40,110,115, 46, 46,101,
+ 91,105, 93, 41, 10, 32, 32,105, 32, 61, 32,105, 43, 49, 10,
+ 32,101,110,100, 10, 9,101, 46,110, 97,109,101, 32, 61, 32,
+ 110, 10, 9,105,102, 32,110, 32,126, 61, 32, 34, 34, 32,116,
+ 104,101,110, 10, 9, 9, 84,121,112,101,100,101,102, 40, 34,
+ 105,110,116, 32, 34, 46, 46,110, 41, 10, 9,101,110,100, 10,
+ 32,114,101,116,117,114,110, 32, 95, 69,110,117,109,101,114,
+ 97,116,101, 40,101, 44, 32,118, 97,114,110, 97,109,101, 41,
+ 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/enumerate.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32,100,101, 99,108, 97,
+ 114, 97,116,105,111,110, 32, 99,108, 97,115,115, 10, 45, 45,
+ 32, 87,114,105,116,116,101,110, 32, 98,121, 32, 87, 97,108,
+ 100,101,109, 97,114, 32, 67,101,108,101,115, 10, 45, 45, 32,
+ 84,101, 67, 71,114, 97,102, 47, 80, 85, 67, 45, 82,105,111,
+ 10, 45, 45, 32, 74,117,108, 32, 49, 57, 57, 56, 10, 45, 45,
+ 32, 36, 73,100, 58, 32, 36, 10, 10, 45, 45, 32, 84,104,105,
+ 115, 32, 99,111,100,101, 32,105,115, 32,102,114,101,101, 32,
+ 115,111,102,116,119, 97,114,101, 59, 32,121,111,117, 32, 99,
+ 97,110, 32,114,101,100,105,115,116,114,105, 98,117,116,101,
+ 32,105,116, 32, 97,110,100, 47,111,114, 32,109,111,100,105,
+ 102,121, 32,105,116, 46, 10, 45, 45, 32, 84,104,101, 32,115,
+ 111,102,116,119, 97,114,101, 32,112,114,111,118,105,100,101,
+ 100, 32,104,101,114,101,117,110,100,101,114, 32,105,115, 32,
+ 111,110, 32, 97,110, 32, 34, 97,115, 32,105,115, 34, 32, 98,
+ 97,115,105,115, 44, 32, 97,110,100, 10, 45, 45, 32,116,104,
+ 101, 32, 97,117,116,104,111,114, 32,104, 97,115, 32,110,111,
+ 32,111, 98,108,105,103, 97,116,105,111,110, 32,116,111, 32,
+ 112,114,111,118,105,100,101, 32,109, 97,105,110,116,101,110,
+ 97,110, 99,101, 44, 32,115,117,112,112,111,114,116, 44, 32,
+ 117,112,100, 97,116,101,115, 44, 10, 45, 45, 32,101,110,104,
+ 97,110, 99,101,109,101,110,116,115, 44, 32,111,114, 32,109,
+ 111,100,105,102,105, 99, 97,116,105,111,110,115, 46, 10, 10,
+ 10, 45, 45, 32, 68,101, 99,108, 97,114, 97,116,105,111,110,
+ 32, 99,108, 97,115,115, 10, 45, 45, 32, 82,101,112,114,101,
+ 115,101,110,116,115, 32,118, 97,114,105, 97, 98,108,101, 44,
+ 32,102,117,110, 99,116,105,111,110, 44, 32,111,114, 32, 97,
+ 114,103,117,109,101,110,116, 32,100,101, 99,108, 97,114, 97,
+ 116,105,111,110, 46, 10, 45, 45, 32, 83,116,111,114,101,115,
+ 32,116,104,101, 32,102,111,108,108,111,119,105,110,103, 32,
+ 102,105,101,108,100,115, 58, 10, 45, 45, 32, 32,109,111,100,
+ 32, 32, 61, 32,116,121,112,101, 32,109,111,100,105,102,105,
+ 101,114,115, 10, 45, 45, 32, 32,116,121,112,101, 32, 61, 32,
+ 116,121,112,101, 10, 45, 45, 32, 32,112,116,114, 32, 32, 61,
+ 32, 34, 42, 34, 32,111,114, 32, 34, 38, 34, 44, 32,105,102,
+ 32,114,101,112,114,101,115,101,110,116,105,110,103, 32, 97,
+ 32,112,111,105,110,116,101,114, 32,111,114, 32, 97, 32,114,
+ 101,102,101,114,101,110, 99,101, 10, 45, 45, 32, 32,110, 97,
+ 109,101, 32, 61, 32,110, 97,109,101, 10, 45, 45, 32, 32,100,
+ 105,109, 32, 32, 61, 32,100,105,109,101,110,115,105,111,110,
+ 44, 32,105,102, 32, 97, 32,118,101, 99,116,111,114, 10, 45,
+ 45, 32, 32,100,101,102, 32, 32, 61, 32,100,101,102, 97,117,
+ 108,116, 32,118, 97,108,117,101, 44, 32,105,102, 32, 97,110,
+ 121, 32, 40,111,110,108,121, 32,102,111,114, 32, 97,114,103,
+ 117,109,101,110,116,115, 41, 10, 45, 45, 32, 32,114,101,116,
+ 32, 32, 61, 32, 34, 42, 34, 32,111,114, 32, 34, 38, 34, 44,
+ 32,105,102, 32,118, 97,108,117,101, 32,105,115, 32,116,111,
+ 32, 98,101, 32,114,101,116,117,114,110,101,100, 32, 40,111,
+ 110,108,121, 32,102,111,114, 32, 97,114,103,117,109,101,110,
+ 116,115, 41, 10, 99,108, 97,115,115, 68,101, 99,108, 97,114,
+ 97,116,105,111,110, 32, 61, 32,123, 10, 32,109,111,100, 32,
+ 61, 32, 39, 39, 44, 10, 32,116,121,112,101, 32, 61, 32, 39,
+ 39, 44, 10, 32,112,116,114, 32, 61, 32, 39, 39, 44, 10, 32,
+ 110, 97,109,101, 32, 61, 32, 39, 39, 44, 10, 32,100,105,109,
+ 32, 61, 32, 39, 39, 44, 10, 32,114,101,116, 32, 61, 32, 39,
+ 39, 44, 10, 32,100,101,102, 32, 61, 32, 39, 39, 10,125, 10,
+ 99,108, 97,115,115, 68,101, 99,108, 97,114, 97,116,105,111,
+ 110, 46, 95, 95,105,110,100,101,120, 32, 61, 32, 99,108, 97,
+ 115,115, 68,101, 99,108, 97,114, 97,116,105,111,110, 10,115,
+ 101,116,109,101,116, 97,116, 97, 98,108,101, 40, 99,108, 97,
+ 115,115, 68,101, 99,108, 97,114, 97,116,105,111,110, 44, 99,
+ 108, 97,115,115, 70,101, 97,116,117,114,101, 41, 10, 10, 45,
+ 45, 32, 67,114,101, 97,116,101, 32, 97,110, 32,117,110,105,
+ 113,117,101, 32,118, 97,114,105, 97, 98,108,101, 32,110, 97,
+ 109,101, 10,102,117,110, 99,116,105,111,110, 32, 99,114,101,
+ 97,116,101, 95,118, 97,114,110, 97,109,101, 32, 40, 41, 10,
+ 32,105,102, 32,110,111,116, 32, 95,118, 97,114,110,117,109,
+ 98,101,114, 32,116,104,101,110, 32, 95,118, 97,114,110,117,
+ 109, 98,101,114, 32, 61, 32, 48, 32,101,110,100, 10, 32, 95,
+ 118, 97,114,110,117,109, 98,101,114, 32, 61, 32, 95,118, 97,
+ 114,110,117,109, 98,101,114, 32, 43, 32, 49, 10, 32,114,101,
+ 116,117,114,110, 32, 34,116,111,108,117, 97, 95,118, 97,114,
+ 95, 34, 46, 46, 95,118, 97,114,110,117,109, 98,101,114, 10,
+ 101,110,100, 10, 10, 45, 45, 32, 67,104,101, 99,107, 32,100,
+ 101, 99,108, 97,114, 97,116,105,111,110, 32,110, 97,109,101,
+ 10, 45, 45, 32, 73,116, 32, 97,108,115,111, 32,105,100,101,
+ 110,116,105,102,105,101,115, 32,100,101,102, 97,117,108,116,
+ 32,118, 97,108,117,101,115, 10,102,117,110, 99,116,105,111,
+ 110, 32, 99,108, 97,115,115, 68,101, 99,108, 97,114, 97,116,
+ 105,111,110, 58, 99,104,101, 99,107,110, 97,109,101, 32, 40,
+ 41, 10, 10, 32,105,102, 32,115,116,114,115,117, 98, 40,115,
+ 101,108,102, 46,110, 97,109,101, 44, 49, 44, 49, 41, 32, 61,
+ 61, 32, 39, 91, 39, 32, 97,110,100, 32,110,111,116, 32,102,
+ 105,110,100,116,121,112,101, 40,115,101,108,102, 46,116,121,
+ 112,101, 41, 32,116,104,101,110, 10, 32, 32,115,101,108,102,
+ 46,110, 97,109,101, 32, 61, 32,115,101,108,102, 46,116,121,
+ 112,101, 46, 46,115,101,108,102, 46,110, 97,109,101, 10, 32,
+ 32,108,111, 99, 97,108, 32,109, 32, 61, 32,115,112,108,105,
+ 116, 40,115,101,108,102, 46,109,111,100, 44, 39, 37,115, 37,
+ 115, 42, 39, 41, 10, 32, 32,115,101,108,102, 46,116,121,112,
+ 101, 32, 61, 32,109, 91,109, 46,110, 93, 10, 32, 32,115,101,
+ 108,102, 46,109,111,100, 32, 61, 32, 99,111,110, 99, 97,116,
+ 40,109, 44, 49, 44,109, 46,110, 45, 49, 41, 10, 32,101,110,
+ 100, 10, 10, 32,108,111, 99, 97,108, 32,116, 32, 61, 32,115,
+ 112,108,105,116, 40,115,101,108,102, 46,110, 97,109,101, 44,
+ 39, 61, 39, 41, 10, 32,105,102, 32,116, 46,110, 61, 61, 50,
+ 32,116,104,101,110, 10, 32, 32,115,101,108,102, 46,110, 97,
+ 109,101, 32, 61, 32,116, 91, 49, 93, 10, 32, 32,115,101,108,
+ 102, 46,100,101,102, 32, 61, 32,102,105,110,100, 95,101,110,
+ 117,109, 95,118, 97,114, 40,116, 91,116, 46,110, 93, 41, 10,
+ 32,101,110,100, 10, 10, 32,108,111, 99, 97,108, 32, 98, 44,
+ 101, 44,100, 32, 61, 32,115,116,114,102,105,110,100, 40,115,
+ 101,108,102, 46,110, 97,109,101, 44, 34, 37, 91, 40, 46, 45,
+ 41, 37, 93, 34, 41, 10, 32,105,102, 32, 98, 32,116,104,101,
+ 110, 10, 32, 32,115,101,108,102, 46,110, 97,109,101, 32, 61,
+ 32,115,116,114,115,117, 98, 40,115,101,108,102, 46,110, 97,
+ 109,101, 44, 49, 44, 98, 45, 49, 41, 10, 32, 32,115,101,108,
+ 102, 46,100,105,109, 32, 61, 32,102,105,110,100, 95,101,110,
+ 117,109, 95,118, 97,114, 40,100, 41, 10, 32,101,110,100, 10,
+ 10, 10, 32,105,102, 32,115,101,108,102, 46,116,121,112,101,
+ 32,126, 61, 32, 39, 39, 32, 97,110,100, 32,115,101,108,102,
+ 46,116,121,112,101, 32,126, 61, 32, 39,118,111,105,100, 39,
+ 32, 97,110,100, 32,115,101,108,102, 46,110, 97,109,101, 32,
+ 61, 61, 32, 39, 39, 32,116,104,101,110, 10, 32, 32,115,101,
+ 108,102, 46,110, 97,109,101, 32, 61, 32, 99,114,101, 97,116,
+ 101, 95,118, 97,114,110, 97,109,101, 40, 41, 10, 32,101,108,
+ 115,101,105,102, 32,115,101,108,102, 46,107,105,110,100, 61,
+ 61, 39,118, 97,114, 39, 32,116,104,101,110, 10, 32, 32,105,
+ 102, 32,115,101,108,102, 46,116,121,112,101, 61, 61, 39, 39,
+ 32, 97,110,100, 32,115,101,108,102, 46,110, 97,109,101,126,
+ 61, 39, 39, 32,116,104,101,110, 10, 32, 32, 32,115,101,108,
+ 102, 46,116,121,112,101, 32, 61, 32,115,101,108,102, 46,116,
+ 121,112,101, 46, 46,115,101,108,102, 46,110, 97,109,101, 10,
+ 32, 32, 32,115,101,108,102, 46,110, 97,109,101, 32, 61, 32,
+ 99,114,101, 97,116,101, 95,118, 97,114,110, 97,109,101, 40,
+ 41, 10, 32, 32,101,108,115,101,105,102, 32,102,105,110,100,
+ 116,121,112,101, 40,115,101,108,102, 46,110, 97,109,101, 41,
+ 32,116,104,101,110, 10, 32, 32, 32,105,102, 32,115,101,108,
+ 102, 46,116,121,112,101, 61, 61, 39, 39, 32,116,104,101,110,
+ 32,115,101,108,102, 46,116,121,112,101, 32, 61, 32,115,101,
+ 108,102, 46,110, 97,109,101, 10, 32, 32, 32,101,108,115,101,
+ 32,115,101,108,102, 46,116,121,112,101, 32, 61, 32,115,101,
+ 108,102, 46,116,121,112,101, 46, 46, 39, 32, 39, 46, 46,115,
+ 101,108,102, 46,110, 97,109,101, 32,101,110,100, 10, 32, 32,
+ 32,115,101,108,102, 46,110, 97,109,101, 32, 61, 32, 99,114,
+ 101, 97,116,101, 95,118, 97,114,110, 97,109,101, 40, 41, 10,
+ 32, 32,101,110,100, 10, 32,101,110,100, 10, 10, 32, 45, 45,
+ 32, 97,100,106,117,115,116, 32,116,121,112,101, 32,111,102,
+ 32,115,116,114,105,110,103, 10, 32,105,102, 32,115,101,108,
+ 102, 46,116,121,112,101, 32, 61, 61, 32, 39, 99,104, 97,114,
+ 39, 32, 97,110,100, 32,115,101,108,102, 46,100,105,109, 32,
+ 126, 61, 32, 39, 39, 32,116,104,101,110, 10, 9, 32,115,101,
+ 108,102, 46,116,121,112,101, 32, 61, 32, 39, 99,104, 97,114,
+ 42, 39, 10, 32,101,110,100, 10, 10, 9,105,102, 32,115,101,
+ 108,102, 46,107,105,110,100, 32, 97,110,100, 32,115,101,108,
+ 102, 46,107,105,110,100, 32, 61, 61, 32, 39,118, 97,114, 39,
+ 32,116,104,101,110, 10, 9, 9,115,101,108,102, 46,110, 97,
+ 109,101, 32, 61, 32,115,116,114,105,110,103, 46,103,115,117,
+ 98, 40,115,101,108,102, 46,110, 97,109,101, 44, 32, 34, 58,
+ 46, 42, 36, 34, 44, 32, 34, 34, 41, 32, 45, 45, 32, 63, 63,
+ 63, 10, 9,101,110,100, 10,101,110,100, 10, 10, 45, 45, 32,
+ 67,104,101, 99,107, 32,100,101, 99,108, 97,114, 97,116,105,
+ 111,110, 32,116,121,112,101, 10, 45, 45, 32, 83,117, 98,115,
+ 116,105,116,117,116,101,115, 32,116,121,112,101,100,101,102,
+ 39,115, 46, 10,102,117,110, 99,116,105,111,110, 32, 99,108,
+ 97,115,115, 68,101, 99,108, 97,114, 97,116,105,111,110, 58,
+ 99,104,101, 99,107,116,121,112,101, 32, 40, 41, 10, 10, 32,
+ 45, 45, 32, 99,104,101, 99,107, 32,105,102, 32,116,104,101,
+ 114,101, 32,105,115, 32, 97, 32,112,111,105,110,116,101,114,
+ 32,116,111, 32, 98, 97,115,105, 99, 32,116,121,112,101, 10,
+ 32,108,111, 99, 97,108, 32, 98, 97,115,105, 99, 32, 61, 32,
+ 105,115, 98, 97,115,105, 99, 40,115,101,108,102, 46,116,121,
+ 112,101, 41, 10, 32,105,102, 32,115,101,108,102, 46,107,105,
+ 110,100, 32, 61, 61, 32, 39,102,117,110, 99, 39, 32, 97,110,
+ 100, 32, 98, 97,115,105, 99, 61, 61, 39,110,117,109, 98,101,
+ 114, 39, 32, 97,110,100, 32,115,116,114,105,110,103, 46,102,
+ 105,110,100, 40,115,101,108,102, 46,112,116,114, 44, 32, 34,
+ 37, 42, 34, 41, 32,116,104,101,110, 10, 32, 9,115,101,108,
+ 102, 46,116,121,112,101, 32, 61, 32, 39, 95,117,115,101,114,
+ 100, 97,116, 97, 39, 10, 32, 9,115,101,108,102, 46,112,116,
+ 114, 32, 61, 32, 34, 34, 10, 32,101,110,100, 10, 32,105,102,
+ 32, 98, 97,115,105, 99, 32, 97,110,100, 32,115,101,108,102,
+ 46,112,116,114,126, 61, 39, 39, 32,116,104,101,110, 10, 32,
+ 32,115,101,108,102, 46,114,101,116, 32, 61, 32,115,101,108,
+ 102, 46,112,116,114, 10, 32, 32,115,101,108,102, 46,112,116,
+ 114, 32, 61, 32,110,105,108, 10, 32, 32,105,102, 32,105,115,
+ 98, 97,115,105, 99, 40,115,101,108,102, 46,116,121,112,101,
+ 41, 32, 61, 61, 32, 39,110,117,109, 98,101,114, 39, 32,116,
+ 104,101,110, 10, 32, 32, 9,115,101,108,102, 46,114,101,116,
+ 117,114,110, 95,117,115,101,114,100, 97,116, 97, 32, 61, 32,
+ 116,114,117,101, 10, 32, 32,101,110,100, 10, 32,101,110,100,
+ 10, 10, 32, 45, 45, 32, 99,104,101, 99,107, 32,105,102, 32,
+ 116,104,101,114,101, 32,105,115, 32, 97,114,114, 97,121, 32,
+ 116,111, 32, 98,101, 32,114,101,116,117,114,110,101,100, 10,
+ 32,105,102, 32,115,101,108,102, 46,100,105,109,126, 61, 39,
+ 39, 32, 97,110,100, 32,115,101,108,102, 46,114,101,116,126,
+ 61, 39, 39, 32,116,104,101,110, 10, 32, 32, 32,101,114,114,
+ 111,114, 40, 39, 35,105,110,118, 97,108,105,100, 32,112, 97,
+ 114, 97,109,101,116,101,114, 58, 32, 99, 97,110,110,111,116,
+ 32,114,101,116,117,114,110, 32, 97,110, 32, 97,114,114, 97,
+ 121, 32,111,102, 32,118, 97,108,117,101,115, 39, 41, 10, 32,
+ 101,110,100, 10, 32, 45, 45, 32,114,101,115,116,111,114,101,
+ 32, 39,118,111,105,100, 42, 39, 32, 97,110,100, 32, 39,115,
+ 116,114,105,110,103, 42, 39, 10, 32,105,102, 32,115,101,108,
+ 102, 46,116,121,112,101, 32, 61, 61, 32, 39, 95,117,115,101,
+ 114,100, 97,116, 97, 39, 32,116,104,101,110, 32,115,101,108,
+ 102, 46,116,121,112,101, 32, 61, 32, 39,118,111,105,100, 42,
+ 39, 10, 32,101,108,115,101,105,102, 32,115,101,108,102, 46,
+ 116,121,112,101, 32, 61, 61, 32, 39, 95, 99,115,116,114,105,
+ 110,103, 39, 32,116,104,101,110, 32,115,101,108,102, 46,116,
+ 121,112,101, 32, 61, 32, 39, 99,104, 97,114, 42, 39, 10, 32,
+ 101,108,115,101,105,102, 32,115,101,108,102, 46,116,121,112,
+ 101, 32, 61, 61, 32, 39, 95,108,115,116, 97,116,101, 39, 32,
+ 116,104,101,110, 32,115,101,108,102, 46,116,121,112,101, 32,
+ 61, 32, 39,108,117, 97, 95, 83,116, 97,116,101, 42, 39, 10,
+ 32,101,110,100, 10, 10, 32, 45, 45, 32,114,101,115,111,108,
+ 118,101, 32,116,121,112,101,115, 32,105,110,115,105,100,101,
+ 32,116,104,101, 32,116,101,109,112,108, 97,116,101,115, 10,
+ 32,105,102, 32,115,101,108,102, 46,116,121,112,101, 32,116,
+ 104,101,110, 10, 9, 32,115,101,108,102, 46,116,121,112,101,
+ 32, 61, 32,114,101,115,111,108,118,101, 95,116,101,109,112,
+ 108, 97,116,101, 95,116,121,112,101,115, 40,115,101,108,102,
+ 46,116,121,112,101, 41, 10, 32,101,110,100, 10, 10, 45, 45,
+ 10, 45, 45, 32, 45, 45, 32,105,102, 32,114,101,116,117,114,
+ 110,105,110,103, 32,118, 97,108,117,101, 44, 32, 97,117,116,
+ 111,109, 97,116,105, 99, 97,108,108,121, 32,115,101,116, 32,
+ 100,101,102, 97,117,108,116, 32,118, 97,108,117,101, 10, 45,
+ 45, 32,105,102, 32,115,101,108,102, 46,114,101,116, 32,126,
+ 61, 32, 39, 39, 32, 97,110,100, 32,115,101,108,102, 46,100,
+ 101,102, 32, 61, 61, 32, 39, 39, 32,116,104,101,110, 10, 45,
+ 45, 32, 32,115,101,108,102, 46,100,101,102, 32, 61, 32, 39,
+ 48, 39, 10, 45, 45, 32,101,110,100, 10, 45, 45, 10, 10,101,
+ 110,100, 10, 10,102,117,110, 99,116,105,111,110, 32,114,101,
+ 115,111,108,118,101, 95,116,101,109,112,108, 97,116,101, 95,
+ 116,121,112,101,115, 40,116,121,112,101, 41, 10, 10, 9,105,
+ 102, 32,105,115, 98, 97,115,105, 99, 40,116,121,112,101, 41,
+ 32,116,104,101,110, 10, 9, 9,114,101,116,117,114,110, 32,
+ 116,121,112,101, 10, 9,101,110,100, 10, 9,108,111, 99, 97,
+ 108, 32, 98, 44, 95, 44,109, 32, 61, 32,115,116,114,105,110,
+ 103, 46,102,105,110,100, 40,116,121,112,101, 44, 32, 34, 40,
+ 37, 98, 60, 62, 41, 34, 41, 10, 9,105,102, 32, 98, 32,116,
+ 104,101,110, 10, 10, 9, 9,109, 32, 61, 32,115,112,108,105,
+ 116, 95, 99, 95,116,111,107,101,110,115, 40,115,116,114,105,
+ 110,103, 46,115,117, 98, 40,109, 44, 32, 50, 44, 32, 45, 50,
+ 41, 44, 32, 34, 44, 34, 41, 10, 9, 9,102,111,114, 32,105,
+ 61, 49, 44, 32,116, 97, 98,108,101, 46,103,101,116,110, 40,
+ 109, 41, 32,100,111, 10, 9, 9, 9,109, 91,105, 93, 32, 61,
+ 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,109, 91,
+ 105, 93, 44, 34, 37,115, 42, 40, 91, 37, 42, 38, 93, 41, 34,
+ 44, 32, 34, 37, 49, 34, 41, 10, 9, 9, 9,105,102, 32,110,
+ 111,116, 32,105,115, 98, 97,115,105, 99, 40,109, 91,105, 93,
+ 41, 32,116,104,101,110, 10, 9, 9, 9, 9,105,102, 32,110,
+ 111,116, 32,105,115,101,110,117,109, 40,109, 91,105, 93, 41,
+ 32,116,104,101,110, 32, 95, 44, 32,109, 91,105, 93, 32, 61,
+ 32, 97,112,112,108,121,116,121,112,101,100,101,102, 40, 34,
+ 34, 44, 32,109, 91,105, 93, 41, 32,101,110,100, 10, 9, 9,
+ 9, 9,109, 91,105, 93, 32, 61, 32,102,105,110,100,116,121,
+ 112,101, 40,109, 91,105, 93, 41, 32,111,114, 32,109, 91,105,
+ 93, 10, 9, 9, 9, 9,109, 91,105, 93, 32, 61, 32,114,101,
+ 115,111,108,118,101, 95,116,101,109,112,108, 97,116,101, 95,
+ 116,121,112,101,115, 40,109, 91,105, 93, 41, 10, 9, 9, 9,
+ 101,110,100, 10, 9, 9,101,110,100, 10, 10, 9, 9,108,111,
+ 99, 97,108, 32, 98, 44,105, 10, 9, 9,116,121,112,101, 44,
+ 98, 44,105, 32, 61, 32, 98,114,101, 97,107, 95,116,101,109,
+ 112,108, 97,116,101, 40,116,121,112,101, 41, 10, 45, 45,112,
+ 114,105,110,116, 40, 34, 99,111,110, 99, 97,116, 32,105,115,
+ 32, 34, 44, 99,111,110, 99, 97,116, 40,109, 44, 32, 49, 44,
+ 32,109, 46,110, 41, 41, 10, 9, 9,108,111, 99, 97,108, 32,
+ 116,101,109,112,108, 97,116,101, 95,112, 97,114,116, 32, 61,
+ 32, 34, 60, 34, 46, 46, 99,111,110, 99, 97,116, 40,109, 44,
+ 32, 49, 44, 32,109, 46,110, 44, 32, 34, 44, 34, 41, 46, 46,
+ 34, 62, 34, 10, 9, 9,116,121,112,101, 32, 61, 32,114,101,
+ 98,117,105,108,100, 95,116,101,109,112,108, 97,116,101, 40,
+ 116,121,112,101, 44, 32, 98, 44, 32,116,101,109,112,108, 97,
+ 116,101, 95,112, 97,114,116, 41, 10, 9, 9,116,121,112,101,
+ 32, 61, 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,
+ 116,121,112,101, 44, 32, 34, 62, 62, 34, 44, 32, 34, 62, 32,
+ 62, 34, 41, 10, 9,101,110,100, 10, 9,114,101,116,117,114,
+ 110, 32,116,121,112,101, 10,101,110,100, 10, 10,102,117,110,
+ 99,116,105,111,110, 32, 98,114,101, 97,107, 95,116,101,109,
+ 112,108, 97,116,101, 40,115, 41, 10, 9,108,111, 99, 97,108,
+ 32, 98, 44,101, 44,116,105,109,112,108, 32, 61, 32,115,116,
+ 114,105,110,103, 46,102,105,110,100, 40,115, 44, 32, 34, 40,
+ 37, 98, 60, 62, 41, 34, 41, 10, 9,105,102, 32,116,105,109,
+ 112,108, 32,116,104,101,110, 10, 9, 9,115, 32, 61, 32,115,
+ 116,114,105,110,103, 46,103,115,117, 98, 40,115, 44, 32, 34,
+ 37, 98, 60, 62, 34, 44, 32, 34, 34, 41, 10, 9, 9,114,101,
+ 116,117,114,110, 32,115, 44, 32, 98, 44, 32,116,105,109,112,
+ 108, 10, 9,101,108,115,101, 10, 9, 9,114,101,116,117,114,
+ 110, 32,115, 44, 32, 48, 44, 32,110,105,108, 10, 9,101,110,
+ 100, 10,101,110,100, 10, 10,102,117,110, 99,116,105,111,110,
+ 32,114,101, 98,117,105,108,100, 95,116,101,109,112,108, 97,
+ 116,101, 40,115, 44, 32, 98, 44, 32,116,105,109,112,108, 41,
+ 10, 10, 9,105,102, 32, 98, 32, 61, 61, 32, 48, 32,116,104,
+ 101,110, 10, 9, 9,114,101,116,117,114,110, 32,115, 10, 9,
+ 101,110,100, 10, 10, 9,114,101,116,117,114,110, 32,115,116,
+ 114,105,110,103, 46,115,117, 98, 40,115, 44, 32, 49, 44, 32,
+ 98, 45, 49, 41, 46, 46,116,105,109,112,108, 46, 46,115,116,
+ 114,105,110,103, 46,115,117, 98, 40,115, 44, 32, 98, 44, 32,
+ 45, 49, 41, 10,101,110,100, 10, 10, 45, 45, 32, 80,114,105,
+ 110,116, 32,109,101,116,104,111,100, 10,102,117,110, 99,116,
+ 105,111,110, 32, 99,108, 97,115,115, 68,101, 99,108, 97,114,
+ 97,116,105,111,110, 58,112,114,105,110,116, 32, 40,105,100,
+ 101,110,116, 44, 99,108,111,115,101, 41, 10, 32,112,114,105,
+ 110,116, 40,105,100,101,110,116, 46, 46, 34, 68,101, 99,108,
+ 97,114, 97,116,105,111,110,123, 34, 41, 10, 32,112,114,105,
+ 110,116, 40,105,100,101,110,116, 46, 46, 34, 32,109,111,100,
+ 32, 32, 61, 32, 39, 34, 46, 46,115,101,108,102, 46,109,111,
+ 100, 46, 46, 34, 39, 44, 34, 41, 10, 32,112,114,105,110,116,
+ 40,105,100,101,110,116, 46, 46, 34, 32,116,121,112,101, 32,
+ 61, 32, 39, 34, 46, 46,115,101,108,102, 46,116,121,112,101,
+ 46, 46, 34, 39, 44, 34, 41, 10, 32,112,114,105,110,116, 40,
+ 105,100,101,110,116, 46, 46, 34, 32,112,116,114, 32, 32, 61,
+ 32, 39, 34, 46, 46,115,101,108,102, 46,112,116,114, 46, 46,
+ 34, 39, 44, 34, 41, 10, 32,112,114,105,110,116, 40,105,100,
+ 101,110,116, 46, 46, 34, 32,110, 97,109,101, 32, 61, 32, 39,
+ 34, 46, 46,115,101,108,102, 46,110, 97,109,101, 46, 46, 34,
+ 39, 44, 34, 41, 10, 32,112,114,105,110,116, 40,105,100,101,
+ 110,116, 46, 46, 34, 32,100,105,109, 32, 32, 61, 32, 39, 34,
+ 46, 46,115,101,108,102, 46,100,105,109, 46, 46, 34, 39, 44,
+ 34, 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,116,
+ 46, 46, 34, 32,100,101,102, 32, 32, 61, 32, 39, 34, 46, 46,
+ 115,101,108,102, 46,100,101,102, 46, 46, 34, 39, 44, 34, 41,
+ 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46,
+ 34, 32,114,101,116, 32, 32, 61, 32, 39, 34, 46, 46,115,101,
+ 108,102, 46,114,101,116, 46, 46, 34, 39, 44, 34, 41, 10, 32,
+ 112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34,125,
+ 34, 46, 46, 99,108,111,115,101, 41, 10,101,110,100, 10, 10,
+ 45, 45, 32, 99,104,101, 99,107, 32,105,102, 32, 97,114,114,
+ 97,121, 32,111,102, 32,118, 97,108,117,101,115, 32, 97,114,
+ 101, 32,114,101,116,117,114,110,101,100, 32,116,111, 32, 76,
+ 117, 97, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,
+ 115,115, 68,101, 99,108, 97,114, 97,116,105,111,110, 58,114,
+ 101,113,117,105,114,101, 99,111,108,108,101, 99,116,105,111,
+ 110, 32, 40,116, 41, 10, 32,105,102, 32,115,101,108,102, 46,
+ 109,111,100, 32,126, 61, 32, 39, 99,111,110,115,116, 39, 32,
+ 97,110,100, 10, 9, 32, 32, 32, 32,115,101,108,102, 46,100,
+ 105,109, 32, 97,110,100, 32,115,101,108,102, 46,100,105,109,
+ 32,126, 61, 32, 39, 39, 32, 97,110,100, 10, 9, 9, 9, 9,
+ 32,110,111,116, 32,105,115, 98, 97,115,105, 99, 40,115,101,
+ 108,102, 46,116,121,112,101, 41, 32, 97,110,100, 10, 9, 9,
+ 9, 9, 32,115,101,108,102, 46,112,116,114, 32, 61, 61, 32,
+ 39, 39, 32, 97,110,100, 32,115,101,108,102, 58, 99,104,101,
+ 99,107, 95,112,117, 98,108,105, 99, 95, 97, 99, 99,101,115,
+ 115, 40, 41, 32,116,104,101,110, 10, 9, 9,108,111, 99, 97,
+ 108, 32,116,121,112,101, 32, 61, 32,103,115,117, 98, 40,115,
+ 101,108,102, 46,116,121,112,101, 44, 34, 37,115, 42, 99,111,
+ 110,115,116, 37,115, 43, 34, 44, 34, 34, 41, 10, 9, 9,116,
+ 91,116,121,112,101, 93, 32, 61, 32, 34,116,111,108,117, 97,
+ 95, 99,111,108,108,101, 99,116, 95, 34, 32, 46, 46, 32, 99,
+ 108,101, 97,110, 95,116,101,109,112,108, 97,116,101, 40,116,
+ 121,112,101, 41, 10, 9, 9,114,101,116,117,114,110, 32,116,
+ 114,117,101, 10, 9,101,110,100, 10, 9,114,101,116,117,114,
+ 110, 32,102, 97,108,115,101, 10,101,110,100, 10, 10, 45, 45,
+ 32,100,101, 99,108, 97,114,101, 32,116, 97,103, 10,102,117,
+ 110, 99,116,105,111,110, 32, 99,108, 97,115,115, 68,101, 99,
+ 108, 97,114, 97,116,105,111,110, 58,100,101, 99,108,116,121,
+ 112,101, 32, 40, 41, 10, 10, 9,115,101,108,102, 46,116,121,
+ 112,101, 32, 61, 32,116,121,112,101,118, 97,114, 40,115,101,
+ 108,102, 46,116,121,112,101, 41, 10, 9,105,102, 32,115,116,
+ 114,102,105,110,100, 40,115,101,108,102, 46,109,111,100, 44,
+ 39, 99,111,110,115,116, 39, 41, 32,116,104,101,110, 10, 9,
+ 9,115,101,108,102, 46,116,121,112,101, 32, 61, 32, 39, 99,
+ 111,110,115,116, 32, 39, 46, 46,115,101,108,102, 46,116,121,
+ 112,101, 10, 9, 9,115,101,108,102, 46,109,111,100, 32, 61,
+ 32,103,115,117, 98, 40,115,101,108,102, 46,109,111,100, 44,
+ 39, 99,111,110,115,116, 37,115, 42, 39, 44, 39, 39, 41, 10,
+ 9,101,110,100, 10,101,110,100, 10, 10, 10, 45, 45, 32,111,
+ 117,116,112,117,116, 32,116,121,112,101, 32, 99,104,101, 99,
+ 107,105,110,103, 10,102,117,110, 99,116,105,111,110, 32, 99,
+ 108, 97,115,115, 68,101, 99,108, 97,114, 97,116,105,111,110,
+ 58,111,117,116, 99,104,101, 99,107,116,121,112,101, 32, 40,
+ 110, 97,114,103, 41, 10, 32,108,111, 99, 97,108, 32,100,101,
+ 102, 10, 32,108,111, 99, 97,108, 32,116, 32, 61, 32,105,115,
+ 98, 97,115,105, 99, 40,115,101,108,102, 46,116,121,112,101,
+ 41, 10, 32,105,102, 32,115,101,108,102, 46,100,101,102,126,
+ 61, 39, 39, 32,116,104,101,110, 10, 32, 32,100,101,102, 32,
+ 61, 32, 49, 10, 32,101,108,115,101, 10, 32, 32,100,101,102,
+ 32, 61, 32, 48, 10, 32,101,110,100, 10, 32,105,102, 32,115,
+ 101,108,102, 46,100,105,109, 32,126, 61, 32, 39, 39, 32,116,
+ 104,101,110, 10, 9, 45, 45,105,102, 32,116, 61, 61, 39,115,
+ 116,114,105,110,103, 39, 32,116,104,101,110, 10, 9, 45, 45,
+ 9,114,101,116,117,114,110, 32, 39,116,111,108,117, 97, 95,
+ 105,115,115,116,114,105,110,103, 97,114,114, 97,121, 40,116,
+ 111,108,117, 97, 95, 83, 44, 39, 46, 46,110, 97,114,103, 46,
+ 46, 39, 44, 39, 46, 46,100,101,102, 46, 46, 39, 44, 38,116,
+ 111,108,117, 97, 95,101,114,114, 41, 39, 10, 9, 45, 45,101,
+ 108,115,101, 10, 9,114,101,116,117,114,110, 32, 39, 33,116,
+ 111,108,117, 97, 95,105,115,116, 97, 98,108,101, 40,116,111,
+ 108,117, 97, 95, 83, 44, 39, 46, 46,110, 97,114,103, 46, 46,
+ 39, 44, 48, 44, 38,116,111,108,117, 97, 95,101,114,114, 41,
+ 39, 10, 32, 9, 45, 45,101,110,100, 10, 32,101,108,115,101,
+ 105,102, 32,116, 32,116,104,101,110, 10, 9,114,101,116,117,
+ 114,110, 32, 39, 33,116,111,108,117, 97, 95,105,115, 39, 46,
+ 46,116, 46, 46, 39, 40,116,111,108,117, 97, 95, 83, 44, 39,
+ 46, 46,110, 97,114,103, 46, 46, 39, 44, 39, 46, 46,100,101,
+ 102, 46, 46, 39, 44, 38,116,111,108,117, 97, 95,101,114,114,
+ 41, 39, 10, 32,101,108,115,101, 10, 32, 32,108,111, 99, 97,
+ 108, 32,105,115, 95,102,117,110, 99, 32, 61, 32,103,101,116,
+ 95,105,115, 95,102,117,110, 99,116,105,111,110, 40,115,101,
+ 108,102, 46,116,121,112,101, 41, 10, 32, 32,105,102, 32,115,
+ 101,108,102, 46,112,116,114, 32, 61, 61, 32, 39, 38, 39, 32,
+ 111,114, 32,115,101,108,102, 46,112,116,114, 32, 61, 61, 32,
+ 39, 39, 32,116,104,101,110, 10, 32, 32, 9,114,101,116,117,
+ 114,110, 32, 39, 40,116,111,108,117, 97, 95,105,115,118, 97,
+ 108,117,101,110,105,108, 40,116,111,108,117, 97, 95, 83, 44,
+ 39, 46, 46,110, 97,114,103, 46, 46, 39, 44, 38,116,111,108,
+ 117, 97, 95,101,114,114, 41, 32,124,124, 32, 33, 39, 46, 46,
+ 105,115, 95,102,117,110, 99, 46, 46, 39, 40,116,111,108,117,
+ 97, 95, 83, 44, 39, 46, 46,110, 97,114,103, 46, 46, 39, 44,
+ 34, 39, 46, 46,115,101,108,102, 46,116,121,112,101, 46, 46,
+ 39, 34, 44, 39, 46, 46,100,101,102, 46, 46, 39, 44, 38,116,
+ 111,108,117, 97, 95,101,114,114, 41, 41, 39, 10, 32, 32,101,
+ 108,115,101, 10, 9,114,101,116,117,114,110, 32, 39, 33, 39,
+ 46, 46,105,115, 95,102,117,110, 99, 46, 46, 39, 40,116,111,
+ 108,117, 97, 95, 83, 44, 39, 46, 46,110, 97,114,103, 46, 46,
+ 39, 44, 34, 39, 46, 46,115,101,108,102, 46,116,121,112,101,
+ 46, 46, 39, 34, 44, 39, 46, 46,100,101,102, 46, 46, 39, 44,
+ 38,116,111,108,117, 97, 95,101,114,114, 41, 39, 10, 32, 32,
+ 101,110,100, 10, 32,101,110,100, 10,101,110,100, 10, 10,102,
+ 117,110, 99,116,105,111,110, 32, 99,108, 97,115,115, 68,101,
+ 99,108, 97,114, 97,116,105,111,110, 58, 98,117,105,108,100,
+ 100,101, 99,108, 97,114, 97,116,105,111,110, 32, 40,110, 97,
+ 114,103, 44, 32, 99,112,108,117,115,112,108,117,115, 41, 10,
+ 32,108,111, 99, 97,108, 32, 97,114,114, 97,121, 32, 61, 32,
+ 115,101,108,102, 46,100,105,109, 32,126, 61, 32, 39, 39, 32,
+ 97,110,100, 32,116,111,110,117,109, 98,101,114, 40,115,101,
+ 108,102, 46,100,105,109, 41, 61, 61,110,105,108, 10, 9,108,
+ 111, 99, 97,108, 32,108,105,110,101, 32, 61, 32, 34, 34, 10,
+ 32,108,111, 99, 97,108, 32,112,116,114, 32, 61, 32, 39, 39,
+ 10, 32,108,111, 99, 97,108, 32,109,111,100, 10, 32,108,111,
+ 99, 97,108, 32,116,121,112,101, 32, 61, 32,115,101,108,102,
+ 46,116,121,112,101, 10, 32,108,111, 99, 97,108, 32,110, 99,
+ 116,121,112,101, 32, 61, 32,103,115,117, 98, 40,115,101,108,
+ 102, 46,116,121,112,101, 44, 39, 99,111,110,115,116, 37,115,
+ 43, 39, 44, 39, 39, 41, 10, 32,105,102, 32,115,101,108,102,
+ 46,100,105,109, 32,126, 61, 32, 39, 39, 32,116,104,101,110,
+ 10, 9, 32,116,121,112,101, 32, 61, 32,103,115,117, 98, 40,
+ 115,101,108,102, 46,116,121,112,101, 44, 39, 99,111,110,115,
+ 116, 37,115, 43, 39, 44, 39, 39, 41, 32, 32, 45, 45, 32,101,
+ 108,105,109,105,110, 97,116,101,115, 32, 99,111,110,115,116,
+ 32,109,111,100,105,102,105,101,114, 32,102,111,114, 32, 97,
+ 114,114, 97,121,115, 10, 32,101,110,100, 10, 32,105,102, 32,
+ 115,101,108,102, 46,112,116,114,126, 61, 39, 39, 32, 97,110,
+ 100, 32,110,111,116, 32,105,115, 98, 97,115,105, 99, 40,116,
+ 121,112,101, 41, 32,116,104,101,110, 32,112,116,114, 32, 61,
+ 32, 39, 42, 39, 32,101,110,100, 10, 32,108,105,110,101, 32,
+ 61, 32, 99,111,110, 99, 97,116,112, 97,114, 97,109, 40,108,
+ 105,110,101, 44, 34, 32, 34, 44,115,101,108,102, 46,109,111,
+ 100, 44,116,121,112,101, 44,112,116,114, 41, 10, 32,105,102,
+ 32, 97,114,114, 97,121, 32,116,104,101,110, 10, 32, 32,108,
+ 105,110,101, 32, 61, 32, 99,111,110, 99, 97,116,112, 97,114,
+ 97,109, 40,108,105,110,101, 44, 39, 42, 39, 41, 10, 32,101,
+ 110,100, 10, 32,108,105,110,101, 32, 61, 32, 99,111,110, 99,
+ 97,116,112, 97,114, 97,109, 40,108,105,110,101, 44,115,101,
+ 108,102, 46,110, 97,109,101, 41, 10, 32,105,102, 32,115,101,
+ 108,102, 46,100,105,109, 32,126, 61, 32, 39, 39, 32,116,104,
+ 101,110, 10, 32, 32,105,102, 32,116,111,110,117,109, 98,101,
+ 114, 40,115,101,108,102, 46,100,105,109, 41,126, 61,110,105,
+ 108, 32,116,104,101,110, 10, 32, 32, 32,108,105,110,101, 32,
+ 61, 32, 99,111,110, 99, 97,116,112, 97,114, 97,109, 40,108,
+ 105,110,101, 44, 39, 91, 39, 44,115,101,108,102, 46,100,105,
+ 109, 44, 39, 93, 59, 39, 41, 10, 32, 32,101,108,115,101, 10,
+ 9,105,102, 32, 99,112,108,117,115,112,108,117,115, 32,116,
+ 104,101,110, 10, 9, 9,108,105,110,101, 32, 61, 32, 99,111,
+ 110, 99, 97,116,112, 97,114, 97,109, 40,108,105,110,101, 44,
+ 39, 32, 61, 32, 77,116,111,108,117, 97, 95,110,101,119, 95,
+ 100,105,109, 40, 39, 44,116,121,112,101, 44,112,116,114, 44,
+ 39, 44, 32, 39, 46, 46,115,101,108,102, 46,100,105,109, 46,
+ 46, 39, 41, 59, 39, 41, 10, 9,101,108,115,101, 10, 9, 9,
+ 108,105,110,101, 32, 61, 32, 99,111,110, 99, 97,116,112, 97,
+ 114, 97,109, 40,108,105,110,101, 44, 39, 32, 61, 32, 40, 39,
+ 44,116,121,112,101, 44,112,116,114, 44, 39, 42, 41, 39, 44,
+ 10, 9, 9, 39,109, 97,108,108,111, 99, 40, 40, 39, 44,115,
+ 101,108,102, 46,100,105,109, 44, 39, 41, 42,115,105,122,101,
+ 111,102, 40, 39, 44,116,121,112,101, 44,112,116,114, 44, 39,
+ 41, 41, 59, 39, 41, 10, 9,101,110,100, 10, 32, 32,101,110,
+ 100, 10, 32,101,108,115,101, 10, 32, 32,108,111, 99, 97,108,
+ 32,116, 32, 61, 32,105,115, 98, 97,115,105, 99, 40,116,121,
+ 112,101, 41, 10, 32, 32,108,105,110,101, 32, 61, 32, 99,111,
+ 110, 99, 97,116,112, 97,114, 97,109, 40,108,105,110,101, 44,
+ 39, 32, 61, 32, 39, 41, 10, 32, 32,105,102, 32,116, 32, 61,
+ 61, 32, 39,115,116, 97,116,101, 39, 32,116,104,101,110, 10,
+ 32, 32, 9,108,105,110,101, 32, 61, 32, 99,111,110, 99, 97,
+ 116,112, 97,114, 97,109, 40,108,105,110,101, 44, 32, 39,116,
+ 111,108,117, 97, 95, 83, 59, 39, 41, 10, 32, 32,101,108,115,
+ 101, 10, 32, 32, 9, 45, 45,112,114,105,110,116, 40, 34,116,
+ 32,105,115, 32, 34, 46, 46,116,111,115,116,114,105,110,103,
+ 40,116, 41, 46, 46, 34, 44, 32,112,116,114, 32,105,115, 32,
+ 34, 46, 46,116,111,115,116,114,105,110,103, 40,115,101,108,
+ 102, 46,112,116,114, 41, 41, 10, 32, 32, 9,105,102, 32,116,
+ 32, 61, 61, 32, 39,110,117,109, 98,101,114, 39, 32, 97,110,
+ 100, 32,115,116,114,105,110,103, 46,102,105,110,100, 40,115,
+ 101,108,102, 46,112,116,114, 44, 32, 34, 37, 42, 34, 41, 32,
+ 116,104,101,110, 10, 32, 32, 9, 9,116, 32, 61, 32, 39,117,
+ 115,101,114,100, 97,116, 97, 39, 10, 32, 32, 9,101,110,100,
+ 10, 9,105,102, 32,110,111,116, 32,116, 32, 97,110,100, 32,
+ 112,116,114, 61, 61, 39, 39, 32,116,104,101,110, 32,108,105,
+ 110,101, 32, 61, 32, 99,111,110, 99, 97,116,112, 97,114, 97,
+ 109, 40,108,105,110,101, 44, 39, 42, 39, 41, 32,101,110,100,
+ 10, 9,108,105,110,101, 32, 61, 32, 99,111,110, 99, 97,116,
+ 112, 97,114, 97,109, 40,108,105,110,101, 44, 39, 40, 40, 39,
+ 44,115,101,108,102, 46,109,111,100, 44,116,121,112,101, 41,
+ 10, 9,105,102, 32,110,111,116, 32,116, 32,116,104,101,110,
+ 10, 9, 9,108,105,110,101, 32, 61, 32, 99,111,110, 99, 97,
+ 116,112, 97,114, 97,109, 40,108,105,110,101, 44, 39, 42, 39,
+ 41, 10, 9,101,110,100, 10, 9,108,105,110,101, 32, 61, 32,
+ 99,111,110, 99, 97,116,112, 97,114, 97,109, 40,108,105,110,
+ 101, 44, 39, 41, 32, 39, 41, 10, 9,105,102, 32,105,115,101,
+ 110,117,109, 40,110, 99,116,121,112,101, 41, 32,116,104,101,
+ 110, 10, 9, 9,108,105,110,101, 32, 61, 32, 99,111,110, 99,
+ 97,116,112, 97,114, 97,109, 40,108,105,110,101, 44, 39, 40,
+ 105,110,116, 41, 32, 39, 41, 10, 9,101,110,100, 10, 9,108,
+ 111, 99, 97,108, 32,100,101,102, 32, 61, 32, 48, 10, 9,105,
+ 102, 32,115,101,108,102, 46,100,101,102, 32,126, 61, 32, 39,
+ 39, 32,116,104,101,110, 10, 9, 9,100,101,102, 32, 61, 32,
+ 115,101,108,102, 46,100,101,102, 10, 9, 9,105,102, 32, 40,
+ 112,116,114, 32, 61, 61, 32, 39, 39, 32,111,114, 32,115,101,
+ 108,102, 46,112,116,114, 32, 61, 61, 32, 39, 38, 39, 41, 32,
+ 97,110,100, 32,110,111,116, 32,116, 32,116,104,101,110, 10,
+ 9, 9, 9,100,101,102, 32, 61, 32, 34, 40,118,111,105,100,
+ 42, 41, 38, 40, 99,111,110,115,116, 32, 34, 46, 46,116,121,
+ 112,101, 46, 46, 34, 41, 34, 46, 46,100,101,102, 10, 9, 9,
+ 101,110,100, 10, 9,101,110,100, 10, 9,105,102, 32,116, 32,
+ 116,104,101,110, 10, 9, 9,108,105,110,101, 32, 61, 32, 99,
+ 111,110, 99, 97,116,112, 97,114, 97,109, 40,108,105,110,101,
+ 44, 39,116,111,108,117, 97, 95,116,111, 39, 46, 46,116, 44,
+ 39, 40,116,111,108,117, 97, 95, 83, 44, 39, 44,110, 97,114,
+ 103, 44, 39, 44, 39, 44,100,101,102, 44, 39, 41, 41, 59, 39,
+ 41, 10, 9,101,108,115,101, 10, 9, 9,108,111, 99, 97,108,
+ 32,116,111, 95,102,117,110, 99, 32, 61, 32,103,101,116, 95,
+ 116,111, 95,102,117,110, 99,116,105,111,110, 40,116,121,112,
+ 101, 41, 10, 9, 9,108,105,110,101, 32, 61, 32, 99,111,110,
+ 99, 97,116,112, 97,114, 97,109, 40,108,105,110,101, 44,116,
+ 111, 95,102,117,110, 99, 46, 46, 39, 40,116,111,108,117, 97,
+ 95, 83, 44, 39, 44,110, 97,114,103, 44, 39, 44, 39, 44,100,
+ 101,102, 44, 39, 41, 41, 59, 39, 41, 10, 9,101,110,100, 10,
+ 32, 32,101,110,100, 10, 32,101,110,100, 10, 9,114,101,116,
+ 117,114,110, 32,108,105,110,101, 10,101,110,100, 10, 10, 45,
+ 45, 32, 68,101, 99,108, 97,114,101, 32,118, 97,114,105, 97,
+ 98,108,101, 10,102,117,110, 99,116,105,111,110, 32, 99,108,
+ 97,115,115, 68,101, 99,108, 97,114, 97,116,105,111,110, 58,
+ 100,101, 99,108, 97,114,101, 32, 40,110, 97,114,103, 41, 10,
+ 32,105,102, 32,115,101,108,102, 46,100,105,109, 32,126, 61,
+ 32, 39, 39, 32, 97,110,100, 32,116,111,110,117,109, 98,101,
+ 114, 40,115,101,108,102, 46,100,105,109, 41, 61, 61,110,105,
+ 108, 32,116,104,101,110, 10, 9, 32,111,117,116,112,117,116,
+ 40, 39, 35,105,102,100,101,102, 32, 95, 95, 99,112,108,117,
+ 115,112,108,117,115, 92,110, 39, 41, 10, 9, 9,111,117,116,
+ 112,117,116, 40,115,101,108,102, 58, 98,117,105,108,100,100,
+ 101, 99,108, 97,114, 97,116,105,111,110, 40,110, 97,114,103,
+ 44,116,114,117,101, 41, 41, 10, 9, 9,111,117,116,112,117,
+ 116, 40, 39, 35,101,108,115,101, 92,110, 39, 41, 10, 9, 9,
+ 111,117,116,112,117,116, 40,115,101,108,102, 58, 98,117,105,
+ 108,100,100,101, 99,108, 97,114, 97,116,105,111,110, 40,110,
+ 97,114,103, 44,102, 97,108,115,101, 41, 41, 10, 9, 32,111,
+ 117,116,112,117,116, 40, 39, 35,101,110,100,105,102, 92,110,
+ 39, 41, 10, 9,101,108,115,101, 10, 9, 9,111,117,116,112,
+ 117,116, 40,115,101,108,102, 58, 98,117,105,108,100,100,101,
+ 99,108, 97,114, 97,116,105,111,110, 40,110, 97,114,103, 44,
+ 102, 97,108,115,101, 41, 41, 10, 9,101,110,100, 10,101,110,
+ 100, 10, 10, 45, 45, 32, 71,101,116, 32,112, 97,114, 97,109,
+ 101,116,101,114, 32,118, 97,108,117,101, 10,102,117,110, 99,
+ 116,105,111,110, 32, 99,108, 97,115,115, 68,101, 99,108, 97,
+ 114, 97,116,105,111,110, 58,103,101,116, 97,114,114, 97,121,
+ 32, 40,110, 97,114,103, 41, 10, 32,105,102, 32,115,101,108,
+ 102, 46,100,105,109, 32,126, 61, 32, 39, 39, 32,116,104,101,
+ 110, 10, 9, 32,108,111, 99, 97,108, 32,116,121,112,101, 32,
+ 61, 32,103,115,117, 98, 40,115,101,108,102, 46,116,121,112,
+ 101, 44, 39, 99,111,110,115,116, 32, 39, 44, 39, 39, 41, 10,
+ 32, 32,111,117,116,112,117,116, 40, 39, 32, 32,123, 39, 41,
+ 10, 9, 32,111,117,116,112,117,116, 40, 39, 35,105,102,110,
+ 100,101,102, 32, 84, 79, 76, 85, 65, 95, 82, 69, 76, 69, 65,
+ 83, 69, 92,110, 39, 41, 10, 32, 32,108,111, 99, 97,108, 32,
+ 100,101,102, 59, 32,105,102, 32,115,101,108,102, 46,100,101,
+ 102,126, 61, 39, 39, 32,116,104,101,110, 32,100,101,102, 61,
+ 49, 32,101,108,115,101, 32,100,101,102, 61, 48, 32,101,110,
+ 100, 10, 9, 9,108,111, 99, 97,108, 32,116, 32, 61, 32,105,
+ 115, 98, 97,115,105, 99, 40,116,121,112,101, 41, 10, 9, 9,
+ 105,102, 32, 40,116, 41, 32,116,104,101,110, 10, 9, 9, 32,
+ 32, 32,111,117,116,112,117,116, 40, 39, 32, 32, 32,105,102,
+ 32, 40, 33,116,111,108,117, 97, 95,105,115, 39, 46, 46,116,
+ 46, 46, 39, 97,114,114, 97,121, 40,116,111,108,117, 97, 95,
+ 83, 44, 39, 44,110, 97,114,103, 44, 39, 44, 39, 44,115,101,
+ 108,102, 46,100,105,109, 44, 39, 44, 39, 44,100,101,102, 44,
+ 39, 44, 38,116,111,108,117, 97, 95,101,114,114, 41, 41, 39,
+ 41, 10, 9, 9,101,108,115,101, 10, 9, 9, 32, 32, 32,111,
+ 117,116,112,117,116, 40, 39, 32, 32, 32,105,102, 32, 40, 33,
+ 116,111,108,117, 97, 95,105,115,117,115,101,114,116,121,112,
+ 101, 97,114,114, 97,121, 40,116,111,108,117, 97, 95, 83, 44,
+ 39, 44,110, 97,114,103, 44, 39, 44, 34, 39, 44,116,121,112,
+ 101, 44, 39, 34, 44, 39, 44,115,101,108,102, 46,100,105,109,
+ 44, 39, 44, 39, 44,100,101,102, 44, 39, 44, 38,116,111,108,
+ 117, 97, 95,101,114,114, 41, 41, 39, 41, 10, 9, 9,101,110,
+ 100, 10, 32, 32,111,117,116,112,117,116, 40, 39, 32, 32, 32,
+ 32,103,111,116,111, 32,116,111,108,117, 97, 95,108,101,114,
+ 114,111,114, 59, 39, 41, 10, 32, 32,111,117,116,112,117,116,
+ 40, 39, 32, 32, 32,101,108,115,101, 92,110, 39, 41, 10, 9,
+ 32,111,117,116,112,117,116, 40, 39, 35,101,110,100,105,102,
+ 92,110, 39, 41, 10, 32, 32,111,117,116,112,117,116, 40, 39,
+ 32, 32, 32,123, 39, 41, 10, 32, 32,111,117,116,112,117,116,
+ 40, 39, 32, 32, 32, 32,105,110,116, 32,105, 59, 39, 41, 10,
+ 32, 32,111,117,116,112,117,116, 40, 39, 32, 32, 32, 32,102,
+ 111,114, 40,105, 61, 48, 59, 32,105, 60, 39, 46, 46,115,101,
+ 108,102, 46,100,105,109, 46, 46, 39, 59,105, 43, 43, 41, 39,
+ 41, 10, 32, 32,108,111, 99, 97,108, 32,116, 32, 61, 32,105,
+ 115, 98, 97,115,105, 99, 40,116,121,112,101, 41, 10, 32, 32,
+ 108,111, 99, 97,108, 32,112,116,114, 32, 61, 32, 39, 39, 10,
+ 32, 32,105,102, 32,115,101,108,102, 46,112,116,114,126, 61,
+ 39, 39, 32,116,104,101,110, 32,112,116,114, 32, 61, 32, 39,
+ 42, 39, 32,101,110,100, 10, 32, 32,111,117,116,112,117,116,
+ 40, 39, 32, 32, 32, 39, 44,115,101,108,102, 46,110, 97,109,
+ 101, 46, 46, 39, 91,105, 93, 32, 61, 32, 39, 41, 10, 32, 32,
+ 105,102, 32,110,111,116, 32,116, 32, 97,110,100, 32,112,116,
+ 114, 61, 61, 39, 39, 32,116,104,101,110, 32,111,117,116,112,
+ 117,116, 40, 39, 42, 39, 41, 32,101,110,100, 10, 32, 32,111,
+ 117,116,112,117,116, 40, 39, 40, 40, 39, 44,116,121,112,101,
+ 41, 10, 32, 32,105,102, 32,110,111,116, 32,116, 32,116,104,
+ 101,110, 10, 32, 32, 32,111,117,116,112,117,116, 40, 39, 42,
+ 39, 41, 10, 32, 32,101,110,100, 10, 32, 32,111,117,116,112,
+ 117,116, 40, 39, 41, 32, 39, 41, 10, 32, 32,108,111, 99, 97,
+ 108, 32,100,101,102, 32, 61, 32, 48, 10, 32, 32,105,102, 32,
+ 115,101,108,102, 46,100,101,102, 32,126, 61, 32, 39, 39, 32,
+ 116,104,101,110, 32,100,101,102, 32, 61, 32,115,101,108,102,
+ 46,100,101,102, 32,101,110,100, 10, 32, 32,105,102, 32,116,
+ 32,116,104,101,110, 10, 32, 32, 32,111,117,116,112,117,116,
+ 40, 39,116,111,108,117, 97, 95,116,111,102,105,101,108,100,
+ 39, 46, 46,116, 46, 46, 39, 40,116,111,108,117, 97, 95, 83,
+ 44, 39, 44,110, 97,114,103, 44, 39, 44,105, 43, 49, 44, 39,
+ 44,100,101,102, 44, 39, 41, 41, 59, 39, 41, 10, 32, 32,101,
+ 108,115,101, 10, 32, 32, 32,111,117,116,112,117,116, 40, 39,
+ 116,111,108,117, 97, 95,116,111,102,105,101,108,100,117,115,
+ 101,114,116,121,112,101, 40,116,111,108,117, 97, 95, 83, 44,
+ 39, 44,110, 97,114,103, 44, 39, 44,105, 43, 49, 44, 39, 44,
+ 100,101,102, 44, 39, 41, 41, 59, 39, 41, 10, 32, 32,101,110,
+ 100, 10, 32, 32,111,117,116,112,117,116, 40, 39, 32, 32, 32,
+ 125, 39, 41, 10, 32, 32,111,117,116,112,117,116, 40, 39, 32,
+ 32,125, 39, 41, 10, 32,101,110,100, 10,101,110,100, 10, 10,
+ 45, 45, 32, 71,101,116, 32,112, 97,114, 97,109,101,116,101,
+ 114, 32,118, 97,108,117,101, 10,102,117,110, 99,116,105,111,
+ 110, 32, 99,108, 97,115,115, 68,101, 99,108, 97,114, 97,116,
+ 105,111,110, 58,115,101,116, 97,114,114, 97,121, 32, 40,110,
+ 97,114,103, 41, 10, 32,105,102, 32,110,111,116, 32,115,116,
+ 114,102,105,110,100, 40,115,101,108,102, 46,116,121,112,101,
+ 44, 39, 99,111,110,115,116, 37,115, 43, 39, 41, 32, 97,110,
+ 100, 32,115,101,108,102, 46,100,105,109, 32,126, 61, 32, 39,
+ 39, 32,116,104,101,110, 10, 9, 32,108,111, 99, 97,108, 32,
+ 116,121,112,101, 32, 61, 32,103,115,117, 98, 40,115,101,108,
+ 102, 46,116,121,112,101, 44, 39, 99,111,110,115,116, 32, 39,
+ 44, 39, 39, 41, 10, 32, 32,111,117,116,112,117,116, 40, 39,
+ 32, 32,123, 39, 41, 10, 32, 32,111,117,116,112,117,116, 40,
+ 39, 32, 32, 32,105,110,116, 32,105, 59, 39, 41, 10, 32, 32,
+ 111,117,116,112,117,116, 40, 39, 32, 32, 32,102,111,114, 40,
+ 105, 61, 48, 59, 32,105, 60, 39, 46, 46,115,101,108,102, 46,
+ 100,105,109, 46, 46, 39, 59,105, 43, 43, 41, 39, 41, 10, 32,
+ 32,108,111, 99, 97,108, 32,116, 44, 99,116, 32, 61, 32,105,
+ 115, 98, 97,115,105, 99, 40,116,121,112,101, 41, 10, 32, 32,
+ 105,102, 32,116, 32,116,104,101,110, 10, 32, 32, 32,111,117,
+ 116,112,117,116, 40, 39, 32, 32, 32, 32,116,111,108,117, 97,
+ 95,112,117,115,104,102,105,101,108,100, 39, 46, 46,116, 46,
+ 46, 39, 40,116,111,108,117, 97, 95, 83, 44, 39, 44,110, 97,
+ 114,103, 44, 39, 44,105, 43, 49, 44, 40, 39, 44, 99,116, 44,
+ 39, 41, 39, 44,115,101,108,102, 46,110, 97,109,101, 44, 39,
+ 91,105, 93, 41, 59, 39, 41, 10, 32, 32,101,108,115,101, 10,
+ 32, 32, 32,105,102, 32,115,101,108,102, 46,112,116,114, 32,
+ 61, 61, 32, 39, 39, 32,116,104,101,110, 10, 32, 32, 32, 32,
+ 32,111,117,116,112,117,116, 40, 39, 32, 32, 32,123, 39, 41,
+ 10, 32, 32, 32, 32, 32,111,117,116,112,117,116, 40, 39, 35,
+ 105,102,100,101,102, 32, 95, 95, 99,112,108,117,115,112,108,
+ 117,115, 92,110, 39, 41, 10, 32, 32, 32, 32, 32,111,117,116,
+ 112,117,116, 40, 39, 32, 32, 32, 32,118,111,105,100, 42, 32,
+ 116,111,108,117, 97, 95,111, 98,106, 32, 61, 32, 77,116,111,
+ 108,117, 97, 95,110,101,119, 40, 40, 39, 44,116,121,112,101,
+ 44, 39, 41, 40, 39, 44,115,101,108,102, 46,110, 97,109,101,
+ 44, 39, 91,105, 93, 41, 41, 59, 39, 41, 10, 32, 32, 32, 32,
+ 32,111,117,116,112,117,116, 40, 39, 32, 32, 32, 32,116,111,
+ 108,117, 97, 95,112,117,115,104,102,105,101,108,100,117,115,
+ 101,114,116,121,112,101, 95, 97,110,100, 95,116, 97,107,101,
+ 111,119,110,101,114,115,104,105,112, 40,116,111,108,117, 97,
+ 95, 83, 44, 39, 44,110, 97,114,103, 44, 39, 44,105, 43, 49,
+ 44,116,111,108,117, 97, 95,111, 98,106, 44, 34, 39, 44,116,
+ 121,112,101, 44, 39, 34, 41, 59, 39, 41, 10, 32, 32, 32, 32,
+ 32,111,117,116,112,117,116, 40, 39, 35,101,108,115,101, 92,
+ 110, 39, 41, 10, 32, 32, 32, 32, 32,111,117,116,112,117,116,
+ 40, 39, 32, 32, 32, 32,118,111,105,100, 42, 32,116,111,108,
+ 117, 97, 95,111, 98,106, 32, 61, 32,116,111,108,117, 97, 95,
+ 99,111,112,121, 40,116,111,108,117, 97, 95, 83, 44, 40,118,
+ 111,105,100, 42, 41, 38, 39, 44,115,101,108,102, 46,110, 97,
+ 109,101, 44, 39, 91,105, 93, 44,115,105,122,101,111,102, 40,
+ 39, 44,116,121,112,101, 44, 39, 41, 41, 59, 39, 41, 10, 32,
+ 32, 32, 32, 32,111,117,116,112,117,116, 40, 39, 32, 32, 32,
+ 32,116,111,108,117, 97, 95,112,117,115,104,102,105,101,108,
+ 100,117,115,101,114,116,121,112,101, 40,116,111,108,117, 97,
+ 95, 83, 44, 39, 44,110, 97,114,103, 44, 39, 44,105, 43, 49,
+ 44,116,111,108,117, 97, 95,111, 98,106, 44, 34, 39, 44,116,
+ 121,112,101, 44, 39, 34, 41, 59, 39, 41, 10, 32, 32, 32, 32,
+ 32,111,117,116,112,117,116, 40, 39, 35,101,110,100,105,102,
+ 92,110, 39, 41, 10, 32, 32, 32, 32, 32,111,117,116,112,117,
+ 116, 40, 39, 32, 32, 32,125, 39, 41, 10, 32, 32, 32,101,108,
+ 115,101, 10, 32, 32, 32, 32,111,117,116,112,117,116, 40, 39,
+ 32, 32, 32,116,111,108,117, 97, 95,112,117,115,104,102,105,
+ 101,108,100,117,115,101,114,116,121,112,101, 40,116,111,108,
+ 117, 97, 95, 83, 44, 39, 44,110, 97,114,103, 44, 39, 44,105,
+ 43, 49, 44, 40,118,111,105,100, 42, 41, 39, 44,115,101,108,
+ 102, 46,110, 97,109,101, 44, 39, 91,105, 93, 44, 34, 39, 44,
+ 116,121,112,101, 44, 39, 34, 41, 59, 39, 41, 10, 32, 32, 32,
+ 101,110,100, 10, 32, 32,101,110,100, 10, 32, 32,111,117,116,
+ 112,117,116, 40, 39, 32, 32,125, 39, 41, 10, 32,101,110,100,
+ 10,101,110,100, 10, 10, 45, 45, 32, 70,114,101,101, 32,100,
+ 121,110, 97,109,105, 99, 97,108,108,121, 32, 97,108,108,111,
+ 99, 97,116,101,100, 32, 97,114,114, 97,121, 10,102,117,110,
+ 99,116,105,111,110, 32, 99,108, 97,115,115, 68,101, 99,108,
+ 97,114, 97,116,105,111,110, 58,102,114,101,101, 97,114,114,
+ 97,121, 32, 40, 41, 10, 32,105,102, 32,115,101,108,102, 46,
+ 100,105,109, 32,126, 61, 32, 39, 39, 32, 97,110,100, 32,116,
+ 111,110,117,109, 98,101,114, 40,115,101,108,102, 46,100,105,
+ 109, 41, 61, 61,110,105,108, 32,116,104,101,110, 10, 9, 32,
+ 111,117,116,112,117,116, 40, 39, 35,105,102,100,101,102, 32,
+ 95, 95, 99,112,108,117,115,112,108,117,115, 92,110, 39, 41,
+ 10, 9, 9,111,117,116,112,117,116, 40, 39, 32, 32, 77,116,
+ 111,108,117, 97, 95,100,101,108,101,116,101, 95,100,105,109,
+ 40, 39, 44,115,101,108,102, 46,110, 97,109,101, 44, 39, 41,
+ 59, 39, 41, 10, 9, 32,111,117,116,112,117,116, 40, 39, 35,
+ 101,108,115,101, 92,110, 39, 41, 10, 32, 32,111,117,116,112,
+ 117,116, 40, 39, 32, 32,102,114,101,101, 40, 39, 44,115,101,
+ 108,102, 46,110, 97,109,101, 44, 39, 41, 59, 39, 41, 10, 9,
+ 32,111,117,116,112,117,116, 40, 39, 35,101,110,100,105,102,
+ 92,110, 39, 41, 10, 32,101,110,100, 10,101,110,100, 10, 10,
+ 45, 45, 32, 80, 97,115,115, 32,112, 97,114, 97,109,101,116,
+ 101,114, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,
+ 115,115, 68,101, 99,108, 97,114, 97,116,105,111,110, 58,112,
+ 97,115,115,112, 97,114, 32, 40, 41, 10, 32,105,102, 32,115,
+ 101,108,102, 46,112,116,114, 61, 61, 39, 38, 39, 32, 97,110,
+ 100, 32,110,111,116, 32,105,115, 98, 97,115,105, 99, 40,115,
+ 101,108,102, 46,116,121,112,101, 41, 32,116,104,101,110, 10,
+ 32, 32,111,117,116,112,117,116, 40, 39, 42, 39, 46, 46,115,
+ 101,108,102, 46,110, 97,109,101, 41, 10, 32,101,108,115,101,
+ 105,102, 32,115,101,108,102, 46,114,101,116, 61, 61, 39, 42,
+ 39, 32,116,104,101,110, 10, 32, 32,111,117,116,112,117,116,
+ 40, 39, 38, 39, 46, 46,115,101,108,102, 46,110, 97,109,101,
+ 41, 10, 32,101,108,115,101, 10, 32, 32,111,117,116,112,117,
+ 116, 40,115,101,108,102, 46,110, 97,109,101, 41, 10, 32,101,
+ 110,100, 10,101,110,100, 10, 10, 45, 45, 32, 82,101,116,117,
+ 114,110, 32,112, 97,114, 97,109,101,116,101,114, 32,118, 97,
+ 108,117,101, 10,102,117,110, 99,116,105,111,110, 32, 99,108,
+ 97,115,115, 68,101, 99,108, 97,114, 97,116,105,111,110, 58,
+ 114,101,116,118, 97,108,117,101, 32, 40, 41, 10, 32,105,102,
+ 32,115,101,108,102, 46,114,101,116, 32,126, 61, 32, 39, 39,
+ 32,116,104,101,110, 10, 32, 32,108,111, 99, 97,108, 32,116,
+ 44, 99,116, 32, 61, 32,105,115, 98, 97,115,105, 99, 40,115,
+ 101,108,102, 46,116,121,112,101, 41, 10, 32, 32,105,102, 32,
+ 116, 32, 97,110,100, 32,116,126, 61, 39, 39, 32,116,104,101,
+ 110, 10, 32, 32, 32,111,117,116,112,117,116, 40, 39, 32, 32,
+ 32,116,111,108,117, 97, 95,112,117,115,104, 39, 46, 46,116,
+ 46, 46, 39, 40,116,111,108,117, 97, 95, 83, 44, 40, 39, 44,
+ 99,116, 44, 39, 41, 39, 46, 46,115,101,108,102, 46,110, 97,
+ 109,101, 46, 46, 39, 41, 59, 39, 41, 10, 32, 32,101,108,115,
+ 101, 10, 32, 32, 32,108,111, 99, 97,108, 32,112,117,115,104,
+ 95,102,117,110, 99, 32, 61, 32,103,101,116, 95,112,117,115,
+ 104, 95,102,117,110, 99,116,105,111,110, 40,115,101,108,102,
+ 46,116,121,112,101, 41, 10, 32, 32, 32,111,117,116,112,117,
+ 116, 40, 39, 32, 32, 32, 39, 44,112,117,115,104, 95,102,117,
+ 110, 99, 44, 39, 40,116,111,108,117, 97, 95, 83, 44, 40,118,
+ 111,105,100, 42, 41, 39, 46, 46,115,101,108,102, 46,110, 97,
+ 109,101, 46, 46, 39, 44, 34, 39, 44,115,101,108,102, 46,116,
+ 121,112,101, 44, 39, 34, 41, 59, 39, 41, 10, 32, 32,101,110,
+ 100, 10, 32, 32,114,101,116,117,114,110, 32, 49, 10, 32,101,
+ 110,100, 10, 32,114,101,116,117,114,110, 32, 48, 10,101,110,
+ 100, 10, 10, 45, 45, 32, 73,110,116,101,114,110, 97,108, 32,
+ 99,111,110,115,116,114,117, 99,116,111,114, 10,102,117,110,
+ 99,116,105,111,110, 32, 95, 68,101, 99,108, 97,114, 97,116,
+ 105,111,110, 32, 40,116, 41, 10, 10, 32,115,101,116,109,101,
+ 116, 97,116, 97, 98,108,101, 40,116, 44, 99,108, 97,115,115,
+ 68,101, 99,108, 97,114, 97,116,105,111,110, 41, 10, 32,116,
+ 58, 98,117,105,108,100,110, 97,109,101,115, 40, 41, 10, 32,
+ 116, 58, 99,104,101, 99,107,110, 97,109,101, 40, 41, 10, 32,
+ 116, 58, 99,104,101, 99,107,116,121,112,101, 40, 41, 10, 32,
+ 108,111, 99, 97,108, 32,102,116, 32, 61, 32,102,105,110,100,
+ 116,121,112,101, 40,116, 46,116,121,112,101, 41, 32,111,114,
+ 32,116, 46,116,121,112,101, 10, 32,105,102, 32,110,111,116,
+ 32,105,115,101,110,117,109, 40,102,116, 41, 32,116,104,101,
+ 110, 10, 9,116, 46,109,111,100, 44, 32,116, 46,116,121,112,
+ 101, 32, 61, 32, 97,112,112,108,121,116,121,112,101,100,101,
+ 102, 40,116, 46,109,111,100, 44, 32,102,116, 41, 10, 32,101,
+ 110,100, 10, 10, 32,105,102, 32,116, 46,107,105,110,100, 61,
+ 61, 34,118, 97,114, 34, 32, 97,110,100, 32, 40,115,116,114,
+ 105,110,103, 46,102,105,110,100, 40,116, 46,109,111,100, 44,
+ 32, 34,116,111,108,117, 97, 95,112,114,111,112,101,114,116,
+ 121, 37,115, 34, 41, 32,111,114, 32,115,116,114,105,110,103,
+ 46,102,105,110,100, 40,116, 46,109,111,100, 44, 32, 34,116,
+ 111,108,117, 97, 95,112,114,111,112,101,114,116,121, 36, 34,
+ 41, 41, 32,116,104,101,110, 10, 32, 9,116, 46,109,111,100,
+ 32, 61, 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,
+ 116, 46,109,111,100, 44, 32, 34,116,111,108,117, 97, 95,112,
+ 114,111,112,101,114,116,121, 34, 44, 32, 34,116,111,108,117,
+ 97, 95,112,114,111,112,101,114,116,121, 95, 95, 34, 46, 46,
+ 103,101,116, 95,112,114,111,112,101,114,116,121, 95,116,121,
+ 112,101, 40, 41, 41, 10, 32,101,110,100, 10, 10, 32,114,101,
+ 116,117,114,110, 32,116, 10,101,110,100, 10, 10, 45, 45, 32,
+ 67,111,110,115,116,114,117, 99,116,111,114, 10, 45, 45, 32,
+ 69,120,112,101, 99,116,115, 32,116,104,101, 32,115,116,114,
+ 105,110,103, 32,100,101, 99,108, 97,114, 97,116,105,111,110,
+ 46, 10, 45, 45, 32, 84,104,101, 32,107,105,110,100, 32,111,
+ 102, 32,100,101, 99,108, 97,114, 97,116,105,111,110, 32, 99,
+ 97,110, 32, 98,101, 32, 34,118, 97,114, 34, 32,111,114, 32,
+ 34,102,117,110, 99, 34, 46, 10,102,117,110, 99,116,105,111,
+ 110, 32, 68,101, 99,108, 97,114, 97,116,105,111,110, 32, 40,
+ 115, 44,107,105,110,100, 44,105,115, 95,112, 97,114, 97,109,
+ 101,116,101,114, 41, 10, 10, 32, 45, 45, 32,101,108,105,109,
+ 105,110, 97,116,101, 32,115,112, 97, 99,101,115, 32,105,102,
+ 32,100,101,102, 97,117,108,116, 32,118, 97,108,117,101, 32,
+ 105,115, 32,112,114,111,118,105,100,101,100, 10, 32,115, 32,
+ 61, 32,103,115,117, 98, 40,115, 44, 34, 37,115, 42, 61, 37,
+ 115, 42, 34, 44, 34, 61, 34, 41, 10, 32,115, 32, 61, 32,103,
+ 115,117, 98, 40,115, 44, 32, 34, 37,115, 42, 60, 34, 44, 32,
+ 34, 60, 34, 41, 10, 10, 32,108,111, 99, 97,108, 32,100,101,
+ 102, 98, 44,116,109,112,100,101,102, 10, 32,100,101,102, 98,
+ 44, 95, 44,116,109,112,100,101,102, 32, 61, 32,115,116,114,
+ 105,110,103, 46,102,105,110,100, 40,115, 44, 32, 34, 40, 61,
+ 46, 42, 41, 36, 34, 41, 10, 32,105,102, 32,100,101,102, 98,
+ 32,116,104,101,110, 10, 32, 9,115, 32, 61, 32,115,116,114,
+ 105,110,103, 46,103,115,117, 98, 40,115, 44, 32, 34, 61, 46,
+ 42, 36, 34, 44, 32, 34, 34, 41, 10, 32,101,108,115,101, 10,
+ 32, 9,116,109,112,100,101,102, 32, 61, 32, 39, 39, 10, 32,
+ 101,110,100, 10, 32,105,102, 32,107,105,110,100, 32, 61, 61,
+ 32, 34,118, 97,114, 34, 32,116,104,101,110, 10, 32, 32, 45,
+ 45, 32, 99,104,101, 99,107, 32,116,104,101, 32,102,111,114,
+ 109, 58, 32,118,111,105,100, 10, 32, 32,105,102, 32,115, 32,
+ 61, 61, 32, 39, 39, 32,111,114, 32,115, 32, 61, 61, 32, 39,
+ 118,111,105,100, 39, 32,116,104,101,110, 10, 32, 32, 32,114,
+ 101,116,117,114,110, 32, 95, 68,101, 99,108, 97,114, 97,116,
+ 105,111,110,123,116,121,112,101, 32, 61, 32, 39,118,111,105,
+ 100, 39, 44, 32,107,105,110,100, 32, 61, 32,107,105,110,100,
+ 44, 32,105,115, 95,112, 97,114, 97,109,101,116,101,114, 32,
+ 61, 32,105,115, 95,112, 97,114, 97,109,101,116,101,114,125,
+ 10, 32, 32,101,110,100, 10, 32,101,110,100, 10, 10, 32, 45,
+ 45, 32, 99,104,101, 99,107, 32,116,104,101, 32,102,111,114,
+ 109, 58, 32,109,111,100, 32,116,121,112,101, 42, 38, 32,110,
+ 97,109,101, 10, 32,108,111, 99, 97,108, 32,116, 32, 61, 32,
+ 115,112,108,105,116, 95, 99, 95,116,111,107,101,110,115, 40,
+ 115, 44, 39, 37, 42, 37,115, 42, 38, 39, 41, 10, 32,105,102,
+ 32,116, 46,110, 32, 61, 61, 32, 50, 32,116,104,101,110, 10,
+ 32, 32,105,102, 32,107,105,110,100, 32, 61, 61, 32, 39,102,
+ 117,110, 99, 39, 32,116,104,101,110, 10, 32, 32, 32,101,114,
+ 114,111,114, 40, 34, 35,105,110,118, 97,108,105,100, 32,102,
+ 117,110, 99,116,105,111,110, 32,114,101,116,117,114,110, 32,
+ 116,121,112,101, 58, 32, 34, 46, 46,115, 41, 10, 32, 32,101,
+ 110,100, 10, 32, 32, 45, 45,108,111, 99, 97,108, 32,109, 32,
+ 61, 32,115,112,108,105,116, 40,116, 91, 49, 93, 44, 39, 37,
+ 115, 37,115, 42, 39, 41, 10, 32, 32,108,111, 99, 97,108, 32,
+ 109, 32, 61, 32,115,112,108,105,116, 95, 99, 95,116,111,107,
+ 101,110,115, 40,116, 91, 49, 93, 44, 39, 37,115, 43, 39, 41,
+ 10, 32, 32,114,101,116,117,114,110, 32, 95, 68,101, 99,108,
+ 97,114, 97,116,105,111,110,123, 10, 32, 32, 32,110, 97,109,
+ 101, 32, 61, 32,116, 91, 50, 93, 46, 46,116,109,112,100,101,
+ 102, 44, 10, 32, 32, 32,112,116,114, 32, 61, 32, 39, 42, 39,
+ 44, 10, 32, 32, 32,114,101,116, 32, 61, 32, 39, 38, 39, 44,
+ 10, 32, 32, 32, 45, 45,116,121,112,101, 32, 61, 32,114,101,
+ 98,117,105,108,100, 95,116,101,109,112,108, 97,116,101, 40,
+ 109, 91,109, 46,110, 93, 44, 32,116, 98, 44, 32,116,105,109,
+ 112,108, 41, 44, 10, 32, 32, 32,116,121,112,101, 32, 61, 32,
+ 109, 91,109, 46,110, 93, 44, 10, 32, 32, 32,109,111,100, 32,
+ 61, 32, 99,111,110, 99, 97,116, 40,109, 44, 49, 44,109, 46,
+ 110, 45, 49, 41, 44, 10, 32, 32, 32,105,115, 95,112, 97,114,
+ 97,109,101,116,101,114, 32, 61, 32,105,115, 95,112, 97,114,
+ 97,109,101,116,101,114, 44, 10, 32, 32, 32,107,105,110,100,
+ 32, 61, 32,107,105,110,100, 10, 32, 32,125, 10, 32,101,110,
+ 100, 10, 10, 32, 45, 45, 32, 99,104,101, 99,107, 32,116,104,
+ 101, 32,102,111,114,109, 58, 32,109,111,100, 32,116,121,112,
+ 101, 42, 42, 32,110, 97,109,101, 10, 32,116, 32, 61, 32,115,
+ 112,108,105,116, 95, 99, 95,116,111,107,101,110,115, 40,115,
+ 44, 39, 37, 42, 37,115, 42, 37, 42, 39, 41, 10, 32,105,102,
+ 32,116, 46,110, 32, 61, 61, 32, 50, 32,116,104,101,110, 10,
+ 32, 32,105,102, 32,107,105,110,100, 32, 61, 61, 32, 39,102,
+ 117,110, 99, 39, 32,116,104,101,110, 10, 32, 32, 32,101,114,
+ 114,111,114, 40, 34, 35,105,110,118, 97,108,105,100, 32,102,
+ 117,110, 99,116,105,111,110, 32,114,101,116,117,114,110, 32,
+ 116,121,112,101, 58, 32, 34, 46, 46,115, 41, 10, 32, 32,101,
+ 110,100, 10, 32, 32, 45, 45,108,111, 99, 97,108, 32,109, 32,
+ 61, 32,115,112,108,105,116, 40,116, 91, 49, 93, 44, 39, 37,
+ 115, 37,115, 42, 39, 41, 10, 32, 32,108,111, 99, 97,108, 32,
+ 109, 32, 61, 32,115,112,108,105,116, 95, 99, 95,116,111,107,
+ 101,110,115, 40,116, 91, 49, 93, 44, 39, 37,115, 43, 39, 41,
+ 10, 32, 32,114,101,116,117,114,110, 32, 95, 68,101, 99,108,
+ 97,114, 97,116,105,111,110,123, 10, 32, 32, 32,110, 97,109,
+ 101, 32, 61, 32,116, 91, 50, 93, 46, 46,116,109,112,100,101,
+ 102, 44, 10, 32, 32, 32,112,116,114, 32, 61, 32, 39, 42, 39,
+ 44, 10, 32, 32, 32,114,101,116, 32, 61, 32, 39, 42, 39, 44,
+ 10, 32, 32, 32, 45, 45,116,121,112,101, 32, 61, 32,114,101,
+ 98,117,105,108,100, 95,116,101,109,112,108, 97,116,101, 40,
+ 109, 91,109, 46,110, 93, 44, 32,116, 98, 44, 32,116,105,109,
+ 112,108, 41, 44, 10, 32, 32, 32,116,121,112,101, 32, 61, 32,
+ 109, 91,109, 46,110, 93, 44, 10, 32, 32, 32,109,111,100, 32,
+ 61, 32, 99,111,110, 99, 97,116, 40,109, 44, 49, 44,109, 46,
+ 110, 45, 49, 41, 44, 10, 32, 32, 32,105,115, 95,112, 97,114,
+ 97,109,101,116,101,114, 32, 61, 32,105,115, 95,112, 97,114,
+ 97,109,101,116,101,114, 44, 10, 32, 32, 32,107,105,110,100,
+ 32, 61, 32,107,105,110,100, 10, 32, 32,125, 10, 32,101,110,
+ 100, 10, 10, 32, 45, 45, 32, 99,104,101, 99,107, 32,116,104,
+ 101, 32,102,111,114,109, 58, 32,109,111,100, 32,116,121,112,
+ 101, 38, 32,110, 97,109,101, 10, 32,116, 32, 61, 32,115,112,
+ 108,105,116, 95, 99, 95,116,111,107,101,110,115, 40,115, 44,
+ 39, 38, 39, 41, 10, 32,105,102, 32,116, 46,110, 32, 61, 61,
+ 32, 50, 32,116,104,101,110, 10, 32, 32, 45, 45,108,111, 99,
+ 97,108, 32,109, 32, 61, 32,115,112,108,105,116, 40,116, 91,
+ 49, 93, 44, 39, 37,115, 37,115, 42, 39, 41, 10, 32, 32,108,
+ 111, 99, 97,108, 32,109, 32, 61, 32,115,112,108,105,116, 95,
+ 99, 95,116,111,107,101,110,115, 40,116, 91, 49, 93, 44, 39,
+ 37,115, 43, 39, 41, 10, 32, 32,114,101,116,117,114,110, 32,
+ 95, 68,101, 99,108, 97,114, 97,116,105,111,110,123, 10, 32,
+ 32, 32,110, 97,109,101, 32, 61, 32,116, 91, 50, 93, 46, 46,
+ 116,109,112,100,101,102, 44, 10, 32, 32, 32,112,116,114, 32,
+ 61, 32, 39, 38, 39, 44, 10, 32, 32, 32, 45, 45,116,121,112,
+ 101, 32, 61, 32,114,101, 98,117,105,108,100, 95,116,101,109,
+ 112,108, 97,116,101, 40,109, 91,109, 46,110, 93, 44, 32,116,
+ 98, 44, 32,116,105,109,112,108, 41, 44, 10, 32, 32, 32,116,
+ 121,112,101, 32, 61, 32,109, 91,109, 46,110, 93, 44, 10, 32,
+ 32, 32,109,111,100, 32, 61, 32, 99,111,110, 99, 97,116, 40,
+ 109, 44, 49, 44,109, 46,110, 45, 49, 41, 44, 10, 32, 32, 32,
+ 105,115, 95,112, 97,114, 97,109,101,116,101,114, 32, 61, 32,
+ 105,115, 95,112, 97,114, 97,109,101,116,101,114, 44, 10, 32,
+ 32, 32,107,105,110,100, 32, 61, 32,107,105,110,100, 10, 32,
+ 32,125, 10, 32,101,110,100, 10, 10, 32, 45, 45, 32, 99,104,
+ 101, 99,107, 32,116,104,101, 32,102,111,114,109, 58, 32,109,
+ 111,100, 32,116,121,112,101, 42, 32,110, 97,109,101, 10, 32,
+ 108,111, 99, 97,108, 32,115, 49, 32, 61, 32,103,115,117, 98,
+ 40,115, 44, 34, 40, 37, 98, 92, 91, 92, 93, 41, 34, 44,102,
+ 117,110, 99,116,105,111,110, 32, 40,110, 41, 32,114,101,116,
+ 117,114,110, 32,103,115,117, 98, 40,110, 44, 39, 37, 42, 39,
+ 44, 39, 92, 49, 39, 41, 32,101,110,100, 41, 10, 32,116, 32,
+ 61, 32,115,112,108,105,116, 95, 99, 95,116,111,107,101,110,
+ 115, 40,115, 49, 44, 39, 37, 42, 39, 41, 10, 32,105,102, 32,
+ 116, 46,110, 32, 61, 61, 32, 50, 32,116,104,101,110, 10, 32,
+ 32,116, 91, 50, 93, 32, 61, 32,103,115,117, 98, 40,116, 91,
+ 50, 93, 44, 39, 92, 49, 39, 44, 39, 37, 42, 39, 41, 32, 45,
+ 45, 32,114,101,115,116,111,114,101, 32, 42, 32,105,110, 32,
+ 100,105,109,101,110,115,105,111,110, 32,101,120,112,114,101,
+ 115,115,105,111,110, 10, 32, 32, 45, 45,108,111, 99, 97,108,
+ 32,109, 32, 61, 32,115,112,108,105,116, 40,116, 91, 49, 93,
+ 44, 39, 37,115, 37,115, 42, 39, 41, 10, 32, 32,108,111, 99,
+ 97,108, 32,109, 32, 61, 32,115,112,108,105,116, 95, 99, 95,
+ 116,111,107,101,110,115, 40,116, 91, 49, 93, 44, 39, 37,115,
+ 43, 39, 41, 10, 32, 32,114,101,116,117,114,110, 32, 95, 68,
+ 101, 99,108, 97,114, 97,116,105,111,110,123, 10, 32, 32, 32,
+ 110, 97,109,101, 32, 61, 32,116, 91, 50, 93, 46, 46,116,109,
+ 112,100,101,102, 44, 10, 32, 32, 32,112,116,114, 32, 61, 32,
+ 39, 42, 39, 44, 10, 32, 32, 32,116,121,112,101, 32, 61, 32,
+ 109, 91,109, 46,110, 93, 44, 10, 32, 32, 32, 45, 45,116,121,
+ 112,101, 32, 61, 32,114,101, 98,117,105,108,100, 95,116,101,
+ 109,112,108, 97,116,101, 40,109, 91,109, 46,110, 93, 44, 32,
+ 116, 98, 44, 32,116,105,109,112,108, 41, 44, 10, 32, 32, 32,
+ 109,111,100, 32, 61, 32, 99,111,110, 99, 97,116, 40,109, 44,
+ 49, 44,109, 46,110, 45, 49, 41, 32, 32, 32, 44, 10, 32, 32,
+ 32,105,115, 95,112, 97,114, 97,109,101,116,101,114, 32, 61,
+ 32,105,115, 95,112, 97,114, 97,109,101,116,101,114, 44, 10,
+ 32, 32, 32,107,105,110,100, 32, 61, 32,107,105,110,100, 10,
+ 32, 32,125, 10, 32,101,110,100, 10, 10, 32,105,102, 32,107,
+ 105,110,100, 32, 61, 61, 32, 39,118, 97,114, 39, 32,116,104,
+ 101,110, 10, 32, 32, 45, 45, 32, 99,104,101, 99,107, 32,116,
+ 104,101, 32,102,111,114,109, 58, 32,109,111,100, 32,116,121,
+ 112,101, 32,110, 97,109,101, 10, 32, 32, 45, 45,116, 32, 61,
+ 32,115,112,108,105,116, 40,115, 44, 39, 37,115, 37,115, 42,
+ 39, 41, 10, 32, 32,116, 32, 61, 32,115,112,108,105,116, 95,
+ 99, 95,116,111,107,101,110,115, 40,115, 44, 39, 37,115, 43,
+ 39, 41, 10, 32, 32,108,111, 99, 97,108, 32,118, 10, 32, 32,
+ 105,102, 32,102,105,110,100,116,121,112,101, 40,116, 91,116,
+ 46,110, 93, 41, 32,116,104,101,110, 32,118, 32, 61, 32, 99,
+ 114,101, 97,116,101, 95,118, 97,114,110, 97,109,101, 40, 41,
+ 32,101,108,115,101, 32,118, 32, 61, 32,116, 91,116, 46,110,
+ 93, 59, 32,116, 46,110, 32, 61, 32,116, 46,110, 45, 49, 32,
+ 101,110,100, 10, 32, 32,114,101,116,117,114,110, 32, 95, 68,
+ 101, 99,108, 97,114, 97,116,105,111,110,123, 10, 32, 32, 32,
+ 110, 97,109,101, 32, 61, 32,118, 46, 46,116,109,112,100,101,
+ 102, 44, 10, 32, 32, 32, 45, 45,116,121,112,101, 32, 61, 32,
+ 114,101, 98,117,105,108,100, 95,116,101,109,112,108, 97,116,
+ 101, 40,116, 91,116, 46,110, 93, 44, 32,116, 98, 44, 32,116,
+ 105,109,112,108, 41, 44, 10, 32, 32, 32,116,121,112,101, 32,
+ 61, 32,116, 91,116, 46,110, 93, 44, 10, 32, 32, 32,109,111,
+ 100, 32, 61, 32, 99,111,110, 99, 97,116, 40,116, 44, 49, 44,
+ 116, 46,110, 45, 49, 41, 44, 10, 32, 32, 32,105,115, 95,112,
+ 97,114, 97,109,101,116,101,114, 32, 61, 32,105,115, 95,112,
+ 97,114, 97,109,101,116,101,114, 44, 10, 32, 32, 32,107,105,
+ 110,100, 32, 61, 32,107,105,110,100, 10, 32, 32,125, 10, 10,
+ 32,101,108,115,101, 32, 45, 45, 32,107,105,110,100, 32, 61,
+ 61, 32, 34,102,117,110, 99, 34, 10, 10, 32, 32, 45, 45, 32,
+ 99,104,101, 99,107, 32,116,104,101, 32,102,111,114,109, 58,
+ 32,109,111,100, 32,116,121,112,101, 32,110, 97,109,101, 10,
+ 32, 32, 45, 45,116, 32, 61, 32,115,112,108,105,116, 40,115,
+ 44, 39, 37,115, 37,115, 42, 39, 41, 10, 32, 32,116, 32, 61,
+ 32,115,112,108,105,116, 95, 99, 95,116,111,107,101,110,115,
+ 40,115, 44, 39, 37,115, 43, 39, 41, 10, 32, 32,108,111, 99,
+ 97,108, 32,118, 32, 61, 32,116, 91,116, 46,110, 93, 32, 32,
+ 45, 45, 32,108, 97,115,116, 32,119,111,114,100, 32,105,115,
+ 32,116,104,101, 32,102,117,110, 99,116,105,111,110, 32,110,
+ 97,109,101, 10, 32, 32,108,111, 99, 97,108, 32,116,112, 44,
+ 109,100, 10, 32, 32,105,102, 32,116, 46,110, 62, 49, 32,116,
+ 104,101,110, 10, 32, 32, 32,116,112, 32, 61, 32,116, 91,116,
+ 46,110, 45, 49, 93, 10, 32, 32, 32,109,100, 32, 61, 32, 99,
+ 111,110, 99, 97,116, 40,116, 44, 49, 44,116, 46,110, 45, 50,
+ 41, 10, 32, 32,101,110,100, 10, 32, 32, 45, 45,105,102, 32,
+ 116,112, 32,116,104,101,110, 32,116,112, 32, 61, 32,114,101,
+ 98,117,105,108,100, 95,116,101,109,112,108, 97,116,101, 40,
+ 116,112, 44, 32,116, 98, 44, 32,116,105,109,112,108, 41, 32,
+ 101,110,100, 10, 32, 32,114,101,116,117,114,110, 32, 95, 68,
+ 101, 99,108, 97,114, 97,116,105,111,110,123, 10, 32, 32, 32,
+ 110, 97,109,101, 32, 61, 32,118, 44, 10, 32, 32, 32,116,121,
+ 112,101, 32, 61, 32,116,112, 44, 10, 32, 32, 32,109,111,100,
+ 32, 61, 32,109,100, 44, 10, 32, 32, 32,105,115, 95,112, 97,
+ 114, 97,109,101,116,101,114, 32, 61, 32,105,115, 95,112, 97,
+ 114, 97,109,101,116,101,114, 44, 10, 32, 32, 32,107,105,110,
+ 100, 32, 61, 32,107,105,110,100, 10, 32, 32,125, 10, 32,101,
+ 110,100, 10, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/declaration.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32,118, 97,114,105, 97,
+ 98,108,101, 32, 99,108, 97,115,115, 10, 45, 45, 32, 87,114,
+ 105,116,116,101,110, 32, 98,121, 32, 87, 97,108,100,101,109,
+ 97,114, 32, 67,101,108,101,115, 10, 45, 45, 32, 84,101, 67,
+ 71,114, 97,102, 47, 80, 85, 67, 45, 82,105,111, 10, 45, 45,
+ 32, 74,117,108, 32, 49, 57, 57, 56, 10, 45, 45, 32, 36, 73,
+ 100, 58, 32, 36, 10, 10, 45, 45, 32, 84,104,105,115, 32, 99,
+ 111,100,101, 32,105,115, 32,102,114,101,101, 32,115,111,102,
+ 116,119, 97,114,101, 59, 32,121,111,117, 32, 99, 97,110, 32,
+ 114,101,100,105,115,116,114,105, 98,117,116,101, 32,105,116,
+ 32, 97,110,100, 47,111,114, 32,109,111,100,105,102,121, 32,
+ 105,116, 46, 10, 45, 45, 32, 84,104,101, 32,115,111,102,116,
+ 119, 97,114,101, 32,112,114,111,118,105,100,101,100, 32,104,
+ 101,114,101,117,110,100,101,114, 32,105,115, 32,111,110, 32,
+ 97,110, 32, 34, 97,115, 32,105,115, 34, 32, 98, 97,115,105,
+ 115, 44, 32, 97,110,100, 10, 45, 45, 32,116,104,101, 32, 97,
+ 117,116,104,111,114, 32,104, 97,115, 32,110,111, 32,111, 98,
+ 108,105,103, 97,116,105,111,110, 32,116,111, 32,112,114,111,
+ 118,105,100,101, 32,109, 97,105,110,116,101,110, 97,110, 99,
+ 101, 44, 32,115,117,112,112,111,114,116, 44, 32,117,112,100,
+ 97,116,101,115, 44, 10, 45, 45, 32,101,110,104, 97,110, 99,
+ 101,109,101,110,116,115, 44, 32,111,114, 32,109,111,100,105,
+ 102,105, 99, 97,116,105,111,110,115, 46, 10, 10, 10, 45, 45,
+ 32, 86, 97,114,105, 97, 98,108,101, 32, 99,108, 97,115,115,
+ 10, 45, 45, 32, 82,101,112,114,101,115,101,110,116,115, 32,
+ 97, 32,101,120,116,101,114,110, 32,118, 97,114,105, 97, 98,
+ 108,101, 32,111,114, 32, 97, 32,112,117, 98,108,105, 99, 32,
+ 109,101,109, 98,101,114, 32,111,102, 32, 97, 32, 99,108, 97,
+ 115,115, 46, 10, 45, 45, 32, 83,116,111,114,101,115, 32, 97,
+ 108,108, 32,102,105,101,108,100,115, 32,112,114,101,115,101,
+ 110,116, 32,105,110, 32, 97, 32,100,101, 99,108, 97,114, 97,
+ 116,105,111,110, 46, 10, 99,108, 97,115,115, 86, 97,114,105,
+ 97, 98,108,101, 32, 61, 32,123, 10, 32, 95,103,101,116, 32,
+ 61, 32,123,125, 44, 32, 32, 32, 45, 45, 32,109, 97,112,112,
+ 101,100, 32,103,101,116, 32,102,117,110, 99,116,105,111,110,
+ 115, 10, 32, 95,115,101,116, 32, 61, 32,123,125, 44, 32, 32,
+ 32, 45, 45, 32,109, 97,112,112,101,100, 32,115,101,116, 32,
+ 102,117,110, 99,116,105,111,110,115, 10,125, 10, 99,108, 97,
+ 115,115, 86, 97,114,105, 97, 98,108,101, 46, 95, 95,105,110,
+ 100,101,120, 32, 61, 32, 99,108, 97,115,115, 86, 97,114,105,
+ 97, 98,108,101, 10,115,101,116,109,101,116, 97,116, 97, 98,
+ 108,101, 40, 99,108, 97,115,115, 86, 97,114,105, 97, 98,108,
+ 101, 44, 99,108, 97,115,115, 68,101, 99,108, 97,114, 97,116,
+ 105,111,110, 41, 10, 10, 45, 45, 32, 80,114,105,110,116, 32,
+ 109,101,116,104,111,100, 10,102,117,110, 99,116,105,111,110,
+ 32, 99,108, 97,115,115, 86, 97,114,105, 97, 98,108,101, 58,
+ 112,114,105,110,116, 32, 40,105,100,101,110,116, 44, 99,108,
+ 111,115,101, 41, 10, 32,112,114,105,110,116, 40,105,100,101,
+ 110,116, 46, 46, 34, 86, 97,114,105, 97, 98,108,101,123, 34,
+ 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46,
+ 46, 34, 32,109,111,100, 32, 32, 61, 32, 39, 34, 46, 46,115,
+ 101,108,102, 46,109,111,100, 46, 46, 34, 39, 44, 34, 41, 10,
+ 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34,
+ 32,116,121,112,101, 32, 61, 32, 39, 34, 46, 46,115,101,108,
+ 102, 46,116,121,112,101, 46, 46, 34, 39, 44, 34, 41, 10, 32,
+ 112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34, 32,
+ 112,116,114, 32, 32, 61, 32, 39, 34, 46, 46,115,101,108,102,
+ 46,112,116,114, 46, 46, 34, 39, 44, 34, 41, 10, 32,112,114,
+ 105,110,116, 40,105,100,101,110,116, 46, 46, 34, 32,110, 97,
+ 109,101, 32, 61, 32, 39, 34, 46, 46,115,101,108,102, 46,110,
+ 97,109,101, 46, 46, 34, 39, 44, 34, 41, 10, 32,105,102, 32,
+ 115,101,108,102, 46,100,105,109, 32,116,104,101,110, 32,112,
+ 114,105,110,116, 40,105,100,101,110,116, 46, 46, 34, 32,100,
+ 105,109, 32, 61, 32, 39, 34, 46, 46,115,101,108,102, 46,100,
+ 105,109, 46, 46, 34, 39, 44, 34, 41, 32,101,110,100, 10, 32,
+ 112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34, 32,
+ 100,101,102, 32, 32, 61, 32, 39, 34, 46, 46,115,101,108,102,
+ 46,100,101,102, 46, 46, 34, 39, 44, 34, 41, 10, 32,112,114,
+ 105,110,116, 40,105,100,101,110,116, 46, 46, 34, 32,114,101,
+ 116, 32, 32, 61, 32, 39, 34, 46, 46,115,101,108,102, 46,114,
+ 101,116, 46, 46, 34, 39, 44, 34, 41, 10, 32,112,114,105,110,
+ 116, 40,105,100,101,110,116, 46, 46, 34,125, 34, 46, 46, 99,
+ 108,111,115,101, 41, 10,101,110,100, 10, 10, 45, 45, 32, 71,
+ 101,110,101,114, 97,116,101,115, 32, 67, 32,102,117,110, 99,
+ 116,105,111,110, 32,110, 97,109,101, 10,102,117,110, 99,116,
+ 105,111,110, 32, 99,108, 97,115,115, 86, 97,114,105, 97, 98,
+ 108,101, 58, 99,102,117,110, 99,110, 97,109,101, 32, 40,112,
+ 114,101,102,105,120, 41, 10, 32,108,111, 99, 97,108, 32,112,
+ 97,114,101,110,116, 32, 61, 32, 34, 34, 10, 32,108,111, 99,
+ 97,108, 32,117,110,115,105,103,110,101,100, 32, 61, 32, 34,
+ 34, 10, 32,108,111, 99, 97,108, 32,112,116,114, 32, 61, 32,
+ 34, 34, 10, 10, 32,108,111, 99, 97,108, 32,112, 32, 61, 32,
+ 115,101,108,102, 58,105,110,109,111,100,117,108,101, 40, 41,
+ 32,111,114, 32,115,101,108,102, 58,105,110,110, 97,109,101,
+ 115,112, 97, 99,101, 40, 41, 32,111,114, 32,115,101,108,102,
+ 58,105,110, 99,108, 97,115,115, 40, 41, 10, 10, 32,105,102,
+ 32,112, 32,116,104,101,110, 10, 32, 9,105,102, 32,115,101,
+ 108,102, 46,112, 97,114,101,110,116, 46, 99,108, 97,115,115,
+ 116,121,112,101, 32, 61, 61, 32, 39, 99,108, 97,115,115, 39,
+ 32,116,104,101,110, 10, 9, 9,112, 97,114,101,110,116, 32,
+ 61, 32, 34, 95, 34, 32, 46, 46, 32,115,101,108,102, 46,112,
+ 97,114,101,110,116, 46,116,121,112,101, 10, 9,101,108,115,
+ 101, 10, 9, 32, 32,112, 97,114,101,110,116, 32, 61, 32, 34,
+ 95, 34, 32, 46, 46, 32,112, 10, 9,101,110,100, 10, 32,101,
+ 110,100, 10, 10, 32,105,102, 32,115,116,114,102,105,110,100,
+ 40,115,101,108,102, 46,109,111,100, 44, 34, 40,117,110,115,
+ 105,103,110,101,100, 41, 34, 41, 32,116,104,101,110, 10, 32,
+ 32,117,110,115,105,103,110,101,100, 32, 61, 32, 34, 95,117,
+ 110,115,105,103,110,101,100, 34, 10, 32,101,110,100, 10, 10,
+ 32,105,102, 32,115,101,108,102, 46,112,116,114, 32, 61, 61,
+ 32, 34, 42, 34, 32,116,104,101,110, 32,112,116,114, 32, 61,
+ 32, 34, 95,112,116,114, 34, 10, 32,101,108,115,101,105,102,
+ 32,115,101,108,102, 46,112,116,114, 32, 61, 61, 32, 34, 38,
+ 34, 32,116,104,101,110, 32,112,116,114, 32, 61, 32, 34, 95,
+ 114,101,102, 34, 10, 32,101,110,100, 10, 10, 32,108,111, 99,
+ 97,108, 32,110, 97,109,101, 32, 61, 32, 32,112,114,101,102,
+ 105,120, 32, 46, 46, 32,112, 97,114,101,110,116, 32, 46, 46,
+ 32,117,110,115,105,103,110,101,100, 32, 46, 46, 32, 34, 95,
+ 34, 32, 46, 46, 32,103,115,117, 98, 40,115,101,108,102, 46,
+ 108,110, 97,109,101, 32,111,114, 32,115,101,108,102, 46,110,
+ 97,109,101, 44, 34, 46, 42, 58, 58, 34, 44, 34, 34, 41, 32,
+ 46, 46, 32,112,116,114, 10, 10, 9,110, 97,109,101, 32, 61,
+ 32, 99,108,101, 97,110, 95,116,101,109,112,108, 97,116,101,
+ 40,110, 97,109,101, 41, 10, 32,114,101,116,117,114,110, 32,
+ 110, 97,109,101, 10, 10,101,110,100, 10, 10, 45, 45, 32, 99,
+ 104,101, 99,107, 32,105,102, 32,105,116, 32,105,115, 32, 97,
+ 32,118, 97,114,105, 97, 98,108,101, 10,102,117,110, 99,116,
+ 105,111,110, 32, 99,108, 97,115,115, 86, 97,114,105, 97, 98,
+ 108,101, 58,105,115,118, 97,114,105, 97, 98,108,101, 32, 40,
+ 41, 10, 32,114,101,116,117,114,110, 32,116,114,117,101, 10,
+ 101,110,100, 10, 10, 45, 45, 32,103,101,116, 32,118, 97,114,
+ 105, 97, 98,108,101, 32,118, 97,108,117,101, 10,102,117,110,
+ 99,116,105,111,110, 32, 99,108, 97,115,115, 86, 97,114,105,
+ 97, 98,108,101, 58,103,101,116,118, 97,108,117,101, 32, 40,
+ 99,108, 97,115,115, 44,115,116, 97,116,105, 99, 44, 32,112,
+ 114,111,112, 95,103,101,116, 41, 10, 10, 9,108,111, 99, 97,
+ 108, 32,110, 97,109,101, 10, 9,105,102, 32,112,114,111,112,
+ 95,103,101,116, 32,116,104,101,110, 10, 10, 9, 9,110, 97,
+ 109,101, 32, 61, 32,112,114,111,112, 95,103,101,116, 46, 46,
+ 34, 40, 41, 34, 10, 9,101,108,115,101, 10, 9, 9,110, 97,
+ 109,101, 32, 61, 32,115,101,108,102, 46,110, 97,109,101, 10,
+ 9,101,110,100, 10, 10, 9,105,102, 32, 99,108, 97,115,115,
+ 32, 97,110,100, 32,115,116, 97,116,105, 99, 32,116,104,101,
+ 110, 10, 9, 32,114,101,116,117,114,110, 32,115,101,108,102,
+ 46,112, 97,114,101,110,116, 46,116,121,112,101, 46, 46, 39,
+ 58, 58, 39, 46, 46,110, 97,109,101, 10, 9,101,108,115,101,
+ 105,102, 32, 99,108, 97,115,115, 32,116,104,101,110, 10, 9,
+ 32,114,101,116,117,114,110, 32, 39,115,101,108,102, 45, 62,
+ 39, 46, 46,110, 97,109,101, 10, 9,101,108,115,101, 10, 9,
+ 32,114,101,116,117,114,110, 32,110, 97,109,101, 10, 9,101,
+ 110,100, 10,101,110,100, 10, 10, 45, 45, 32,103,101,116, 32,
+ 118, 97,114,105, 97, 98,108,101, 32,112,111,105,110,116,101,
+ 114, 32,118, 97,108,117,101, 10,102,117,110, 99,116,105,111,
+ 110, 32, 99,108, 97,115,115, 86, 97,114,105, 97, 98,108,101,
+ 58,103,101,116,112,111,105,110,116,101,114,118, 97,108,117,
+ 101, 32, 40, 99,108, 97,115,115, 44,115,116, 97,116,105, 99,
+ 41, 10, 32,105,102, 32, 99,108, 97,115,115, 32, 97,110,100,
+ 32,115,116, 97,116,105, 99, 32,116,104,101,110, 10, 32, 32,
+ 114,101,116,117,114,110, 32, 99,108, 97,115,115, 46, 46, 39,
+ 58, 58,112, 39, 10, 32,101,108,115,101,105,102, 32, 99,108,
+ 97,115,115, 32,116,104,101,110, 10, 32, 32,114,101,116,117,
+ 114,110, 32, 39,115,101,108,102, 45, 62,112, 39, 10, 32,101,
+ 108,115,101, 10, 32, 32,114,101,116,117,114,110, 32, 39,112,
+ 39, 10, 32,101,110,100, 10,101,110,100, 10, 10, 45, 45, 32,
+ 87,114,105,116,101, 32, 98,105,110,100,105,110,103, 32,102,
+ 117,110, 99,116,105,111,110,115, 10,102,117,110, 99,116,105,
+ 111,110, 32, 99,108, 97,115,115, 86, 97,114,105, 97, 98,108,
+ 101, 58,115,117,112, 99,111,100,101, 32, 40, 41, 10, 10, 32,
+ 108,111, 99, 97,108, 32, 99,108, 97,115,115, 32, 61, 32,115,
+ 101,108,102, 58,105,110, 99,108, 97,115,115, 40, 41, 10, 10,
+ 9,108,111, 99, 97,108, 32,112,114,111,112, 95,103,101,116,
+ 44,112,114,111,112, 95,115,101,116, 10, 9,105,102, 32,115,
+ 116,114,105,110,103, 46,102,105,110,100, 40,115,101,108,102,
+ 46,109,111,100, 44, 32, 39,116,111,108,117, 97, 95,112,114,
+ 111,112,101,114,116,121, 39, 41, 32,116,104,101,110, 10, 10,
+ 9, 9,108,111, 99, 97,108, 32, 95, 44, 95, 44,116,121,112,
+ 101, 32, 61, 32,115,116,114,105,110,103, 46,102,105,110,100,
+ 40,115,101,108,102, 46,109,111,100, 44, 32, 34,116,111,108,
+ 117, 97, 95,112,114,111,112,101,114,116,121, 95, 95, 40, 91,
+ 94, 37,115, 93, 42, 41, 34, 41, 10, 9, 9,116,121,112,101,
+ 32, 61, 32,116,121,112,101, 32,111,114, 32, 34,100,101,102,
+ 97,117,108,116, 34, 10, 9, 9,112,114,111,112, 95,103,101,
+ 116, 44,112,114,111,112, 95,115,101,116, 32, 61, 32,103,101,
+ 116, 95,112,114,111,112,101,114,116,121, 95,109,101,116,104,
+ 111,100,115, 40,116,121,112,101, 44, 32,115,101,108,102, 46,
+ 110, 97,109,101, 41, 10, 9, 9,115,101,108,102, 46,109,111,
+ 100, 32, 61, 32,115,116,114,105,110,103, 46,103,115,117, 98,
+ 40,115,101,108,102, 46,109,111,100, 44, 32, 34,116,111,108,
+ 117, 97, 95,112,114,111,112,101,114,116,121, 91, 94, 37,115,
+ 93, 42, 34, 44, 32, 34, 34, 41, 10, 9,101,110,100, 10, 10,
+ 32, 45, 45, 32,103,101,116, 32,102,117,110, 99,116,105,111,
+ 110, 32, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 10, 32,105,102, 32, 99,108, 97,115,115,
+ 32,116,104,101,110, 10, 32, 32,111,117,116,112,117,116, 40,
+ 34, 47, 42, 32,103,101,116, 32,102,117,110, 99,116,105,111,
+ 110, 58, 34, 44,115,101,108,102, 46,110, 97,109,101, 44, 34,
+ 32,111,102, 32, 99,108, 97,115,115, 32, 34, 44, 99,108, 97,
+ 115,115, 44, 34, 32, 42, 47, 34, 41, 10, 32,101,108,115,101,
+ 10, 32, 32,111,117,116,112,117,116, 40, 34, 47, 42, 32,103,
+ 101,116, 32,102,117,110, 99,116,105,111,110, 58, 34, 44,115,
+ 101,108,102, 46,110, 97,109,101, 44, 34, 32, 42, 47, 34, 41,
+ 10, 32,101,110,100, 10, 32,115,101,108,102, 46, 99,103,101,
+ 116,110, 97,109,101, 32, 61, 32,115,101,108,102, 58, 99,102,
+ 117,110, 99,110, 97,109,101, 40, 34,116,111,108,117, 97, 95,
+ 103,101,116, 34, 41, 10, 32,111,117,116,112,117,116, 40, 34,
+ 35,105,102,110,100,101,102, 32, 84, 79, 76, 85, 65, 95, 68,
+ 73, 83, 65, 66, 76, 69, 95, 34, 46, 46,115,101,108,102, 46,
+ 99,103,101,116,110, 97,109,101, 41, 10, 32,111,117,116,112,
+ 117,116, 40, 34, 92,110,115,116, 97,116,105, 99, 32,105,110,
+ 116, 34, 44,115,101,108,102, 46, 99,103,101,116,110, 97,109,
+ 101, 44, 34, 40,108,117, 97, 95, 83,116, 97,116,101, 42, 32,
+ 116,111,108,117, 97, 95, 83, 41, 34, 41, 10, 32,111,117,116,
+ 112,117,116, 40, 34,123, 34, 41, 10, 10, 32, 45, 45, 32,100,
+ 101, 99,108, 97,114,101, 32,115,101,108,102, 44, 32,105,102,
+ 32,116,104,101, 32, 99, 97,115,101, 10, 32,108,111, 99, 97,
+ 108, 32, 95, 44, 95, 44,115,116, 97,116,105, 99, 32, 61, 32,
+ 115,116,114,102,105,110,100, 40,115,101,108,102, 46,109,111,
+ 100, 44, 39, 94, 37,115, 42, 40,115,116, 97,116,105, 99, 41,
+ 39, 41, 10, 32,105,102, 32, 99,108, 97,115,115, 32, 97,110,
+ 100, 32,115,116, 97,116,105, 99, 61, 61,110,105,108, 32,116,
+ 104,101,110, 10, 32, 32,111,117,116,112,117,116, 40, 39, 32,
+ 39, 44,115,101,108,102, 46,112, 97,114,101,110,116, 46,116,
+ 121,112,101, 44, 39, 42, 39, 44, 39,115,101,108,102, 32, 61,
+ 32, 39, 41, 10, 32, 32,111,117,116,112,117,116, 40, 39, 40,
+ 39, 44,115,101,108,102, 46,112, 97,114,101,110,116, 46,116,
+ 121,112,101, 44, 39, 42, 41, 32, 39, 41, 10, 32, 32,108,111,
+ 99, 97,108, 32,116,111, 95,102,117,110, 99, 32, 61, 32,103,
+ 101,116, 95,116,111, 95,102,117,110, 99,116,105,111,110, 40,
+ 115,101,108,102, 46,112, 97,114,101,110,116, 46,116,121,112,
+ 101, 41, 10, 32, 32,111,117,116,112,117,116, 40,116,111, 95,
+ 102,117,110, 99, 44, 39, 40,116,111,108,117, 97, 95, 83, 44,
+ 49, 44, 48, 41, 59, 39, 41, 10, 32,101,108,115,101,105,102,
+ 32,115,116, 97,116,105, 99, 32,116,104,101,110, 10, 32, 32,
+ 95, 44, 95, 44,115,101,108,102, 46,109,111,100, 32, 61, 32,
+ 115,116,114,102,105,110,100, 40,115,101,108,102, 46,109,111,
+ 100, 44, 39, 94, 37,115, 42,115,116, 97,116,105, 99, 37,115,
+ 37,115, 42, 40, 46, 42, 41, 39, 41, 10, 32,101,110,100, 10,
+ 10, 10, 32, 45, 45, 32, 99,104,101, 99,107, 32,115,101,108,
+ 102, 32,118, 97,108,117,101, 10, 32,105,102, 32, 99,108, 97,
+ 115,115, 32, 97,110,100, 32,115,116, 97,116,105, 99, 61, 61,
+ 110,105,108, 32,116,104,101,110, 10, 9, 32,111,117,116,112,
+ 117,116, 40, 39, 35,105,102,110,100,101,102, 32, 84, 79, 76,
+ 85, 65, 95, 82, 69, 76, 69, 65, 83, 69, 92,110, 39, 41, 10,
+ 32, 32,111,117,116,112,117,116, 40, 39, 32, 32,105,102, 32,
+ 40, 33,115,101,108,102, 41, 32,116,111,108,117, 97, 95,101,
+ 114,114,111,114, 40,116,111,108,117, 97, 95, 83, 44, 34, 39,
+ 46, 46,111,117,116,112,117,116, 95,101,114,114,111,114, 95,
+ 104,111,111,107, 40, 34,105,110,118, 97,108,105,100, 32, 92,
+ 39,115,101,108,102, 92, 39, 32,105,110, 32, 97, 99, 99,101,
+ 115,115,105,110,103, 32,118, 97,114,105, 97, 98,108,101, 32,
+ 92, 39, 37,115, 92, 39, 34, 44, 32,115,101,108,102, 46,110,
+ 97,109,101, 41, 46, 46, 39, 34, 44, 78, 85, 76, 76, 41, 59,
+ 39, 41, 59, 10, 9, 9,111,117,116,112,117,116, 40, 39, 35,
+ 101,110,100,105,102, 92,110, 39, 41, 10, 32,101,110,100, 10,
+ 10, 32, 45, 45, 32,114,101,116,117,114,110, 32,118, 97,108,
+ 117,101, 10, 32,105,102, 32,115,116,114,105,110,103, 46,102,
+ 105,110,100, 40,115,101,108,102, 46,109,111,100, 44, 32, 39,
+ 116,111,108,117, 97, 95,105,110,104,101,114,105,116,115, 39,
+ 41, 32,116,104,101,110, 10, 9,108,111, 99, 97,108, 32,112,
+ 117,115,104, 95,102,117,110, 99, 32, 61, 32,103,101,116, 95,
+ 112,117,115,104, 95,102,117,110, 99,116,105,111,110, 40,115,
+ 101,108,102, 46,116,121,112,101, 41, 10, 32, 9,111,117,116,
+ 112,117,116, 40, 39, 35,105,102,100,101,102, 32, 95, 95, 99,
+ 112,108,117,115,112,108,117,115, 92,110, 39, 41, 10, 9,111,
+ 117,116,112,117,116, 40, 39, 32, 32, 39, 44,112,117,115,104,
+ 95,102,117,110, 99, 44, 39, 40,116,111,108,117, 97, 95, 83,
+ 44, 40,118,111,105,100, 42, 41,115,116, 97,116,105, 99, 95,
+ 99, 97,115,116, 60, 39, 46, 46,115,101,108,102, 46,116,121,
+ 112,101, 46, 46, 39, 42, 62, 40,115,101,108,102, 41, 44, 32,
+ 34, 39, 44,115,101,108,102, 46,116,121,112,101, 44, 39, 34,
+ 41, 59, 39, 41, 10, 9,111,117,116,112,117,116, 40, 39, 35,
+ 101,108,115,101, 92,110, 39, 41, 10, 9,111,117,116,112,117,
+ 116, 40, 39, 32, 32, 39, 44,112,117,115,104, 95,102,117,110,
+ 99, 44, 39, 40,116,111,108,117, 97, 95, 83, 44, 40,118,111,
+ 105,100, 42, 41, 40, 40, 39, 46, 46,115,101,108,102, 46,116,
+ 121,112,101, 46, 46, 39, 42, 41,115,101,108,102, 41, 44, 32,
+ 34, 39, 44,115,101,108,102, 46,116,121,112,101, 44, 39, 34,
+ 41, 59, 39, 41, 10, 9,111,117,116,112,117,116, 40, 39, 35,
+ 101,110,100,105,102, 92,110, 39, 41, 10, 32,101,108,115,101,
+ 10, 9,108,111, 99, 97,108, 32,116, 44, 99,116, 32, 61, 32,
+ 105,115, 98, 97,115,105, 99, 40,115,101,108,102, 46,116,121,
+ 112,101, 41, 10, 9,105,102, 32,116, 32,116,104,101,110, 10,
+ 9, 9,111,117,116,112,117,116, 40, 39, 32, 32,116,111,108,
+ 117, 97, 95,112,117,115,104, 39, 46, 46,116, 46, 46, 39, 40,
+ 116,111,108,117, 97, 95, 83, 44, 40, 39, 44, 99,116, 44, 39,
+ 41, 39, 46, 46,115,101,108,102, 58,103,101,116,118, 97,108,
+ 117,101, 40, 99,108, 97,115,115, 44,115,116, 97,116,105, 99,
+ 44,112,114,111,112, 95,103,101,116, 41, 46, 46, 39, 41, 59,
+ 39, 41, 10, 9,101,108,115,101, 10, 9, 9,108,111, 99, 97,
+ 108, 32,112,117,115,104, 95,102,117,110, 99, 32, 61, 32,103,
+ 101,116, 95,112,117,115,104, 95,102,117,110, 99,116,105,111,
+ 110, 40,115,101,108,102, 46,116,121,112,101, 41, 10, 9, 9,
+ 116, 32, 61, 32,115,101,108,102, 46,116,121,112,101, 10, 9,
+ 9,105,102, 32,115,101,108,102, 46,112,116,114, 32, 61, 61,
+ 32, 39, 38, 39, 32,111,114, 32,115,101,108,102, 46,112,116,
+ 114, 32, 61, 61, 32, 39, 39, 32,116,104,101,110, 10, 9, 9,
+ 9,111,117,116,112,117,116, 40, 39, 32, 32, 39, 44,112,117,
+ 115,104, 95,102,117,110, 99, 44, 39, 40,116,111,108,117, 97,
+ 95, 83, 44, 40,118,111,105,100, 42, 41, 38, 39, 46, 46,115,
+ 101,108,102, 58,103,101,116,118, 97,108,117,101, 40, 99,108,
+ 97,115,115, 44,115,116, 97,116,105, 99, 44,112,114,111,112,
+ 95,103,101,116, 41, 46, 46, 39, 44, 34, 39, 44,116, 44, 39,
+ 34, 41, 59, 39, 41, 10, 9, 9,101,108,115,101, 10, 9, 9,
+ 9,111,117,116,112,117,116, 40, 39, 32, 32, 39, 44,112,117,
+ 115,104, 95,102,117,110, 99, 44, 39, 40,116,111,108,117, 97,
+ 95, 83, 44, 40,118,111,105,100, 42, 41, 39, 46, 46,115,101,
+ 108,102, 58,103,101,116,118, 97,108,117,101, 40, 99,108, 97,
+ 115,115, 44,115,116, 97,116,105, 99, 44,112,114,111,112, 95,
+ 103,101,116, 41, 46, 46, 39, 44, 34, 39, 44,116, 44, 39, 34,
+ 41, 59, 39, 41, 10, 9, 9,101,110,100, 10, 9,101,110,100,
+ 10, 32,101,110,100, 10, 32,111,117,116,112,117,116, 40, 39,
+ 32,114,101,116,117,114,110, 32, 49, 59, 39, 41, 10, 32,111,
+ 117,116,112,117,116, 40, 39,125, 39, 41, 10, 32,111,117,116,
+ 112,117,116, 40, 39, 35,101,110,100,105,102, 32, 47, 47, 35,
+ 105,102,110,100,101,102, 32, 84, 79, 76, 85, 65, 95, 68, 73,
+ 83, 65, 66, 76, 69, 92,110, 39, 41, 10, 32,111,117,116,112,
+ 117,116, 40, 39, 92,110, 39, 41, 10, 10, 32, 45, 45, 32,115,
+ 101,116, 32,102,117,110, 99,116,105,111,110, 32, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 10, 32,105,102, 32,110,111,116, 32, 40,115,116,114,102,105,
+ 110,100, 40,115,101,108,102, 46,116,121,112,101, 44, 39, 99,
+ 111,110,115,116, 37,115, 43, 39, 41, 32,111,114, 32,115,116,
+ 114,105,110,103, 46,102,105,110,100, 40,115,101,108,102, 46,
+ 109,111,100, 44, 32, 39,116,111,108,117, 97, 95,114,101, 97,
+ 100,111,110,108,121, 39, 41, 32,111,114, 32,115,116,114,105,
+ 110,103, 46,102,105,110,100, 40,115,101,108,102, 46,109,111,
+ 100, 44, 32, 39,116,111,108,117, 97, 95,105,110,104,101,114,
+ 105,116,115, 39, 41, 41, 32, 32,116,104,101,110, 10, 32, 32,
+ 105,102, 32, 99,108, 97,115,115, 32,116,104,101,110, 10, 32,
+ 32, 32,111,117,116,112,117,116, 40, 34, 47, 42, 32,115,101,
+ 116, 32,102,117,110, 99,116,105,111,110, 58, 34, 44,115,101,
+ 108,102, 46,110, 97,109,101, 44, 34, 32,111,102, 32, 99,108,
+ 97,115,115, 32, 34, 44, 99,108, 97,115,115, 44, 34, 32, 42,
+ 47, 34, 41, 10, 32, 32,101,108,115,101, 10, 32, 32, 32,111,
+ 117,116,112,117,116, 40, 34, 47, 42, 32,115,101,116, 32,102,
+ 117,110, 99,116,105,111,110, 58, 34, 44,115,101,108,102, 46,
+ 110, 97,109,101, 44, 34, 32, 42, 47, 34, 41, 10, 32, 32,101,
+ 110,100, 10, 32, 32,115,101,108,102, 46, 99,115,101,116,110,
+ 97,109,101, 32, 61, 32,115,101,108,102, 58, 99,102,117,110,
+ 99,110, 97,109,101, 40, 34,116,111,108,117, 97, 95,115,101,
+ 116, 34, 41, 10, 32, 32,111,117,116,112,117,116, 40, 34, 35,
+ 105,102,110,100,101,102, 32, 84, 79, 76, 85, 65, 95, 68, 73,
+ 83, 65, 66, 76, 69, 95, 34, 46, 46,115,101,108,102, 46, 99,
+ 115,101,116,110, 97,109,101, 41, 10, 32, 32,111,117,116,112,
+ 117,116, 40, 34, 92,110,115,116, 97,116,105, 99, 32,105,110,
+ 116, 34, 44,115,101,108,102, 46, 99,115,101,116,110, 97,109,
+ 101, 44, 34, 40,108,117, 97, 95, 83,116, 97,116,101, 42, 32,
+ 116,111,108,117, 97, 95, 83, 41, 34, 41, 10, 32, 32,111,117,
+ 116,112,117,116, 40, 34,123, 34, 41, 10, 10, 32, 32, 45, 45,
+ 32,100,101, 99,108, 97,114,101, 32,115,101,108,102, 44, 32,
+ 105,102, 32,116,104,101, 32, 99, 97,115,101, 10, 32, 32,105,
+ 102, 32, 99,108, 97,115,115, 32, 97,110,100, 32,115,116, 97,
+ 116,105, 99, 61, 61,110,105,108, 32,116,104,101,110, 10, 32,
+ 32, 32,111,117,116,112,117,116, 40, 39, 32, 39, 44,115,101,
+ 108,102, 46,112, 97,114,101,110,116, 46,116,121,112,101, 44,
+ 39, 42, 39, 44, 39,115,101,108,102, 32, 61, 32, 39, 41, 10,
+ 32, 32, 32,111,117,116,112,117,116, 40, 39, 40, 39, 44,115,
+ 101,108,102, 46,112, 97,114,101,110,116, 46,116,121,112,101,
+ 44, 39, 42, 41, 32, 39, 41, 10, 32, 32, 32,108,111, 99, 97,
+ 108, 32,116,111, 95,102,117,110, 99, 32, 61, 32,103,101,116,
+ 95,116,111, 95,102,117,110, 99,116,105,111,110, 40,115,101,
+ 108,102, 46,112, 97,114,101,110,116, 46,116,121,112,101, 41,
+ 10, 32, 32, 32,111,117,116,112,117,116, 40,116,111, 95,102,
+ 117,110, 99, 44, 39, 40,116,111,108,117, 97, 95, 83, 44, 49,
+ 44, 48, 41, 59, 39, 41, 10, 32, 32, 32, 45, 45, 32, 99,104,
+ 101, 99,107, 32,115,101,108,102, 32,118, 97,108,117,101, 10,
+ 9, 9,101,110,100, 10, 32, 32, 45, 45, 32, 99,104,101, 99,
+ 107, 32,116,121,112,101,115, 10, 9, 9,111,117,116,112,117,
+ 116, 40, 39, 35,105,102,110,100,101,102, 32, 84, 79, 76, 85,
+ 65, 95, 82, 69, 76, 69, 65, 83, 69, 92,110, 39, 41, 10, 9,
+ 9,111,117,116,112,117,116, 40, 39, 32, 32,116,111,108,117,
+ 97, 95, 69,114,114,111,114, 32,116,111,108,117, 97, 95,101,
+ 114,114, 59, 39, 41, 10, 32, 32,105,102, 32, 99,108, 97,115,
+ 115, 32, 97,110,100, 32,115,116, 97,116,105, 99, 61, 61,110,
+ 105,108, 32,116,104,101,110, 10, 32, 32, 32,111,117,116,112,
+ 117,116, 40, 39, 32, 32,105,102, 32, 40, 33,115,101,108,102,
+ 41, 32,116,111,108,117, 97, 95,101,114,114,111,114, 40,116,
+ 111,108,117, 97, 95, 83, 44, 34, 39, 46, 46,111,117,116,112,
+ 117,116, 95,101,114,114,111,114, 95,104,111,111,107, 40, 34,
+ 105,110,118, 97,108,105,100, 32, 92, 39,115,101,108,102, 92,
+ 39, 32,105,110, 32, 97, 99, 99,101,115,115,105,110,103, 32,
+ 118, 97,114,105, 97, 98,108,101, 32, 92, 39, 37,115, 92, 39,
+ 34, 44, 32,115,101,108,102, 46,110, 97,109,101, 41, 46, 46,
+ 39, 34, 44, 78, 85, 76, 76, 41, 59, 39, 41, 59, 10, 32, 32,
+ 101,108,115,101,105,102, 32,115,116, 97,116,105, 99, 32,116,
+ 104,101,110, 10, 32, 32, 32, 95, 44, 95, 44,115,101,108,102,
+ 46,109,111,100, 32, 61, 32,115,116,114,102,105,110,100, 40,
+ 115,101,108,102, 46,109,111,100, 44, 39, 94, 37,115, 42,115,
+ 116, 97,116,105, 99, 37,115, 37,115, 42, 40, 46, 42, 41, 39,
+ 41, 10, 32, 32,101,110,100, 10, 10, 32, 32, 45, 45, 32, 99,
+ 104,101, 99,107, 32,118, 97,114,105, 97, 98,108,101, 32,116,
+ 121,112,101, 10, 32, 32,111,117,116,112,117,116, 40, 39, 32,
+ 32,105,102, 32, 40, 39, 46, 46,115,101,108,102, 58,111,117,
+ 116, 99,104,101, 99,107,116,121,112,101, 40, 50, 41, 46, 46,
+ 39, 41, 39, 41, 10, 32, 32,111,117,116,112,117,116, 40, 39,
+ 32, 32, 32,116,111,108,117, 97, 95,101,114,114,111,114, 40,
+ 116,111,108,117, 97, 95, 83, 44, 34, 35,118,105,110,118, 97,
+ 108,105,100, 32,116,121,112,101, 32,105,110, 32,118, 97,114,
+ 105, 97, 98,108,101, 32, 97,115,115,105,103,110,109,101,110,
+ 116, 46, 34, 44, 38,116,111,108,117, 97, 95,101,114,114, 41,
+ 59, 39, 41, 10, 9, 9,111,117,116,112,117,116, 40, 39, 35,
+ 101,110,100,105,102, 92,110, 39, 41, 10, 10, 32, 32, 45, 45,
+ 32, 97,115,115,105,103,110, 32,118, 97,108,117,101, 10, 9,
+ 9,108,111, 99, 97,108, 32,100,101,102, 32, 61, 32, 48, 10,
+ 9, 9,105,102, 32,115,101,108,102, 46,100,101,102, 32,126,
+ 61, 32, 39, 39, 32,116,104,101,110, 32,100,101,102, 32, 61,
+ 32,115,101,108,102, 46,100,101,102, 32,101,110,100, 10, 9,
+ 9,105,102, 32,115,101,108,102, 46,116,121,112,101, 32, 61,
+ 61, 32, 39, 99,104, 97,114, 42, 39, 32, 97,110,100, 32,115,
+ 101,108,102, 46,100,105,109, 32,126, 61, 32, 39, 39, 32,116,
+ 104,101,110, 32, 45, 45, 32,105,115, 32,115,116,114,105,110,
+ 103, 10, 9, 9, 9,111,117,116,112,117,116, 40, 39, 32,115,
+ 116,114,110, 99,112,121, 40, 40, 99,104, 97,114, 42, 41, 39,
+ 41, 10, 9, 9, 9,105,102, 32, 99,108, 97,115,115, 32, 97,
+ 110,100, 32,115,116, 97,116,105, 99, 32,116,104,101,110, 10,
+ 9, 9, 9, 9,111,117,116,112,117,116, 40,115,101,108,102,
+ 46,112, 97,114,101,110,116, 46,116,121,112,101, 46, 46, 39,
+ 58, 58, 39, 46, 46,115,101,108,102, 46,110, 97,109,101, 41,
+ 10, 9, 9, 9,101,108,115,101,105,102, 32, 99,108, 97,115,
+ 115, 32,116,104,101,110, 10, 9, 9, 9, 9,111,117,116,112,
+ 117,116, 40, 39,115,101,108,102, 45, 62, 39, 46, 46,115,101,
+ 108,102, 46,110, 97,109,101, 41, 10, 9, 9, 9,101,108,115,
+ 101, 10, 9, 9, 9, 9,111,117,116,112,117,116, 40,115,101,
+ 108,102, 46,110, 97,109,101, 41, 10, 9, 9, 9,101,110,100,
+ 10, 9, 9, 9,111,117,116,112,117,116, 40, 39, 44, 40, 99,
+ 111,110,115,116, 32, 99,104, 97,114, 42, 41,116,111,108,117,
+ 97, 95,116,111,115,116,114,105,110,103, 40,116,111,108,117,
+ 97, 95, 83, 44, 50, 44, 39, 44,100,101,102, 44, 39, 41, 44,
+ 39, 44,115,101,108,102, 46,100,105,109, 44, 39, 45, 49, 41,
+ 59, 39, 41, 10, 9, 9,101,108,115,101, 10, 9, 9, 9,108,
+ 111, 99, 97,108, 32,112,116,114, 32, 61, 32, 39, 39, 10, 9,
+ 9, 9,105,102, 32,115,101,108,102, 46,112,116,114,126, 61,
+ 39, 39, 32,116,104,101,110, 32,112,116,114, 32, 61, 32, 39,
+ 42, 39, 32,101,110,100, 10, 9, 9, 9,111,117,116,112,117,
+ 116, 40, 39, 32, 39, 41, 10, 9, 9, 9,108,111, 99, 97,108,
+ 32,110, 97,109,101, 32, 61, 32,112,114,111,112, 95,115,101,
+ 116, 32,111,114, 32,115,101,108,102, 46,110, 97,109,101, 10,
+ 9, 9, 9,105,102, 32, 99,108, 97,115,115, 32, 97,110,100,
+ 32,115,116, 97,116,105, 99, 32,116,104,101,110, 10, 9, 9,
+ 9, 9,111,117,116,112,117,116, 40,115,101,108,102, 46,112,
+ 97,114,101,110,116, 46,116,121,112,101, 46, 46, 39, 58, 58,
+ 39, 46, 46,110, 97,109,101, 41, 10, 9, 9, 9,101,108,115,
+ 101,105,102, 32, 99,108, 97,115,115, 32,116,104,101,110, 10,
+ 9, 9, 9, 9,111,117,116,112,117,116, 40, 39,115,101,108,
+ 102, 45, 62, 39, 46, 46,110, 97,109,101, 41, 10, 9, 9, 9,
+ 101,108,115,101, 10, 9, 9, 9, 9,111,117,116,112,117,116,
+ 40,110, 97,109,101, 41, 10, 9, 9, 9,101,110,100, 10, 9,
+ 9, 9,108,111, 99, 97,108, 32,116, 32, 61, 32,105,115, 98,
+ 97,115,105, 99, 40,115,101,108,102, 46,116,121,112,101, 41,
+ 10, 9, 9, 9,105,102, 32,112,114,111,112, 95,115,101,116,
+ 32,116,104,101,110, 10, 9, 9, 9, 9,111,117,116,112,117,
+ 116, 40, 39, 40, 39, 41, 10, 9, 9, 9,101,108,115,101, 10,
+ 9, 9, 9, 9,111,117,116,112,117,116, 40, 39, 32, 61, 32,
+ 39, 41, 10, 9, 9, 9,101,110,100, 10, 9, 9, 9,105,102,
+ 32,110,111,116, 32,116, 32, 97,110,100, 32,112,116,114, 61,
+ 61, 39, 39, 32,116,104,101,110, 32,111,117,116,112,117,116,
+ 40, 39, 42, 39, 41, 32,101,110,100, 10, 9, 9, 9,111,117,
+ 116,112,117,116, 40, 39, 40, 40, 39, 44,115,101,108,102, 46,
+ 109,111,100, 44,115,101,108,102, 46,116,121,112,101, 41, 10,
+ 9, 9, 9,105,102, 32,110,111,116, 32,116, 32,116,104,101,
+ 110, 10, 9, 9, 9, 9,111,117,116,112,117,116, 40, 39, 42,
+ 39, 41, 10, 9, 9, 9,101,110,100, 10, 9, 9, 9,111,117,
+ 116,112,117,116, 40, 39, 41, 32, 39, 41, 10, 9, 9, 9,105,
+ 102, 32,116, 32,116,104,101,110, 10, 9, 9, 9, 9,105,102,
+ 32,105,115,101,110,117,109, 40,115,101,108,102, 46,116,121,
+ 112,101, 41, 32,116,104,101,110, 10, 9, 9, 9, 9, 9,111,
+ 117,116,112,117,116, 40, 39, 40,105,110,116, 41, 32, 39, 41,
+ 10, 9, 9, 9, 9,101,110,100, 10, 9, 9, 9, 9,111,117,
+ 116,112,117,116, 40, 39,116,111,108,117, 97, 95,116,111, 39,
+ 46, 46,116, 44, 39, 40,116,111,108,117, 97, 95, 83, 44, 50,
+ 44, 39, 44,100,101,102, 44, 39, 41, 41, 39, 41, 10, 9, 9,
+ 9,101,108,115,101, 10, 9, 9, 9, 9,108,111, 99, 97,108,
+ 32,116,111, 95,102,117,110, 99, 32, 61, 32,103,101,116, 95,
+ 116,111, 95,102,117,110, 99,116,105,111,110, 40,115,101,108,
+ 102, 46,116,121,112,101, 41, 10, 9, 9, 9, 9,111,117,116,
+ 112,117,116, 40,116,111, 95,102,117,110, 99, 44, 39, 40,116,
+ 111,108,117, 97, 95, 83, 44, 50, 44, 39, 44,100,101,102, 44,
+ 39, 41, 41, 39, 41, 10, 9, 9, 9,101,110,100, 10, 9, 9,
+ 9,105,102, 32,112,114,111,112, 95,115,101,116, 32,116,104,
+ 101,110, 10, 9, 9, 9, 9,111,117,116,112,117,116, 40, 34,
+ 41, 34, 41, 10, 9, 9, 9,101,110,100, 10, 9, 9, 9,111,
+ 117,116,112,117,116, 40, 34, 59, 34, 41, 10, 9, 9,101,110,
+ 100, 10, 32, 32,111,117,116,112,117,116, 40, 39, 32,114,101,
+ 116,117,114,110, 32, 48, 59, 39, 41, 10, 32, 32,111,117,116,
+ 112,117,116, 40, 39,125, 39, 41, 10, 32, 32,111,117,116,112,
+ 117,116, 40, 39, 35,101,110,100,105,102, 32, 47, 47, 35,105,
+ 102,110,100,101,102, 32, 84, 79, 76, 85, 65, 95, 68, 73, 83,
+ 65, 66, 76, 69, 92,110, 39, 41, 10, 32, 32,111,117,116,112,
+ 117,116, 40, 39, 92,110, 39, 41, 10, 32,101,110,100, 10, 10,
+ 101,110,100, 10, 10,102,117,110, 99,116,105,111,110, 32, 99,
+ 108, 97,115,115, 86, 97,114,105, 97, 98,108,101, 58,114,101,
+ 103,105,115,116,101,114, 32, 40,112,114,101, 41, 10, 10, 9,
+ 105,102, 32,110,111,116, 32,115,101,108,102, 58, 99,104,101,
+ 99,107, 95,112,117, 98,108,105, 99, 95, 97, 99, 99,101,115,
+ 115, 40, 41, 32,116,104,101,110, 10, 9, 9,114,101,116,117,
+ 114,110, 10, 9,101,110,100, 10, 32,112,114,101, 32, 61, 32,
+ 112,114,101, 32,111,114, 32, 39, 39, 10, 32,108,111, 99, 97,
+ 108, 32,112, 97,114,101,110,116, 32, 61, 32,115,101,108,102,
+ 58,105,110,109,111,100,117,108,101, 40, 41, 32,111,114, 32,
+ 115,101,108,102, 58,105,110,110, 97,109,101,115,112, 97, 99,
+ 101, 40, 41, 32,111,114, 32,115,101,108,102, 58,105,110, 99,
+ 108, 97,115,115, 40, 41, 10, 32,105,102, 32,110,111,116, 32,
+ 112, 97,114,101,110,116, 32,116,104,101,110, 10, 32, 32,105,
+ 102, 32, 99,108, 97,115,115, 86, 97,114,105, 97, 98,108,101,
+ 46, 95,119, 97,114,110,105,110,103, 61, 61,110,105,108, 32,
+ 116,104,101,110, 10, 32, 32, 32,119, 97,114,110,105,110,103,
+ 40, 34, 77, 97,112,112,105,110,103, 32,118, 97,114,105, 97,
+ 98,108,101, 32,116,111, 32,103,108,111, 98, 97,108, 32,109,
+ 97,121, 32,100,101,103,114, 97,100,101, 32,112,101,114,102,
+ 111,114,109, 97,110, 99,101, 34, 41, 10, 32, 32, 32, 99,108,
+ 97,115,115, 86, 97,114,105, 97, 98,108,101, 46, 95,119, 97,
+ 114,110,105,110,103, 32, 61, 32, 49, 10, 32, 32,101,110,100,
+ 10, 32,101,110,100, 10, 32,105,102, 32,115,101,108,102, 46,
+ 99,115,101,116,110, 97,109,101, 32,116,104,101,110, 10, 32,
+ 32,111,117,116,112,117,116, 40,112,114,101, 46, 46, 39,116,
+ 111,108,117, 97, 95,118, 97,114,105, 97, 98,108,101, 40,116,
+ 111,108,117, 97, 95, 83, 44, 34, 39, 46, 46,115,101,108,102,
+ 46,108,110, 97,109,101, 46, 46, 39, 34, 44, 39, 46, 46,115,
+ 101,108,102, 46, 99,103,101,116,110, 97,109,101, 46, 46, 39,
+ 44, 39, 46, 46,115,101,108,102, 46, 99,115,101,116,110, 97,
+ 109,101, 46, 46, 39, 41, 59, 39, 41, 10, 32,101,108,115,101,
+ 10, 32, 32,111,117,116,112,117,116, 40,112,114,101, 46, 46,
+ 39,116,111,108,117, 97, 95,118, 97,114,105, 97, 98,108,101,
+ 40,116,111,108,117, 97, 95, 83, 44, 34, 39, 46, 46,115,101,
+ 108,102, 46,108,110, 97,109,101, 46, 46, 39, 34, 44, 39, 46,
+ 46,115,101,108,102, 46, 99,103,101,116,110, 97,109,101, 46,
+ 46, 39, 44, 78, 85, 76, 76, 41, 59, 39, 41, 10, 32,101,110,
+ 100, 10,101,110,100, 10, 10, 45, 45, 32, 73,110,116,101,114,
+ 110, 97,108, 32, 99,111,110,115,116,114,117, 99,116,111,114,
+ 10,102,117,110, 99,116,105,111,110, 32, 95, 86, 97,114,105,
+ 97, 98,108,101, 32, 40,116, 41, 10, 32,115,101,116,109,101,
+ 116, 97,116, 97, 98,108,101, 40,116, 44, 99,108, 97,115,115,
+ 86, 97,114,105, 97, 98,108,101, 41, 10, 32, 97,112,112,101,
+ 110,100, 40,116, 41, 10, 32,114,101,116,117,114,110, 32,116,
+ 10,101,110,100, 10, 10, 45, 45, 32, 67,111,110,115,116,114,
+ 117, 99,116,111,114, 10, 45, 45, 32, 69,120,112,101, 99,116,
+ 115, 32, 97, 32,115,116,114,105,110,103, 32,114,101,112,114,
+ 101,115,101,110,116,105,110,103, 32,116,104,101, 32,118, 97,
+ 114,105, 97, 98,108,101, 32,100,101, 99,108, 97,114, 97,116,
+ 105,111,110, 46, 10,102,117,110, 99,116,105,111,110, 32, 86,
+ 97,114,105, 97, 98,108,101, 32, 40,115, 41, 10, 32,114,101,
+ 116,117,114,110, 32, 95, 86, 97,114,105, 97, 98,108,101, 32,
+ 40, 68,101, 99,108, 97,114, 97,116,105,111,110, 40,115, 44,
+ 39,118, 97,114, 39, 41, 41, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/variable.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32, 97,114,114, 97,121,
+ 32, 99,108, 97,115,115, 10, 45, 45, 32, 87,114,105,116,116,
+ 101,110, 32, 98,121, 32, 87, 97,108,100,101,109, 97,114, 32,
+ 67,101,108,101,115, 10, 45, 45, 32, 84,101, 67, 71,114, 97,
+ 102, 47, 80, 85, 67, 45, 82,105,111, 10, 45, 45, 32, 74,117,
+ 108, 32, 49, 57, 57, 57, 10, 45, 45, 32, 36, 73,100, 58, 32,
+ 97,114,114, 97,121, 46,108,117, 97, 44,118, 32, 49, 46, 49,
+ 32, 50, 48, 48, 48, 47, 49, 49, 47, 48, 54, 32, 50, 50, 58,
+ 48, 51, 58, 53, 55, 32, 99,101,108,101,115, 32, 69,120,112,
+ 32, 36, 10, 10, 45, 45, 32, 84,104,105,115, 32, 99,111,100,
+ 101, 32,105,115, 32,102,114,101,101, 32,115,111,102,116,119,
+ 97,114,101, 59, 32,121,111,117, 32, 99, 97,110, 32,114,101,
+ 100,105,115,116,114,105, 98,117,116,101, 32,105,116, 32, 97,
+ 110,100, 47,111,114, 32,109,111,100,105,102,121, 32,105,116,
+ 46, 10, 45, 45, 32, 84,104,101, 32,115,111,102,116,119, 97,
+ 114,101, 32,112,114,111,118,105,100,101,100, 32,104,101,114,
+ 101,117,110,100,101,114, 32,105,115, 32,111,110, 32, 97,110,
+ 32, 34, 97,115, 32,105,115, 34, 32, 98, 97,115,105,115, 44,
+ 32, 97,110,100, 10, 45, 45, 32,116,104,101, 32, 97,117,116,
+ 104,111,114, 32,104, 97,115, 32,110,111, 32,111, 98,108,105,
+ 103, 97,116,105,111,110, 32,116,111, 32,112,114,111,118,105,
+ 100,101, 32,109, 97,105,110,116,101,110, 97,110, 99,101, 44,
+ 32,115,117,112,112,111,114,116, 44, 32,117,112,100, 97,116,
+ 101,115, 44, 10, 45, 45, 32,101,110,104, 97,110, 99,101,109,
+ 101,110,116,115, 44, 32,111,114, 32,109,111,100,105,102,105,
+ 99, 97,116,105,111,110,115, 46, 10, 10, 10, 45, 45, 32, 65,
+ 114,114, 97,121, 32, 99,108, 97,115,115, 10, 45, 45, 32, 82,
+ 101,112,114,101,115,101,110,116,115, 32, 97, 32,101,120,116,
+ 101,114,110, 32, 97,114,114, 97,121, 32,118, 97,114,105, 97,
+ 98,108,101, 32,111,114, 32, 97, 32,112,117, 98,108,105, 99,
+ 32,109,101,109, 98,101,114, 32,111,102, 32, 97, 32, 99,108,
+ 97,115,115, 46, 10, 45, 45, 32, 83,116,111,114,101,115, 32,
+ 97,108,108, 32,102,105,101,108,100,115, 32,112,114,101,115,
+ 101,110,116, 32,105,110, 32, 97, 32,100,101, 99,108, 97,114,
+ 97,116,105,111,110, 46, 10, 99,108, 97,115,115, 65,114,114,
+ 97,121, 32, 61, 32,123, 10,125, 10, 99,108, 97,115,115, 65,
+ 114,114, 97,121, 46, 95, 95,105,110,100,101,120, 32, 61, 32,
+ 99,108, 97,115,115, 65,114,114, 97,121, 10,115,101,116,109,
+ 101,116, 97,116, 97, 98,108,101, 40, 99,108, 97,115,115, 65,
+ 114,114, 97,121, 44, 99,108, 97,115,115, 68,101, 99,108, 97,
+ 114, 97,116,105,111,110, 41, 10, 10, 45, 45, 32, 80,114,105,
+ 110,116, 32,109,101,116,104,111,100, 10,102,117,110, 99,116,
+ 105,111,110, 32, 99,108, 97,115,115, 65,114,114, 97,121, 58,
+ 112,114,105,110,116, 32, 40,105,100,101,110,116, 44, 99,108,
+ 111,115,101, 41, 10, 32,112,114,105,110,116, 40,105,100,101,
+ 110,116, 46, 46, 34, 65,114,114, 97,121,123, 34, 41, 10, 32,
+ 112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34, 32,
+ 109,111,100, 32, 32, 61, 32, 39, 34, 46, 46,115,101,108,102,
+ 46,109,111,100, 46, 46, 34, 39, 44, 34, 41, 10, 32,112,114,
+ 105,110,116, 40,105,100,101,110,116, 46, 46, 34, 32,116,121,
+ 112,101, 32, 61, 32, 39, 34, 46, 46,115,101,108,102, 46,116,
+ 121,112,101, 46, 46, 34, 39, 44, 34, 41, 10, 32,112,114,105,
+ 110,116, 40,105,100,101,110,116, 46, 46, 34, 32,112,116,114,
+ 32, 32, 61, 32, 39, 34, 46, 46,115,101,108,102, 46,112,116,
+ 114, 46, 46, 34, 39, 44, 34, 41, 10, 32,112,114,105,110,116,
+ 40,105,100,101,110,116, 46, 46, 34, 32,110, 97,109,101, 32,
+ 61, 32, 39, 34, 46, 46,115,101,108,102, 46,110, 97,109,101,
+ 46, 46, 34, 39, 44, 34, 41, 10, 32,112,114,105,110,116, 40,
+ 105,100,101,110,116, 46, 46, 34, 32,100,101,102, 32, 32, 61,
+ 32, 39, 34, 46, 46,115,101,108,102, 46,100,101,102, 46, 46,
+ 34, 39, 44, 34, 41, 10, 32,112,114,105,110,116, 40,105,100,
+ 101,110,116, 46, 46, 34, 32,100,105,109, 32, 32, 61, 32, 39,
+ 34, 46, 46,115,101,108,102, 46,100,105,109, 46, 46, 34, 39,
+ 44, 34, 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,
+ 116, 46, 46, 34, 32,114,101,116, 32, 32, 61, 32, 39, 34, 46,
+ 46,115,101,108,102, 46,114,101,116, 46, 46, 34, 39, 44, 34,
+ 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46,
+ 46, 34,125, 34, 46, 46, 99,108,111,115,101, 41, 10,101,110,
+ 100, 10, 10, 45, 45, 32, 99,104,101, 99,107, 32,105,102, 32,
+ 105,116, 32,105,115, 32, 97, 32,118, 97,114,105, 97, 98,108,
+ 101, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,115,
+ 115, 65,114,114, 97,121, 58,105,115,118, 97,114,105, 97, 98,
+ 108,101, 32, 40, 41, 10, 32,114,101,116,117,114,110, 32,116,
+ 114,117,101, 10,101,110,100, 10, 10, 10, 45, 45, 32,103,101,
+ 116, 32,118, 97,114,105, 97, 98,108,101, 32,118, 97,108,117,
+ 101, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,115,
+ 115, 65,114,114, 97,121, 58,103,101,116,118, 97,108,117,101,
+ 32, 40, 99,108, 97,115,115, 44,115,116, 97,116,105, 99, 41,
+ 10, 32,105,102, 32, 99,108, 97,115,115, 32, 97,110,100, 32,
+ 115,116, 97,116,105, 99, 32,116,104,101,110, 10, 32, 32,114,
+ 101,116,117,114,110, 32, 99,108, 97,115,115, 46, 46, 39, 58,
+ 58, 39, 46, 46,115,101,108,102, 46,110, 97,109,101, 46, 46,
+ 39, 91,116,111,108,117, 97, 95,105,110,100,101,120, 93, 39,
+ 10, 32,101,108,115,101,105,102, 32, 99,108, 97,115,115, 32,
+ 116,104,101,110, 10, 32, 32,114,101,116,117,114,110, 32, 39,
+ 115,101,108,102, 45, 62, 39, 46, 46,115,101,108,102, 46,110,
+ 97,109,101, 46, 46, 39, 91,116,111,108,117, 97, 95,105,110,
+ 100,101,120, 93, 39, 10, 32,101,108,115,101, 10, 32, 32,114,
+ 101,116,117,114,110, 32,115,101,108,102, 46,110, 97,109,101,
+ 46, 46, 39, 91,116,111,108,117, 97, 95,105,110,100,101,120,
+ 93, 39, 10, 32,101,110,100, 10,101,110,100, 10, 10, 45, 45,
+ 32, 87,114,105,116,101, 32, 98,105,110,100,105,110,103, 32,
+ 102,117,110, 99,116,105,111,110,115, 10,102,117,110, 99,116,
+ 105,111,110, 32, 99,108, 97,115,115, 65,114,114, 97,121, 58,
+ 115,117,112, 99,111,100,101, 32, 40, 41, 10, 32,108,111, 99,
+ 97,108, 32, 99,108, 97,115,115, 32, 61, 32,115,101,108,102,
+ 58,105,110, 99,108, 97,115,115, 40, 41, 10, 10, 32, 45, 45,
+ 32,103,101,116, 32,102,117,110, 99,116,105,111,110, 32, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 10, 32,105,102, 32, 99,108, 97,115,115, 32,116,104,
+ 101,110, 10, 32, 32,111,117,116,112,117,116, 40, 34, 47, 42,
+ 32,103,101,116, 32,102,117,110, 99,116,105,111,110, 58, 34,
+ 44,115,101,108,102, 46,110, 97,109,101, 44, 34, 32,111,102,
+ 32, 99,108, 97,115,115, 32, 34, 44, 99,108, 97,115,115, 44,
+ 34, 32, 42, 47, 34, 41, 10, 32,101,108,115,101, 10, 32, 32,
+ 111,117,116,112,117,116, 40, 34, 47, 42, 32,103,101,116, 32,
+ 102,117,110, 99,116,105,111,110, 58, 34, 44,115,101,108,102,
+ 46,110, 97,109,101, 44, 34, 32, 42, 47, 34, 41, 10, 32,101,
+ 110,100, 10, 32,115,101,108,102, 46, 99,103,101,116,110, 97,
+ 109,101, 32, 61, 32,115,101,108,102, 58, 99,102,117,110, 99,
+ 110, 97,109,101, 40, 34,116,111,108,117, 97, 95,103,101,116,
+ 34, 41, 10, 32,111,117,116,112,117,116, 40, 34, 35,105,102,
+ 110,100,101,102, 32, 84, 79, 76, 85, 65, 95, 68, 73, 83, 65,
+ 66, 76, 69, 95, 34, 46, 46,115,101,108,102, 46, 99,103,101,
+ 116,110, 97,109,101, 41, 10, 32,111,117,116,112,117,116, 40,
+ 34, 92,110,115,116, 97,116,105, 99, 32,105,110,116, 34, 44,
+ 115,101,108,102, 46, 99,103,101,116,110, 97,109,101, 44, 34,
+ 40,108,117, 97, 95, 83,116, 97,116,101, 42, 32,116,111,108,
+ 117, 97, 95, 83, 41, 34, 41, 10, 32,111,117,116,112,117,116,
+ 40, 34,123, 34, 41, 10, 32,111,117,116,112,117,116, 40, 34,
+ 32,105,110,116, 32,116,111,108,117, 97, 95,105,110,100,101,
+ 120, 59, 34, 41, 10, 10, 32, 45, 45, 32,100,101, 99,108, 97,
+ 114,101, 32,115,101,108,102, 44, 32,105,102, 32,116,104,101,
+ 32, 99, 97,115,101, 10, 32,108,111, 99, 97,108, 32, 95, 44,
+ 95, 44,115,116, 97,116,105, 99, 32, 61, 32,115,116,114,102,
+ 105,110,100, 40,115,101,108,102, 46,109,111,100, 44, 39, 94,
+ 37,115, 42, 40,115,116, 97,116,105, 99, 41, 39, 41, 10, 32,
+ 105,102, 32, 99,108, 97,115,115, 32, 97,110,100, 32,115,116,
+ 97,116,105, 99, 61, 61,110,105,108, 32,116,104,101,110, 10,
+ 32, 32,111,117,116,112,117,116, 40, 39, 32, 39, 44,115,101,
+ 108,102, 46,112, 97,114,101,110,116, 46,116,121,112,101, 44,
+ 39, 42, 39, 44, 39,115,101,108,102, 59, 39, 41, 10, 32, 32,
+ 111,117,116,112,117,116, 40, 39, 32,108,117, 97, 95,112,117,
+ 115,104,115,116,114,105,110,103, 40,116,111,108,117, 97, 95,
+ 83, 44, 34, 46,115,101,108,102, 34, 41, 59, 39, 41, 10, 32,
+ 32,111,117,116,112,117,116, 40, 39, 32,108,117, 97, 95,114,
+ 97,119,103,101,116, 40,116,111,108,117, 97, 95, 83, 44, 49,
+ 41, 59, 39, 41, 10, 32, 32,111,117,116,112,117,116, 40, 39,
+ 32,115,101,108,102, 32, 61, 32, 39, 41, 10, 32, 32,111,117,
+ 116,112,117,116, 40, 39, 40, 39, 44,115,101,108,102, 46,112,
+ 97,114,101,110,116, 46,116,121,112,101, 44, 39, 42, 41, 32,
+ 39, 41, 10, 32, 32,111,117,116,112,117,116, 40, 39,108,117,
+ 97, 95,116,111,117,115,101,114,100, 97,116, 97, 40,116,111,
+ 108,117, 97, 95, 83, 44, 45, 49, 41, 59, 39, 41, 10, 32,101,
+ 108,115,101,105,102, 32,115,116, 97,116,105, 99, 32,116,104,
+ 101,110, 10, 32, 32, 95, 44, 95, 44,115,101,108,102, 46,109,
+ 111,100, 32, 61, 32,115,116,114,102,105,110,100, 40,115,101,
+ 108,102, 46,109,111,100, 44, 39, 94, 37,115, 42,115,116, 97,
+ 116,105, 99, 37,115, 37,115, 42, 40, 46, 42, 41, 39, 41, 10,
+ 32,101,110,100, 10, 10, 32, 45, 45, 32, 99,104,101, 99,107,
+ 32,105,110,100,101,120, 10, 9,111,117,116,112,117,116, 40,
+ 39, 35,105,102,110,100,101,102, 32, 84, 79, 76, 85, 65, 95,
+ 82, 69, 76, 69, 65, 83, 69, 92,110, 39, 41, 10, 9,111,117,
+ 116,112,117,116, 40, 39, 32,123, 39, 41, 10, 9,111,117,116,
+ 112,117,116, 40, 39, 32, 32,116,111,108,117, 97, 95, 69,114,
+ 114,111,114, 32,116,111,108,117, 97, 95,101,114,114, 59, 39,
+ 41, 10, 32,111,117,116,112,117,116, 40, 39, 32, 32,105,102,
+ 32, 40, 33,116,111,108,117, 97, 95,105,115,110,117,109, 98,
+ 101,114, 40,116,111,108,117, 97, 95, 83, 44, 50, 44, 48, 44,
+ 38,116,111,108,117, 97, 95,101,114,114, 41, 41, 39, 41, 10,
+ 32,111,117,116,112,117,116, 40, 39, 32, 32, 32,116,111,108,
+ 117, 97, 95,101,114,114,111,114, 40,116,111,108,117, 97, 95,
+ 83, 44, 34, 35,118,105,110,118, 97,108,105,100, 32,116,121,
+ 112,101, 32,105,110, 32, 97,114,114, 97,121, 32,105,110,100,
+ 101,120,105,110,103, 46, 34, 44, 38,116,111,108,117, 97, 95,
+ 101,114,114, 41, 59, 39, 41, 10, 9,111,117,116,112,117,116,
+ 40, 39, 32,125, 39, 41, 10, 9,111,117,116,112,117,116, 40,
+ 39, 35,101,110,100,105,102, 92,110, 39, 41, 10, 9,105,102,
+ 32,102,108, 97,103,115, 91, 39, 49, 39, 93, 32,116,104,101,
+ 110, 32, 45, 45, 32,102,111,114, 32, 99,111,109,112, 97,116,
+ 105, 98,105,108,105,116,121, 32,119,105,116,104, 32,116,111,
+ 108,117, 97, 53, 32, 63, 10, 9, 9,111,117,116,112,117,116,
+ 40, 39, 32,116,111,108,117, 97, 95,105,110,100,101,120, 32,
+ 61, 32, 40,105,110,116, 41,116,111,108,117, 97, 95,116,111,
+ 110,117,109, 98,101,114, 40,116,111,108,117, 97, 95, 83, 44,
+ 50, 44, 48, 41, 45, 49, 59, 39, 41, 10, 9,101,108,115,101,
+ 10, 9, 9,111,117,116,112,117,116, 40, 39, 32,116,111,108,
+ 117, 97, 95,105,110,100,101,120, 32, 61, 32, 40,105,110,116,
+ 41,116,111,108,117, 97, 95,116,111,110,117,109, 98,101,114,
+ 40,116,111,108,117, 97, 95, 83, 44, 50, 44, 48, 41, 59, 39,
+ 41, 10, 9,101,110,100, 10, 9,111,117,116,112,117,116, 40,
+ 39, 35,105,102,110,100,101,102, 32, 84, 79, 76, 85, 65, 95,
+ 82, 69, 76, 69, 65, 83, 69, 92,110, 39, 41, 10, 9,105,102,
+ 32,115,101,108,102, 46,100,105,109, 32, 97,110,100, 32,115,
+ 101,108,102, 46,100,105,109, 32,126, 61, 32, 39, 39, 32,116,
+ 104,101,110, 10, 9, 32, 32,111,117,116,112,117,116, 40, 39,
+ 32,105,102, 32, 40,116,111,108,117, 97, 95,105,110,100,101,
+ 120, 60, 48, 32,124,124, 32,116,111,108,117, 97, 95,105,110,
+ 100,101,120, 62, 61, 39, 46, 46,115,101,108,102, 46,100,105,
+ 109, 46, 46, 39, 41, 39, 41, 10, 9,101,108,115,101, 10, 9,
+ 32, 32,111,117,116,112,117,116, 40, 39, 32,105,102, 32, 40,
+ 116,111,108,117, 97, 95,105,110,100,101,120, 60, 48, 41, 39,
+ 41, 10, 9,101,110,100, 10, 32,111,117,116,112,117,116, 40,
+ 39, 32, 32,116,111,108,117, 97, 95,101,114,114,111,114, 40,
+ 116,111,108,117, 97, 95, 83, 44, 34, 97,114,114, 97,121, 32,
+ 105,110,100,101,120,105,110,103, 32,111,117,116, 32,111,102,
+ 32,114, 97,110,103,101, 46, 34, 44, 78, 85, 76, 76, 41, 59,
+ 39, 41, 10, 9,111,117,116,112,117,116, 40, 39, 35,101,110,
+ 100,105,102, 92,110, 39, 41, 10, 10, 32, 45, 45, 32,114,101,
+ 116,117,114,110, 32,118, 97,108,117,101, 10, 32,108,111, 99,
+ 97,108, 32,116, 44, 99,116, 32, 61, 32,105,115, 98, 97,115,
+ 105, 99, 40,115,101,108,102, 46,116,121,112,101, 41, 10, 32,
+ 108,111, 99, 97,108, 32,112,117,115,104, 95,102,117,110, 99,
+ 32, 61, 32,103,101,116, 95,112,117,115,104, 95,102,117,110,
+ 99,116,105,111,110, 40,116, 41, 10, 32,105,102, 32,116, 32,
+ 116,104,101,110, 10, 32, 32,111,117,116,112,117,116, 40, 39,
+ 32,116,111,108,117, 97, 95,112,117,115,104, 39, 46, 46,116,
+ 46, 46, 39, 40,116,111,108,117, 97, 95, 83, 44, 40, 39, 44,
+ 99,116, 44, 39, 41, 39, 46, 46,115,101,108,102, 58,103,101,
+ 116,118, 97,108,117,101, 40, 99,108, 97,115,115, 44,115,116,
+ 97,116,105, 99, 41, 46, 46, 39, 41, 59, 39, 41, 10, 32,101,
+ 108,115,101, 10, 9, 9,116, 32, 61, 32,115,101,108,102, 46,
+ 116,121,112,101, 10, 32, 32,105,102, 32,115,101,108,102, 46,
+ 112,116,114, 32, 61, 61, 32, 39, 38, 39, 32,111,114, 32,115,
+ 101,108,102, 46,112,116,114, 32, 61, 61, 32, 39, 39, 32,116,
+ 104,101,110, 10, 32, 32, 32,111,117,116,112,117,116, 40, 39,
+ 32, 39, 44,112,117,115,104, 95,102,117,110, 99, 44, 39, 40,
+ 116,111,108,117, 97, 95, 83, 44, 40,118,111,105,100, 42, 41,
+ 38, 39, 46, 46,115,101,108,102, 58,103,101,116,118, 97,108,
+ 117,101, 40, 99,108, 97,115,115, 44,115,116, 97,116,105, 99,
+ 41, 46, 46, 39, 44, 34, 39, 44,116, 44, 39, 34, 41, 59, 39,
+ 41, 10, 32, 32,101,108,115,101, 10, 32, 32, 32,111,117,116,
+ 112,117,116, 40, 39, 32, 39, 44,112,117,115,104, 95,102,117,
+ 110, 99, 44, 39, 40,116,111,108,117, 97, 95, 83, 44, 40,118,
+ 111,105,100, 42, 41, 39, 46, 46,115,101,108,102, 58,103,101,
+ 116,118, 97,108,117,101, 40, 99,108, 97,115,115, 44,115,116,
+ 97,116,105, 99, 41, 46, 46, 39, 44, 34, 39, 44,116, 44, 39,
+ 34, 41, 59, 39, 41, 10, 32, 32,101,110,100, 10, 32,101,110,
+ 100, 10, 32,111,117,116,112,117,116, 40, 39, 32,114,101,116,
+ 117,114,110, 32, 49, 59, 39, 41, 10, 32,111,117,116,112,117,
+ 116, 40, 39,125, 39, 41, 10, 32,111,117,116,112,117,116, 40,
+ 39, 35,101,110,100,105,102, 32, 47, 47, 35,105,102,110,100,
+ 101,102, 32, 84, 79, 76, 85, 65, 95, 68, 73, 83, 65, 66, 76,
+ 69, 92,110, 39, 41, 10, 32,111,117,116,112,117,116, 40, 39,
+ 92,110, 39, 41, 10, 10, 32, 45, 45, 32,115,101,116, 32,102,
+ 117,110, 99,116,105,111,110, 32, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 10, 32,105,102,
+ 32,110,111,116, 32,115,116,114,102,105,110,100, 40,115,101,
+ 108,102, 46,116,121,112,101, 44, 39, 99,111,110,115,116, 39,
+ 41, 32,116,104,101,110, 10, 32, 32,105,102, 32, 99,108, 97,
+ 115,115, 32,116,104,101,110, 10, 32, 32, 32,111,117,116,112,
+ 117,116, 40, 34, 47, 42, 32,115,101,116, 32,102,117,110, 99,
+ 116,105,111,110, 58, 34, 44,115,101,108,102, 46,110, 97,109,
+ 101, 44, 34, 32,111,102, 32, 99,108, 97,115,115, 32, 34, 44,
+ 99,108, 97,115,115, 44, 34, 32, 42, 47, 34, 41, 10, 32, 32,
+ 101,108,115,101, 10, 32, 32, 32,111,117,116,112,117,116, 40,
+ 34, 47, 42, 32,115,101,116, 32,102,117,110, 99,116,105,111,
+ 110, 58, 34, 44,115,101,108,102, 46,110, 97,109,101, 44, 34,
+ 32, 42, 47, 34, 41, 10, 32, 32,101,110,100, 10, 32, 32,115,
+ 101,108,102, 46, 99,115,101,116,110, 97,109,101, 32, 61, 32,
+ 115,101,108,102, 58, 99,102,117,110, 99,110, 97,109,101, 40,
+ 34,116,111,108,117, 97, 95,115,101,116, 34, 41, 10, 32, 32,
+ 111,117,116,112,117,116, 40, 34, 35,105,102,110,100,101,102,
+ 32, 84, 79, 76, 85, 65, 95, 68, 73, 83, 65, 66, 76, 69, 95,
+ 34, 46, 46,115,101,108,102, 46, 99,115,101,116,110, 97,109,
+ 101, 41, 10, 32, 32,111,117,116,112,117,116, 40, 34, 92,110,
+ 115,116, 97,116,105, 99, 32,105,110,116, 34, 44,115,101,108,
+ 102, 46, 99,115,101,116,110, 97,109,101, 44, 34, 40,108,117,
+ 97, 95, 83,116, 97,116,101, 42, 32,116,111,108,117, 97, 95,
+ 83, 41, 34, 41, 10, 32, 32,111,117,116,112,117,116, 40, 34,
+ 123, 34, 41, 10, 10, 32, 32, 45, 45, 32,100,101, 99,108, 97,
+ 114,101, 32,105,110,100,101,120, 10, 32, 32,111,117,116,112,
+ 117,116, 40, 39, 32,105,110,116, 32,116,111,108,117, 97, 95,
+ 105,110,100,101,120, 59, 39, 41, 10, 10, 32, 32, 45, 45, 32,
+ 100,101, 99,108, 97,114,101, 32,115,101,108,102, 44, 32,105,
+ 102, 32,116,104,101, 32, 99, 97,115,101, 10, 32, 32,108,111,
+ 99, 97,108, 32, 95, 44, 95, 44,115,116, 97,116,105, 99, 32,
+ 61, 32,115,116,114,102,105,110,100, 40,115,101,108,102, 46,
+ 109,111,100, 44, 39, 94, 37,115, 42, 40,115,116, 97,116,105,
+ 99, 41, 39, 41, 10, 32, 32,105,102, 32, 99,108, 97,115,115,
+ 32, 97,110,100, 32,115,116, 97,116,105, 99, 61, 61,110,105,
+ 108, 32,116,104,101,110, 10, 32, 32, 32,111,117,116,112,117,
+ 116, 40, 39, 32, 39, 44,115,101,108,102, 46,112, 97,114,101,
+ 110,116, 46,116,121,112,101, 44, 39, 42, 39, 44, 39,115,101,
+ 108,102, 59, 39, 41, 10, 32, 32, 32,111,117,116,112,117,116,
+ 40, 39, 32,108,117, 97, 95,112,117,115,104,115,116,114,105,
+ 110,103, 40,116,111,108,117, 97, 95, 83, 44, 34, 46,115,101,
+ 108,102, 34, 41, 59, 39, 41, 10, 32, 32, 32,111,117,116,112,
+ 117,116, 40, 39, 32,108,117, 97, 95,114, 97,119,103,101,116,
+ 40,116,111,108,117, 97, 95, 83, 44, 49, 41, 59, 39, 41, 10,
+ 32, 32, 32,111,117,116,112,117,116, 40, 39, 32,115,101,108,
+ 102, 32, 61, 32, 39, 41, 10, 32, 32, 32,111,117,116,112,117,
+ 116, 40, 39, 40, 39, 44,115,101,108,102, 46,112, 97,114,101,
+ 110,116, 46,116,121,112,101, 44, 39, 42, 41, 32, 39, 41, 10,
+ 32, 32, 32,111,117,116,112,117,116, 40, 39,108,117, 97, 95,
+ 116,111,117,115,101,114,100, 97,116, 97, 40,116,111,108,117,
+ 97, 95, 83, 44, 45, 49, 41, 59, 39, 41, 10, 32, 32,101,108,
+ 115,101,105,102, 32,115,116, 97,116,105, 99, 32,116,104,101,
+ 110, 10, 32, 32, 32, 95, 44, 95, 44,115,101,108,102, 46,109,
+ 111,100, 32, 61, 32,115,116,114,102,105,110,100, 40,115,101,
+ 108,102, 46,109,111,100, 44, 39, 94, 37,115, 42,115,116, 97,
+ 116,105, 99, 37,115, 37,115, 42, 40, 46, 42, 41, 39, 41, 10,
+ 32, 32,101,110,100, 10, 10, 32, 32, 45, 45, 32, 99,104,101,
+ 99,107, 32,105,110,100,101,120, 10, 9, 32,111,117,116,112,
+ 117,116, 40, 39, 35,105,102,110,100,101,102, 32, 84, 79, 76,
+ 85, 65, 95, 82, 69, 76, 69, 65, 83, 69, 92,110, 39, 41, 10,
+ 9, 32,111,117,116,112,117,116, 40, 39, 32,123, 39, 41, 10,
+ 9, 32,111,117,116,112,117,116, 40, 39, 32, 32,116,111,108,
+ 117, 97, 95, 69,114,114,111,114, 32,116,111,108,117, 97, 95,
+ 101,114,114, 59, 39, 41, 10, 32, 32,111,117,116,112,117,116,
+ 40, 39, 32, 32,105,102, 32, 40, 33,116,111,108,117, 97, 95,
+ 105,115,110,117,109, 98,101,114, 40,116,111,108,117, 97, 95,
+ 83, 44, 50, 44, 48, 44, 38,116,111,108,117, 97, 95,101,114,
+ 114, 41, 41, 39, 41, 10, 32, 32,111,117,116,112,117,116, 40,
+ 39, 32, 32, 32,116,111,108,117, 97, 95,101,114,114,111,114,
+ 40,116,111,108,117, 97, 95, 83, 44, 34, 35,118,105,110,118,
+ 97,108,105,100, 32,116,121,112,101, 32,105,110, 32, 97,114,
+ 114, 97,121, 32,105,110,100,101,120,105,110,103, 46, 34, 44,
+ 38,116,111,108,117, 97, 95,101,114,114, 41, 59, 39, 41, 10,
+ 9, 9,111,117,116,112,117,116, 40, 39, 32,125, 39, 41, 10,
+ 9, 9,111,117,116,112,117,116, 40, 39, 35,101,110,100,105,
+ 102, 92,110, 39, 41, 10, 10, 9,105,102, 32,102,108, 97,103,
+ 115, 91, 39, 49, 39, 93, 32,116,104,101,110, 32, 45, 45, 32,
+ 102,111,114, 32, 99,111,109,112, 97,116,105, 98,105,108,105,
+ 116,121, 32,119,105,116,104, 32,116,111,108,117, 97, 53, 32,
+ 63, 10, 9, 9,111,117,116,112,117,116, 40, 39, 32,116,111,
+ 108,117, 97, 95,105,110,100,101,120, 32, 61, 32, 40,105,110,
+ 116, 41,116,111,108,117, 97, 95,116,111,110,117,109, 98,101,
+ 114, 40,116,111,108,117, 97, 95, 83, 44, 50, 44, 48, 41, 45,
+ 49, 59, 39, 41, 10, 9,101,108,115,101, 10, 9, 9,111,117,
+ 116,112,117,116, 40, 39, 32,116,111,108,117, 97, 95,105,110,
+ 100,101,120, 32, 61, 32, 40,105,110,116, 41,116,111,108,117,
+ 97, 95,116,111,110,117,109, 98,101,114, 40,116,111,108,117,
+ 97, 95, 83, 44, 50, 44, 48, 41, 59, 39, 41, 10, 9,101,110,
+ 100, 10, 10, 9, 32,111,117,116,112,117,116, 40, 39, 35,105,
+ 102,110,100,101,102, 32, 84, 79, 76, 85, 65, 95, 82, 69, 76,
+ 69, 65, 83, 69, 92,110, 39, 41, 10, 9,105,102, 32,115,101,
+ 108,102, 46,100,105,109, 32, 97,110,100, 32,115,101,108,102,
+ 46,100,105,109, 32,126, 61, 32, 39, 39, 32,116,104,101,110,
+ 10, 9, 32, 32,111,117,116,112,117,116, 40, 39, 32,105,102,
+ 32, 40,116,111,108,117, 97, 95,105,110,100,101,120, 60, 48,
+ 32,124,124, 32,116,111,108,117, 97, 95,105,110,100,101,120,
+ 62, 61, 39, 46, 46,115,101,108,102, 46,100,105,109, 46, 46,
+ 39, 41, 39, 41, 10, 9,101,108,115,101, 10, 9, 32, 32,111,
+ 117,116,112,117,116, 40, 39, 32,105,102, 32, 40,116,111,108,
+ 117, 97, 95,105,110,100,101,120, 60, 48, 41, 39, 41, 10, 9,
+ 101,110,100, 10, 32, 32,111,117,116,112,117,116, 40, 39, 32,
+ 32,116,111,108,117, 97, 95,101,114,114,111,114, 40,116,111,
+ 108,117, 97, 95, 83, 44, 34, 97,114,114, 97,121, 32,105,110,
+ 100,101,120,105,110,103, 32,111,117,116, 32,111,102, 32,114,
+ 97,110,103,101, 46, 34, 44, 78, 85, 76, 76, 41, 59, 39, 41,
+ 10, 9, 9,111,117,116,112,117,116, 40, 39, 35,101,110,100,
+ 105,102, 92,110, 39, 41, 10, 10, 32, 32, 45, 45, 32, 97,115,
+ 115,105,103,110, 32,118, 97,108,117,101, 10, 32, 32,108,111,
+ 99, 97,108, 32,112,116,114, 32, 61, 32, 39, 39, 10, 32, 32,
+ 105,102, 32,115,101,108,102, 46,112,116,114,126, 61, 39, 39,
+ 32,116,104,101,110, 32,112,116,114, 32, 61, 32, 39, 42, 39,
+ 32,101,110,100, 10, 32, 32,111,117,116,112,117,116, 40, 39,
+ 32, 39, 41, 10, 32, 32,105,102, 32, 99,108, 97,115,115, 32,
+ 97,110,100, 32,115,116, 97,116,105, 99, 32,116,104,101,110,
+ 10, 32, 32, 32,111,117,116,112,117,116, 40, 99,108, 97,115,
+ 115, 46, 46, 39, 58, 58, 39, 46, 46,115,101,108,102, 46,110,
+ 97,109,101, 46, 46, 39, 91,116,111,108,117, 97, 95,105,110,
+ 100,101,120, 93, 39, 41, 10, 32, 32,101,108,115,101,105,102,
+ 32, 99,108, 97,115,115, 32,116,104,101,110, 10, 32, 32, 32,
+ 111,117,116,112,117,116, 40, 39,115,101,108,102, 45, 62, 39,
+ 46, 46,115,101,108,102, 46,110, 97,109,101, 46, 46, 39, 91,
+ 116,111,108,117, 97, 95,105,110,100,101,120, 93, 39, 41, 10,
+ 32, 32,101,108,115,101, 10, 32, 32, 32,111,117,116,112,117,
+ 116, 40,115,101,108,102, 46,110, 97,109,101, 46, 46, 39, 91,
+ 116,111,108,117, 97, 95,105,110,100,101,120, 93, 39, 41, 10,
+ 32, 32,101,110,100, 10, 32, 32,108,111, 99, 97,108, 32,116,
+ 32, 61, 32,105,115, 98, 97,115,105, 99, 40,115,101,108,102,
+ 46,116,121,112,101, 41, 10, 32, 32,111,117,116,112,117,116,
+ 40, 39, 32, 61, 32, 39, 41, 10, 32, 32,105,102, 32,110,111,
+ 116, 32,116, 32, 97,110,100, 32,112,116,114, 61, 61, 39, 39,
+ 32,116,104,101,110, 32,111,117,116,112,117,116, 40, 39, 42,
+ 39, 41, 32,101,110,100, 10, 32, 32,111,117,116,112,117,116,
+ 40, 39, 40, 40, 39, 44,115,101,108,102, 46,109,111,100, 44,
+ 115,101,108,102, 46,116,121,112,101, 41, 10, 32, 32,105,102,
+ 32,110,111,116, 32,116, 32,116,104,101,110, 10, 32, 32, 32,
+ 111,117,116,112,117,116, 40, 39, 42, 39, 41, 10, 32, 32,101,
+ 110,100, 10, 32, 32,111,117,116,112,117,116, 40, 39, 41, 32,
+ 39, 41, 10, 32, 32,108,111, 99, 97,108, 32,100,101,102, 32,
+ 61, 32, 48, 10, 32, 32,105,102, 32,115,101,108,102, 46,100,
+ 101,102, 32,126, 61, 32, 39, 39, 32,116,104,101,110, 32,100,
+ 101,102, 32, 61, 32,115,101,108,102, 46,100,101,102, 32,101,
+ 110,100, 10, 32, 32,105,102, 32,116, 32,116,104,101,110, 10,
+ 32, 32, 32,111,117,116,112,117,116, 40, 39,116,111,108,117,
+ 97, 95,116,111, 39, 46, 46,116, 44, 39, 40,116,111,108,117,
+ 97, 95, 83, 44, 51, 44, 39, 44,100,101,102, 44, 39, 41, 41,
+ 59, 39, 41, 10, 32, 32,101,108,115,101, 10, 32, 32, 32,108,
+ 111, 99, 97,108, 32,116,111, 95,102,117,110, 99, 32, 61, 32,
+ 103,101,116, 95,116,111, 95,102,117,110, 99,116,105,111,110,
+ 40,115,101,108,102, 46,116,121,112,101, 41, 10, 32, 32, 32,
+ 111,117,116,112,117,116, 40,116,111, 95,102,117,110, 99, 44,
+ 39, 40,116,111,108,117, 97, 95, 83, 44, 51, 44, 39, 44,100,
+ 101,102, 44, 39, 41, 41, 59, 39, 41, 10, 32, 32,101,110,100,
+ 10, 32, 32,111,117,116,112,117,116, 40, 39, 32,114,101,116,
+ 117,114,110, 32, 48, 59, 39, 41, 10, 32, 32,111,117,116,112,
+ 117,116, 40, 39,125, 39, 41, 10, 32, 32,111,117,116,112,117,
+ 116, 40, 39, 35,101,110,100,105,102, 32, 47, 47, 35,105,102,
+ 110,100,101,102, 32, 84, 79, 76, 85, 65, 95, 68, 73, 83, 65,
+ 66, 76, 69, 92,110, 39, 41, 10, 32, 32,111,117,116,112,117,
+ 116, 40, 39, 92,110, 39, 41, 10, 32,101,110,100, 10, 10,101,
+ 110,100, 10, 10,102,117,110, 99,116,105,111,110, 32, 99,108,
+ 97,115,115, 65,114,114, 97,121, 58,114,101,103,105,115,116,
+ 101,114, 32, 40,112,114,101, 41, 10, 9,105,102, 32,110,111,
+ 116, 32,115,101,108,102, 58, 99,104,101, 99,107, 95,112,117,
+ 98,108,105, 99, 95, 97, 99, 99,101,115,115, 40, 41, 32,116,
+ 104,101,110, 10, 9, 9,114,101,116,117,114,110, 10, 9,101,
+ 110,100, 10, 10, 32,112,114,101, 32, 61, 32,112,114,101, 32,
+ 111,114, 32, 39, 39, 10, 32,105,102, 32,115,101,108,102, 46,
+ 99,115,101,116,110, 97,109,101, 32,116,104,101,110, 10, 32,
+ 32,111,117,116,112,117,116, 40,112,114,101, 46, 46, 39,116,
+ 111,108,117, 97, 95, 97,114,114, 97,121, 40,116,111,108,117,
+ 97, 95, 83, 44, 34, 39, 46, 46,115,101,108,102, 46,108,110,
+ 97,109,101, 46, 46, 39, 34, 44, 39, 46, 46,115,101,108,102,
+ 46, 99,103,101,116,110, 97,109,101, 46, 46, 39, 44, 39, 46,
+ 46,115,101,108,102, 46, 99,115,101,116,110, 97,109,101, 46,
+ 46, 39, 41, 59, 39, 41, 10, 32,101,108,115,101, 10, 32, 32,
+ 111,117,116,112,117,116, 40,112,114,101, 46, 46, 39,116,111,
+ 108,117, 97, 95, 97,114,114, 97,121, 40,116,111,108,117, 97,
+ 95, 83, 44, 34, 39, 46, 46,115,101,108,102, 46,108,110, 97,
+ 109,101, 46, 46, 39, 34, 44, 39, 46, 46,115,101,108,102, 46,
+ 99,103,101,116,110, 97,109,101, 46, 46, 39, 44, 78, 85, 76,
+ 76, 41, 59, 39, 41, 10, 32,101,110,100, 10,101,110,100, 10,
+ 10, 45, 45, 32, 73,110,116,101,114,110, 97,108, 32, 99,111,
+ 110,115,116,114,117, 99,116,111,114, 10,102,117,110, 99,116,
+ 105,111,110, 32, 95, 65,114,114, 97,121, 32, 40,116, 41, 10,
+ 32,115,101,116,109,101,116, 97,116, 97, 98,108,101, 40,116,
+ 44, 99,108, 97,115,115, 65,114,114, 97,121, 41, 10, 32, 97,
+ 112,112,101,110,100, 40,116, 41, 10, 32,114,101,116,117,114,
+ 110, 32,116, 10,101,110,100, 10, 10, 45, 45, 32, 67,111,110,
+ 115,116,114,117, 99,116,111,114, 10, 45, 45, 32, 69,120,112,
+ 101, 99,116,115, 32, 97, 32,115,116,114,105,110,103, 32,114,
+ 101,112,114,101,115,101,110,116,105,110,103, 32,116,104,101,
+ 32,118, 97,114,105, 97, 98,108,101, 32,100,101, 99,108, 97,
+ 114, 97,116,105,111,110, 46, 10,102,117,110, 99,116,105,111,
+ 110, 32, 65,114,114, 97,121, 32, 40,115, 41, 10, 32,114,101,
+ 116,117,114,110, 32, 95, 65,114,114, 97,121, 32, 40, 68,101,
+ 99,108, 97,114, 97,116,105,111,110, 40,115, 44, 39,118, 97,
+ 114, 39, 41, 41, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/array.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32,102,117,110, 99,116,
+ 105,111,110, 32, 99,108, 97,115,115, 10, 45, 45, 32, 87,114,
+ 105,116,116,101,110, 32, 98,121, 32, 87, 97,108,100,101,109,
+ 97,114, 32, 67,101,108,101,115, 10, 45, 45, 32, 84,101, 67,
+ 71,114, 97,102, 47, 80, 85, 67, 45, 82,105,111, 10, 45, 45,
+ 32, 74,117,108, 32, 49, 57, 57, 56, 10, 45, 45, 32, 36, 73,
+ 100, 58, 32, 36, 10, 10, 45, 45, 32, 84,104,105,115, 32, 99,
+ 111,100,101, 32,105,115, 32,102,114,101,101, 32,115,111,102,
+ 116,119, 97,114,101, 59, 32,121,111,117, 32, 99, 97,110, 32,
+ 114,101,100,105,115,116,114,105, 98,117,116,101, 32,105,116,
+ 32, 97,110,100, 47,111,114, 32,109,111,100,105,102,121, 32,
+ 105,116, 46, 10, 45, 45, 32, 84,104,101, 32,115,111,102,116,
+ 119, 97,114,101, 32,112,114,111,118,105,100,101,100, 32,104,
+ 101,114,101,117,110,100,101,114, 32,105,115, 32,111,110, 32,
+ 97,110, 32, 34, 97,115, 32,105,115, 34, 32, 98, 97,115,105,
+ 115, 44, 32, 97,110,100, 10, 45, 45, 32,116,104,101, 32, 97,
+ 117,116,104,111,114, 32,104, 97,115, 32,110,111, 32,111, 98,
+ 108,105,103, 97,116,105,111,110, 32,116,111, 32,112,114,111,
+ 118,105,100,101, 32,109, 97,105,110,116,101,110, 97,110, 99,
+ 101, 44, 32,115,117,112,112,111,114,116, 44, 32,117,112,100,
+ 97,116,101,115, 44, 10, 45, 45, 32,101,110,104, 97,110, 99,
+ 101,109,101,110,116,115, 44, 32,111,114, 32,109,111,100,105,
+ 102,105, 99, 97,116,105,111,110,115, 46, 10, 10, 10, 10, 45,
+ 45, 32, 70,117,110, 99,116,105,111,110, 32, 99,108, 97,115,
+ 115, 10, 45, 45, 32, 82,101,112,114,101,115,101,110,116,115,
+ 32, 97, 32,102,117,110, 99,116,105,111,110, 32,111,114, 32,
+ 97, 32, 99,108, 97,115,115, 32,109,101,116,104,111,100, 46,
+ 10, 45, 45, 32, 84,104,101, 32,102,111,108,108,111,119,105,
+ 110,103, 32,102,105,101,108,100,115, 32, 97,114,101, 32,115,
+ 116,111,114,101,100, 58, 10, 45, 45, 32, 32,109,111,100, 32,
+ 32, 61, 32,116,121,112,101, 32,109,111,100,105,102,105,101,
+ 114,115, 10, 45, 45, 32, 32,116,121,112,101, 32, 61, 32,116,
+ 121,112,101, 10, 45, 45, 32, 32,112,116,114, 32, 32, 61, 32,
+ 34, 42, 34, 32,111,114, 32, 34, 38, 34, 44, 32,105,102, 32,
+ 114,101,112,114,101,115,101,110,116,105,110,103, 32, 97, 32,
+ 112,111,105,110,116,101,114, 32,111,114, 32, 97, 32,114,101,
+ 102,101,114,101,110, 99,101, 10, 45, 45, 32, 32,110, 97,109,
+ 101, 32, 61, 32,110, 97,109,101, 10, 45, 45, 32, 32,108,110,
+ 97,109,101, 32, 61, 32,108,117, 97, 32,110, 97,109,101, 10,
+ 45, 45, 32, 32, 97,114,103,115, 32, 32, 61, 32,108,105,115,
+ 116, 32,111,102, 32, 97,114,103,117,109,101,110,116, 32,100,
+ 101, 99,108, 97,114, 97,116,105,111,110,115, 10, 45, 45, 32,
+ 32, 99,111,110,115,116, 32, 61, 32,105,102, 32,105,116, 32,
+ 105,115, 32, 97, 32,109,101,116,104,111,100, 32,114,101, 99,
+ 101,105,118,105,110,103, 32, 97, 32, 99,111,110,115,116, 32,
+ 34,116,104,105,115, 34, 46, 10, 99,108, 97,115,115, 70,117,
+ 110, 99,116,105,111,110, 32, 61, 32,123, 10, 32,109,111,100,
+ 32, 61, 32, 39, 39, 44, 10, 32,116,121,112,101, 32, 61, 32,
+ 39, 39, 44, 10, 32,112,116,114, 32, 61, 32, 39, 39, 44, 10,
+ 32,110, 97,109,101, 32, 61, 32, 39, 39, 44, 10, 32, 97,114,
+ 103,115, 32, 61, 32,123,110, 61, 48,125, 44, 10, 32, 99,111,
+ 110,115,116, 32, 61, 32, 39, 39, 44, 10,125, 10, 99,108, 97,
+ 115,115, 70,117,110, 99,116,105,111,110, 46, 95, 95,105,110,
+ 100,101,120, 32, 61, 32, 99,108, 97,115,115, 70,117,110, 99,
+ 116,105,111,110, 10,115,101,116,109,101,116, 97,116, 97, 98,
+ 108,101, 40, 99,108, 97,115,115, 70,117,110, 99,116,105,111,
+ 110, 44, 99,108, 97,115,115, 70,101, 97,116,117,114,101, 41,
+ 10, 10, 45, 45, 32,100,101, 99,108, 97,114,101, 32,116, 97,
+ 103,115, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,
+ 115,115, 70,117,110, 99,116,105,111,110, 58,100,101, 99,108,
+ 116,121,112,101, 32, 40, 41, 10, 32,115,101,108,102, 46,116,
+ 121,112,101, 32, 61, 32,116,121,112,101,118, 97,114, 40,115,
+ 101,108,102, 46,116,121,112,101, 41, 10, 32,105,102, 32,115,
+ 116,114,102,105,110,100, 40,115,101,108,102, 46,109,111,100,
+ 44, 39, 99,111,110,115,116, 39, 41, 32,116,104,101,110, 10,
+ 9, 32,115,101,108,102, 46,116,121,112,101, 32, 61, 32, 39,
+ 99,111,110,115,116, 32, 39, 46, 46,115,101,108,102, 46,116,
+ 121,112,101, 10, 9, 9,115,101,108,102, 46,109,111,100, 32,
+ 61, 32,103,115,117, 98, 40,115,101,108,102, 46,109,111,100,
+ 44, 39, 99,111,110,115,116, 39, 44, 39, 39, 41, 10, 9,101,
+ 110,100, 10, 32,108,111, 99, 97,108, 32,105, 61, 49, 10, 32,
+ 119,104,105,108,101, 32,115,101,108,102, 46, 97,114,103,115,
+ 91,105, 93, 32,100,111, 10, 32, 32,115,101,108,102, 46, 97,
+ 114,103,115, 91,105, 93, 58,100,101, 99,108,116,121,112,101,
+ 40, 41, 10, 32, 32,105, 32, 61, 32,105, 43, 49, 10, 32,101,
+ 110,100, 10,101,110,100, 10, 10, 10, 45, 45, 32, 87,114,105,
+ 116,101, 32, 98,105,110,100,105,110,103, 32,102,117,110, 99,
+ 116,105,111,110, 10, 45, 45, 32, 79,117,116,112,117,116,115,
+ 32, 67, 47, 67, 43, 43, 32, 98,105,110,100,105,110,103, 32,
+ 102,117,110, 99,116,105,111,110, 46, 10,102,117,110, 99,116,
+ 105,111,110, 32, 99,108, 97,115,115, 70,117,110, 99,116,105,
+ 111,110, 58,115,117,112, 99,111,100,101, 32, 40,108,111, 99,
+ 97,108, 95, 99,111,110,115,116,114,117, 99,116,111,114, 41,
+ 10, 10, 32,108,111, 99, 97,108, 32,111,118,101,114,108,111,
+ 97,100, 32, 61, 32,115,116,114,115,117, 98, 40,115,101,108,
+ 102, 46, 99,110, 97,109,101, 44, 45, 50, 44, 45, 49, 41, 32,
+ 45, 32, 49, 32, 32, 45, 45, 32,105,110,100,105, 99, 97,116,
+ 101, 32,111,118,101,114,108,111, 97,100,101,100, 32,102,117,
+ 110, 99, 10, 32,108,111, 99, 97,108, 32,110,114,101,116, 32,
+ 61, 32, 48, 32, 32, 32, 32, 32, 32, 45, 45, 32,110,117,109,
+ 98,101,114, 32,111,102, 32,114,101,116,117,114,110,101,100,
+ 32,118, 97,108,117,101,115, 10, 32,108,111, 99, 97,108, 32,
+ 99,108, 97,115,115, 32, 61, 32,115,101,108,102, 58,105,110,
+ 99,108, 97,115,115, 40, 41, 10, 32,108,111, 99, 97,108, 32,
+ 95, 44, 95, 44,115,116, 97,116,105, 99, 32, 61, 32,115,116,
+ 114,102,105,110,100, 40,115,101,108,102, 46,109,111,100, 44,
+ 39, 94, 37,115, 42, 40,115,116, 97,116,105, 99, 41, 39, 41,
+ 10, 32,105,102, 32, 99,108, 97,115,115, 32,116,104,101,110,
+ 10, 10, 32, 9,105,102, 32,115,101,108,102, 46,110, 97,109,
+ 101, 32, 61, 61, 32, 39,110,101,119, 39, 32, 97,110,100, 32,
+ 115,101,108,102, 46,112, 97,114,101,110,116, 46,102,108, 97,
+ 103,115, 46,112,117,114,101, 95,118,105,114,116,117, 97,108,
+ 32,116,104,101,110, 10, 32, 9, 9, 45, 45, 32,110,111, 32,
+ 99,111,110,115,116,114,117, 99,116,111,114, 32,102,111,114,
+ 32, 99,108, 97,115,115,101,115, 32,119,105,116,104, 32,112,
+ 117,114,101, 32,118,105,114,116,117, 97,108, 32,109,101,116,
+ 104,111,100,115, 10, 32, 9, 9,114,101,116,117,114,110, 10,
+ 32, 9,101,110,100, 10, 10, 32, 9,105,102, 32,108,111, 99,
+ 97,108, 95, 99,111,110,115,116,114,117, 99,116,111,114, 32,
+ 116,104,101,110, 10, 9, 9,111,117,116,112,117,116, 40, 34,
+ 47, 42, 32,109,101,116,104,111,100, 58, 32,110,101,119, 95,
+ 108,111, 99, 97,108, 32,111,102, 32, 99,108, 97,115,115, 32,
+ 34, 44, 99,108, 97,115,115, 44, 34, 32, 42, 47, 34, 41, 10,
+ 9,101,108,115,101, 10, 9, 9,111,117,116,112,117,116, 40,
+ 34, 47, 42, 32,109,101,116,104,111,100, 58, 34, 44,115,101,
+ 108,102, 46,110, 97,109,101, 44, 34, 32,111,102, 32, 99,108,
+ 97,115,115, 32, 34, 44, 99,108, 97,115,115, 44, 34, 32, 42,
+ 47, 34, 41, 10, 9,101,110,100, 10, 32,101,108,115,101, 10,
+ 32, 32,111,117,116,112,117,116, 40, 34, 47, 42, 32,102,117,
+ 110, 99,116,105,111,110, 58, 34, 44,115,101,108,102, 46,110,
+ 97,109,101, 44, 34, 32, 42, 47, 34, 41, 10, 32,101,110,100,
+ 10, 10, 32,105,102, 32,108,111, 99, 97,108, 95, 99,111,110,
+ 115,116,114,117, 99,116,111,114, 32,116,104,101,110, 10, 32,
+ 32,111,117,116,112,117,116, 40, 34, 35,105,102,110,100,101,
+ 102, 32, 84, 79, 76, 85, 65, 95, 68, 73, 83, 65, 66, 76, 69,
+ 95, 34, 46, 46,115,101,108,102, 46, 99,110, 97,109,101, 46,
+ 46, 34, 95,108,111, 99, 97,108, 34, 41, 10, 32, 32,111,117,
+ 116,112,117,116, 40, 34, 92,110,115,116, 97,116,105, 99, 32,
+ 105,110,116, 34, 44,115,101,108,102, 46, 99,110, 97,109,101,
+ 46, 46, 34, 95,108,111, 99, 97,108, 34, 44, 34, 40,108,117,
+ 97, 95, 83,116, 97,116,101, 42, 32,116,111,108,117, 97, 95,
+ 83, 41, 34, 41, 10, 32,101,108,115,101, 10, 32, 32,111,117,
+ 116,112,117,116, 40, 34, 35,105,102,110,100,101,102, 32, 84,
+ 79, 76, 85, 65, 95, 68, 73, 83, 65, 66, 76, 69, 95, 34, 46,
+ 46,115,101,108,102, 46, 99,110, 97,109,101, 41, 10, 32, 32,
+ 111,117,116,112,117,116, 40, 34, 92,110,115,116, 97,116,105,
+ 99, 32,105,110,116, 34, 44,115,101,108,102, 46, 99,110, 97,
+ 109,101, 44, 34, 40,108,117, 97, 95, 83,116, 97,116,101, 42,
+ 32,116,111,108,117, 97, 95, 83, 41, 34, 41, 10, 32,101,110,
+ 100, 10, 32,111,117,116,112,117,116, 40, 34,123, 34, 41, 10,
+ 10, 32, 45, 45, 32, 99,104,101, 99,107, 32,116,121,112,101,
+ 115, 10, 9,105,102, 32,111,118,101,114,108,111, 97,100, 32,
+ 60, 32, 48, 32,116,104,101,110, 10, 9, 32,111,117,116,112,
+ 117,116, 40, 39, 35,105,102,110,100,101,102, 32, 84, 79, 76,
+ 85, 65, 95, 82, 69, 76, 69, 65, 83, 69, 92,110, 39, 41, 10,
+ 9,101,110,100, 10, 9,111,117,116,112,117,116, 40, 39, 32,
+ 116,111,108,117, 97, 95, 69,114,114,111,114, 32,116,111,108,
+ 117, 97, 95,101,114,114, 59, 39, 41, 10, 32,111,117,116,112,
+ 117,116, 40, 39, 32,105,102, 32, 40, 92,110, 39, 41, 10, 32,
+ 45, 45, 32, 99,104,101, 99,107, 32,115,101,108,102, 10, 32,
+ 108,111, 99, 97,108, 32,110, 97,114,103, 10, 32,105,102, 32,
+ 99,108, 97,115,115, 32,116,104,101,110, 32,110, 97,114,103,
+ 61, 50, 32,101,108,115,101, 32,110, 97,114,103, 61, 49, 32,
+ 101,110,100, 10, 32,105,102, 32, 99,108, 97,115,115, 32,116,
+ 104,101,110, 10, 9, 9,108,111, 99, 97,108, 32,102,117,110,
+ 99, 32, 61, 32,103,101,116, 95,105,115, 95,102,117,110, 99,
+ 116,105,111,110, 40,115,101,108,102, 46,112, 97,114,101,110,
+ 116, 46,116,121,112,101, 41, 10, 9, 9,108,111, 99, 97,108,
+ 32,116,121,112,101, 32, 61, 32,115,101,108,102, 46,112, 97,
+ 114,101,110,116, 46,116,121,112,101, 10, 9, 9,105,102, 32,
+ 115,101,108,102, 46,110, 97,109,101, 61, 61, 39,110,101,119,
+ 39, 32,111,114, 32,115,116, 97,116,105, 99,126, 61,110,105,
+ 108, 32,116,104,101,110, 10, 9, 9, 9,102,117,110, 99, 32,
+ 61, 32, 39,116,111,108,117, 97, 95,105,115,117,115,101,114,
+ 116, 97, 98,108,101, 39, 10, 9, 9, 9,116,121,112,101, 32,
+ 61, 32,115,101,108,102, 46,112, 97,114,101,110,116, 46,116,
+ 121,112,101, 10, 9, 9,101,110,100, 10, 9, 9,105,102, 32,
+ 115,101,108,102, 46, 99,111,110,115,116, 32,126, 61, 32, 39,
+ 39, 32,116,104,101,110, 10, 9, 9, 9,116,121,112,101, 32,
+ 61, 32, 34, 99,111,110,115,116, 32, 34, 46, 46,116,121,112,
+ 101, 10, 9, 9,101,110,100, 10, 9, 9,111,117,116,112,117,
+ 116, 40, 39, 32, 32, 32, 32, 32, 33, 39, 46, 46,102,117,110,
+ 99, 46, 46, 39, 40,116,111,108,117, 97, 95, 83, 44, 49, 44,
+ 34, 39, 46, 46,116,121,112,101, 46, 46, 39, 34, 44, 48, 44,
+ 38,116,111,108,117, 97, 95,101,114,114, 41, 32,124,124, 92,
+ 110, 39, 41, 10, 32,101,110,100, 10, 32, 45, 45, 32, 99,104,
+ 101, 99,107, 32, 97,114,103,115, 10, 32,105,102, 32,115,101,
+ 108,102, 46, 97,114,103,115, 91, 49, 93, 46,116,121,112,101,
+ 32,126, 61, 32, 39,118,111,105,100, 39, 32,116,104,101,110,
+ 10, 32, 32,108,111, 99, 97,108, 32,105, 61, 49, 10, 32, 32,
+ 119,104,105,108,101, 32,115,101,108,102, 46, 97,114,103,115,
+ 91,105, 93, 32,100,111, 10, 32, 32, 32,108,111, 99, 97,108,
+ 32, 98,116,121,112,101, 32, 61, 32,105,115, 98, 97,115,105,
+ 99, 40,115,101,108,102, 46, 97,114,103,115, 91,105, 93, 46,
+ 116,121,112,101, 41, 10, 32, 32, 32,105,102, 32, 98,116,121,
+ 112,101, 32,126, 61, 32, 39,118, 97,108,117,101, 39, 32, 97,
+ 110,100, 32, 98,116,121,112,101, 32,126, 61, 32, 39,115,116,
+ 97,116,101, 39, 32,116,104,101,110, 10, 32, 32, 32, 32,111,
+ 117,116,112,117,116, 40, 39, 32, 32, 32, 32, 32, 39, 46, 46,
+ 115,101,108,102, 46, 97,114,103,115, 91,105, 93, 58,111,117,
+ 116, 99,104,101, 99,107,116,121,112,101, 40,110, 97,114,103,
+ 41, 46, 46, 39, 32,124,124, 92,110, 39, 41, 10, 32, 32, 32,
+ 101,110,100, 10, 32, 32, 32,105,102, 32, 98,116,121,112,101,
+ 32,126, 61, 32, 39,115,116, 97,116,101, 39, 32,116,104,101,
+ 110, 10, 9, 32, 32, 32,110, 97,114,103, 32, 61, 32,110, 97,
+ 114,103, 43, 49, 10, 32, 32, 32,101,110,100, 10, 32, 32, 32,
+ 105, 32, 61, 32,105, 43, 49, 10, 32, 32,101,110,100, 10, 32,
+ 101,110,100, 10, 32, 45, 45, 32, 99,104,101, 99,107, 32,101,
+ 110,100, 32,111,102, 32,108,105,115,116, 10, 32,111,117,116,
+ 112,117,116, 40, 39, 32, 32, 32, 32, 32, 33,116,111,108,117,
+ 97, 95,105,115,110,111,111, 98,106, 40,116,111,108,117, 97,
+ 95, 83, 44, 39, 46, 46,110, 97,114,103, 46, 46, 39, 44, 38,
+ 116,111,108,117, 97, 95,101,114,114, 41, 92,110, 32, 41, 39,
+ 41, 10, 9,111,117,116,112,117,116, 40, 39, 32, 32,103,111,
+ 116,111, 32,116,111,108,117, 97, 95,108,101,114,114,111,114,
+ 59, 39, 41, 10, 10, 32,111,117,116,112,117,116, 40, 39, 32,
+ 101,108,115,101, 92,110, 39, 41, 10, 9,105,102, 32,111,118,
+ 101,114,108,111, 97,100, 32, 60, 32, 48, 32,116,104,101,110,
+ 10, 9, 32,111,117,116,112,117,116, 40, 39, 35,101,110,100,
+ 105,102, 92,110, 39, 41, 10, 9,101,110,100, 10, 9,111,117,
+ 116,112,117,116, 40, 39, 32,123, 39, 41, 10, 10, 32, 45, 45,
+ 32,100,101, 99,108, 97,114,101, 32,115,101,108,102, 44, 32,
+ 105,102, 32,116,104,101, 32, 99, 97,115,101, 10, 32,108,111,
+ 99, 97,108, 32,110, 97,114,103, 10, 32,105,102, 32, 99,108,
+ 97,115,115, 32,116,104,101,110, 32,110, 97,114,103, 61, 50,
+ 32,101,108,115,101, 32,110, 97,114,103, 61, 49, 32,101,110,
+ 100, 10, 32,105,102, 32, 99,108, 97,115,115, 32, 97,110,100,
+ 32,115,101,108,102, 46,110, 97,109,101,126, 61, 39,110,101,
+ 119, 39, 32, 97,110,100, 32,115,116, 97,116,105, 99, 61, 61,
+ 110,105,108, 32,116,104,101,110, 10, 32, 32,111,117,116,112,
+ 117,116, 40, 39, 32, 39, 44,115,101,108,102, 46, 99,111,110,
+ 115,116, 44,115,101,108,102, 46,112, 97,114,101,110,116, 46,
+ 116,121,112,101, 44, 39, 42, 39, 44, 39,115,101,108,102, 32,
+ 61, 32, 39, 41, 10, 32, 32,111,117,116,112,117,116, 40, 39,
+ 40, 39, 44,115,101,108,102, 46, 99,111,110,115,116, 44,115,
+ 101,108,102, 46,112, 97,114,101,110,116, 46,116,121,112,101,
+ 44, 39, 42, 41, 32, 39, 41, 10, 32, 32,108,111, 99, 97,108,
+ 32,116,111, 95,102,117,110, 99, 32, 61, 32,103,101,116, 95,
+ 116,111, 95,102,117,110, 99,116,105,111,110, 40,115,101,108,
+ 102, 46,112, 97,114,101,110,116, 46,116,121,112,101, 41, 10,
+ 32, 32,111,117,116,112,117,116, 40,116,111, 95,102,117,110,
+ 99, 44, 39, 40,116,111,108,117, 97, 95, 83, 44, 49, 44, 48,
+ 41, 59, 39, 41, 10, 32,101,108,115,101,105,102, 32,115,116,
+ 97,116,105, 99, 32,116,104,101,110, 10, 32, 32, 95, 44, 95,
+ 44,115,101,108,102, 46,109,111,100, 32, 61, 32,115,116,114,
+ 102,105,110,100, 40,115,101,108,102, 46,109,111,100, 44, 39,
+ 94, 37,115, 42,115,116, 97,116,105, 99, 37,115, 37,115, 42,
+ 40, 46, 42, 41, 39, 41, 10, 32,101,110,100, 10, 32, 45, 45,
+ 32,100,101, 99,108, 97,114,101, 32,112, 97,114, 97,109,101,
+ 116,101,114,115, 10, 32,105,102, 32,115,101,108,102, 46, 97,
+ 114,103,115, 91, 49, 93, 46,116,121,112,101, 32,126, 61, 32,
+ 39,118,111,105,100, 39, 32,116,104,101,110, 10, 32, 32,108,
+ 111, 99, 97,108, 32,105, 61, 49, 10, 32, 32,119,104,105,108,
+ 101, 32,115,101,108,102, 46, 97,114,103,115, 91,105, 93, 32,
+ 100,111, 10, 32, 32, 32,115,101,108,102, 46, 97,114,103,115,
+ 91,105, 93, 58,100,101, 99,108, 97,114,101, 40,110, 97,114,
+ 103, 41, 10, 32, 32, 32,105,102, 32,105,115, 98, 97,115,105,
+ 99, 40,115,101,108,102, 46, 97,114,103,115, 91,105, 93, 46,
+ 116,121,112,101, 41, 32,126, 61, 32, 34,115,116, 97,116,101,
+ 34, 32,116,104,101,110, 10, 9, 32, 32, 32,110, 97,114,103,
+ 32, 61, 32,110, 97,114,103, 43, 49, 10, 32, 32, 32,101,110,
+ 100, 10, 32, 32, 32,105, 32, 61, 32,105, 43, 49, 10, 32, 32,
+ 101,110,100, 10, 32,101,110,100, 10, 10, 32, 45, 45, 32, 99,
+ 104,101, 99,107, 32,115,101,108,102, 10, 32,105,102, 32, 99,
+ 108, 97,115,115, 32, 97,110,100, 32,115,101,108,102, 46,110,
+ 97,109,101,126, 61, 39,110,101,119, 39, 32, 97,110,100, 32,
+ 115,116, 97,116,105, 99, 61, 61,110,105,108, 32,116,104,101,
+ 110, 10, 9, 32,111,117,116,112,117,116, 40, 39, 35,105,102,
+ 110,100,101,102, 32, 84, 79, 76, 85, 65, 95, 82, 69, 76, 69,
+ 65, 83, 69, 92,110, 39, 41, 10, 9, 32,111,117,116,112,117,
+ 116, 40, 39, 32, 32,105,102, 32, 40, 33,115,101,108,102, 41,
+ 32,116,111,108,117, 97, 95,101,114,114,111,114, 40,116,111,
+ 108,117, 97, 95, 83, 44, 34, 39, 46, 46,111,117,116,112,117,
+ 116, 95,101,114,114,111,114, 95,104,111,111,107, 40, 34,105,
+ 110,118, 97,108,105,100, 32, 92, 39,115,101,108,102, 92, 39,
+ 32,105,110, 32,102,117,110, 99,116,105,111,110, 32, 92, 39,
+ 37,115, 92, 39, 34, 44, 32,115,101,108,102, 46,110, 97,109,
+ 101, 41, 46, 46, 39, 34, 44, 32, 78, 85, 76, 76, 41, 59, 39,
+ 41, 59, 10, 9, 32,111,117,116,112,117,116, 40, 39, 35,101,
+ 110,100,105,102, 92,110, 39, 41, 10, 32,101,110,100, 10, 10,
+ 32, 45, 45, 32,103,101,116, 32, 97,114,114, 97,121, 32,101,
+ 108,101,109,101,110,116, 32,118, 97,108,117,101,115, 10, 32,
+ 105,102, 32, 99,108, 97,115,115, 32,116,104,101,110, 32,110,
+ 97,114,103, 61, 50, 32,101,108,115,101, 32,110, 97,114,103,
+ 61, 49, 32,101,110,100, 10, 32,105,102, 32,115,101,108,102,
+ 46, 97,114,103,115, 91, 49, 93, 46,116,121,112,101, 32,126,
+ 61, 32, 39,118,111,105,100, 39, 32,116,104,101,110, 10, 32,
+ 32,108,111, 99, 97,108, 32,105, 61, 49, 10, 32, 32,119,104,
+ 105,108,101, 32,115,101,108,102, 46, 97,114,103,115, 91,105,
+ 93, 32,100,111, 10, 32, 32, 32,115,101,108,102, 46, 97,114,
+ 103,115, 91,105, 93, 58,103,101,116, 97,114,114, 97,121, 40,
+ 110, 97,114,103, 41, 10, 32, 32, 32,110, 97,114,103, 32, 61,
+ 32,110, 97,114,103, 43, 49, 10, 32, 32, 32,105, 32, 61, 32,
+ 105, 43, 49, 10, 32, 32,101,110,100, 10, 32,101,110,100, 10,
+ 10, 32,112,114,101, 95, 99, 97,108,108, 95,104,111,111,107,
+ 40,115,101,108,102, 41, 10, 10, 32,108,111, 99, 97,108, 32,
+ 111,117,116, 32, 61, 32,115,116,114,105,110,103, 46,102,105,
+ 110,100, 40,115,101,108,102, 46,109,111,100, 44, 32, 34,116,
+ 111,108,117, 97, 95,111,117,116,115,105,100,101, 34, 41, 10,
+ 32, 45, 45, 32, 99, 97,108,108, 32,102,117,110, 99,116,105,
+ 111,110, 10, 32,105,102, 32, 99,108, 97,115,115, 32, 97,110,
+ 100, 32,115,101,108,102, 46,110, 97,109,101, 61, 61, 39,100,
+ 101,108,101,116,101, 39, 32,116,104,101,110, 10, 32, 32,111,
+ 117,116,112,117,116, 40, 39, 32, 32, 77,116,111,108,117, 97,
+ 95,100,101,108,101,116,101, 40,115,101,108,102, 41, 59, 39,
+ 41, 10, 32,101,108,115,101,105,102, 32, 99,108, 97,115,115,
+ 32, 97,110,100, 32,115,101,108,102, 46,110, 97,109,101, 32,
+ 61, 61, 32, 39,111,112,101,114, 97,116,111,114, 38, 91, 93,
+ 39, 32,116,104,101,110, 10, 32, 32,105,102, 32,102,108, 97,
+ 103,115, 91, 39, 49, 39, 93, 32,116,104,101,110, 32, 45, 45,
+ 32,102,111,114, 32, 99,111,109,112, 97,116,105, 98,105,108,
+ 105,116,121, 32,119,105,116,104, 32,116,111,108,117, 97, 53,
+ 32, 63, 10, 9,111,117,116,112,117,116, 40, 39, 32, 32,115,
+ 101,108,102, 45, 62,111,112,101,114, 97,116,111,114, 91, 93,
+ 40, 39, 44,115,101,108,102, 46, 97,114,103,115, 91, 49, 93,
+ 46,110, 97,109,101, 44, 39, 45, 49, 41, 32, 61, 32, 39, 44,
+ 115,101,108,102, 46, 97,114,103,115, 91, 50, 93, 46,110, 97,
+ 109,101, 44, 39, 59, 39, 41, 10, 32, 32,101,108,115,101, 10,
+ 32, 32, 32, 32,111,117,116,112,117,116, 40, 39, 32, 32,115,
+ 101,108,102, 45, 62,111,112,101,114, 97,116,111,114, 91, 93,
+ 40, 39, 44,115,101,108,102, 46, 97,114,103,115, 91, 49, 93,
+ 46,110, 97,109,101, 44, 39, 41, 32, 61, 32, 39, 44,115,101,
+ 108,102, 46, 97,114,103,115, 91, 50, 93, 46,110, 97,109,101,
+ 44, 39, 59, 39, 41, 10, 32, 32,101,110,100, 10, 32,101,108,
+ 115,101, 10, 32, 32,111,117,116,112,117,116, 40, 39, 32, 32,
+ 123, 39, 41, 10, 32, 32,105,102, 32,115,101,108,102, 46,116,
+ 121,112,101, 32,126, 61, 32, 39, 39, 32, 97,110,100, 32,115,
+ 101,108,102, 46,116,121,112,101, 32,126, 61, 32, 39,118,111,
+ 105,100, 39, 32,116,104,101,110, 10, 32, 32, 32,111,117,116,
+ 112,117,116, 40, 39, 32, 32, 39, 44,115,101,108,102, 46,109,
+ 111,100, 44,115,101,108,102, 46,116,121,112,101, 44,115,101,
+ 108,102, 46,112,116,114, 44, 39,116,111,108,117, 97, 95,114,
+ 101,116, 32, 61, 32, 39, 41, 10, 32, 32, 32,111,117,116,112,
+ 117,116, 40, 39, 40, 39, 44,115,101,108,102, 46,109,111,100,
+ 44,115,101,108,102, 46,116,121,112,101, 44,115,101,108,102,
+ 46,112,116,114, 44, 39, 41, 32, 39, 41, 10, 32, 32,101,108,
+ 115,101, 10, 32, 32, 32,111,117,116,112,117,116, 40, 39, 32,
+ 32, 39, 41, 10, 32, 32,101,110,100, 10, 32, 32,105,102, 32,
+ 99,108, 97,115,115, 32, 97,110,100, 32,115,101,108,102, 46,
+ 110, 97,109,101, 61, 61, 39,110,101,119, 39, 32,116,104,101,
+ 110, 10, 32, 32, 32,111,117,116,112,117,116, 40, 39, 77,116,
+ 111,108,117, 97, 95,110,101,119, 40, 40, 39, 44,115,101,108,
+ 102, 46,116,121,112,101, 44, 39, 41, 40, 39, 41, 10, 32, 32,
+ 101,108,115,101,105,102, 32, 99,108, 97,115,115, 32, 97,110,
+ 100, 32,115,116, 97,116,105, 99, 32,116,104,101,110, 10, 9,
+ 105,102, 32,111,117,116, 32,116,104,101,110, 10, 9, 9,111,
+ 117,116,112,117,116, 40,115,101,108,102, 46,110, 97,109,101,
+ 44, 39, 40, 39, 41, 10, 9,101,108,115,101, 10, 9, 9,111,
+ 117,116,112,117,116, 40, 99,108, 97,115,115, 46, 46, 39, 58,
+ 58, 39, 46, 46,115,101,108,102, 46,110, 97,109,101, 44, 39,
+ 40, 39, 41, 10, 9,101,110,100, 10, 32, 32,101,108,115,101,
+ 105,102, 32, 99,108, 97,115,115, 32,116,104,101,110, 10, 9,
+ 105,102, 32,111,117,116, 32,116,104,101,110, 10, 9, 9,111,
+ 117,116,112,117,116, 40,115,101,108,102, 46,110, 97,109,101,
+ 44, 39, 40, 39, 41, 10, 9,101,108,115,101, 10, 9, 32, 32,
+ 105,102, 32,115,101,108,102, 46, 99, 97,115,116, 95,111,112,
+ 101,114, 97,116,111,114, 32,116,104,101,110, 10, 9, 32, 32,
+ 9, 45, 45,111,117,116,112,117,116, 40, 39,115,116, 97,116,
+ 105, 99, 95, 99, 97,115,116, 60, 39, 44,115,101,108,102, 46,
+ 109,111,100, 44,115,101,108,102, 46,116,121,112,101, 44,115,
+ 101,108,102, 46,112,116,114, 44, 39, 32, 62, 40, 42,115,101,
+ 108,102, 39, 41, 10, 9, 9,111,117,116,112,117,116, 40, 39,
+ 115,101,108,102, 45, 62,111,112,101,114, 97,116,111,114, 32,
+ 39, 44,115,101,108,102, 46,109,111,100, 44,115,101,108,102,
+ 46,116,121,112,101, 44, 39, 40, 39, 41, 10, 9, 32, 32,101,
+ 108,115,101, 10, 9, 9,111,117,116,112,117,116, 40, 39,115,
+ 101,108,102, 45, 62, 39, 46, 46,115,101,108,102, 46,110, 97,
+ 109,101, 44, 39, 40, 39, 41, 10, 9, 32, 32,101,110,100, 10,
+ 9,101,110,100, 10, 32, 32,101,108,115,101, 10, 32, 32, 32,
+ 111,117,116,112,117,116, 40,115,101,108,102, 46,110, 97,109,
+ 101, 44, 39, 40, 39, 41, 10, 32, 32,101,110,100, 10, 10, 32,
+ 32,105,102, 32,111,117,116, 32, 97,110,100, 32,110,111,116,
+ 32,115,116, 97,116,105, 99, 32,116,104,101,110, 10, 32, 32,
+ 9,111,117,116,112,117,116, 40, 39,115,101,108,102, 39, 41,
+ 10, 9,105,102, 32,115,101,108,102, 46, 97,114,103,115, 91,
+ 49, 93, 32, 97,110,100, 32,115,101,108,102, 46, 97,114,103,
+ 115, 91, 49, 93, 46,110, 97,109,101, 32,126, 61, 32, 39, 39,
+ 32,116,104,101,110, 10, 9, 9,111,117,116,112,117,116, 40,
+ 39, 44, 39, 41, 10, 9,101,110,100, 10, 32, 32,101,110,100,
+ 10, 32, 32, 45, 45, 32,119,114,105,116,101, 32,112, 97,114,
+ 97,109,101,116,101,114,115, 10, 32, 32,108,111, 99, 97,108,
+ 32,105, 61, 49, 10, 32, 32,119,104,105,108,101, 32,115,101,
+ 108,102, 46, 97,114,103,115, 91,105, 93, 32,100,111, 10, 32,
+ 32, 32,115,101,108,102, 46, 97,114,103,115, 91,105, 93, 58,
+ 112, 97,115,115,112, 97,114, 40, 41, 10, 32, 32, 32,105, 32,
+ 61, 32,105, 43, 49, 10, 32, 32, 32,105,102, 32,115,101,108,
+ 102, 46, 97,114,103,115, 91,105, 93, 32,116,104,101,110, 10,
+ 32, 32, 32, 32,111,117,116,112,117,116, 40, 39, 44, 39, 41,
+ 10, 32, 32, 32,101,110,100, 10, 32, 32,101,110,100, 10, 10,
+ 32, 32,105,102, 32, 99,108, 97,115,115, 32, 97,110,100, 32,
+ 115,101,108,102, 46,110, 97,109,101, 32, 61, 61, 32, 39,111,
+ 112,101,114, 97,116,111,114, 91, 93, 39, 32, 97,110,100, 32,
+ 102,108, 97,103,115, 91, 39, 49, 39, 93, 32,116,104,101,110,
+ 10, 9,111,117,116,112,117,116, 40, 39, 45, 49, 41, 59, 39,
+ 41, 10, 32, 32,101,108,115,101, 10, 9,105,102, 32, 99,108,
+ 97,115,115, 32, 97,110,100, 32,115,101,108,102, 46,110, 97,
+ 109,101, 61, 61, 39,110,101,119, 39, 32,116,104,101,110, 10,
+ 9, 9,111,117,116,112,117,116, 40, 39, 41, 41, 59, 39, 41,
+ 32, 45, 45, 32, 99,108,111,115,101, 32, 77,116,111,108,117,
+ 97, 95,110,101,119, 40, 10, 9,101,108,115,101, 10, 9, 9,
+ 111,117,116,112,117,116, 40, 39, 41, 59, 39, 41, 10, 9,101,
+ 110,100, 10, 32, 32,101,110,100, 10, 10, 32, 32, 45, 45, 32,
+ 114,101,116,117,114,110, 32,118, 97,108,117,101,115, 10, 32,
+ 32,105,102, 32,115,101,108,102, 46,116,121,112,101, 32,126,
+ 61, 32, 39, 39, 32, 97,110,100, 32,115,101,108,102, 46,116,
+ 121,112,101, 32,126, 61, 32, 39,118,111,105,100, 39, 32,116,
+ 104,101,110, 10, 32, 32, 32,110,114,101,116, 32, 61, 32,110,
+ 114,101,116, 32, 43, 32, 49, 10, 32, 32, 32,108,111, 99, 97,
+ 108, 32,116, 44, 99,116, 32, 61, 32,105,115, 98, 97,115,105,
+ 99, 40,115,101,108,102, 46,116,121,112,101, 41, 10, 32, 32,
+ 32,105,102, 32,116, 32, 97,110,100, 32,115,101,108,102, 46,
+ 110, 97,109,101, 32,126, 61, 32, 34,110,101,119, 34, 32,116,
+ 104,101,110, 10, 32, 32, 32, 9,105,102, 32,115,101,108,102,
+ 46, 99, 97,115,116, 95,111,112,101,114, 97,116,111,114, 32,
+ 97,110,100, 32, 95, 98, 97,115,105, 99, 95,114, 97,119, 95,
+ 112,117,115,104, 91,116, 93, 32,116,104,101,110, 10, 9, 9,
+ 111,117,116,112,117,116, 40, 39, 32, 32, 32, 39, 44, 95, 98,
+ 97,115,105, 99, 95,114, 97,119, 95,112,117,115,104, 91,116,
+ 93, 44, 39, 40,116,111,108,117, 97, 95, 83, 44, 40, 39, 44,
+ 99,116, 44, 39, 41,116,111,108,117, 97, 95,114,101,116, 41,
+ 59, 39, 41, 10, 32, 32, 32, 9,101,108,115,101, 10, 9, 32,
+ 32, 32, 32,111,117,116,112,117,116, 40, 39, 32, 32, 32,116,
+ 111,108,117, 97, 95,112,117,115,104, 39, 46, 46,116, 46, 46,
+ 39, 40,116,111,108,117, 97, 95, 83, 44, 40, 39, 44, 99,116,
+ 44, 39, 41,116,111,108,117, 97, 95,114,101,116, 41, 59, 39,
+ 41, 10, 9,101,110,100, 10, 32, 32, 32,101,108,115,101, 10,
+ 9,116, 32, 61, 32,115,101,108,102, 46,116,121,112,101, 10,
+ 9,110,101,119, 95,116, 32, 61, 32,115,116,114,105,110,103,
+ 46,103,115,117, 98, 40,116, 44, 32, 34, 99,111,110,115,116,
+ 37,115, 43, 34, 44, 32, 34, 34, 41, 10, 9,108,111, 99, 97,
+ 108, 32,111,119,110,101,100, 32, 61, 32,102, 97,108,115,101,
+ 10, 9,105,102, 32,115,116,114,105,110,103, 46,102,105,110,
+ 100, 40,115,101,108,102, 46,109,111,100, 44, 32, 34,116,111,
+ 108,117, 97, 95,111,119,110,101,100, 34, 41, 32,116,104,101,
+ 110, 10, 9, 9,111,119,110,101,100, 32, 61, 32,116,114,117,
+ 101, 10, 9,101,110,100, 10, 32, 32, 32, 32,108,111, 99, 97,
+ 108, 32,112,117,115,104, 95,102,117,110, 99, 32, 61, 32,103,
+ 101,116, 95,112,117,115,104, 95,102,117,110, 99,116,105,111,
+ 110, 40,116, 41, 10, 32, 32, 32, 32,105,102, 32,115,101,108,
+ 102, 46,112,116,114, 32, 61, 61, 32, 39, 39, 32,116,104,101,
+ 110, 10, 32, 32, 32, 32, 32,111,117,116,112,117,116, 40, 39,
+ 32, 32, 32,123, 39, 41, 10, 32, 32, 32, 32, 32,111,117,116,
+ 112,117,116, 40, 39, 35,105,102,100,101,102, 32, 95, 95, 99,
+ 112,108,117,115,112,108,117,115, 92,110, 39, 41, 10, 32, 32,
+ 32, 32, 32,111,117,116,112,117,116, 40, 39, 32, 32, 32, 32,
+ 118,111,105,100, 42, 32,116,111,108,117, 97, 95,111, 98,106,
+ 32, 61, 32, 77,116,111,108,117, 97, 95,110,101,119, 40, 40,
+ 39, 44,110,101,119, 95,116, 44, 39, 41, 40,116,111,108,117,
+ 97, 95,114,101,116, 41, 41, 59, 39, 41, 10, 32, 32, 32, 32,
+ 32,111,117,116,112,117,116, 40, 39, 32, 32, 32, 32, 39, 44,
+ 112,117,115,104, 95,102,117,110, 99, 44, 39, 40,116,111,108,
+ 117, 97, 95, 83, 44,116,111,108,117, 97, 95,111, 98,106, 44,
+ 34, 39, 44,116, 44, 39, 34, 41, 59, 39, 41, 10, 32, 32, 32,
+ 32, 32,111,117,116,112,117,116, 40, 39, 32, 32, 32, 32,116,
+ 111,108,117, 97, 95,114,101,103,105,115,116,101,114, 95,103,
+ 99, 40,116,111,108,117, 97, 95, 83, 44,108,117, 97, 95,103,
+ 101,116,116,111,112, 40,116,111,108,117, 97, 95, 83, 41, 41,
+ 59, 39, 41, 10, 32, 32, 32, 32, 32,111,117,116,112,117,116,
+ 40, 39, 35,101,108,115,101, 92,110, 39, 41, 10, 32, 32, 32,
+ 32, 32,111,117,116,112,117,116, 40, 39, 32, 32, 32, 32,118,
+ 111,105,100, 42, 32,116,111,108,117, 97, 95,111, 98,106, 32,
+ 61, 32,116,111,108,117, 97, 95, 99,111,112,121, 40,116,111,
+ 108,117, 97, 95, 83, 44, 40,118,111,105,100, 42, 41, 38,116,
+ 111,108,117, 97, 95,114,101,116, 44,115,105,122,101,111,102,
+ 40, 39, 44,116, 44, 39, 41, 41, 59, 39, 41, 10, 32, 32, 32,
+ 32, 32,111,117,116,112,117,116, 40, 39, 32, 32, 32, 32, 39,
+ 44,112,117,115,104, 95,102,117,110, 99, 44, 39, 40,116,111,
+ 108,117, 97, 95, 83, 44,116,111,108,117, 97, 95,111, 98,106,
+ 44, 34, 39, 44,116, 44, 39, 34, 41, 59, 39, 41, 10, 32, 32,
+ 32, 32, 32,111,117,116,112,117,116, 40, 39, 32, 32, 32, 32,
+ 116,111,108,117, 97, 95,114,101,103,105,115,116,101,114, 95,
+ 103, 99, 40,116,111,108,117, 97, 95, 83, 44,108,117, 97, 95,
+ 103,101,116,116,111,112, 40,116,111,108,117, 97, 95, 83, 41,
+ 41, 59, 39, 41, 10, 32, 32, 32, 32, 32,111,117,116,112,117,
+ 116, 40, 39, 35,101,110,100,105,102, 92,110, 39, 41, 10, 32,
+ 32, 32, 32, 32,111,117,116,112,117,116, 40, 39, 32, 32, 32,
+ 125, 39, 41, 10, 32, 32, 32, 32,101,108,115,101,105,102, 32,
+ 115,101,108,102, 46,112,116,114, 32, 61, 61, 32, 39, 38, 39,
+ 32,116,104,101,110, 10, 32, 32, 32, 32, 32,111,117,116,112,
+ 117,116, 40, 39, 32, 32, 32, 39, 44,112,117,115,104, 95,102,
+ 117,110, 99, 44, 39, 40,116,111,108,117, 97, 95, 83, 44, 40,
+ 118,111,105,100, 42, 41, 38,116,111,108,117, 97, 95,114,101,
+ 116, 44, 34, 39, 44,116, 44, 39, 34, 41, 59, 39, 41, 10, 32,
+ 32, 32, 32,101,108,115,101, 10, 9, 32,111,117,116,112,117,
+ 116, 40, 39, 32, 32, 32, 39, 44,112,117,115,104, 95,102,117,
+ 110, 99, 44, 39, 40,116,111,108,117, 97, 95, 83, 44, 40,118,
+ 111,105,100, 42, 41,116,111,108,117, 97, 95,114,101,116, 44,
+ 34, 39, 44,116, 44, 39, 34, 41, 59, 39, 41, 10, 9, 32,105,
+ 102, 32,111,119,110,101,100, 32,111,114, 32,108,111, 99, 97,
+ 108, 95, 99,111,110,115,116,114,117, 99,116,111,114, 32,116,
+ 104,101,110, 10, 32, 32, 32, 32, 32, 32,111,117,116,112,117,
+ 116, 40, 39, 32, 32, 32, 32,116,111,108,117, 97, 95,114,101,
+ 103,105,115,116,101,114, 95,103, 99, 40,116,111,108,117, 97,
+ 95, 83, 44,108,117, 97, 95,103,101,116,116,111,112, 40,116,
+ 111,108,117, 97, 95, 83, 41, 41, 59, 39, 41, 10, 9, 32,101,
+ 110,100, 10, 32, 32, 32, 32,101,110,100, 10, 32, 32, 32,101,
+ 110,100, 10, 32, 32,101,110,100, 10, 32, 32,108,111, 99, 97,
+ 108, 32,105, 61, 49, 10, 32, 32,119,104,105,108,101, 32,115,
+ 101,108,102, 46, 97,114,103,115, 91,105, 93, 32,100,111, 10,
+ 32, 32, 32,110,114,101,116, 32, 61, 32,110,114,101,116, 32,
+ 43, 32,115,101,108,102, 46, 97,114,103,115, 91,105, 93, 58,
+ 114,101,116,118, 97,108,117,101, 40, 41, 10, 32, 32, 32,105,
+ 32, 61, 32,105, 43, 49, 10, 32, 32,101,110,100, 10, 32, 32,
+ 111,117,116,112,117,116, 40, 39, 32, 32,125, 39, 41, 10, 10,
+ 32, 32, 45, 45, 32,115,101,116, 32, 97,114,114, 97,121, 32,
+ 101,108,101,109,101,110,116, 32,118, 97,108,117,101,115, 10,
+ 32, 32,105,102, 32, 99,108, 97,115,115, 32,116,104,101,110,
+ 32,110, 97,114,103, 61, 50, 32,101,108,115,101, 32,110, 97,
+ 114,103, 61, 49, 32,101,110,100, 10, 32, 32,105,102, 32,115,
+ 101,108,102, 46, 97,114,103,115, 91, 49, 93, 46,116,121,112,
+ 101, 32,126, 61, 32, 39,118,111,105,100, 39, 32,116,104,101,
+ 110, 10, 32, 32, 32,108,111, 99, 97,108, 32,105, 61, 49, 10,
+ 32, 32, 32,119,104,105,108,101, 32,115,101,108,102, 46, 97,
+ 114,103,115, 91,105, 93, 32,100,111, 10, 32, 32, 32, 32,115,
+ 101,108,102, 46, 97,114,103,115, 91,105, 93, 58,115,101,116,
+ 97,114,114, 97,121, 40,110, 97,114,103, 41, 10, 32, 32, 32,
+ 32,110, 97,114,103, 32, 61, 32,110, 97,114,103, 43, 49, 10,
+ 32, 32, 32, 32,105, 32, 61, 32,105, 43, 49, 10, 32, 32, 32,
+ 101,110,100, 10, 32, 32,101,110,100, 10, 10, 32, 32, 45, 45,
+ 32,102,114,101,101, 32,100,121,110, 97,109,105, 99, 97,108,
+ 108,121, 32, 97,108,108,111, 99, 97,116,101,100, 32, 97,114,
+ 114, 97,121, 10, 32, 32,105,102, 32,115,101,108,102, 46, 97,
+ 114,103,115, 91, 49, 93, 46,116,121,112,101, 32,126, 61, 32,
+ 39,118,111,105,100, 39, 32,116,104,101,110, 10, 32, 32, 32,
+ 108,111, 99, 97,108, 32,105, 61, 49, 10, 32, 32, 32,119,104,
+ 105,108,101, 32,115,101,108,102, 46, 97,114,103,115, 91,105,
+ 93, 32,100,111, 10, 32, 32, 32, 32,115,101,108,102, 46, 97,
+ 114,103,115, 91,105, 93, 58,102,114,101,101, 97,114,114, 97,
+ 121, 40, 41, 10, 32, 32, 32, 32,105, 32, 61, 32,105, 43, 49,
+ 10, 32, 32, 32,101,110,100, 10, 32, 32,101,110,100, 10, 32,
+ 101,110,100, 10, 10, 32,112,111,115,116, 95, 99, 97,108,108,
+ 95,104,111,111,107, 40,115,101,108,102, 41, 10, 10, 32,111,
+ 117,116,112,117,116, 40, 39, 32,125, 39, 41, 10, 32,111,117,
+ 116,112,117,116, 40, 39, 32,114,101,116,117,114,110, 32, 39,
+ 46, 46,110,114,101,116, 46, 46, 39, 59, 39, 41, 10, 10, 32,
+ 45, 45, 32, 99, 97,108,108, 32,111,118,101,114,108,111, 97,
+ 100,101,100, 32,102,117,110, 99,116,105,111,110, 32,111,114,
+ 32,103,101,110,101,114, 97,116,101, 32,101,114,114,111,114,
+ 10, 9,105,102, 32,111,118,101,114,108,111, 97,100, 32, 60,
+ 32, 48, 32,116,104,101,110, 10, 10, 9, 9,111,117,116,112,
+ 117,116, 40, 39, 35,105,102,110,100,101,102, 32, 84, 79, 76,
+ 85, 65, 95, 82, 69, 76, 69, 65, 83, 69, 92,110, 39, 41, 10,
+ 9, 9,111,117,116,112,117,116, 40, 39,116,111,108,117, 97,
+ 95,108,101,114,114,111,114, 58, 92,110, 39, 41, 10, 9, 9,
+ 111,117,116,112,117,116, 40, 39, 32,116,111,108,117, 97, 95,
+ 101,114,114,111,114, 40,116,111,108,117, 97, 95, 83, 44, 34,
+ 39, 46, 46,111,117,116,112,117,116, 95,101,114,114,111,114,
+ 95,104,111,111,107, 40, 34, 35,102,101,114,114,111,114, 32,
+ 105,110, 32,102,117,110, 99,116,105,111,110, 32, 92, 39, 37,
+ 115, 92, 39, 46, 34, 44, 32,115,101,108,102, 46,108,110, 97,
+ 109,101, 41, 46, 46, 39, 34, 44, 38,116,111,108,117, 97, 95,
+ 101,114,114, 41, 59, 39, 41, 10, 9, 9,111,117,116,112,117,
+ 116, 40, 39, 32,114,101,116,117,114,110, 32, 48, 59, 39, 41,
+ 10, 9, 9,111,117,116,112,117,116, 40, 39, 35,101,110,100,
+ 105,102, 92,110, 39, 41, 10, 9,101,108,115,101, 10, 9, 9,
+ 108,111, 99, 97,108, 32, 95,108,111, 99, 97,108, 32, 61, 32,
+ 34, 34, 10, 9, 9,105,102, 32,108,111, 99, 97,108, 95, 99,
+ 111,110,115,116,114,117, 99,116,111,114, 32,116,104,101,110,
+ 10, 9, 9, 9, 95,108,111, 99, 97,108, 32, 61, 32, 34, 95,
+ 108,111, 99, 97,108, 34, 10, 9, 9,101,110,100, 10, 9, 9,
+ 111,117,116,112,117,116, 40, 39,116,111,108,117, 97, 95,108,
+ 101,114,114,111,114, 58, 92,110, 39, 41, 10, 9, 9,111,117,
+ 116,112,117,116, 40, 39, 32,114,101,116,117,114,110, 32, 39,
+ 46, 46,115,116,114,115,117, 98, 40,115,101,108,102, 46, 99,
+ 110, 97,109,101, 44, 49, 44, 45, 51, 41, 46, 46,102,111,114,
+ 109, 97,116, 40, 34, 37, 48, 50,100, 34, 44,111,118,101,114,
+ 108,111, 97,100, 41, 46, 46, 95,108,111, 99, 97,108, 46, 46,
+ 39, 40,116,111,108,117, 97, 95, 83, 41, 59, 39, 41, 10, 9,
+ 101,110,100, 10, 32,111,117,116,112,117,116, 40, 39,125, 39,
+ 41, 10, 32,111,117,116,112,117,116, 40, 39, 35,101,110,100,
+ 105,102, 32, 47, 47, 35,105,102,110,100,101,102, 32, 84, 79,
+ 76, 85, 65, 95, 68, 73, 83, 65, 66, 76, 69, 92,110, 39, 41,
+ 10, 32,111,117,116,112,117,116, 40, 39, 92,110, 39, 41, 10,
+ 10, 9, 45, 45, 32,114,101, 99,117,114,115,105,118,101, 32,
+ 99, 97,108,108, 32,116,111, 32,119,114,105,116,101, 32,108,
+ 111, 99, 97,108, 32, 99,111,110,115,116,114,117, 99,116,111,
+ 114, 10, 9,105,102, 32, 99,108, 97,115,115, 32, 97,110,100,
+ 32,115,101,108,102, 46,110, 97,109,101, 61, 61, 39,110,101,
+ 119, 39, 32, 97,110,100, 32,110,111,116, 32,108,111, 99, 97,
+ 108, 95, 99,111,110,115,116,114,117, 99,116,111,114, 32,116,
+ 104,101,110, 10, 10, 9, 9,115,101,108,102, 58,115,117,112,
+ 99,111,100,101, 40, 49, 41, 10, 9,101,110,100, 10, 10,101,
+ 110,100, 10, 10, 10, 45, 45, 32,114,101,103,105,115,116,101,
+ 114, 32,102,117,110, 99,116,105,111,110, 10,102,117,110, 99,
+ 116,105,111,110, 32, 99,108, 97,115,115, 70,117,110, 99,116,
+ 105,111,110, 58,114,101,103,105,115,116,101,114, 32, 40,112,
+ 114,101, 41, 10, 10, 9,105,102, 32,110,111,116, 32,115,101,
+ 108,102, 58, 99,104,101, 99,107, 95,112,117, 98,108,105, 99,
+ 95, 97, 99, 99,101,115,115, 40, 41, 32,116,104,101,110, 10,
+ 9, 9,114,101,116,117,114,110, 10, 9,101,110,100, 10, 10,
+ 32, 9,105,102, 32,115,101,108,102, 46,110, 97,109,101, 32,
+ 61, 61, 32, 39,110,101,119, 39, 32, 97,110,100, 32,115,101,
+ 108,102, 46,112, 97,114,101,110,116, 46,102,108, 97,103,115,
+ 46,112,117,114,101, 95,118,105,114,116,117, 97,108, 32,116,
+ 104,101,110, 10, 32, 9, 9, 45, 45, 32,110,111, 32, 99,111,
+ 110,115,116,114,117, 99,116,111,114, 32,102,111,114, 32, 99,
+ 108, 97,115,115,101,115, 32,119,105,116,104, 32,112,117,114,
+ 101, 32,118,105,114,116,117, 97,108, 32,109,101,116,104,111,
+ 100,115, 10, 32, 9, 9,114,101,116,117,114,110, 10, 32, 9,
+ 101,110,100, 10, 10, 32,111,117,116,112,117,116, 40,112,114,
+ 101, 46, 46, 39,116,111,108,117, 97, 95,102,117,110, 99,116,
+ 105,111,110, 40,116,111,108,117, 97, 95, 83, 44, 34, 39, 46,
+ 46,115,101,108,102, 46,108,110, 97,109,101, 46, 46, 39, 34,
+ 44, 39, 46, 46,115,101,108,102, 46, 99,110, 97,109,101, 46,
+ 46, 39, 41, 59, 39, 41, 10, 32, 32,105,102, 32,115,101,108,
+ 102, 46,110, 97,109,101, 32, 61, 61, 32, 39,110,101,119, 39,
+ 32,116,104,101,110, 10, 9, 32, 32,111,117,116,112,117,116,
+ 40,112,114,101, 46, 46, 39,116,111,108,117, 97, 95,102,117,
+ 110, 99,116,105,111,110, 40,116,111,108,117, 97, 95, 83, 44,
+ 34,110,101,119, 95,108,111, 99, 97,108, 34, 44, 39, 46, 46,
+ 115,101,108,102, 46, 99,110, 97,109,101, 46, 46, 39, 95,108,
+ 111, 99, 97,108, 41, 59, 39, 41, 10, 9, 32, 32,111,117,116,
+ 112,117,116, 40,112,114,101, 46, 46, 39,116,111,108,117, 97,
+ 95,102,117,110, 99,116,105,111,110, 40,116,111,108,117, 97,
+ 95, 83, 44, 34, 46, 99, 97,108,108, 34, 44, 39, 46, 46,115,
+ 101,108,102, 46, 99,110, 97,109,101, 46, 46, 39, 95,108,111,
+ 99, 97,108, 41, 59, 39, 41, 10, 9, 32, 32, 45, 45,111,117,
+ 116,112,117,116, 40, 39, 32,116,111,108,117, 97, 95,115,101,
+ 116, 95, 99, 97,108,108, 95,101,118,101,110,116, 40,116,111,
+ 108,117, 97, 95, 83, 44, 39, 46, 46,115,101,108,102, 46, 99,
+ 110, 97,109,101, 46, 46, 39, 95,108,111, 99, 97,108, 44, 32,
+ 34, 39, 46, 46,115,101,108,102, 46,112, 97,114,101,110,116,
+ 46,116,121,112,101, 46, 46, 39, 34, 41, 59, 39, 41, 10, 32,
+ 32,101,110,100, 10,101,110,100, 10, 10, 45, 45, 32, 80,114,
+ 105,110,116, 32,109,101,116,104,111,100, 10,102,117,110, 99,
+ 116,105,111,110, 32, 99,108, 97,115,115, 70,117,110, 99,116,
+ 105,111,110, 58,112,114,105,110,116, 32, 40,105,100,101,110,
+ 116, 44, 99,108,111,115,101, 41, 10, 32,112,114,105,110,116,
+ 40,105,100,101,110,116, 46, 46, 34, 70,117,110, 99,116,105,
+ 111,110,123, 34, 41, 10, 32,112,114,105,110,116, 40,105,100,
+ 101,110,116, 46, 46, 34, 32,109,111,100, 32, 32, 61, 32, 39,
+ 34, 46, 46,115,101,108,102, 46,109,111,100, 46, 46, 34, 39,
+ 44, 34, 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,
+ 116, 46, 46, 34, 32,116,121,112,101, 32, 61, 32, 39, 34, 46,
+ 46,115,101,108,102, 46,116,121,112,101, 46, 46, 34, 39, 44,
+ 34, 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,116,
+ 46, 46, 34, 32,112,116,114, 32, 32, 61, 32, 39, 34, 46, 46,
+ 115,101,108,102, 46,112,116,114, 46, 46, 34, 39, 44, 34, 41,
+ 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46,
+ 34, 32,110, 97,109,101, 32, 61, 32, 39, 34, 46, 46,115,101,
+ 108,102, 46,110, 97,109,101, 46, 46, 34, 39, 44, 34, 41, 10,
+ 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34,
+ 32,108,110, 97,109,101, 32, 61, 32, 39, 34, 46, 46,115,101,
+ 108,102, 46,108,110, 97,109,101, 46, 46, 34, 39, 44, 34, 41,
+ 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46,
+ 34, 32, 99,111,110,115,116, 32, 61, 32, 39, 34, 46, 46,115,
+ 101,108,102, 46, 99,111,110,115,116, 46, 46, 34, 39, 44, 34,
+ 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46,
+ 46, 34, 32, 99,110, 97,109,101, 32, 61, 32, 39, 34, 46, 46,
+ 115,101,108,102, 46, 99,110, 97,109,101, 46, 46, 34, 39, 44,
+ 34, 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,116,
+ 46, 46, 34, 32,108,110, 97,109,101, 32, 61, 32, 39, 34, 46,
+ 46,115,101,108,102, 46,108,110, 97,109,101, 46, 46, 34, 39,
+ 44, 34, 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,
+ 116, 46, 46, 34, 32, 97,114,103,115, 32, 61, 32,123, 34, 41,
+ 10, 32,108,111, 99, 97,108, 32,105, 61, 49, 10, 32,119,104,
+ 105,108,101, 32,115,101,108,102, 46, 97,114,103,115, 91,105,
+ 93, 32,100,111, 10, 32, 32,115,101,108,102, 46, 97,114,103,
+ 115, 91,105, 93, 58,112,114,105,110,116, 40,105,100,101,110,
+ 116, 46, 46, 34, 32, 32, 34, 44, 34, 44, 34, 41, 10, 32, 32,
+ 105, 32, 61, 32,105, 43, 49, 10, 32,101,110,100, 10, 32,112,
+ 114,105,110,116, 40,105,100,101,110,116, 46, 46, 34, 32,125,
+ 34, 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,116,
+ 46, 46, 34,125, 34, 46, 46, 99,108,111,115,101, 41, 10,101,
+ 110,100, 10, 10, 45, 45, 32, 99,104,101, 99,107, 32,105,102,
+ 32,105,116, 32,114,101,116,117,114,110,115, 32, 97,110, 32,
+ 111, 98,106,101, 99,116, 32, 98,121, 32,118, 97,108,117,101,
+ 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,115,115,
+ 70,117,110, 99,116,105,111,110, 58,114,101,113,117,105,114,
+ 101, 99,111,108,108,101, 99,116,105,111,110, 32, 40,116, 41,
+ 10, 9,108,111, 99, 97,108, 32,114, 32, 61, 32,102, 97,108,
+ 115,101, 10, 9,105,102, 32,115,101,108,102, 46,116,121,112,
+ 101, 32,126, 61, 32, 39, 39, 32, 97,110,100, 32,110,111,116,
+ 32,105,115, 98, 97,115,105, 99, 40,115,101,108,102, 46,116,
+ 121,112,101, 41, 32, 97,110,100, 32,115,101,108,102, 46,112,
+ 116,114, 61, 61, 39, 39, 32,116,104,101,110, 10, 9, 9,108,
+ 111, 99, 97,108, 32,116,121,112,101, 32, 61, 32,103,115,117,
+ 98, 40,115,101,108,102, 46,116,121,112,101, 44, 34, 37,115,
+ 42, 99,111,110,115,116, 37,115, 43, 34, 44, 34, 34, 41, 10,
+ 9, 32,116, 91,116,121,112,101, 93, 32, 61, 32, 34,116,111,
+ 108,117, 97, 95, 99,111,108,108,101, 99,116, 95, 34, 32, 46,
+ 46, 32, 99,108,101, 97,110, 95,116,101,109,112,108, 97,116,
+ 101, 40,116,121,112,101, 41, 10, 9, 32,114, 32, 61, 32,116,
+ 114,117,101, 10, 9,101,110,100, 10, 9,108,111, 99, 97,108,
+ 32,105, 61, 49, 10, 9,119,104,105,108,101, 32,115,101,108,
+ 102, 46, 97,114,103,115, 91,105, 93, 32,100,111, 10, 9, 9,
+ 114, 32, 61, 32,115,101,108,102, 46, 97,114,103,115, 91,105,
+ 93, 58,114,101,113,117,105,114,101, 99,111,108,108,101, 99,
+ 116,105,111,110, 40,116, 41, 32,111,114, 32,114, 10, 9, 9,
+ 105, 32, 61, 32,105, 43, 49, 10, 9,101,110,100, 10, 9,114,
+ 101,116,117,114,110, 32,114, 10,101,110,100, 10, 10, 45, 45,
+ 32,100,101,116,101,114,109,105,110,101, 32,108,117, 97, 32,
+ 102,117,110, 99,116,105,111,110, 32,110, 97,109,101, 32,111,
+ 118,101,114,108,111, 97,100, 10,102,117,110, 99,116,105,111,
+ 110, 32, 99,108, 97,115,115, 70,117,110, 99,116,105,111,110,
+ 58,111,118,101,114,108,111, 97,100, 32, 40, 41, 10, 32,114,
+ 101,116,117,114,110, 32,115,101,108,102, 46,112, 97,114,101,
+ 110,116, 58,111,118,101,114,108,111, 97,100, 40,115,101,108,
+ 102, 46,108,110, 97,109,101, 41, 10,101,110,100, 10, 10, 10,
+ 102,117,110, 99,116,105,111,110, 32,112, 97,114, 97,109, 95,
+ 111, 98,106,101, 99,116, 40,112, 97,114, 41, 32, 45, 45, 32,
+ 114,101,116,117,114,110,115, 32,116,114,117,101, 32,105,102,
+ 32,116,104,101, 32,112, 97,114, 97,109,101,116,101,114, 32,
+ 104, 97,115, 32, 97,110, 32,111, 98,106,101, 99,116, 32, 97,
+ 115, 32,105,116,115, 32,100,101,102, 97,117,108,116, 32,118,
+ 97,108,117,101, 10, 10, 9,105,102, 32,110,111,116, 32,115,
+ 116,114,105,110,103, 46,102,105,110,100, 40,112, 97,114, 44,
+ 32, 39, 61, 39, 41, 32,116,104,101,110, 32,114,101,116,117,
+ 114,110, 32,102, 97,108,115,101, 32,101,110,100, 32, 45, 45,
+ 32,105,116, 32,104, 97,115, 32,110,111, 32,100,101,102, 97,
+ 117,108,116, 32,118, 97,108,117,101, 10, 10, 9,108,111, 99,
+ 97,108, 32, 95, 44, 95, 44,100,101,102, 32, 61, 32,115,116,
+ 114,105,110,103, 46,102,105,110,100, 40,112, 97,114, 44, 32,
+ 34, 61, 40, 46, 42, 41, 36, 34, 41, 10, 10, 9,105,102, 32,
+ 115,116,114,105,110,103, 46,102,105,110,100, 40,112, 97,114,
+ 44, 32, 34,124, 34, 41, 32,116,104,101,110, 32, 45, 45, 32,
+ 97, 32,108,105,115,116, 32,111,102, 32,102,108, 97,103,115,
+ 10, 10, 9, 9,114,101,116,117,114,110, 32,116,114,117,101,
+ 10, 9,101,110,100, 10, 10, 9,105,102, 32,115,116,114,105,
+ 110,103, 46,102,105,110,100, 40,112, 97,114, 44, 32, 34, 37,
+ 42, 34, 41, 32,116,104,101,110, 32, 45, 45, 32,105,116, 39,
+ 115, 32, 97, 32,112,111,105,110,116,101,114, 32,119,105,116,
+ 104, 32, 97, 32,100,101,102, 97,117,108,116, 32,118, 97,108,
+ 117,101, 10, 10, 9, 9,105,102, 32,115,116,114,105,110,103,
+ 46,102,105,110,100, 40,112, 97,114, 44, 32, 39, 61, 37,115,
+ 42,110,101,119, 39, 41, 32,111,114, 32,115,116,114,105,110,
+ 103, 46,102,105,110,100, 40,112, 97,114, 44, 32, 34, 37, 40,
+ 34, 41, 32,116,104,101,110, 32, 45, 45, 32,105,116, 39,115,
+ 32, 97, 32,112,111,105,110,116,101,114, 32,119,105,116,104,
+ 32, 97,110, 32,105,110,115,116, 97,110, 99,101, 32, 97,115,
+ 32,100,101,102, 97,117,108,116, 32,112, 97,114, 97,109,101,
+ 116,101,114, 46, 46, 32,105,115, 32,116,104, 97,116, 32,118,
+ 97,108,105,100, 63, 10, 9, 9, 9,114,101,116,117,114,110,
+ 32,116,114,117,101, 10, 9, 9,101,110,100, 10, 9, 9,114,
+ 101,116,117,114,110, 32,102, 97,108,115,101, 32, 45, 45, 32,
+ 100,101,102, 97,117,108,116, 32,118, 97,108,117,101, 32,105,
+ 115, 32, 39, 78, 85, 76, 76, 39, 32,111,114, 32,115,111,109,
+ 101,116,104,105,110,103, 10, 9,101,110,100, 10, 10, 10, 9,
+ 105,102, 32,115,116,114,105,110,103, 46,102,105,110,100, 40,
+ 112, 97,114, 44, 32, 34, 91, 37, 40, 38, 93, 34, 41, 32,116,
+ 104,101,110, 10, 9, 9,114,101,116,117,114,110, 32,116,114,
+ 117,101, 10, 9,101,110,100, 32, 45, 45, 32,100,101,102, 97,
+ 117,108,116, 32,118, 97,108,117,101, 32,105,115, 32, 97, 32,
+ 99,111,110,115,116,114,117, 99,116,111,114, 32, 99, 97,108,
+ 108, 32, 40,109,111,115,116, 32,108,105,107,101,108,121, 32,
+ 102,111,114, 32, 97, 32, 99,111,110,115,116, 32,114,101,102,
+ 101,114,101,110, 99,101, 41, 10, 10, 9, 45, 45,105,102, 32,
+ 115,116,114,105,110,103, 46,102,105,110,100, 40,112, 97,114,
+ 44, 32, 34, 38, 34, 41, 32,116,104,101,110, 10, 10, 9, 45,
+ 45, 9,105,102, 32,115,116,114,105,110,103, 46,102,105,110,
+ 100, 40,100,101,102, 44, 32, 34, 58, 34, 41, 32,111,114, 32,
+ 115,116,114,105,110,103, 46,102,105,110,100, 40,100,101,102,
+ 44, 32, 34, 94, 37,115, 42,110,101,119, 37,115, 43, 34, 41,
+ 32,116,104,101,110, 10, 10, 9, 45, 45, 9, 9, 45, 45, 32,
+ 105,116, 39,115, 32, 97, 32,114,101,102,101,114,101,110, 99,
+ 101, 32,119,105,116,104, 32,100,101,102, 97,117,108,116, 32,
+ 116,111, 32,115,111,109,101,116,104,105,110,103, 32,108,105,
+ 107,101, 32, 67,108, 97,115,115, 58, 58,109,101,109, 98,101,
+ 114, 44, 32,111,114, 32, 39,110,101,119, 32, 67,108, 97,115,
+ 115, 39, 10, 9, 45, 45, 9, 9,114,101,116,117,114,110, 32,
+ 116,114,117,101, 10, 9, 45, 45, 9,101,110,100, 10, 9, 45,
+ 45,101,110,100, 10, 10, 9,114,101,116,117,114,110, 32,102,
+ 97,108,115,101, 32, 45, 45, 32, 63, 10,101,110,100, 10, 10,
+ 102,117,110, 99,116,105,111,110, 32,115,116,114,105,112, 95,
+ 108, 97,115,116, 95, 97,114,103, 40, 97,108,108, 95, 97,114,
+ 103,115, 44, 32,108, 97,115,116, 95, 97,114,103, 41, 32, 45,
+ 45, 32,115,116,114,105,112,115, 32,116,104,101, 32,100,101,
+ 102, 97,117,108,116, 32,118, 97,108,117,101, 32,102,114,111,
+ 109, 32,116,104,101, 32,108, 97,115,116, 32, 97,114,103,117,
+ 109,101,110,116, 10, 10, 9,108,111, 99, 97,108, 32, 95, 44,
+ 95, 44,115, 95, 97,114,103, 32, 61, 32,115,116,114,105,110,
+ 103, 46,102,105,110,100, 40,108, 97,115,116, 95, 97,114,103,
+ 44, 32, 34, 94, 40, 91, 94, 61, 93, 43, 41, 34, 41, 10, 9,
+ 108, 97,115,116, 95, 97,114,103, 32, 61, 32,115,116,114,105,
+ 110,103, 46,103,115,117, 98, 40,108, 97,115,116, 95, 97,114,
+ 103, 44, 32, 34, 40, 91, 37, 37, 37, 40, 37, 41, 93, 41, 34,
+ 44, 32, 34, 37, 37, 37, 49, 34, 41, 59, 10, 9, 97,108,108,
+ 95, 97,114,103,115, 32, 61, 32,115,116,114,105,110,103, 46,
+ 103,115,117, 98, 40, 97,108,108, 95, 97,114,103,115, 44, 32,
+ 34, 37,115, 42, 44, 37,115, 42, 34, 46, 46,108, 97,115,116,
+ 95, 97,114,103, 46, 46, 34, 37,115, 42, 37, 41, 37,115, 42,
+ 36, 34, 44, 32, 34, 41, 34, 41, 10, 9,114,101,116,117,114,
+ 110, 32, 97,108,108, 95, 97,114,103,115, 44, 32,115, 95, 97,
+ 114,103, 10,101,110,100, 10, 10, 10, 10, 45, 45, 32, 73,110,
+ 116,101,114,110, 97,108, 32, 99,111,110,115,116,114,117, 99,
+ 116,111,114, 10,102,117,110, 99,116,105,111,110, 32, 95, 70,
+ 117,110, 99,116,105,111,110, 32, 40,116, 41, 10, 32,115,101,
+ 116,109,101,116, 97,116, 97, 98,108,101, 40,116, 44, 99,108,
+ 97,115,115, 70,117,110, 99,116,105,111,110, 41, 10, 10, 32,
+ 105,102, 32,116, 46, 99,111,110,115,116, 32,126, 61, 32, 39,
+ 99,111,110,115,116, 39, 32, 97,110,100, 32,116, 46, 99,111,
+ 110,115,116, 32,126, 61, 32, 39, 39, 32,116,104,101,110, 10,
+ 32, 32,101,114,114,111,114, 40, 34, 35,105,110,118, 97,108,
+ 105,100, 32, 39, 99,111,110,115,116, 39, 32,115,112,101, 99,
+ 105,102,105, 99, 97,116,105,111,110, 34, 41, 10, 32,101,110,
+ 100, 10, 10, 32, 97,112,112,101,110,100, 40,116, 41, 10, 32,
+ 105,102, 32,116, 58,105,110, 99,108, 97,115,115, 40, 41, 32,
+ 116,104,101,110, 10, 32, 45, 45,112,114,105,110,116, 32, 40,
+ 39,116, 46,110, 97,109,101, 32,105,115, 32, 39, 46, 46,116,
+ 46,110, 97,109,101, 46, 46, 39, 44, 32,112, 97,114,101,110,
+ 116, 46,110, 97,109,101, 32,105,115, 32, 39, 46, 46,116, 46,
+ 112, 97,114,101,110,116, 46,110, 97,109,101, 41, 10, 32, 32,
+ 105,102, 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,
+ 116, 46,110, 97,109,101, 44, 32, 34, 37, 98, 60, 62, 34, 44,
+ 32, 34, 34, 41, 32, 61, 61, 32,115,116,114,105,110,103, 46,
+ 103,115,117, 98, 40,116, 46,112, 97,114,101,110,116, 46,111,
+ 114,105,103,105,110, 97,108, 95,110, 97,109,101, 32,111,114,
+ 32,116, 46,112, 97,114,101,110,116, 46,110, 97,109,101, 44,
+ 32, 34, 37, 98, 60, 62, 34, 44, 32, 34, 34, 41, 32,116,104,
+ 101,110, 10, 32, 32, 32,116, 46,110, 97,109,101, 32, 61, 32,
+ 39,110,101,119, 39, 10, 32, 32, 32,116, 46,108,110, 97,109,
+ 101, 32, 61, 32, 39,110,101,119, 39, 10, 32, 32, 32,116, 46,
+ 112, 97,114,101,110,116, 46, 95,110,101,119, 32, 61, 32,116,
+ 114,117,101, 10, 32, 32, 32,116, 46,116,121,112,101, 32, 61,
+ 32,116, 46,112, 97,114,101,110,116, 46,110, 97,109,101, 10,
+ 32, 32, 32,116, 46,112,116,114, 32, 61, 32, 39, 42, 39, 10,
+ 32, 32,101,108,115,101,105,102, 32,115,116,114,105,110,103,
+ 46,103,115,117, 98, 40,116, 46,110, 97,109,101, 44, 32, 34,
+ 37, 98, 60, 62, 34, 44, 32, 34, 34, 41, 32, 61, 61, 32, 39,
+ 126, 39, 46, 46,115,116,114,105,110,103, 46,103,115,117, 98,
+ 40,116, 46,112, 97,114,101,110,116, 46,111,114,105,103,105,
+ 110, 97,108, 95,110, 97,109,101, 32,111,114, 32,116, 46,112,
+ 97,114,101,110,116, 46,110, 97,109,101, 44, 32, 34, 37, 98,
+ 60, 62, 34, 44, 32, 34, 34, 41, 32,116,104,101,110, 10, 32,
+ 32, 32,116, 46,110, 97,109,101, 32, 61, 32, 39,100,101,108,
+ 101,116,101, 39, 10, 32, 32, 32,116, 46,108,110, 97,109,101,
+ 32, 61, 32, 39,100,101,108,101,116,101, 39, 10, 32, 32, 32,
+ 116, 46,112, 97,114,101,110,116, 46, 95,100,101,108,101,116,
+ 101, 32, 61, 32,116,114,117,101, 10, 32, 32,101,110,100, 10,
+ 32,101,110,100, 10, 32,116, 46, 99,110, 97,109,101, 32, 61,
+ 32,116, 58, 99,102,117,110, 99,110, 97,109,101, 40, 34,116,
+ 111,108,117, 97, 34, 41, 46, 46,116, 58,111,118,101,114,108,
+ 111, 97,100, 40,116, 41, 10, 32,114,101,116,117,114,110, 32,
+ 116, 10,101,110,100, 10, 10, 45, 45, 32, 67,111,110,115,116,
+ 114,117, 99,116,111,114, 10, 45, 45, 32, 69,120,112,101, 99,
+ 116,115, 32,116,104,114,101,101, 32,115,116,114,105,110,103,
+ 115, 58, 32,111,110,101, 32,114,101,112,114,101,115,101,110,
+ 116,105,110,103, 32,116,104,101, 32,102,117,110, 99,116,105,
+ 111,110, 32,100,101, 99,108, 97,114, 97,116,105,111,110, 44,
+ 10, 45, 45, 32, 97,110,111,116,104,101,114, 32,114,101,112,
+ 114,101,115,101,110,116,105,110,103, 32,116,104,101, 32, 97,
+ 114,103,117,109,101,110,116, 32,108,105,115,116, 44, 32, 97,
+ 110,100, 32,116,104,101, 32,116,104,105,114,100, 32,114,101,
+ 112,114,101,115,101,110,116,105,110,103, 10, 45, 45, 32,116,
+ 104,101, 32, 34, 99,111,110,115,116, 34, 32,111,114, 32,101,
+ 109,112,116,121, 32,115,116,114,105,110,103, 46, 10,102,117,
+ 110, 99,116,105,111,110, 32, 70,117,110, 99,116,105,111,110,
+ 32, 40,100, 44, 97, 44, 99, 41, 10, 32, 45, 45,108,111, 99,
+ 97,108, 32,116, 32, 61, 32,115,112,108,105,116, 40,115,116,
+ 114,115,117, 98, 40, 97, 44, 50, 44, 45, 50, 41, 44, 39, 44,
+ 39, 41, 32, 45, 45, 32,101,108,105,109,105,110, 97,116,101,
+ 32, 98,114, 97, 99,101,115, 10, 32, 45, 45,108,111, 99, 97,
+ 108, 32,116, 32, 61, 32,115,112,108,105,116, 95,112, 97,114,
+ 97,109,115, 40,115,116,114,115,117, 98, 40, 97, 44, 50, 44,
+ 45, 50, 41, 41, 10, 10, 9,105,102, 32,110,111,116, 32,102,
+ 108, 97,103,115, 91, 39, 87, 39, 93, 32, 97,110,100, 32,115,
+ 116,114,105,110,103, 46,102,105,110,100, 40, 97, 44, 32, 34,
+ 37, 46, 37, 46, 37, 46, 37,115, 42, 37, 41, 34, 41, 32,116,
+ 104,101,110, 10, 10, 9, 9,119, 97,114,110,105,110,103, 40,
+ 34, 70,117,110, 99,116,105,111,110,115, 32,119,105,116,104,
+ 32,118, 97,114,105, 97, 98,108,101, 32, 97,114,103,117,109,
+ 101,110,116,115, 32, 40, 96, 46, 46, 46, 39, 41, 32, 97,114,
+ 101, 32,110,111,116, 32,115,117,112,112,111,114,116,101,100,
+ 46, 32, 73,103,110,111,114,105,110,103, 32, 34, 46, 46,100,
+ 46, 46, 97, 46, 46, 99, 41, 10, 9, 9,114,101,116,117,114,
+ 110, 32,110,105,108, 10, 9,101,110,100, 10, 10, 10, 32,108,
+ 111, 99, 97,108, 32,105, 61, 49, 10, 32,108,111, 99, 97,108,
+ 32,108, 32, 61, 32,123,110, 61, 48,125, 10, 10, 32, 9, 97,
+ 32, 61, 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,
+ 97, 44, 32, 34, 37,115, 42, 40, 91, 37, 40, 37, 41, 93, 41,
+ 37,115, 42, 34, 44, 32, 34, 37, 49, 34, 41, 10, 9,108,111,
+ 99, 97,108, 32,116, 44,115,116,114,105,112, 44,108, 97,115,
+ 116, 32, 61, 32,115,116,114,105,112, 95,112, 97,114,115, 40,
+ 115,116,114,115,117, 98, 40, 97, 44, 50, 44, 45, 50, 41, 41,
+ 59, 10, 9,105,102, 32,115,116,114,105,112, 32,116,104,101,
+ 110, 10, 9, 9, 45, 45,108,111, 99, 97,108, 32,110,115, 32,
+ 61, 32,115,116,114,105,110,103, 46,115,117, 98, 40,115,116,
+ 114,115,117, 98, 40, 97, 44, 49, 44, 45, 50, 41, 44, 32, 49,
+ 44, 32, 45, 40,115,116,114,105,110,103, 46,108,101,110, 40,
+ 108, 97,115,116, 41, 43, 49, 41, 41, 10, 9, 9,108,111, 99,
+ 97,108, 32,110,115, 32, 61, 32,106,111,105,110, 40,116, 44,
+ 32, 34, 44, 34, 44, 32, 49, 44, 32,108, 97,115,116, 45, 49,
+ 41, 10, 10, 9, 9,110,115, 32, 61, 32, 34, 40, 34, 46, 46,
+ 115,116,114,105,110,103, 46,103,115,117, 98, 40,110,115, 44,
+ 32, 34, 37,115, 42, 44, 37,115, 42, 36, 34, 44, 32, 34, 34,
+ 41, 46, 46, 39, 41, 39, 10, 9, 9, 45, 45,110,115, 32, 61,
+ 32,115,116,114,105,112, 95,100,101,102, 97,117,108,116,115,
+ 40,110,115, 41, 10, 10, 9, 9,108,111, 99, 97,108, 32,102,
+ 32, 61, 32, 70,117,110, 99,116,105,111,110, 40,100, 44, 32,
+ 110,115, 44, 32, 99, 41, 10, 9, 9,102,111,114, 32,105, 61,
+ 49, 44,108, 97,115,116, 32,100,111, 10, 9, 9, 9,116, 91,
+ 105, 93, 32, 61, 32,115,116,114,105,110,103, 46,103,115,117,
+ 98, 40,116, 91,105, 93, 44, 32, 34, 61, 46, 42, 36, 34, 44,
+ 32, 34, 34, 41, 10, 9, 9,101,110,100, 10, 9,101,110,100,
+ 10, 10, 32,119,104,105,108,101, 32,116, 91,105, 93, 32,100,
+ 111, 10, 32, 32,108, 46,110, 32, 61, 32,108, 46,110, 43, 49,
+ 10, 32, 32,108, 91,108, 46,110, 93, 32, 61, 32, 68,101, 99,
+ 108, 97,114, 97,116,105,111,110, 40,116, 91,105, 93, 44, 39,
+ 118, 97,114, 39, 44,116,114,117,101, 41, 10, 32, 32,105, 32,
+ 61, 32,105, 43, 49, 10, 32,101,110,100, 10, 32,108,111, 99,
+ 97,108, 32,102, 32, 61, 32, 68,101, 99,108, 97,114, 97,116,
+ 105,111,110, 40,100, 44, 39,102,117,110, 99, 39, 41, 10, 32,
+ 102, 46, 97,114,103,115, 32, 61, 32,108, 10, 32,102, 46, 99,
+ 111,110,115,116, 32, 61, 32, 99, 10, 32,114,101,116,117,114,
+ 110, 32, 95, 70,117,110, 99,116,105,111,110, 40,102, 41, 10,
+ 101,110,100, 10, 10,102,117,110, 99,116,105,111,110, 32,106,
+ 111,105,110, 40,116, 44, 32,115,101,112, 44, 32,102,105,114,
+ 115,116, 44, 32,108, 97,115,116, 41, 10, 10, 9,102,105,114,
+ 115,116, 32, 61, 32,102,105,114,115,116, 32,111,114, 32, 49,
+ 10, 9,108, 97,115,116, 32, 61, 32,108, 97,115,116, 32,111,
+ 114, 32,116, 97, 98,108,101, 46,103,101,116,110, 40,116, 41,
+ 10, 9,108,111, 99, 97,108, 32,108,115,101,112, 32, 61, 32,
+ 34, 34, 10, 9,108,111, 99, 97,108, 32,114,101,116, 32, 61,
+ 32, 34, 34, 10, 9,108,111, 99, 97,108, 32,108,111,111,112,
+ 32, 61, 32,102, 97,108,115,101, 10, 9,102,111,114, 32,105,
+ 32, 61, 32,102,105,114,115,116, 44,108, 97,115,116, 32,100,
+ 111, 10, 10, 9, 9,114,101,116, 32, 61, 32,114,101,116, 46,
+ 46,108,115,101,112, 46, 46,116, 91,105, 93, 10, 9, 9,108,
+ 115,101,112, 32, 61, 32,115,101,112, 10, 9, 9,108,111,111,
+ 112, 32, 61, 32,116,114,117,101, 10, 9,101,110,100, 10, 9,
+ 105,102, 32,110,111,116, 32,108,111,111,112, 32,116,104,101,
+ 110, 10, 9, 9,114,101,116,117,114,110, 32, 34, 34, 10, 9,
+ 101,110,100, 10, 10, 9,114,101,116,117,114,110, 32,114,101,
+ 116, 10,101,110,100, 10, 10,102,117,110, 99,116,105,111,110,
+ 32,115,116,114,105,112, 95,112, 97,114,115, 40,115, 41, 10,
+ 10, 9,108,111, 99, 97,108, 32,116, 32, 61, 32,115,112,108,
+ 105,116, 95, 99, 95,116,111,107,101,110,115, 40,115, 44, 32,
+ 39, 44, 39, 41, 10, 9,108,111, 99, 97,108, 32,115,116,114,
+ 105,112, 32, 61, 32,102, 97,108,115,101, 10, 9,108,111, 99,
+ 97,108, 32,108, 97,115,116, 10, 10, 9,102,111,114, 32,105,
+ 61,116, 46,110, 44, 49, 44, 45, 49, 32,100,111, 10, 10, 9,
+ 9,105,102, 32,110,111,116, 32,115,116,114,105,112, 32, 97,
+ 110,100, 32,112, 97,114, 97,109, 95,111, 98,106,101, 99,116,
+ 40,116, 91,105, 93, 41, 32,116,104,101,110, 10, 9, 9, 9,
+ 108, 97,115,116, 32, 61, 32,105, 10, 9, 9, 9,115,116,114,
+ 105,112, 32, 61, 32,116,114,117,101, 10, 9, 9,101,110,100,
+ 10, 9, 9, 45, 45,105,102, 32,115,116,114,105,112, 32,116,
+ 104,101,110, 10, 9, 9, 45, 45, 9,116, 91,105, 93, 32, 61,
+ 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,116, 91,
+ 105, 93, 44, 32, 34, 61, 46, 42, 36, 34, 44, 32, 34, 34, 41,
+ 10, 9, 9, 45, 45,101,110,100, 10, 9,101,110,100, 10, 10,
+ 9,114,101,116,117,114,110, 32,116, 44,115,116,114,105,112,
+ 44,108, 97,115,116, 10, 10,101,110,100, 10, 10,102,117,110,
+ 99,116,105,111,110, 32,115,116,114,105,112, 95,100,101,102,
+ 97,117,108,116,115, 40,115, 41, 10, 10, 9,115, 32, 61, 32,
+ 115,116,114,105,110,103, 46,103,115,117, 98, 40,115, 44, 32,
+ 34, 94, 37, 40, 34, 44, 32, 34, 34, 41, 10, 9,115, 32, 61,
+ 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,115, 44,
+ 32, 34, 37, 41, 36, 34, 44, 32, 34, 34, 41, 10, 10, 9,108,
+ 111, 99, 97,108, 32,116, 32, 61, 32,115,112,108,105,116, 95,
+ 99, 95,116,111,107,101,110,115, 40,115, 44, 32, 34, 44, 34,
+ 41, 10, 9,108,111, 99, 97,108, 32,115,101,112, 44, 32,114,
+ 101,116, 32, 61, 32, 34, 34, 44, 34, 34, 10, 9,102,111,114,
+ 32,105, 61, 49, 44,116, 46,110, 32,100,111, 10, 9, 9,116,
+ 91,105, 93, 32, 61, 32,115,116,114,105,110,103, 46,103,115,
+ 117, 98, 40,116, 91,105, 93, 44, 32, 34, 61, 46, 42, 36, 34,
+ 44, 32, 34, 34, 41, 10, 9, 9,114,101,116, 32, 61, 32,114,
+ 101,116, 46, 46,115,101,112, 46, 46,116, 91,105, 93, 10, 9,
+ 9,115,101,112, 32, 61, 32, 34, 44, 34, 10, 9,101,110,100,
+ 10, 10, 9,114,101,116,117,114,110, 32, 34, 40, 34, 46, 46,
+ 114,101,116, 46, 46, 34, 41, 34, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/function.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32,111,112,101,114, 97,
+ 116,111,114, 32, 99,108, 97,115,115, 10, 45, 45, 32, 87,114,
+ 105,116,116,101,110, 32, 98,121, 32, 87, 97,108,100,101,109,
+ 97,114, 32, 67,101,108,101,115, 10, 45, 45, 32, 84,101, 67,
+ 71,114, 97,102, 47, 80, 85, 67, 45, 82,105,111, 10, 45, 45,
+ 32, 74,117,108, 32, 49, 57, 57, 56, 10, 45, 45, 32, 36, 73,
+ 100, 58, 32, 36, 10, 10, 45, 45, 32, 84,104,105,115, 32, 99,
+ 111,100,101, 32,105,115, 32,102,114,101,101, 32,115,111,102,
+ 116,119, 97,114,101, 59, 32,121,111,117, 32, 99, 97,110, 32,
+ 114,101,100,105,115,116,114,105, 98,117,116,101, 32,105,116,
+ 32, 97,110,100, 47,111,114, 32,109,111,100,105,102,121, 32,
+ 105,116, 46, 10, 45, 45, 32, 84,104,101, 32,115,111,102,116,
+ 119, 97,114,101, 32,112,114,111,118,105,100,101,100, 32,104,
+ 101,114,101,117,110,100,101,114, 32,105,115, 32,111,110, 32,
+ 97,110, 32, 34, 97,115, 32,105,115, 34, 32, 98, 97,115,105,
+ 115, 44, 32, 97,110,100, 10, 45, 45, 32,116,104,101, 32, 97,
+ 117,116,104,111,114, 32,104, 97,115, 32,110,111, 32,111, 98,
+ 108,105,103, 97,116,105,111,110, 32,116,111, 32,112,114,111,
+ 118,105,100,101, 32,109, 97,105,110,116,101,110, 97,110, 99,
+ 101, 44, 32,115,117,112,112,111,114,116, 44, 32,117,112,100,
+ 97,116,101,115, 44, 10, 45, 45, 32,101,110,104, 97,110, 99,
+ 101,109,101,110,116,115, 44, 32,111,114, 32,109,111,100,105,
+ 102,105, 99, 97,116,105,111,110,115, 46, 10, 10, 10, 45, 45,
+ 32, 79,112,101,114, 97,116,111,114, 32, 99,108, 97,115,115,
+ 10, 45, 45, 32, 82,101,112,114,101,115,101,110,116,115, 32,
+ 97,110, 32,111,112,101,114, 97,116,111,114, 32,102,117,110,
+ 99,116,105,111,110, 32,111,114, 32, 97, 32, 99,108, 97,115,
+ 115, 32,111,112,101,114, 97,116,111,114, 32,109,101,116,104,
+ 111,100, 46, 10, 45, 45, 32, 73,116, 32,115,116,111,114,101,
+ 115, 32,116,104,101, 32,115, 97,109,101, 32,102,105,101,108,
+ 100,115, 32, 97,115, 32,102,117,110, 99,116,105,111,110,115,
+ 32,100,111, 32,112,108,117,115, 58, 10, 45, 45, 32, 32,107,
+ 105,110,100, 32, 61, 32,115,101,116, 32,111,102, 32, 99,104,
+ 97,114, 97, 99,116,101,114, 32,114,101,112,114,101,115,101,
+ 110,116,105,110,103, 32,116,104,101, 32,111,112,101,114, 97,
+ 116,111,114, 32, 40, 97,115, 32,105,116, 32, 97,112,112,101,
+ 114,115, 32,105,110, 32, 67, 43, 43, 32, 99,111,100,101, 41,
+ 10, 99,108, 97,115,115, 79,112,101,114, 97,116,111,114, 32,
+ 61, 32,123, 10, 32,107,105,110,100, 32, 61, 32, 39, 39, 44,
+ 10,125, 10, 99,108, 97,115,115, 79,112,101,114, 97,116,111,
+ 114, 46, 95, 95,105,110,100,101,120, 32, 61, 32, 99,108, 97,
+ 115,115, 79,112,101,114, 97,116,111,114, 10,115,101,116,109,
+ 101,116, 97,116, 97, 98,108,101, 40, 99,108, 97,115,115, 79,
+ 112,101,114, 97,116,111,114, 44, 99,108, 97,115,115, 70,117,
+ 110, 99,116,105,111,110, 41, 10, 10, 45, 45, 32,116, 97, 98,
+ 108,101, 32,116,111, 32,116,114, 97,110,115,102,111,114,109,
+ 32,111,112,101,114, 97,116,111,114, 32,107,105,110,100, 32,
+ 105,110,116,111, 32,116,104,101, 32, 97,112,112,114,111,112,
+ 114,105, 97,116,101, 32,116, 97,103, 32,109,101,116,104,111,
+ 100, 32,110, 97,109,101, 10, 95, 84, 77, 32, 61, 32,123, 91,
+ 39, 43, 39, 93, 32, 61, 32, 39, 97,100,100, 39, 44, 10, 32,
+ 32, 32, 32, 32, 32, 32, 91, 39, 45, 39, 93, 32, 61, 32, 39,
+ 115,117, 98, 39, 44, 10, 32, 32, 32, 32, 32, 32, 32, 91, 39,
+ 42, 39, 93, 32, 61, 32, 39,109,117,108, 39, 44, 10, 32, 32,
+ 32, 32, 32, 32, 32, 91, 39, 47, 39, 93, 32, 61, 32, 39,100,
+ 105,118, 39, 44, 10, 32, 32, 32, 32, 32, 32, 32, 91, 39, 60,
+ 39, 93, 32, 61, 32, 39,108,116, 39, 44, 10, 32, 32, 32, 32,
+ 32, 32, 32, 91, 39, 60, 61, 39, 93, 32, 61, 32, 39,108,101,
+ 39, 44, 10, 32, 32, 32, 32, 32, 32, 32, 91, 39, 61, 61, 39,
+ 93, 32, 61, 32, 39,101,113, 39, 44, 10, 32, 32, 32, 32, 32,
+ 32, 32, 91, 39, 91, 93, 39, 93, 32, 61, 32, 39,103,101,116,
+ 105, 39, 44, 10, 32, 32, 32, 32, 32, 32, 32, 91, 39, 38, 91,
+ 93, 39, 93, 32, 61, 32, 39,115,101,116,105, 39, 44, 10, 32,
+ 32, 32, 32, 32, 32, 32, 45, 45, 91, 39, 45, 62, 39, 93, 32,
+ 61, 32, 39,102,108,101, 99,104,105,116, 97, 39, 44, 10, 32,
+ 32, 32, 32, 32, 32,125, 10, 10, 10, 45, 45, 32, 80,114,105,
+ 110,116, 32,109,101,116,104,111,100, 10,102,117,110, 99,116,
+ 105,111,110, 32, 99,108, 97,115,115, 79,112,101,114, 97,116,
+ 111,114, 58,112,114,105,110,116, 32, 40,105,100,101,110,116,
+ 44, 99,108,111,115,101, 41, 10, 32,112,114,105,110,116, 40,
+ 105,100,101,110,116, 46, 46, 34, 79,112,101,114, 97,116,111,
+ 114,123, 34, 41, 10, 32,112,114,105,110,116, 40,105,100,101,
+ 110,116, 46, 46, 34, 32,107,105,110,100, 32, 32, 61, 32, 39,
+ 34, 46, 46,115,101,108,102, 46,107,105,110,100, 46, 46, 34,
+ 39, 44, 34, 41, 10, 32,112,114,105,110,116, 40,105,100,101,
+ 110,116, 46, 46, 34, 32,109,111,100, 32, 32, 61, 32, 39, 34,
+ 46, 46,115,101,108,102, 46,109,111,100, 46, 46, 34, 39, 44,
+ 34, 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,116,
+ 46, 46, 34, 32,116,121,112,101, 32, 61, 32, 39, 34, 46, 46,
+ 115,101,108,102, 46,116,121,112,101, 46, 46, 34, 39, 44, 34,
+ 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46,
+ 46, 34, 32,112,116,114, 32, 32, 61, 32, 39, 34, 46, 46,115,
+ 101,108,102, 46,112,116,114, 46, 46, 34, 39, 44, 34, 41, 10,
+ 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34,
+ 32,110, 97,109,101, 32, 61, 32, 39, 34, 46, 46,115,101,108,
+ 102, 46,110, 97,109,101, 46, 46, 34, 39, 44, 34, 41, 10, 32,
+ 112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34, 32,
+ 99,111,110,115,116, 32, 61, 32, 39, 34, 46, 46,115,101,108,
+ 102, 46, 99,111,110,115,116, 46, 46, 34, 39, 44, 34, 41, 10,
+ 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34,
+ 32, 99,110, 97,109,101, 32, 61, 32, 39, 34, 46, 46,115,101,
+ 108,102, 46, 99,110, 97,109,101, 46, 46, 34, 39, 44, 34, 41,
+ 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46,
+ 34, 32,108,110, 97,109,101, 32, 61, 32, 39, 34, 46, 46,115,
+ 101,108,102, 46,108,110, 97,109,101, 46, 46, 34, 39, 44, 34,
+ 41, 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46,
+ 46, 34, 32, 97,114,103,115, 32, 61, 32,123, 34, 41, 10, 32,
+ 108,111, 99, 97,108, 32,105, 61, 49, 10, 32,119,104,105,108,
+ 101, 32,115,101,108,102, 46, 97,114,103,115, 91,105, 93, 32,
+ 100,111, 10, 32, 32,115,101,108,102, 46, 97,114,103,115, 91,
+ 105, 93, 58,112,114,105,110,116, 40,105,100,101,110,116, 46,
+ 46, 34, 32, 32, 34, 44, 34, 44, 34, 41, 10, 32, 32,105, 32,
+ 61, 32,105, 43, 49, 10, 32,101,110,100, 10, 32,112,114,105,
+ 110,116, 40,105,100,101,110,116, 46, 46, 34, 32,125, 34, 41,
+ 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46,
+ 34,125, 34, 46, 46, 99,108,111,115,101, 41, 10,101,110,100,
+ 10, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,115,
+ 115, 79,112,101,114, 97,116,111,114, 58,115,117,112, 99,111,
+ 100,101, 95,116,109,112, 40, 41, 10, 10, 9,105,102, 32,110,
+ 111,116, 32, 95, 84, 77, 91,115,101,108,102, 46,107,105,110,
+ 100, 93, 32,116,104,101,110, 10, 9, 9,114,101,116,117,114,
+ 110, 32, 99,108, 97,115,115, 70,117,110, 99,116,105,111,110,
+ 46,115,117,112, 99,111,100,101, 40,115,101,108,102, 41, 10,
+ 9,101,110,100, 10, 10, 9, 45, 45, 32,110,111, 32,111,118,
+ 101,114,108,111, 97,100, 44, 32,110,111, 32,112, 97,114, 97,
+ 109,101,116,101,114,115, 44, 32, 97,108,119, 97,121,115, 32,
+ 105,110, 99,108, 97,115,115, 10, 9,111,117,116,112,117,116,
+ 40, 34, 47, 42, 32,109,101,116,104,111,100, 58, 34, 44,115,
+ 101,108,102, 46,110, 97,109,101, 44, 34, 32,111,102, 32, 99,
+ 108, 97,115,115, 32, 34, 44,115,101,108,102, 58,105,110, 99,
+ 108, 97,115,115, 40, 41, 44, 34, 32, 42, 47, 34, 41, 10, 10,
+ 9,111,117,116,112,117,116, 40, 34, 35,105,102,110,100,101,
+ 102, 32, 84, 79, 76, 85, 65, 95, 68, 73, 83, 65, 66, 76, 69,
+ 95, 34, 46, 46,115,101,108,102, 46, 99,110, 97,109,101, 41,
+ 10, 9,111,117,116,112,117,116, 40, 34, 92,110,115,116, 97,
+ 116,105, 99, 32,105,110,116, 34, 44,115,101,108,102, 46, 99,
+ 110, 97,109,101, 44, 34, 40,108,117, 97, 95, 83,116, 97,116,
+ 101, 42, 32,116,111,108,117, 97, 95, 83, 41, 34, 41, 10, 10,
+ 9,105,102, 32,111,118,101,114,108,111, 97,100, 32, 60, 32,
+ 48, 32,116,104,101,110, 10, 9, 32,111,117,116,112,117,116,
+ 40, 39, 35,105,102,110,100,101,102, 32, 84, 79, 76, 85, 65,
+ 95, 82, 69, 76, 69, 65, 83, 69, 92,110, 39, 41, 10, 9,101,
+ 110,100, 10, 9,111,117,116,112,117,116, 40, 39, 32,116,111,
+ 108,117, 97, 95, 69,114,114,111,114, 32,116,111,108,117, 97,
+ 95,101,114,114, 59, 39, 41, 10, 9,111,117,116,112,117,116,
+ 40, 39, 32,105,102, 32, 40, 92,110, 39, 41, 10, 9, 45, 45,
+ 32, 99,104,101, 99,107, 32,115,101,108,102, 10, 9,108,111,
+ 99, 97,108, 32,105,115, 95,102,117,110, 99, 32, 61, 32,103,
+ 101,116, 95,105,115, 95,102,117,110, 99,116,105,111,110, 40,
+ 115,101,108,102, 46,112, 97,114,101,110,116, 46,116,121,112,
+ 101, 41, 10, 9,111,117,116,112,117,116, 40, 39, 32, 32, 32,
+ 32, 32, 33, 39, 46, 46,105,115, 95,102,117,110, 99, 46, 46,
+ 39, 40,116,111,108,117, 97, 95, 83, 44, 49, 44, 34, 39, 46,
+ 46,115,101,108,102, 46,112, 97,114,101,110,116, 46,116,121,
+ 112,101, 46, 46, 39, 34, 44, 48, 44, 38,116,111,108,117, 97,
+ 95,101,114,114, 41, 32,124,124, 92,110, 39, 41, 10, 9,111,
+ 117,116,112,117,116, 40, 39, 32, 32, 32, 32, 32, 33,116,111,
+ 108,117, 97, 95,105,115,110,111,111, 98,106, 40,116,111,108,
+ 117, 97, 95, 83, 44, 50, 44, 38,116,111,108,117, 97, 95,101,
+ 114,114, 41, 92,110, 32, 41, 39, 41, 10, 9,111,117,116,112,
+ 117,116, 40, 39, 32, 32,103,111,116,111, 32,116,111,108,117,
+ 97, 95,108,101,114,114,111,114, 59, 39, 41, 10, 10, 9,111,
+ 117,116,112,117,116, 40, 39, 32,101,108,115,101, 92,110, 39,
+ 41, 10, 9,111,117,116,112,117,116, 40, 39, 35,101,110,100,
+ 105,102, 92,110, 39, 41, 32, 45, 45, 32,116,111,108,117, 97,
+ 95,114,101,108,101, 97,115,101, 10, 9,111,117,116,112,117,
+ 116, 40, 39, 32,123, 39, 41, 10, 10, 9, 45, 45, 32,100,101,
+ 99,108, 97,114,101, 32,115,101,108,102, 10, 9,111,117,116,
+ 112,117,116, 40, 39, 32, 39, 44,115,101,108,102, 46, 99,111,
+ 110,115,116, 44,115,101,108,102, 46,112, 97,114,101,110,116,
+ 46,116,121,112,101, 44, 39, 42, 39, 44, 39,115,101,108,102,
+ 32, 61, 32, 39, 41, 10, 9,111,117,116,112,117,116, 40, 39,
+ 40, 39, 44,115,101,108,102, 46, 99,111,110,115,116, 44,115,
+ 101,108,102, 46,112, 97,114,101,110,116, 46,116,121,112,101,
+ 44, 39, 42, 41, 32, 39, 41, 10, 9,108,111, 99, 97,108, 32,
+ 116,111, 95,102,117,110, 99, 32, 61, 32,103,101,116, 95,116,
+ 111, 95,102,117,110, 99, 40,115,101,108,102, 46,112, 97,114,
+ 101,110,116, 46,116,121,112,101, 41, 10, 9,111,117,116,112,
+ 117,116, 40,116,111, 95,102,117,110, 99, 44, 39, 40,116,111,
+ 108,117, 97, 95, 83, 44, 49, 44, 48, 41, 59, 39, 41, 10, 10,
+ 9, 45, 45, 32, 99,104,101, 99,107, 32,115,101,108,102, 10,
+ 9,111,117,116,112,117,116, 40, 39, 35,105,102,110,100,101,
+ 102, 32, 84, 79, 76, 85, 65, 95, 82, 69, 76, 69, 65, 83, 69,
+ 92,110, 39, 41, 10, 9,111,117,116,112,117,116, 40, 39, 32,
+ 32,105,102, 32, 40, 33,115,101,108,102, 41, 32,116,111,108,
+ 117, 97, 95,101,114,114,111,114, 40,116,111,108,117, 97, 95,
+ 83, 44, 34, 39, 46, 46,111,117,116,112,117,116, 95,101,114,
+ 114,111,114, 95,104,111,111,107, 40, 34,105,110,118, 97,108,
+ 105,100, 32, 92, 39,115,101,108,102, 92, 39, 32,105,110, 32,
+ 102,117,110, 99,116,105,111,110, 32, 92, 39, 37,115, 92, 39,
+ 34, 44, 32,115,101,108,102, 46,110, 97,109,101, 41, 46, 46,
+ 39, 34, 44, 78, 85, 76, 76, 41, 59, 39, 41, 59, 10, 9,111,
+ 117,116,112,117,116, 40, 39, 35,101,110,100,105,102, 92,110,
+ 39, 41, 10, 10, 9, 45, 45, 32, 99, 97,115,116, 32,115,101,
+ 108,102, 10, 9,111,117,116,112,117,116, 40, 39, 32, 32, 39,
+ 44,115,101,108,102, 46,109,111,100, 44,115,101,108,102, 46,
+ 116,121,112,101, 44,115,101,108,102, 46,112,116,114, 44, 39,
+ 116,111,108,117, 97, 95,114,101,116, 32, 61, 32, 39, 41, 10,
+ 9,111,117,116,112,117,116, 40, 39, 40, 39, 44,115,101,108,
+ 102, 46,109,111,100, 44,115,101,108,102, 46,116,121,112,101,
+ 44,115,101,108,102, 46,112,116,114, 44, 39, 41, 40, 42,115,
+ 101,108,102, 41, 59, 39, 41, 10, 10, 9, 45, 45, 32,114,101,
+ 116,117,114,110, 32,118, 97,108,117,101, 10, 9,108,111, 99,
+ 97,108, 32,116, 44, 99,116, 32, 61, 32,105,115, 98, 97,115,
+ 105, 99, 40,115,101,108,102, 46,116,121,112,101, 41, 10, 9,
+ 105,102, 32,116, 32,116,104,101,110, 10, 9, 9,111,117,116,
+ 112,117,116, 40, 39, 32, 32, 32,116,111,108,117, 97, 95,112,
+ 117,115,104, 39, 46, 46,116, 46, 46, 39, 40,116,111,108,117,
+ 97, 95, 83, 44, 40, 39, 44, 99,116, 44, 39, 41,116,111,108,
+ 117, 97, 95,114,101,116, 41, 59, 39, 41, 10, 9,101,108,115,
+ 101, 10, 9, 9,116, 32, 61, 32,115,101,108,102, 46,116,121,
+ 112,101, 10, 9, 9,108,111, 99, 97,108, 32,112,117,115,104,
+ 95,102,117,110, 99, 32, 61, 32,103,101,116, 95,112,117,115,
+ 104, 95,102,117,110, 99,116,105,111,110, 40,116, 41, 10, 9,
+ 9,110,101,119, 95,116, 32, 61, 32,115,116,114,105,110,103,
+ 46,103,115,117, 98, 40,116, 44, 32, 34, 99,111,110,115,116,
+ 37,115, 43, 34, 44, 32, 34, 34, 41, 10, 9, 9,105,102, 32,
+ 115,101,108,102, 46,112,116,114, 32, 61, 61, 32, 39, 39, 32,
+ 116,104,101,110, 10, 9, 9, 9,111,117,116,112,117,116, 40,
+ 39, 32, 32, 32,123, 39, 41, 10, 9, 9, 9,111,117,116,112,
+ 117,116, 40, 39, 35,105,102,100,101,102, 32, 95, 95, 99,112,
+ 108,117,115,112,108,117,115, 92,110, 39, 41, 10, 9, 9, 9,
+ 111,117,116,112,117,116, 40, 39, 32, 32, 32, 32,118,111,105,
+ 100, 42, 32,116,111,108,117, 97, 95,111, 98,106, 32, 61, 32,
+ 77,116,111,108,117, 97, 95,110,101,119, 40, 40, 39, 44,110,
+ 101,119, 95,116, 44, 39, 41, 40,116,111,108,117, 97, 95,114,
+ 101,116, 41, 41, 59, 39, 41, 10, 9, 9, 9,111,117,116,112,
+ 117,116, 40, 39, 32, 32, 32, 32, 39, 44,112,117,115,104, 95,
+ 102,117,110, 99, 44, 39, 40,116,111,108,117, 97, 95, 83, 44,
+ 116,111,108,117, 97, 95,111, 98,106, 44, 34, 39, 44,116, 44,
+ 39, 34, 41, 59, 39, 41, 10, 9, 9, 9,111,117,116,112,117,
+ 116, 40, 39, 32, 32, 32, 32,116,111,108,117, 97, 95,114,101,
+ 103,105,115,116,101,114, 95,103, 99, 40,116,111,108,117, 97,
+ 95, 83, 44,108,117, 97, 95,103,101,116,116,111,112, 40,116,
+ 111,108,117, 97, 95, 83, 41, 41, 59, 39, 41, 10, 9, 9, 9,
+ 111,117,116,112,117,116, 40, 39, 35,101,108,115,101, 92,110,
+ 39, 41, 10, 9, 9, 9,111,117,116,112,117,116, 40, 39, 32,
+ 32, 32, 32,118,111,105,100, 42, 32,116,111,108,117, 97, 95,
+ 111, 98,106, 32, 61, 32,116,111,108,117, 97, 95, 99,111,112,
+ 121, 40,116,111,108,117, 97, 95, 83, 44, 40,118,111,105,100,
+ 42, 41, 38,116,111,108,117, 97, 95,114,101,116, 44,115,105,
+ 122,101,111,102, 40, 39, 44,116, 44, 39, 41, 41, 59, 39, 41,
+ 10, 9, 9, 9,111,117,116,112,117,116, 40, 39, 32, 32, 32,
+ 32, 39, 44,112,117,115,104, 95,102,117,110, 99, 44, 39, 40,
+ 116,111,108,117, 97, 95, 83, 44,116,111,108,117, 97, 95,111,
+ 98,106, 44, 34, 39, 44,116, 44, 39, 34, 41, 59, 39, 41, 10,
+ 9, 9, 9,111,117,116,112,117,116, 40, 39, 32, 32, 32, 32,
+ 116,111,108,117, 97, 95,114,101,103,105,115,116,101,114, 95,
+ 103, 99, 40,116,111,108,117, 97, 95, 83, 44,108,117, 97, 95,
+ 103,101,116,116,111,112, 40,116,111,108,117, 97, 95, 83, 41,
+ 41, 59, 39, 41, 10, 9, 9, 9,111,117,116,112,117,116, 40,
+ 39, 35,101,110,100,105,102, 92,110, 39, 41, 10, 9, 9, 9,
+ 111,117,116,112,117,116, 40, 39, 32, 32, 32,125, 39, 41, 10,
+ 9, 9,101,108,115,101,105,102, 32,115,101,108,102, 46,112,
+ 116,114, 32, 61, 61, 32, 39, 38, 39, 32,116,104,101,110, 10,
+ 9, 9, 9,111,117,116,112,117,116, 40, 39, 32, 32, 32, 39,
+ 44,112,117,115,104, 95,102,117,110, 99, 44, 39, 40,116,111,
+ 108,117, 97, 95, 83, 44, 40,118,111,105,100, 42, 41, 38,116,
+ 111,108,117, 97, 95,114,101,116, 44, 34, 39, 44,116, 44, 39,
+ 34, 41, 59, 39, 41, 10, 9, 9,101,108,115,101, 10, 9, 9,
+ 9,105,102, 32,108,111, 99, 97,108, 95, 99,111,110,115,116,
+ 114,117, 99,116,111,114, 32,116,104,101,110, 10, 9, 9, 9,
+ 9,111,117,116,112,117,116, 40, 39, 32, 32, 32, 39, 44,112,
+ 117,115,104, 95,102,117,110, 99, 44, 39, 40,116,111,108,117,
+ 97, 95, 83, 44, 40,118,111,105,100, 32, 42, 41,116,111,108,
+ 117, 97, 95,114,101,116, 44, 34, 39, 44,116, 44, 39, 34, 41,
+ 59, 39, 41, 10, 9, 9, 9, 9,111,117,116,112,117,116, 40,
+ 39, 32, 32, 32, 32,116,111,108,117, 97, 95,114,101,103,105,
+ 115,116,101,114, 95,103, 99, 40,116,111,108,117, 97, 95, 83,
+ 44,108,117, 97, 95,103,101,116,116,111,112, 40,116,111,108,
+ 117, 97, 95, 83, 41, 41, 59, 39, 41, 10, 9, 9, 9,101,108,
+ 115,101, 10, 9, 9, 9, 9,111,117,116,112,117,116, 40, 39,
+ 32, 32, 32, 39, 44,112,117,115,104, 95,102,117,110, 99, 44,
+ 39, 40,116,111,108,117, 97, 95, 83, 44, 40,118,111,105,100,
+ 42, 41,116,111,108,117, 97, 95,114,101,116, 44, 34, 39, 44,
+ 116, 44, 39, 34, 41, 59, 39, 41, 10, 9, 9, 9,101,110,100,
+ 10, 9, 9,101,110,100, 10, 9,101,110,100, 10, 10, 9,111,
+ 117,116,112,117,116, 40, 39, 32, 32,125, 39, 41, 10, 9,111,
+ 117,116,112,117,116, 40, 39, 32,114,101,116,117,114,110, 32,
+ 49, 59, 39, 41, 10, 10, 9,111,117,116,112,117,116, 40, 39,
+ 35,105,102,110,100,101,102, 32, 84, 79, 76, 85, 65, 95, 82,
+ 69, 76, 69, 65, 83, 69, 92,110, 39, 41, 10, 9,111,117,116,
+ 112,117,116, 40, 39,116,111,108,117, 97, 95,108,101,114,114,
+ 111,114, 58, 92,110, 39, 41, 10, 9,111,117,116,112,117,116,
+ 40, 39, 32,116,111,108,117, 97, 95,101,114,114,111,114, 40,
+ 116,111,108,117, 97, 95, 83, 44, 34, 39, 46, 46,111,117,116,
+ 112,117,116, 95,101,114,114,111,114, 95,104,111,111,107, 40,
+ 34, 35,102,101,114,114,111,114, 32,105,110, 32,102,117,110,
+ 99,116,105,111,110, 32, 92, 39, 37,115, 92, 39, 46, 34, 44,
+ 32,115,101,108,102, 46,108,110, 97,109,101, 41, 46, 46, 39,
+ 34, 44, 38,116,111,108,117, 97, 95,101,114,114, 41, 59, 39,
+ 41, 10, 9,111,117,116,112,117,116, 40, 39, 32,114,101,116,
+ 117,114,110, 32, 48, 59, 39, 41, 10, 9,111,117,116,112,117,
+ 116, 40, 39, 35,101,110,100,105,102, 92,110, 39, 41, 10, 10,
+ 10, 9,111,117,116,112,117,116, 40, 39,125, 39, 41, 10, 9,
+ 111,117,116,112,117,116, 40, 39, 35,101,110,100,105,102, 32,
+ 47, 47, 35,105,102,110,100,101,102, 32, 84, 79, 76, 85, 65,
+ 95, 68, 73, 83, 65, 66, 76, 69, 92,110, 39, 41, 10, 9,111,
+ 117,116,112,117,116, 40, 39, 92,110, 39, 41, 10,101,110,100,
+ 10, 10, 45, 45, 32, 73,110,116,101,114,110, 97,108, 32, 99,
+ 111,110,115,116,114,117, 99,116,111,114, 10,102,117,110, 99,
+ 116,105,111,110, 32, 95, 79,112,101,114, 97,116,111,114, 32,
+ 40,116, 41, 10, 32,115,101,116,109,101,116, 97,116, 97, 98,
+ 108,101, 40,116, 44, 99,108, 97,115,115, 79,112,101,114, 97,
+ 116,111,114, 41, 10, 10, 32,105,102, 32,116, 46, 99,111,110,
+ 115,116, 32,126, 61, 32, 39, 99,111,110,115,116, 39, 32, 97,
+ 110,100, 32,116, 46, 99,111,110,115,116, 32,126, 61, 32, 39,
+ 39, 32,116,104,101,110, 10, 32, 32,101,114,114,111,114, 40,
+ 34, 35,105,110,118, 97,108,105,100, 32, 39, 99,111,110,115,
+ 116, 39, 32,115,112,101, 99,105,102,105, 99, 97,116,105,111,
+ 110, 34, 41, 10, 32,101,110,100, 10, 10, 32, 97,112,112,101,
+ 110,100, 40,116, 41, 10, 32,105,102, 32,110,111,116, 32,116,
+ 58,105,110, 99,108, 97,115,115, 40, 41, 32,116,104,101,110,
+ 10, 32, 32,101,114,114,111,114, 40, 34, 35,111,112,101,114,
+ 97,116,111,114, 32, 99, 97,110, 32,111,110,108,121, 32, 98,
+ 101, 32,100,101,102,105,110,101,100, 32, 97,115, 32, 99,108,
+ 97,115,115, 32,109,101,109, 98,101,114, 34, 41, 10, 32,101,
+ 110,100, 10, 10, 32, 45, 45,116, 46,110, 97,109,101, 32, 61,
+ 32,116, 46,110, 97,109,101, 32, 46, 46, 32, 34, 95, 34, 32,
+ 46, 46, 32, 40, 95, 84, 77, 91,116, 46,107,105,110,100, 93,
+ 32,111,114, 32,116, 46,107,105,110,100, 41, 10, 32,116, 46,
+ 99,110, 97,109,101, 32, 61, 32,116, 58, 99,102,117,110, 99,
+ 110, 97,109,101, 40, 34,116,111,108,117, 97, 34, 41, 46, 46,
+ 116, 58,111,118,101,114,108,111, 97,100, 40,116, 41, 10, 32,
+ 116, 46,110, 97,109,101, 32, 61, 32, 34,111,112,101,114, 97,
+ 116,111,114, 34, 32, 46, 46, 32,116, 46,107,105,110,100, 32,
+ 32, 45, 45, 32,115,101,116, 32, 97,112,112,114,111,112,114,
+ 105, 97,116,101, 32, 99, 97,108,108,105,110,103, 32,110, 97,
+ 109,101, 10, 32,114,101,116,117,114,110, 32,116, 10,101,110,
+ 100, 10, 10, 45, 45, 32, 67,111,110,115,116,114,117, 99,116,
+ 111,114, 10,102,117,110, 99,116,105,111,110, 32, 79,112,101,
+ 114, 97,116,111,114, 32, 40,100, 44,107, 44, 97, 44, 99, 41,
+ 10, 10, 9,108,111, 99, 97,108, 32,111,112, 95,107, 32, 61,
+ 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,107, 44,
+ 32, 34, 94, 37,115, 42, 34, 44, 32, 34, 34, 41, 10, 9,111,
+ 112, 95,107, 32, 61, 32,115,116,114,105,110,103, 46,103,115,
+ 117, 98, 40,107, 44, 32, 34, 37,115, 42, 36, 34, 44, 32, 34,
+ 34, 41, 10, 9, 45, 45,105,102, 32,115,116,114,105,110,103,
+ 46,102,105,110,100, 40,107, 44, 32, 34, 94, 91, 37,119, 95,
+ 58, 37,100, 60, 62, 37, 42, 37, 38, 93, 43, 36, 34, 41, 32,
+ 116,104,101,110, 10, 9,105,102, 32,100, 32, 61, 61, 32, 34,
+ 111,112,101,114, 97,116,111,114, 34, 32, 97,110,100, 32,107,
+ 32,126, 61, 32, 39, 39, 32,116,104,101,110, 10, 10, 9, 9,
+ 100, 32, 61, 32,107, 46, 46, 34, 32,111,112,101,114, 97,116,
+ 111,114, 34, 10, 9,101,108,115,101,105,102, 32,110,111,116,
+ 32, 95, 84, 77, 91,111,112, 95,107, 93, 32,116,104,101,110,
+ 10, 10, 9, 9,105,102, 32,102,108, 97,103,115, 91, 39, 87,
+ 39, 93, 32,116,104,101,110, 10, 9, 9, 9,101,114,114,111,
+ 114, 40, 34,116,111,108,117, 97, 58, 32,110,111, 32,115,117,
+ 112,112,111,114,116, 32,102,111,114, 32,111,112,101,114, 97,
+ 116,111,114, 34, 32, 46, 46, 32,102, 46,107,105,110,100, 41,
+ 10, 9, 9,101,108,115,101, 10, 9, 9, 9,119, 97,114,110,
+ 105,110,103, 40, 34, 78,111, 32,115,117,112,112,111,114,116,
+ 32,102,111,114, 32,111,112,101,114, 97,116,111,114, 32, 34,
+ 46, 46,111,112, 95,107, 46, 46, 34, 44, 32,105,103,110,111,
+ 114,105,110,103, 34, 41, 10, 9, 9, 9,114,101,116,117,114,
+ 110, 32,110,105,108, 10, 9, 9,101,110,100, 10, 9,101,110,
+ 100, 10, 10, 9,108,111, 99, 97,108, 32,114,101,102, 32, 61,
+ 32, 39, 39, 10, 32,108,111, 99, 97,108, 32,116, 32, 61, 32,
+ 115,112,108,105,116, 95, 99, 95,116,111,107,101,110,115, 40,
+ 115,116,114,115,117, 98, 40, 97, 44, 50, 44,115,116,114,108,
+ 101,110, 40, 97, 41, 45, 49, 41, 44, 39, 44, 39, 41, 32, 45,
+ 45, 32,101,108,105,109,105,110, 97,116,101, 32, 98,114, 97,
+ 99,101,115, 10, 32,108,111, 99, 97,108, 32,105, 61, 49, 10,
+ 32,108,111, 99, 97,108, 32,108, 32, 61, 32,123,110, 61, 48,
+ 125, 10, 32,119,104,105,108,101, 32,116, 91,105, 93, 32,100,
+ 111, 10, 32, 32,108, 46,110, 32, 61, 32,108, 46,110, 43, 49,
+ 10, 32, 32,108, 91,108, 46,110, 93, 32, 61, 32, 68,101, 99,
+ 108, 97,114, 97,116,105,111,110, 40,116, 91,105, 93, 44, 39,
+ 118, 97,114, 39, 41, 10, 32, 32,105, 32, 61, 32,105, 43, 49,
+ 10, 32,101,110,100, 10, 32,105,102, 32,107, 32, 61, 61, 32,
+ 39, 91, 93, 39, 32,116,104,101,110, 10, 9, 32,108,111, 99,
+ 97,108, 32, 95, 10, 9, 32, 95, 44, 32, 95, 44, 32,114,101,
+ 102, 32, 61, 32,115,116,114,102,105,110,100, 40,100, 44, 39,
+ 40, 38, 41, 39, 41, 10, 32, 32,100, 32, 61, 32,103,115,117,
+ 98, 40,100, 44, 39, 38, 39, 44, 39, 39, 41, 10, 32,101,108,
+ 115,101,105,102, 32,107, 61, 61, 39, 38, 91, 93, 39, 32,116,
+ 104,101,110, 10, 32, 32,108, 46,110, 32, 61, 32,108, 46,110,
+ 43, 49, 10, 32, 32,108, 91,108, 46,110, 93, 32, 61, 32, 68,
+ 101, 99,108, 97,114, 97,116,105,111,110, 40,100, 44, 39,118,
+ 97,114, 39, 41, 10, 32, 32,108, 91,108, 46,110, 93, 46,110,
+ 97,109,101, 32, 61, 32, 39,116,111,108,117, 97, 95,118, 97,
+ 108,117,101, 39, 10, 32,101,110,100, 10, 32,108,111, 99, 97,
+ 108, 32,102, 32, 61, 32, 68,101, 99,108, 97,114, 97,116,105,
+ 111,110, 40,100, 44, 39,102,117,110, 99, 39, 41, 10, 32,105,
+ 102, 32,107, 32, 61, 61, 32, 39, 91, 93, 39, 32, 97,110,100,
+ 32, 40,108, 91, 49, 93, 61, 61,110,105,108, 32,111,114, 32,
+ 105,115, 98, 97,115,105, 99, 40,108, 91, 49, 93, 46,116,121,
+ 112,101, 41,126, 61, 39,110,117,109, 98,101,114, 39, 41, 32,
+ 116,104,101,110, 10, 32, 32,101,114,114,111,114, 40, 39,111,
+ 112,101,114, 97,116,111,114, 91, 93, 32, 99, 97,110, 32,111,
+ 110,108,121, 32, 98,101, 32,100,101,102,105,110,101,100, 32,
+ 102,111,114, 32,110,117,109,101,114,105, 99, 32,105,110,100,
+ 101,120, 46, 39, 41, 10, 32,101,110,100, 10, 32,102, 46, 97,
+ 114,103,115, 32, 61, 32,108, 10, 32,102, 46, 99,111,110,115,
+ 116, 32, 61, 32, 99, 10, 32,102, 46,107,105,110,100, 32, 61,
+ 32,111,112, 95,107, 10, 32,102, 46,108,110, 97,109,101, 32,
+ 61, 32, 34, 46, 34, 46, 46, 40, 95, 84, 77, 91,102, 46,107,
+ 105,110,100, 93, 32,111,114, 32,102, 46,107,105,110,100, 41,
+ 10, 32,105,102, 32,110,111,116, 32, 95, 84, 77, 91,102, 46,
+ 107,105,110,100, 93, 32,116,104,101,110, 10, 32, 9,102, 46,
+ 99, 97,115,116, 95,111,112,101,114, 97,116,111,114, 32, 61,
+ 32,116,114,117,101, 10, 32,101,110,100, 10, 32,105,102, 32,
+ 102, 46,107,105,110,100, 32, 61, 61, 32, 39, 91, 93, 39, 32,
+ 97,110,100, 32,114,101,102, 61, 61, 39, 38, 39, 32, 97,110,
+ 100, 32,102, 46, 99,111,110,115,116,126, 61, 39, 99,111,110,
+ 115,116, 39, 32,116,104,101,110, 10, 32, 32, 79,112,101,114,
+ 97,116,111,114, 40,100, 44, 39, 38, 39, 46, 46,107, 44, 97,
+ 44, 99, 41, 32, 9, 45, 45, 32, 99,114,101, 97,116,101, 32,
+ 99,111,114,114,101,115,112,111,100,105,110,103, 32,115,101,
+ 116, 32,111,112,101,114, 97,116,111,114, 10, 32,101,110,100,
+ 10, 32,114,101,116,117,114,110, 32, 95, 79,112,101,114, 97,
+ 116,111,114, 40,102, 41, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/operator.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 10, 95,103,108,111, 98, 97,108, 95,116,101,109,112,108, 97,
+ 116,101,115, 32, 61, 32,123,125, 10, 10, 99,108, 97,115,115,
+ 84,101,109,112,108, 97,116,101, 67,108, 97,115,115, 32, 61,
+ 32,123, 10, 10, 9,110, 97,109,101, 32, 61, 32, 39, 39, 44,
+ 10, 9, 98,111,100,121, 32, 61, 32, 39, 39, 44, 10, 9,112,
+ 97,114,101,110,116,115, 32, 61, 32,123,125, 44, 10, 9, 97,
+ 114,103,115, 32, 61, 32,123,125, 44, 32, 45, 45, 32,116,104,
+ 101, 32,116,101,109,112,108, 97,116,101, 32, 97,114,103,117,
+ 109,101,110,116,115, 10,125, 10, 10, 99,108, 97,115,115, 84,
+ 101,109,112,108, 97,116,101, 67,108, 97,115,115, 46, 95, 95,
+ 105,110,100,101,120, 32, 61, 32, 99,108, 97,115,115, 84,101,
+ 109,112,108, 97,116,101, 67,108, 97,115,115, 10, 10, 10,102,
+ 117,110, 99,116,105,111,110, 32, 99,108, 97,115,115, 84,101,
+ 109,112,108, 97,116,101, 67,108, 97,115,115, 58,116,104,114,
+ 111,119, 40,116,121,112,101,115, 44, 32,108,111, 99, 97,108,
+ 95,115, 99,111,112,101, 41, 10, 10, 9, 45, 45,105,102, 32,
+ 116, 97, 98,108,101, 46,103,101,116,110, 40,116,121,112,101,
+ 115, 41, 32,126, 61, 32,116, 97, 98,108,101, 46,103,101,116,
+ 110, 40,115,101,108,102, 46, 97,114,103,115, 41, 32,116,104,
+ 101,110, 10, 9, 45, 45, 9,101,114,114,111,114, 40, 34, 35,
+ 105,110,118, 97,108,105,100, 32,112, 97,114, 97,109,101,116,
+ 101,114, 32, 99,111,117,110,116, 34, 41, 10, 9, 45, 45,101,
+ 110,100, 10, 10, 9, 45, 45, 32,114,101,112,108, 97, 99,101,
+ 10, 9,102,111,114, 32,105, 32, 61, 49, 32, 44, 32,116,121,
+ 112,101,115, 46,110, 32,100,111, 10, 10, 9, 9,108,111, 99,
+ 97,108, 32, 73,108, 32, 61, 32,115,112,108,105,116, 95, 99,
+ 95,116,111,107,101,110,115, 40,116,121,112,101,115, 91,105,
+ 93, 44, 32, 34, 32, 34, 41, 10, 9, 9,105,102, 32,116, 97,
+ 98,108,101, 46,103,101,116,110, 40, 73,108, 41, 32,126, 61,
+ 32,116, 97, 98,108,101, 46,103,101,116,110, 40,115,101,108,
+ 102, 46, 97,114,103,115, 41, 32,116,104,101,110, 10, 9, 9,
+ 9,101,114,114,111,114, 40, 34, 35,105,110,118, 97,108,105,
+ 100, 32,112, 97,114, 97,109,101,116,101,114, 32, 99,111,117,
+ 110,116, 32,102,111,114, 32, 34, 46, 46,116,121,112,101,115,
+ 91,105, 93, 41, 10, 9, 9,101,110,100, 10, 9, 9,108,111,
+ 99, 97,108, 32, 98, 73, 32, 61, 32,115,101,108,102, 46, 98,
+ 111,100,121, 10, 9, 9,108,111, 99, 97,108, 32,112, 73, 32,
+ 61, 32,123,125, 10, 9, 9,102,111,114, 32,106, 32, 61, 32,
+ 49, 44,115,101,108,102, 46, 97,114,103,115, 46,110, 32,100,
+ 111, 10, 9, 9, 9, 45, 45, 84,108, 91,106, 93, 32, 61, 32,
+ 102,105,110,100,116,121,112,101, 40, 84,108, 91,106, 93, 41,
+ 32,111,114, 32, 84,108, 91,106, 93, 10, 9, 9, 9, 98, 73,
+ 32, 61, 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,
+ 98, 73, 44, 32, 34, 40, 91, 94, 95, 37,119, 93, 41, 34, 46,
+ 46,115,101,108,102, 46, 97,114,103,115, 91,106, 93, 46, 46,
+ 34, 40, 91, 94, 95, 37,119, 93, 41, 34, 44, 32, 34, 37, 49,
+ 34, 46, 46, 73,108, 91,106, 93, 46, 46, 34, 37, 50, 34, 41,
+ 10, 9, 9, 9,105,102, 32,115,101,108,102, 46,112, 97,114,
+ 101,110,116,115, 32,116,104,101,110, 10, 9, 9, 9, 9,102,
+ 111,114, 32,105, 61, 49, 44,116, 97, 98,108,101, 46,103,101,
+ 116,110, 40,115,101,108,102, 46,112, 97,114,101,110,116,115,
+ 41, 32,100,111, 10, 9, 9, 9, 9, 9,112, 73, 91,105, 93,
+ 32, 61, 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,
+ 115,101,108,102, 46,112, 97,114,101,110,116,115, 91,105, 93,
+ 44, 32, 34, 40, 91, 94, 95, 37,119, 93, 63, 41, 34, 46, 46,
+ 115,101,108,102, 46, 97,114,103,115, 91,106, 93, 46, 46, 34,
+ 40, 91, 94, 95, 37,119, 93, 63, 41, 34, 44, 32, 34, 37, 49,
+ 34, 46, 46, 73,108, 91,106, 93, 46, 46, 34, 37, 50, 34, 41,
+ 10, 9, 9, 9, 9,101,110,100, 10, 9, 9, 9,101,110,100,
+ 10, 9, 9,101,110,100, 10, 9, 9, 45, 45,108,111, 99, 97,
+ 108, 32, 97,112,112,101,110,100, 32, 61, 32, 34, 60, 34, 46,
+ 46,115,116,114,105,110,103, 46,103,115,117, 98, 40,116,121,
+ 112,101,115, 91,105, 93, 44, 32, 34, 37,115, 43, 34, 44, 32,
+ 34, 44, 34, 41, 46, 46, 34, 62, 34, 10, 9, 9,108,111, 99,
+ 97,108, 32, 97,112,112,101,110,100, 32, 61, 32, 34, 60, 34,
+ 46, 46, 99,111,110, 99, 97,116, 40, 73,108, 44, 32, 49, 44,
+ 32,116, 97, 98,108,101, 46,103,101,116,110, 40, 73,108, 41,
+ 44, 32, 34, 44, 34, 41, 46, 46, 34, 62, 34, 10, 9, 9, 97,
+ 112,112,101,110,100, 32, 61, 32,115,116,114,105,110,103, 46,
+ 103,115,117, 98, 40, 97,112,112,101,110,100, 44, 32, 34, 37,
+ 115, 42, 44, 37,115, 42, 34, 44, 32, 34, 44, 34, 41, 10, 9,
+ 9, 97,112,112,101,110,100, 32, 61, 32,115,116,114,105,110,
+ 103, 46,103,115,117, 98, 40, 97,112,112,101,110,100, 44, 32,
+ 34, 62, 62, 34, 44, 32, 34, 62, 32, 62, 34, 41, 10, 9, 9,
+ 102,111,114, 32,105, 61, 49, 44,116, 97, 98,108,101, 46,103,
+ 101,116,110, 40,112, 73, 41, 32,100,111, 10, 9, 9, 9, 45,
+ 45,112, 73, 91,105, 93, 32, 61, 32,115,116,114,105,110,103,
+ 46,103,115,117, 98, 40,112, 73, 91,105, 93, 44, 32, 34, 62,
+ 62, 34, 44, 32, 34, 62, 32, 62, 34, 41, 10, 9, 9, 9,112,
+ 73, 91,105, 93, 32, 61, 32,114,101,115,111,108,118,101, 95,
+ 116,101,109,112,108, 97,116,101, 95,116,121,112,101,115, 40,
+ 112, 73, 91,105, 93, 41, 10, 9, 9,101,110,100, 10, 9, 9,
+ 98, 73, 32, 61, 32,115,116,114,105,110,103, 46,103,115,117,
+ 98, 40, 98, 73, 44, 32, 34, 62, 62, 34, 44, 32, 34, 62, 32,
+ 62, 34, 41, 10, 9, 9,108,111, 99, 97,108, 32,110, 32, 61,
+ 32,115,101,108,102, 46,110, 97,109,101, 10, 9, 9,105,102,
+ 32,108,111, 99, 97,108, 95,115, 99,111,112,101, 32,116,104,
+ 101,110, 10, 9, 9, 9,110, 32, 61, 32,115,101,108,102, 46,
+ 108,111, 99, 97,108, 95,110, 97,109,101, 10, 9, 9,101,110,
+ 100, 10, 10, 9, 9, 67,108, 97,115,115, 40,110, 46, 46, 97,
+ 112,112,101,110,100, 44, 32,112, 73, 44, 32, 98, 73, 41, 10,
+ 9,101,110,100, 10,101,110,100, 10, 10, 10,102,117,110, 99,
+ 116,105,111,110, 32, 84,101,109,112,108, 97,116,101, 67,108,
+ 97,115,115, 40,110, 97,109,101, 44, 32,112, 97,114,101,110,
+ 116,115, 44, 32, 98,111,100,121, 44, 32,112, 97,114, 97,109,
+ 101,116,101,114,115, 41, 10, 10, 9,108,111, 99, 97,108, 32,
+ 111, 32, 61, 32,123, 10, 9, 10, 9, 9,112, 97,114,101,110,
+ 116,115, 32, 61, 32,112, 97,114,101,110,116,115, 44, 10, 9,
+ 9, 98,111,100,121, 32, 61, 32, 98,111,100,121, 44, 10, 9,
+ 9, 97,114,103,115, 32, 61, 32,112, 97,114, 97,109,101,116,
+ 101,114,115, 44, 10, 9,125, 10, 9, 10, 9,108,111, 99, 97,
+ 108, 32,111,110, 97,109,101, 32, 61, 32,115,116,114,105,110,
+ 103, 46,103,115,117, 98, 40,110, 97,109,101, 44, 32, 34, 64,
+ 46, 42, 36, 34, 44, 32, 34, 34, 41, 10, 9,111,110, 97,109,
+ 101, 32, 61, 32,103,101,116,110, 97,109,101,115,112, 97, 99,
+ 101, 40, 99,108, 97,115,115, 67,111,110,116, 97,105,110,101,
+ 114, 46, 99,117,114,114, 41, 46, 46,111,110, 97,109,101, 10,
+ 9,111, 46,110, 97,109,101, 32, 61, 32,111,110, 97,109,101,
+ 10, 10, 9,111, 46,108,111, 99, 97,108, 95,110, 97,109,101,
+ 32, 61, 32,110, 97,109,101, 10, 9, 10, 9,115,101,116,109,
+ 101,116, 97,116, 97, 98,108,101, 40,111, 44, 32, 99,108, 97,
+ 115,115, 84,101,109,112,108, 97,116,101, 67,108, 97,115,115,
+ 41, 10, 10, 9,105,102, 32, 95,103,108,111, 98, 97,108, 95,
+ 116,101,109,112,108, 97,116,101,115, 91,111,110, 97,109,101,
+ 93, 32,116,104,101,110, 10, 9, 9,119, 97,114,110,105,110,
+ 103, 40, 34, 68,117,112,108,105, 99, 97,116,101, 32,100,101,
+ 99,108, 97,114, 97,116,105,111,110, 32,111,102, 32,116,101,
+ 109,112,108, 97,116,101, 32, 34, 46, 46,111,110, 97,109,101,
+ 41, 10, 9,101,108,115,101, 10, 9, 9, 95,103,108,111, 98,
+ 97,108, 95,116,101,109,112,108, 97,116,101,115, 91,111,110,
+ 97,109,101, 93, 32, 61, 32,111, 10, 9,101,110,100, 10, 10,
+ 9,114,101,116,117,114,110, 32,111, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/template_class.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,116,111,108,117, 97, 58, 32, 99,108, 97,115,115,
+ 32, 99,108, 97,115,115, 10, 45, 45, 32, 87,114,105,116,116,
+ 101,110, 32, 98,121, 32, 87, 97,108,100,101,109, 97,114, 32,
+ 67,101,108,101,115, 10, 45, 45, 32, 84,101, 67, 71,114, 97,
+ 102, 47, 80, 85, 67, 45, 82,105,111, 10, 45, 45, 32, 74,117,
+ 108, 32, 49, 57, 57, 56, 10, 45, 45, 32, 36, 73,100, 58, 32,
+ 36, 10, 10, 45, 45, 32, 84,104,105,115, 32, 99,111,100,101,
+ 32,105,115, 32,102,114,101,101, 32,115,111,102,116,119, 97,
+ 114,101, 59, 32,121,111,117, 32, 99, 97,110, 32,114,101,100,
+ 105,115,116,114,105, 98,117,116,101, 32,105,116, 32, 97,110,
+ 100, 47,111,114, 32,109,111,100,105,102,121, 32,105,116, 46,
+ 10, 45, 45, 32, 84,104,101, 32,115,111,102,116,119, 97,114,
+ 101, 32,112,114,111,118,105,100,101,100, 32,104,101,114,101,
+ 117,110,100,101,114, 32,105,115, 32,111,110, 32, 97,110, 32,
+ 34, 97,115, 32,105,115, 34, 32, 98, 97,115,105,115, 44, 32,
+ 97,110,100, 10, 45, 45, 32,116,104,101, 32, 97,117,116,104,
+ 111,114, 32,104, 97,115, 32,110,111, 32,111, 98,108,105,103,
+ 97,116,105,111,110, 32,116,111, 32,112,114,111,118,105,100,
+ 101, 32,109, 97,105,110,116,101,110, 97,110, 99,101, 44, 32,
+ 115,117,112,112,111,114,116, 44, 32,117,112,100, 97,116,101,
+ 115, 44, 10, 45, 45, 32,101,110,104, 97,110, 99,101,109,101,
+ 110,116,115, 44, 32,111,114, 32,109,111,100,105,102,105, 99,
+ 97,116,105,111,110,115, 46, 10, 10, 10, 45, 45, 32, 67,108,
+ 97,115,115, 32, 99,108, 97,115,115, 10, 45, 45, 32, 82,101,
+ 112,114,101,115,101,110,116,115, 32, 97, 32, 99,108, 97,115,
+ 115, 32,100,101,102,105,110,105,116,105,111,110, 46, 10, 45,
+ 45, 32, 83,116,111,114,101,115, 32,116,104,101, 32,102,111,
+ 108,108,111,119,105,110,103, 32,102,105,101,108,100,115, 58,
+ 10, 45, 45, 32, 32, 32, 32,110, 97,109,101, 32, 61, 32, 99,
+ 108, 97,115,115, 32,110, 97,109,101, 10, 45, 45, 32, 32, 32,
+ 32, 98, 97,115,101, 32, 61, 32, 99,108, 97,115,115, 32, 98,
+ 97,115,101, 44, 32,105,102, 32, 97,110,121, 32, 40,111,110,
+ 108,121, 32,115,105,110,103,108,101, 32,105,110,104,101,114,
+ 105,116, 97,110, 99,101, 32,105,115, 32,115,117,112,112,111,
+ 114,116,101,100, 41, 10, 45, 45, 32, 32, 32, 32,123,105,125,
+ 32, 32, 61, 32,108,105,115,116, 32,111,102, 32,109,101,109,
+ 98,101,114,115, 10, 99,108, 97,115,115, 67,108, 97,115,115,
+ 32, 61, 32,123, 10, 32, 99,108, 97,115,115,116,121,112,101,
+ 32, 61, 32, 39, 99,108, 97,115,115, 39, 44, 10, 32,110, 97,
+ 109,101, 32, 61, 32, 39, 39, 44, 10, 32, 98, 97,115,101, 32,
+ 61, 32, 39, 39, 44, 10, 32,116,121,112,101, 32, 61, 32, 39,
+ 39, 44, 10, 32, 98,116,121,112,101, 32, 61, 32, 39, 39, 44,
+ 10, 32, 99,116,121,112,101, 32, 61, 32, 39, 39, 44, 10,125,
+ 10, 99,108, 97,115,115, 67,108, 97,115,115, 46, 95, 95,105,
+ 110,100,101,120, 32, 61, 32, 99,108, 97,115,115, 67,108, 97,
+ 115,115, 10,115,101,116,109,101,116, 97,116, 97, 98,108,101,
+ 40, 99,108, 97,115,115, 67,108, 97,115,115, 44, 99,108, 97,
+ 115,115, 67,111,110,116, 97,105,110,101,114, 41, 10, 10, 10,
+ 45, 45, 32,114,101,103,105,115,116,101,114, 32, 99,108, 97,
+ 115,115, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,
+ 115,115, 67,108, 97,115,115, 58,114,101,103,105,115,116,101,
+ 114, 32, 40,112,114,101, 41, 10, 10, 9,105,102, 32,110,111,
+ 116, 32,115,101,108,102, 58, 99,104,101, 99,107, 95,112,117,
+ 98,108,105, 99, 95, 97, 99, 99,101,115,115, 40, 41, 32,116,
+ 104,101,110, 10, 9, 9,114,101,116,117,114,110, 10, 9,101,
+ 110,100, 10, 10, 32,112,114,101, 32, 61, 32,112,114,101, 32,
+ 111,114, 32, 39, 39, 10, 32,112,117,115,104, 40,115,101,108,
+ 102, 41, 10, 9,105,102, 32, 95, 99,111,108,108,101, 99,116,
+ 91,115,101,108,102, 46,116,121,112,101, 93, 32,116,104,101,
+ 110, 10, 9, 9,111,117,116,112,117,116, 40,112,114,101, 44,
+ 39, 35,105,102,100,101,102, 32, 95, 95, 99,112,108,117,115,
+ 112,108,117,115, 92,110, 39, 41, 10, 32, 32,111,117,116,112,
+ 117,116, 40,112,114,101, 46, 46, 39,116,111,108,117, 97, 95,
+ 99, 99,108, 97,115,115, 40,116,111,108,117, 97, 95, 83, 44,
+ 34, 39, 46, 46,115,101,108,102, 46,108,110, 97,109,101, 46,
+ 46, 39, 34, 44, 34, 39, 46, 46,115,101,108,102, 46,116,121,
+ 112,101, 46, 46, 39, 34, 44, 34, 39, 46, 46,115,101,108,102,
+ 46, 98,116,121,112,101, 46, 46, 39, 34, 44, 39, 46, 46, 95,
+ 99,111,108,108,101, 99,116, 91,115,101,108,102, 46,116,121,
+ 112,101, 93, 46, 46, 39, 41, 59, 39, 41, 10, 9, 9,111,117,
+ 116,112,117,116, 40,112,114,101, 44, 39, 35,101,108,115,101,
+ 92,110, 39, 41, 10, 32, 32,111,117,116,112,117,116, 40,112,
+ 114,101, 46, 46, 39,116,111,108,117, 97, 95, 99, 99,108, 97,
+ 115,115, 40,116,111,108,117, 97, 95, 83, 44, 34, 39, 46, 46,
+ 115,101,108,102, 46,108,110, 97,109,101, 46, 46, 39, 34, 44,
+ 34, 39, 46, 46,115,101,108,102, 46,116,121,112,101, 46, 46,
+ 39, 34, 44, 34, 39, 46, 46,115,101,108,102, 46, 98,116,121,
+ 112,101, 46, 46, 39, 34, 44, 78, 85, 76, 76, 41, 59, 39, 41,
+ 10, 9, 9,111,117,116,112,117,116, 40,112,114,101, 44, 39,
+ 35,101,110,100,105,102, 92,110, 39, 41, 10, 9,101,108,115,
+ 101, 10, 32, 32,111,117,116,112,117,116, 40,112,114,101, 46,
+ 46, 39,116,111,108,117, 97, 95, 99, 99,108, 97,115,115, 40,
+ 116,111,108,117, 97, 95, 83, 44, 34, 39, 46, 46,115,101,108,
+ 102, 46,108,110, 97,109,101, 46, 46, 39, 34, 44, 34, 39, 46,
+ 46,115,101,108,102, 46,116,121,112,101, 46, 46, 39, 34, 44,
+ 34, 39, 46, 46,115,101,108,102, 46, 98,116,121,112,101, 46,
+ 46, 39, 34, 44, 78, 85, 76, 76, 41, 59, 39, 41, 10, 9,101,
+ 110,100, 10, 9,105,102, 32,115,101,108,102, 46,101,120,116,
+ 114, 97, 95, 98, 97,115,101,115, 32,116,104,101,110, 10, 9,
+ 9,102,111,114, 32,107, 44, 98, 97,115,101, 32,105,110, 32,
+ 105,112, 97,105,114,115, 40,115,101,108,102, 46,101,120,116,
+ 114, 97, 95, 98, 97,115,101,115, 41, 32,100,111, 10, 9, 9,
+ 9, 45, 45, 32,110,111,116, 32,110,111,119, 10, 32, 32, 32,
+ 45, 45,111,117,116,112,117,116, 40,112,114,101, 46, 46, 39,
+ 32,116,111,108,117, 97, 95, 97,100,100, 98, 97,115,101, 40,
+ 116,111,108,117, 97, 95, 83, 44, 32, 34, 39, 46, 46,115,101,
+ 108,102, 46,116,121,112,101, 46, 46, 39, 34, 44, 32, 34, 39,
+ 46, 46, 98, 97,115,101, 46, 46, 39, 34, 41, 59, 39, 41, 10,
+ 9, 9,101,110,100, 10, 9,101,110,100, 10, 32,111,117,116,
+ 112,117,116, 40,112,114,101, 46, 46, 39,116,111,108,117, 97,
+ 95, 98,101,103,105,110,109,111,100,117,108,101, 40,116,111,
+ 108,117, 97, 95, 83, 44, 34, 39, 46, 46,115,101,108,102, 46,
+ 108,110, 97,109,101, 46, 46, 39, 34, 41, 59, 39, 41, 10, 32,
+ 108,111, 99, 97,108, 32,105, 61, 49, 10, 32,119,104,105,108,
+ 101, 32,115,101,108,102, 91,105, 93, 32,100,111, 10, 32, 32,
+ 115,101,108,102, 91,105, 93, 58,114,101,103,105,115,116,101,
+ 114, 40,112,114,101, 46, 46, 39, 32, 39, 41, 10, 32, 32,105,
+ 32, 61, 32,105, 43, 49, 10, 32,101,110,100, 10, 32,111,117,
+ 116,112,117,116, 40,112,114,101, 46, 46, 39,116,111,108,117,
+ 97, 95,101,110,100,109,111,100,117,108,101, 40,116,111,108,
+ 117, 97, 95, 83, 41, 59, 39, 41, 10, 9,112,111,112, 40, 41,
+ 10,101,110,100, 10, 10, 45, 45, 32,114,101,116,117,114,110,
+ 32, 99,111,108,108,101, 99,116,105,111,110, 32,114,101,113,
+ 117,105,114,101,109,101,110,116, 10,102,117,110, 99,116,105,
+ 111,110, 32, 99,108, 97,115,115, 67,108, 97,115,115, 58,114,
+ 101,113,117,105,114,101, 99,111,108,108,101, 99,116,105,111,
+ 110, 32, 40,116, 41, 10, 9,105,102, 32,115,101,108,102, 46,
+ 102,108, 97,103,115, 46,112,114,111,116,101, 99,116,101,100,
+ 95,100,101,115,116,114,117, 99,116,111,114, 32,111,114, 32,
+ 40,110,111,116, 32,115,101,108,102, 58, 99,104,101, 99,107,
+ 95,112,117, 98,108,105, 99, 95, 97, 99, 99,101,115,115, 40,
+ 41, 41, 32,116,104,101,110, 10, 9, 9,114,101,116,117,114,
+ 110, 32,102, 97,108,115,101, 10, 9,101,110,100, 10, 32,112,
+ 117,115,104, 40,115,101,108,102, 41, 10, 9,108,111, 99, 97,
+ 108, 32,114, 32, 61, 32,102, 97,108,115,101, 10, 32,108,111,
+ 99, 97,108, 32,105, 61, 49, 10, 32,119,104,105,108,101, 32,
+ 115,101,108,102, 91,105, 93, 32,100,111, 10, 32, 32,114, 32,
+ 61, 32,115,101,108,102, 91,105, 93, 58,114,101,113,117,105,
+ 114,101, 99,111,108,108,101, 99,116,105,111,110, 40,116, 41,
+ 32,111,114, 32,114, 10, 32, 32,105, 32, 61, 32,105, 43, 49,
+ 10, 32,101,110,100, 10, 9,112,111,112, 40, 41, 10, 9, 45,
+ 45, 32,111,110,108,121, 32, 99,108, 97,115,115, 32,116,104,
+ 97,116, 32,101,120,112,111,114,116,115, 32,100,101,115,116,
+ 114,117, 99,116,111,114, 32, 99, 97,110, 32, 98,101, 32, 97,
+ 112,112,114,111,112,114,105, 97,116,101,108,121, 32, 99,111,
+ 108,108,101, 99,116,101,100, 10, 9, 45, 45, 32, 99,108, 97,
+ 115,115,101,115, 32,116,104, 97,116, 32,101,120,112,111,114,
+ 116, 32, 99,111,110,115,116,114,117, 99,116,111,114,115, 32,
+ 110,101,101,100, 32,116,111, 32,104, 97,118,101, 32, 97, 32,
+ 99,111,108,108,101, 99,116,111,114, 32, 40,111,118,101,114,
+ 114,105,100,101,100, 32, 98,121, 32, 45, 68, 32,102,108, 97,
+ 103, 32,111,110, 32, 99,111,109,109, 97,110,100, 32,108,105,
+ 110,101, 41, 10, 9,105,102, 32,115,101,108,102, 46, 95,100,
+ 101,108,101,116,101, 32,111,114, 32, 40, 40,110,111,116, 32,
+ 102,108, 97,103,115, 91, 39, 68, 39, 93, 41, 32, 97,110,100,
+ 32,115,101,108,102, 46, 95,110,101,119, 41, 32,116,104,101,
+ 110, 10, 9, 9, 45, 45,116, 91,115,101,108,102, 46,116,121,
+ 112,101, 93, 32, 61, 32, 34,116,111,108,117, 97, 95, 99,111,
+ 108,108,101, 99,116, 95, 34, 32, 46, 46, 32,103,115,117, 98,
+ 40,115,101,108,102, 46,116,121,112,101, 44, 34, 58, 58, 34,
+ 44, 34, 95, 34, 41, 10, 9, 9,116, 91,115,101,108,102, 46,
+ 116,121,112,101, 93, 32, 61, 32, 34,116,111,108,117, 97, 95,
+ 99,111,108,108,101, 99,116, 95, 34, 32, 46, 46, 32, 99,108,
+ 101, 97,110, 95,116,101,109,112,108, 97,116,101, 40,115,101,
+ 108,102, 46,116,121,112,101, 41, 10, 9, 9,114, 32, 61, 32,
+ 116,114,117,101, 10, 9,101,110,100, 10, 32,114,101,116,117,
+ 114,110, 32,114, 10,101,110,100, 10, 10, 45, 45, 32,111,117,
+ 116,112,117,116, 32,116, 97,103,115, 10,102,117,110, 99,116,
+ 105,111,110, 32, 99,108, 97,115,115, 67,108, 97,115,115, 58,
+ 100,101, 99,108,116,121,112,101, 32, 40, 41, 10, 32,112,117,
+ 115,104, 40,115,101,108,102, 41, 10, 9,115,101,108,102, 46,
+ 116,121,112,101, 32, 61, 32,114,101,103,116,121,112,101, 40,
+ 115,101,108,102, 46,111,114,105,103,105,110, 97,108, 95,110,
+ 97,109,101, 32,111,114, 32,115,101,108,102, 46,110, 97,109,
+ 101, 41, 10, 9,115,101,108,102, 46, 98,116,121,112,101, 32,
+ 61, 32,116,121,112,101,118, 97,114, 40,115,101,108,102, 46,
+ 98, 97,115,101, 41, 10, 9,115,101,108,102, 46, 99,116,121,
+ 112,101, 32, 61, 32, 39, 99,111,110,115,116, 32, 39, 46, 46,
+ 115,101,108,102, 46,116,121,112,101, 10, 9,105,102, 32,115,
+ 101,108,102, 46,101,120,116,114, 97, 95, 98, 97,115,101,115,
+ 32,116,104,101,110, 10, 9, 9,102,111,114, 32,105, 61, 49,
+ 44,116, 97, 98,108,101, 46,103,101,116,110, 40,115,101,108,
+ 102, 46,101,120,116,114, 97, 95, 98, 97,115,101,115, 41, 32,
+ 100,111, 10, 9, 9, 9,115,101,108,102, 46,101,120,116,114,
+ 97, 95, 98, 97,115,101,115, 91,105, 93, 32, 61, 32,116,121,
+ 112,101,118, 97,114, 40,115,101,108,102, 46,101,120,116,114,
+ 97, 95, 98, 97,115,101,115, 91,105, 93, 41, 10, 9, 9,101,
+ 110,100, 10, 9,101,110,100, 10, 32,108,111, 99, 97,108, 32,
+ 105, 61, 49, 10, 32,119,104,105,108,101, 32,115,101,108,102,
+ 91,105, 93, 32,100,111, 10, 32, 32,115,101,108,102, 91,105,
+ 93, 58,100,101, 99,108,116,121,112,101, 40, 41, 10, 32, 32,
+ 105, 32, 61, 32,105, 43, 49, 10, 32,101,110,100, 10, 9,112,
+ 111,112, 40, 41, 10,101,110,100, 10, 10, 10, 45, 45, 32, 80,
+ 114,105,110,116, 32,109,101,116,104,111,100, 10,102,117,110,
+ 99,116,105,111,110, 32, 99,108, 97,115,115, 67,108, 97,115,
+ 115, 58,112,114,105,110,116, 32, 40,105,100,101,110,116, 44,
+ 99,108,111,115,101, 41, 10, 32,112,114,105,110,116, 40,105,
+ 100,101,110,116, 46, 46, 34, 67,108, 97,115,115,123, 34, 41,
+ 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46,
+ 34, 32,110, 97,109,101, 32, 61, 32, 39, 34, 46, 46,115,101,
+ 108,102, 46,110, 97,109,101, 46, 46, 34, 39, 44, 34, 41, 10,
+ 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34,
+ 32, 98, 97,115,101, 32, 61, 32, 39, 34, 46, 46,115,101,108,
+ 102, 46, 98, 97,115,101, 46, 46, 34, 39, 59, 34, 41, 10, 32,
+ 112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34, 32,
+ 108,110, 97,109,101, 32, 61, 32, 39, 34, 46, 46,115,101,108,
+ 102, 46,108,110, 97,109,101, 46, 46, 34, 39, 44, 34, 41, 10,
+ 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34,
+ 32,116,121,112,101, 32, 61, 32, 39, 34, 46, 46,115,101,108,
+ 102, 46,116,121,112,101, 46, 46, 34, 39, 44, 34, 41, 10, 32,
+ 112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34, 32,
+ 98,116,121,112,101, 32, 61, 32, 39, 34, 46, 46,115,101,108,
+ 102, 46, 98,116,121,112,101, 46, 46, 34, 39, 44, 34, 41, 10,
+ 32,112,114,105,110,116, 40,105,100,101,110,116, 46, 46, 34,
+ 32, 99,116,121,112,101, 32, 61, 32, 39, 34, 46, 46,115,101,
+ 108,102, 46, 99,116,121,112,101, 46, 46, 34, 39, 44, 34, 41,
+ 10, 32,108,111, 99, 97,108, 32,105, 61, 49, 10, 32,119,104,
+ 105,108,101, 32,115,101,108,102, 91,105, 93, 32,100,111, 10,
+ 32, 32,115,101,108,102, 91,105, 93, 58,112,114,105,110,116,
+ 40,105,100,101,110,116, 46, 46, 34, 32, 34, 44, 34, 44, 34,
+ 41, 10, 32, 32,105, 32, 61, 32,105, 43, 49, 10, 32,101,110,
+ 100, 10, 32,112,114,105,110,116, 40,105,100,101,110,116, 46,
+ 46, 34,125, 34, 46, 46, 99,108,111,115,101, 41, 10,101,110,
+ 100, 10, 10,102,117,110, 99,116,105,111,110, 32, 99,108, 97,
+ 115,115, 67,108, 97,115,115, 58,115,101,116, 95,112,114,111,
+ 116,101, 99,116,101,100, 95,100,101,115,116,114,117, 99,116,
+ 111,114, 40,112, 41, 10, 9,115,101,108,102, 46,102,108, 97,
+ 103,115, 46,112,114,111,116,101, 99,116,101,100, 95,100,101,
+ 115,116,114,117, 99,116,111,114, 32, 61, 32,115,101,108,102,
+ 46,102,108, 97,103,115, 46,112,114,111,116,101, 99,116,101,
+ 100, 95,100,101,115,116,114,117, 99,116,111,114, 32,111,114,
+ 32,112, 10,101,110,100, 10, 10, 45, 45, 32, 73,110,116,101,
+ 114,110, 97,108, 32, 99,111,110,115,116,114,117, 99,116,111,
+ 114, 10,102,117,110, 99,116,105,111,110, 32, 95, 67,108, 97,
+ 115,115, 32, 40,116, 41, 10, 32,115,101,116,109,101,116, 97,
+ 116, 97, 98,108,101, 40,116, 44, 99,108, 97,115,115, 67,108,
+ 97,115,115, 41, 10, 32,116, 58, 98,117,105,108,100,110, 97,
+ 109,101,115, 40, 41, 10, 32, 97,112,112,101,110,100, 40,116,
+ 41, 10, 32,114,101,116,117,114,110, 32,116, 10,101,110,100,
+ 10, 10, 45, 45, 32, 67,111,110,115,116,114,117, 99,116,111,
+ 114, 10, 45, 45, 32, 69,120,112,101, 99,116,115, 32,116,104,
+ 101, 32,110, 97,109,101, 44, 32,116,104,101, 32, 98, 97,115,
+ 101, 32, 40, 97,114,114, 97,121, 41, 32, 97,110,100, 32,116,
+ 104,101, 32, 98,111,100,121, 32,111,102, 32,116,104,101, 32,
+ 99,108, 97,115,115, 46, 10,102,117,110, 99,116,105,111,110,
+ 32, 67,108, 97,115,115, 32, 40,110, 44,112, 44, 98, 41, 10,
+ 10, 9,105,102, 32,116, 97, 98,108,101, 46,103,101,116,110,
+ 40,112, 41, 32, 62, 32, 49, 32,116,104,101,110, 10, 9, 9,
+ 98, 32, 61, 32,115,116,114,105,110,103, 46,115,117, 98, 40,
+ 98, 44, 32, 49, 44, 32, 45, 50, 41, 10, 9, 9,102,111,114,
+ 32,105, 61, 50, 44,116, 97, 98,108,101, 46,103,101,116,110,
+ 40,112, 41, 44, 49, 32,100,111, 10, 9, 9, 9, 98, 32, 61,
+ 32, 98, 46, 46, 34, 92,110, 32,116,111,108,117, 97, 95,105,
+ 110,104,101,114,105,116,115, 32, 34, 46, 46,112, 91,105, 93,
+ 46, 46, 34, 32, 95, 95, 34, 46, 46,112, 91,105, 93, 46, 46,
+ 34, 95, 95, 59, 92,110, 34, 10, 9, 9,101,110,100, 10, 9,
+ 9, 98, 32, 61, 32, 98, 46, 46, 34, 92,110,125, 34, 10, 9,
+ 101,110,100, 10, 10, 9, 45, 45, 32, 99,104,101, 99,107, 32,
+ 102,111,114, 32,116,101,109,112,108, 97,116,101, 10, 9, 98,
+ 32, 61, 32,115,116,114,105,110,103, 46,103,115,117, 98, 40,
+ 98, 44, 32, 34, 94,123, 37,115, 42, 84, 69, 77, 80, 76, 65,
+ 84, 69, 95, 66, 73, 78, 68, 34, 44, 32, 34,123, 92,110, 84,
+ 79, 76, 85, 65, 95, 84, 69, 77, 80, 76, 65, 84, 69, 95, 66,
+ 73, 78, 68, 34, 41, 10, 9,108,111, 99, 97,108, 32,116, 44,
+ 95, 44, 84, 44, 73, 32, 61, 32,115,116,114,105,110,103, 46,
+ 102,105,110,100, 40, 98, 44, 32, 39, 94,123, 37,115, 42, 84,
+ 79, 76, 85, 65, 95, 84, 69, 77, 80, 76, 65, 84, 69, 95, 66,
+ 73, 78, 68, 37,115, 42, 37, 40, 43, 37,115, 42, 92, 34, 63,
+ 40, 91, 94, 92, 34, 44, 93, 42, 41, 92, 34, 63, 37,115, 42,
+ 44, 37,115, 42, 40, 91, 94, 37, 41, 93, 42, 41, 37,115, 42,
+ 37, 41, 43, 39, 41, 10, 9,105,102, 32,116, 32,116,104,101,
+ 110, 10, 10, 9, 9, 45, 45, 32,114,101,109,111,118,101, 32,
+ 113,117,111,116,101,115, 10, 9, 9, 73, 32, 61, 32,115,116,
+ 114,105,110,103, 46,103,115,117, 98, 40, 73, 44, 32, 34, 92,
+ 34, 34, 44, 32, 34, 34, 41, 10, 9, 9, 84, 32, 61, 32,115,
+ 116,114,105,110,103, 46,103,115,117, 98, 40, 84, 44, 32, 34,
+ 92, 34, 34, 44, 32, 34, 34, 41, 10, 9, 9, 45, 45, 32,103,
+ 101,116, 32,116,121,112,101, 32,108,105,115,116, 10, 9, 9,
+ 108,111, 99, 97,108, 32,116,121,112,101,115, 32, 61, 32,115,
+ 112,108,105,116, 95, 99, 95,116,111,107,101,110,115, 40, 73,
+ 44, 32, 34, 44, 34, 41, 10, 9, 9, 45, 45, 32,114,101,109,
+ 111,118,101, 32, 84, 69, 77, 80, 76, 65, 84, 69, 95, 66, 73,
+ 78, 68, 32,108,105,110,101, 10, 9, 9,108,111, 99, 97,108,
+ 32, 98,115, 32, 61, 32,115,116,114,105,110,103, 46,103,115,
+ 117, 98, 40, 98, 44, 32, 34, 94,123, 37,115, 42, 84, 79, 76,
+ 85, 65, 95, 84, 69, 77, 80, 76, 65, 84, 69, 95, 66, 73, 78,
+ 68, 91, 94, 92,110, 93, 42, 92,110, 34, 44, 32, 34,123, 92,
+ 110, 34, 41, 10, 9, 9, 9, 10, 9, 9,108,111, 99, 97,108,
+ 32, 84,108, 32, 61, 32,115,112,108,105,116, 40, 84, 44, 32,
+ 34, 32, 34, 41, 10, 9, 9,108,111, 99, 97,108, 32,116, 99,
+ 32, 61, 32, 84,101,109,112,108, 97,116,101, 67,108, 97,115,
+ 115, 40,110, 44, 32,112, 44, 32, 98,115, 44, 32, 84,108, 41,
+ 10, 10, 9, 9, 10, 9, 9,116, 99, 58,116,104,114,111,119,
+ 40,116,121,112,101,115, 44, 32,116,114,117,101, 41, 10, 9,
+ 9, 45, 45,102,111,114, 32,105, 61, 49, 44,116,121,112,101,
+ 115, 46,110, 32,100,111, 10, 9, 9, 45, 45, 9,116, 99, 58,
+ 116,104,114,111,119, 40,115,112,108,105,116, 95, 99, 95,116,
+ 111,107,101,110,115, 40,116,121,112,101,115, 91,105, 93, 44,
+ 32, 34, 32, 34, 41, 44, 32,116,114,117,101, 41, 10, 9, 9,
+ 45, 45,101,110,100, 10, 9, 9,114,101,116,117,114,110, 10,
+ 9,101,110,100, 10, 9, 10, 9,108,111, 99, 97,108, 32,109,
+ 98, 97,115,101, 10, 10, 9,105,102, 32,112, 32,116,104,101,
+ 110, 10, 9, 9,109, 98, 97,115,101, 32, 61, 32,116, 97, 98,
+ 108,101, 46,114,101,109,111,118,101, 40,112, 44, 32, 49, 41,
+ 10, 9, 9,105,102, 32,110,111,116, 32,112, 91, 49, 93, 32,
+ 116,104,101,110, 32,112, 32, 61, 32,110,105,108, 32,101,110,
+ 100, 10, 9,101,110,100, 10, 10, 9,109, 98, 97,115,101, 32,
+ 61, 32,109, 98, 97,115,101, 32, 97,110,100, 32,114,101,115,
+ 111,108,118,101, 95,116,101,109,112,108, 97,116,101, 95,116,
+ 121,112,101,115, 40,109, 98, 97,115,101, 41, 10, 10, 9,108,
+ 111, 99, 97,108, 32, 99, 10, 9,108,111, 99, 97,108, 32,111,
+ 110, 97,109,101, 32, 61, 32,115,116,114,105,110,103, 46,103,
+ 115,117, 98, 40,110, 44, 32, 34, 64, 46, 42, 36, 34, 44, 32,
+ 34, 34, 41, 10, 9,111,110, 97,109,101, 32, 61, 32,103,101,
+ 116,110, 97,109,101,115,112, 97, 99,101, 40, 99,108, 97,115,
+ 115, 67,111,110,116, 97,105,110,101,114, 46, 99,117,114,114,
+ 41, 46, 46,111,110, 97,109,101, 10, 10, 9,105,102, 32, 95,
+ 103,108,111, 98, 97,108, 95, 99,108, 97,115,115,101,115, 91,
+ 111,110, 97,109,101, 93, 32,116,104,101,110, 10, 9, 9, 99,
+ 32, 61, 32, 95,103,108,111, 98, 97,108, 95, 99,108, 97,115,
+ 115,101,115, 91,111,110, 97,109,101, 93, 10, 9, 9,105,102,
+ 32,109, 98, 97,115,101, 32, 97,110,100, 32, 40, 40,110,111,
+ 116, 32, 99, 46, 98, 97,115,101, 41, 32,111,114, 32, 99, 46,
+ 98, 97,115,101, 32, 61, 61, 32, 34, 34, 41, 32,116,104,101,
+ 110, 10, 9, 9, 9, 99, 46, 98, 97,115,101, 32, 61, 32,109,
+ 98, 97,115,101, 10, 9, 9,101,110,100, 10, 9,101,108,115,
+ 101, 10, 9, 9, 99, 32, 61, 32, 95, 67,108, 97,115,115, 40,
+ 95, 67,111,110,116, 97,105,110,101,114,123,110, 97,109,101,
+ 61,110, 44, 32, 98, 97,115,101, 61,109, 98, 97,115,101, 44,
+ 32,101,120,116,114, 97, 95, 98, 97,115,101,115, 61,112,125,
+ 41, 10, 10, 9, 9,108,111, 99, 97,108, 32,102,116, 32, 61,
+ 32,103,101,116,110, 97,109,101,115,112, 97, 99,101, 40, 99,
+ 46,112, 97,114,101,110,116, 41, 46, 46, 99, 46,111,114,105,
+ 103,105,110, 97,108, 95,110, 97,109,101, 10, 9, 9, 97,112,
+ 112,101,110,100, 95,103,108,111, 98, 97,108, 95,116,121,112,
+ 101, 40,102,116, 44, 32, 99, 41, 10, 9,101,110,100, 10, 10,
+ 9,112,117,115,104, 40, 99, 41, 10, 9, 99, 58,112, 97,114,
+ 115,101, 40,115,116,114,115,117, 98, 40, 98, 44, 50, 44,115,
+ 116,114,108,101,110, 40, 98, 41, 45, 49, 41, 41, 32, 45, 45,
+ 32,101,108,105,109,105,110, 97,116,101, 32, 98,114, 97, 99,
+ 101,115, 10, 9,112,111,112, 40, 41, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/class.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 45, 45, 32,109, 97,114,107, 32,117,112, 32, 99,111,109,109,
+ 101,110,116,115, 32, 97,110,100, 32,115,116,114,105,110,103,
+ 115, 10, 83, 84, 82, 49, 32, 61, 32, 34, 92, 48, 48, 49, 34,
+ 10, 83, 84, 82, 50, 32, 61, 32, 34, 92, 48, 48, 50, 34, 10,
+ 83, 84, 82, 51, 32, 61, 32, 34, 92, 48, 48, 51, 34, 10, 83,
+ 84, 82, 52, 32, 61, 32, 34, 92, 48, 48, 52, 34, 10, 82, 69,
+ 77, 32, 32, 61, 32, 34, 92, 48, 48, 53, 34, 10, 65, 78, 89,
+ 32, 32, 61, 32, 34, 40, 91, 92, 48, 48, 49, 45, 92, 48, 48,
+ 53, 93, 41, 34, 10, 69, 83, 67, 49, 32, 61, 32, 34, 92, 48,
+ 48, 54, 34, 10, 69, 83, 67, 50, 32, 61, 32, 34, 92, 48, 48,
+ 55, 34, 10, 10, 77, 65, 83, 75, 32, 61, 32,123, 32, 45, 45,
+ 32,116,104,101, 32,115,117, 98,115,116,105,116,117,116,105,
+ 111,110, 32,111,114,100,101,114, 32,105,115, 32,105,109,112,
+ 111,114,116, 97,110,116, 10, 32,123, 69, 83, 67, 49, 44, 32,
+ 34, 92, 92, 39, 34,125, 44, 10, 32,123, 69, 83, 67, 50, 44,
+ 32, 39, 92, 92, 34, 39,125, 44, 10, 32,123, 83, 84, 82, 49,
+ 44, 32, 34, 39, 34,125, 44, 10, 32,123, 83, 84, 82, 50, 44,
+ 32, 39, 34, 39,125, 44, 10, 32,123, 83, 84, 82, 51, 44, 32,
+ 34, 37, 91, 37, 91, 34,125, 44, 10, 32,123, 83, 84, 82, 52,
+ 44, 32, 34, 37, 93, 37, 93, 34,125, 44, 10, 32,123, 82, 69,
+ 77, 32, 44, 32, 34, 37, 45, 37, 45, 34,125, 44, 10,125, 10,
+ 10,102,117,110, 99,116,105,111,110, 32,109, 97,115,107, 32,
+ 40,115, 41, 10, 32,102,111,114, 32,105, 32, 61, 32, 49, 44,
+ 103,101,116,110, 40, 77, 65, 83, 75, 41, 32, 32,100,111, 10,
+ 32, 32,115, 32, 61, 32,103,115,117, 98, 40,115, 44, 77, 65,
+ 83, 75, 91,105, 93, 91, 50, 93, 44, 77, 65, 83, 75, 91,105,
+ 93, 91, 49, 93, 41, 10, 32,101,110,100, 10, 32,114,101,116,
+ 117,114,110, 32,115, 10,101,110,100, 10, 10,102,117,110, 99,
+ 116,105,111,110, 32,117,110,109, 97,115,107, 32, 40,115, 41,
+ 10, 32,102,111,114, 32,105, 32, 61, 32, 49, 44,103,101,116,
+ 110, 40, 77, 65, 83, 75, 41, 32, 32,100,111, 10, 32, 32,115,
+ 32, 61, 32,103,115,117, 98, 40,115, 44, 77, 65, 83, 75, 91,
+ 105, 93, 91, 49, 93, 44, 77, 65, 83, 75, 91,105, 93, 91, 50,
+ 93, 41, 10, 32,101,110,100, 10, 32,114,101,116,117,114,110,
+ 32,115, 10,101,110,100, 10, 10,102,117,110, 99,116,105,111,
+ 110, 32, 99,108,101, 97,110, 32, 40,115, 41, 10, 32, 45, 45,
+ 32, 99,104,101, 99,107, 32,102,111,114, 32, 99,111,109,112,
+ 105,108, 97,116,105,111,110, 32,101,114,114,111,114, 10, 32,
+ 108,111, 99, 97,108, 32, 99,111,100,101, 32, 61, 32, 34,114,
+ 101,116,117,114,110, 32,102,117,110, 99,116,105,111,110, 32,
+ 40, 41, 92,110, 34, 32, 46, 46, 32,115, 32, 46, 46, 32, 34,
+ 92,110, 32,101,110,100, 34, 10, 32,105,102, 32,110,111,116,
+ 32,100,111,115,116,114,105,110,103, 40, 99,111,100,101, 41,
+ 32,116,104,101,110, 10, 32, 32,114,101,116,117,114,110, 32,
+ 110,105,108, 10, 32,101,110,100, 10, 10, 32,105,102, 32,102,
+ 108, 97,103,115, 91, 39, 67, 39, 93, 32,116,104,101,110, 10,
+ 32, 9,114,101,116,117,114,110, 32,115, 10, 32,101,110,100,
+ 10, 10, 32,108,111, 99, 97,108, 32, 83, 32, 61, 32, 34, 34,
+ 32, 45, 45, 32,115, 97,118,101,100, 32,115,116,114,105,110,
+ 103, 10, 10, 32,115, 32, 61, 32,109, 97,115,107, 40,115, 41,
+ 10, 10, 32, 45, 45, 32,114,101,109,111,118,101, 32, 98,108,
+ 97,110,107,115, 32, 97,110,100, 32, 99,111,109,109,101,110,
+ 116,115, 10, 32,119,104,105,108,101, 32, 49, 32,100,111, 10,
+ 32, 32,108,111, 99, 97,108, 32, 98, 44,101, 44,100, 32, 61,
+ 32,115,116,114,102,105,110,100, 40,115, 44, 65, 78, 89, 41,
+ 10, 32, 32,105,102, 32, 98, 32,116,104,101,110, 10, 32, 32,
+ 32, 83, 32, 61, 32, 83, 46, 46,115,116,114,115,117, 98, 40,
+ 115, 44, 49, 44, 98, 45, 49, 41, 10, 32, 32, 32,115, 32, 61,
+ 32,115,116,114,115,117, 98, 40,115, 44, 98, 43, 49, 41, 10,
+ 32, 32, 32,105,102, 32,100, 61, 61, 83, 84, 82, 49, 32,111,
+ 114, 32,100, 61, 61, 83, 84, 82, 50, 32,116,104,101,110, 10,
+ 32, 32, 32, 32,101, 32, 61, 32,115,116,114,102,105,110,100,
+ 40,115, 44,100, 41, 10, 32, 32, 32, 32, 83, 32, 61, 32, 83,
+ 32, 46, 46,100, 46, 46,115,116,114,115,117, 98, 40,115, 44,
+ 49, 44,101, 41, 10, 32, 32, 32, 32,115, 32, 61, 32,115,116,
+ 114,115,117, 98, 40,115, 44,101, 43, 49, 41, 10, 32, 32, 32,
+ 101,108,115,101,105,102, 32,100, 61, 61, 83, 84, 82, 51, 32,
+ 116,104,101,110, 10, 32, 32, 32, 32,101, 32, 61, 32,115,116,
+ 114,102,105,110,100, 40,115, 44, 83, 84, 82, 52, 41, 10, 32,
+ 32, 32, 32, 83, 32, 61, 32, 83, 46, 46,100, 46, 46,115,116,
+ 114,115,117, 98, 40,115, 44, 49, 44,101, 41, 10, 32, 32, 32,
+ 32,115, 32, 61, 32,115,116,114,115,117, 98, 40,115, 44,101,
+ 43, 49, 41, 10, 32, 32, 32,101,108,115,101,105,102, 32,100,
+ 61, 61, 82, 69, 77, 32,116,104,101,110, 10, 32, 32, 32, 32,
+ 115, 32, 61, 32,103,115,117, 98, 40,115, 44, 34, 91, 94, 92,
+ 110, 93, 42, 40, 92,110, 63, 41, 34, 44, 34, 37, 49, 34, 44,
+ 49, 41, 10, 32, 32, 32,101,110,100, 10, 32, 32,101,108,115,
+ 101, 10, 32, 32, 32, 83, 32, 61, 32, 83, 46, 46,115, 10, 32,
+ 32, 32, 98,114,101, 97,107, 10, 32, 32,101,110,100, 10, 32,
+ 101,110,100, 10, 32, 45, 45, 32,101,108,105,109,105,110, 97,
+ 116,101, 32,117,110,101, 99,101,115,115, 97,114,121, 32,115,
+ 112, 97, 99,101,115, 10, 32, 83, 32, 61, 32,103,115,117, 98,
+ 40, 83, 44, 34, 91, 32, 92,116, 93, 43, 34, 44, 34, 32, 34,
+ 41, 10, 32, 83, 32, 61, 32,103,115,117, 98, 40, 83, 44, 34,
+ 91, 32, 92,116, 93, 42, 92,110, 91, 32, 92,116, 93, 42, 34,
+ 44, 34, 92,110, 34, 41, 10, 9, 83, 32, 61, 32,103,115,117,
+ 98, 40, 83, 44, 34, 92,110, 43, 34, 44, 34, 92,110, 34, 41,
+ 10, 32, 83, 32, 61, 32,117,110,109, 97,115,107, 40, 83, 41,
+ 10, 32,114,101,116,117,114,110, 32, 83, 10,101,110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/clean.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ // _Xoft(o): hex dump of the lua/doit.lua file, generated by HxD
+ static unsigned char B[] = {
+ 0x2D, 0x2D, 0x20, 0x47, 0x65, 0x6E, 0x65, 0x72, 0x61, 0x74, 0x65, 0x20,
+ 0x62, 0x69, 0x6E, 0x64, 0x69, 0x6E, 0x67, 0x20, 0x63, 0x6F, 0x64, 0x65,
+ 0x0A, 0x2D, 0x2D, 0x20, 0x57, 0x72, 0x69, 0x74, 0x74, 0x65, 0x6E, 0x20,
+ 0x62, 0x79, 0x20, 0x57, 0x61, 0x6C, 0x64, 0x65, 0x6D, 0x61, 0x72, 0x20,
+ 0x43, 0x65, 0x6C, 0x65, 0x73, 0x0A, 0x2D, 0x2D, 0x20, 0x54, 0x65, 0x43,
+ 0x47, 0x72, 0x61, 0x66, 0x2F, 0x50, 0x55, 0x43, 0x2D, 0x52, 0x69, 0x6F,
+ 0x0A, 0x2D, 0x2D, 0x20, 0x4A, 0x75, 0x6C, 0x20, 0x31, 0x39, 0x39, 0x38,
+ 0x0A, 0x2D, 0x2D, 0x20, 0x4C, 0x61, 0x73, 0x74, 0x20, 0x75, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x3A, 0x20, 0x41, 0x70, 0x72, 0x20, 0x32, 0x30, 0x30,
+ 0x33, 0x0A, 0x2D, 0x2D, 0x20, 0x24, 0x49, 0x64, 0x3A, 0x20, 0x24, 0x0A,
+ 0x0A, 0x0A, 0x2D, 0x2D, 0x20, 0x54, 0x68, 0x69, 0x73, 0x20, 0x63, 0x6F,
+ 0x64, 0x65, 0x20, 0x69, 0x73, 0x20, 0x66, 0x72, 0x65, 0x65, 0x20, 0x73,
+ 0x6F, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x3B, 0x20, 0x79, 0x6F, 0x75,
+ 0x20, 0x63, 0x61, 0x6E, 0x20, 0x72, 0x65, 0x64, 0x69, 0x73, 0x74, 0x72,
+ 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x69, 0x74, 0x20, 0x61, 0x6E, 0x64,
+ 0x2F, 0x6F, 0x72, 0x20, 0x6D, 0x6F, 0x64, 0x69, 0x66, 0x79, 0x20, 0x69,
+ 0x74, 0x2E, 0x0A, 0x2D, 0x2D, 0x20, 0x54, 0x68, 0x65, 0x20, 0x73, 0x6F,
+ 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x20, 0x70, 0x72, 0x6F, 0x76, 0x69,
+ 0x64, 0x65, 0x64, 0x20, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6E, 0x64, 0x65,
+ 0x72, 0x20, 0x69, 0x73, 0x20, 0x6F, 0x6E, 0x20, 0x61, 0x6E, 0x20, 0x22,
+ 0x61, 0x73, 0x20, 0x69, 0x73, 0x22, 0x20, 0x62, 0x61, 0x73, 0x69, 0x73,
+ 0x2C, 0x20, 0x61, 0x6E, 0x64, 0x0A, 0x2D, 0x2D, 0x20, 0x74, 0x68, 0x65,
+ 0x20, 0x61, 0x75, 0x74, 0x68, 0x6F, 0x72, 0x20, 0x68, 0x61, 0x73, 0x20,
+ 0x6E, 0x6F, 0x20, 0x6F, 0x62, 0x6C, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6F,
+ 0x6E, 0x20, 0x74, 0x6F, 0x20, 0x70, 0x72, 0x6F, 0x76, 0x69, 0x64, 0x65,
+ 0x20, 0x6D, 0x61, 0x69, 0x6E, 0x74, 0x65, 0x6E, 0x61, 0x6E, 0x63, 0x65,
+ 0x2C, 0x20, 0x73, 0x75, 0x70, 0x70, 0x6F, 0x72, 0x74, 0x2C, 0x20, 0x75,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x2C, 0x0A, 0x2D, 0x2D, 0x20, 0x65,
+ 0x6E, 0x68, 0x61, 0x6E, 0x63, 0x65, 0x6D, 0x65, 0x6E, 0x74, 0x73, 0x2C,
+ 0x20, 0x6F, 0x72, 0x20, 0x6D, 0x6F, 0x64, 0x69, 0x66, 0x69, 0x63, 0x61,
+ 0x74, 0x69, 0x6F, 0x6E, 0x73, 0x2E, 0x0A, 0x0A, 0x66, 0x75, 0x6E, 0x63,
+ 0x74, 0x69, 0x6F, 0x6E, 0x20, 0x70, 0x61, 0x72, 0x73, 0x65, 0x5F, 0x65,
+ 0x78, 0x74, 0x72, 0x61, 0x28, 0x29, 0x0A, 0x0A, 0x09, 0x66, 0x6F, 0x72,
+ 0x20, 0x6B, 0x2C, 0x76, 0x20, 0x69, 0x6E, 0x20, 0x69, 0x70, 0x61, 0x69,
+ 0x72, 0x73, 0x28, 0x5F, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5F, 0x70, 0x61,
+ 0x72, 0x61, 0x6D, 0x65, 0x74, 0x65, 0x72, 0x73, 0x20, 0x6F, 0x72, 0x20,
+ 0x7B, 0x7D, 0x29, 0x20, 0x64, 0x6F, 0x0A, 0x09, 0x09, 0x0A, 0x09, 0x09,
+ 0x6C, 0x6F, 0x63, 0x61, 0x6C, 0x20, 0x62, 0x2C, 0x65, 0x2C, 0x6E, 0x61,
+ 0x6D, 0x65, 0x2C, 0x76, 0x61, 0x6C, 0x75, 0x65, 0x20, 0x3D, 0x20, 0x73,
+ 0x74, 0x72, 0x69, 0x6E, 0x67, 0x2E, 0x66, 0x69, 0x6E, 0x64, 0x28, 0x76,
+ 0x2C, 0x20, 0x22, 0x5E, 0x28, 0x5B, 0x5E, 0x3D, 0x5D, 0x2A, 0x29, 0x3D,
+ 0x28, 0x2E, 0x2A, 0x29, 0x24, 0x22, 0x29, 0x0A, 0x09, 0x09, 0x69, 0x66,
+ 0x20, 0x62, 0x20, 0x74, 0x68, 0x65, 0x6E, 0x0A, 0x09, 0x09, 0x09, 0x5F,
+ 0x65, 0x78, 0x74, 0x72, 0x61, 0x5F, 0x70, 0x61, 0x72, 0x61, 0x6D, 0x65,
+ 0x74, 0x65, 0x72, 0x73, 0x5B, 0x6E, 0x61, 0x6D, 0x65, 0x5D, 0x20, 0x3D,
+ 0x20, 0x76, 0x61, 0x6C, 0x75, 0x65, 0x0A, 0x09, 0x09, 0x65, 0x6C, 0x73,
+ 0x65, 0x0A, 0x09, 0x09, 0x09, 0x5F, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5F,
+ 0x70, 0x61, 0x72, 0x61, 0x6D, 0x65, 0x74, 0x65, 0x72, 0x73, 0x5B, 0x76,
+ 0x5D, 0x20, 0x3D, 0x20, 0x74, 0x72, 0x75, 0x65, 0x0A, 0x09, 0x09, 0x65,
+ 0x6E, 0x64, 0x0A, 0x09, 0x65, 0x6E, 0x64, 0x0A, 0x65, 0x6E, 0x64, 0x0A,
+ 0x0A, 0x66, 0x75, 0x6E, 0x63, 0x74, 0x69, 0x6F, 0x6E, 0x20, 0x64, 0x6F,
+ 0x69, 0x74, 0x20, 0x28, 0x29, 0x0A, 0x09, 0x2D, 0x2D, 0x20, 0x64, 0x65,
+ 0x66, 0x69, 0x6E, 0x65, 0x20, 0x70, 0x61, 0x63, 0x6B, 0x61, 0x67, 0x65,
+ 0x20, 0x6E, 0x61, 0x6D, 0x65, 0x2C, 0x20, 0x69, 0x66, 0x20, 0x6E, 0x6F,
+ 0x74, 0x20, 0x70, 0x72, 0x6F, 0x76, 0x69, 0x64, 0x65, 0x64, 0x0A, 0x09,
+ 0x69, 0x66, 0x20, 0x6E, 0x6F, 0x74, 0x20, 0x66, 0x6C, 0x61, 0x67, 0x73,
+ 0x2E, 0x6E, 0x20, 0x74, 0x68, 0x65, 0x6E, 0x0A, 0x09, 0x09, 0x69, 0x66,
+ 0x20, 0x66, 0x6C, 0x61, 0x67, 0x73, 0x2E, 0x66, 0x20, 0x74, 0x68, 0x65,
+ 0x6E, 0x0A, 0x09, 0x09, 0x09, 0x66, 0x6C, 0x61, 0x67, 0x73, 0x2E, 0x6E,
+ 0x20, 0x3D, 0x20, 0x67, 0x73, 0x75, 0x62, 0x28, 0x66, 0x6C, 0x61, 0x67,
+ 0x73, 0x2E, 0x66, 0x2C, 0x22, 0x25, 0x2E, 0x2E, 0x2A, 0x24, 0x22, 0x2C,
+ 0x22, 0x22, 0x29, 0x0A, 0x09, 0x09, 0x09, 0x5F, 0x2C, 0x5F, 0x2C, 0x66,
+ 0x6C, 0x61, 0x67, 0x73, 0x2E, 0x6E, 0x20, 0x3D, 0x20, 0x73, 0x74, 0x72,
+ 0x69, 0x6E, 0x67, 0x2E, 0x66, 0x69, 0x6E, 0x64, 0x28, 0x66, 0x6C, 0x61,
+ 0x67, 0x73, 0x2E, 0x6E, 0x2C, 0x20, 0x22, 0x28, 0x5B, 0x5E, 0x2F, 0x5C,
+ 0x5C, 0x5D, 0x2A, 0x29, 0x24, 0x22, 0x29, 0x0A, 0x09, 0x09, 0x65, 0x6C,
+ 0x73, 0x65, 0x0A, 0x09, 0x09, 0x09, 0x65, 0x72, 0x72, 0x6F, 0x72, 0x28,
+ 0x22, 0x23, 0x6E, 0x6F, 0x20, 0x70, 0x61, 0x63, 0x6B, 0x61, 0x67, 0x65,
+ 0x20, 0x6E, 0x61, 0x6D, 0x65, 0x20, 0x6E, 0x6F, 0x72, 0x20, 0x69, 0x6E,
+ 0x70, 0x75, 0x74, 0x20, 0x66, 0x69, 0x6C, 0x65, 0x20, 0x70, 0x72, 0x6F,
+ 0x76, 0x69, 0x64, 0x65, 0x64, 0x22, 0x29, 0x0A, 0x09, 0x09, 0x65, 0x6E,
+ 0x64, 0x0A, 0x09, 0x65, 0x6E, 0x64, 0x0A, 0x0A, 0x09, 0x2D, 0x2D, 0x20,
+ 0x70, 0x61, 0x72, 0x73, 0x65, 0x20, 0x74, 0x61, 0x62, 0x6C, 0x65, 0x20,
+ 0x77, 0x69, 0x74, 0x68, 0x20, 0x65, 0x78, 0x74, 0x72, 0x61, 0x20, 0x70,
+ 0x61, 0x72, 0x61, 0x6D, 0x74, 0x65, 0x72, 0x73, 0x0A, 0x09, 0x70, 0x61,
+ 0x72, 0x73, 0x65, 0x5F, 0x65, 0x78, 0x74, 0x72, 0x61, 0x28, 0x29, 0x0A,
+ 0x0A, 0x09, 0x2D, 0x2D, 0x20, 0x64, 0x6F, 0x20, 0x74, 0x68, 0x69, 0x73,
+ 0x20, 0x61, 0x66, 0x74, 0x65, 0x72, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69,
+ 0x6E, 0x67, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x61, 0x63, 0x6B, 0x61,
+ 0x67, 0x65, 0x20, 0x6E, 0x61, 0x6D, 0x65, 0x0A, 0x09, 0x69, 0x66, 0x20,
+ 0x66, 0x6C, 0x61, 0x67, 0x73, 0x5B, 0x27, 0x4C, 0x27, 0x5D, 0x20, 0x74,
+ 0x68, 0x65, 0x6E, 0x0A, 0x09, 0x09, 0x64, 0x6F, 0x66, 0x69, 0x6C, 0x65,
+ 0x28, 0x66, 0x6C, 0x61, 0x67, 0x73, 0x5B, 0x27, 0x4C, 0x27, 0x5D, 0x29,
+ 0x0A, 0x09, 0x65, 0x6E, 0x64, 0x0A, 0x0A, 0x09, 0x2D, 0x2D, 0x20, 0x61,
+ 0x64, 0x64, 0x20, 0x63, 0x70, 0x70, 0x73, 0x74, 0x72, 0x69, 0x6E, 0x67,
+ 0x0A, 0x09, 0x69, 0x66, 0x20, 0x6E, 0x6F, 0x74, 0x20, 0x66, 0x6C, 0x61,
+ 0x67, 0x73, 0x5B, 0x27, 0x53, 0x27, 0x5D, 0x20, 0x74, 0x68, 0x65, 0x6E,
+ 0x0A, 0x09, 0x09, 0x5F, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5B, 0x27, 0x73,
+ 0x74, 0x72, 0x69, 0x6E, 0x67, 0x27, 0x5D, 0x20, 0x3D, 0x20, 0x27, 0x63,
+ 0x70, 0x70, 0x73, 0x74, 0x72, 0x69, 0x6E, 0x67, 0x27, 0x0A, 0x09, 0x09,
+ 0x5F, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5B, 0x27, 0x73, 0x74, 0x64, 0x3A,
+ 0x3A, 0x73, 0x74, 0x72, 0x69, 0x6E, 0x67, 0x27, 0x5D, 0x20, 0x3D, 0x20,
+ 0x27, 0x63, 0x70, 0x70, 0x73, 0x74, 0x72, 0x69, 0x6E, 0x67, 0x27, 0x0A,
+ 0x09, 0x09, 0x5F, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5B, 0x27, 0x41, 0x53,
+ 0x74, 0x72, 0x69, 0x6E, 0x67, 0x27, 0x5D, 0x20, 0x3D, 0x20, 0x27, 0x63,
+ 0x70, 0x70, 0x73, 0x74, 0x72, 0x69, 0x6E, 0x67, 0x27, 0x0A, 0x09, 0x09,
+ 0x5F, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5F, 0x63, 0x74, 0x79, 0x70, 0x65,
+ 0x2E, 0x63, 0x70, 0x70, 0x73, 0x74, 0x72, 0x69, 0x6E, 0x67, 0x20, 0x3D,
+ 0x20, 0x27, 0x63, 0x6F, 0x6E, 0x73, 0x74, 0x20, 0x63, 0x68, 0x61, 0x72,
+ 0x2A, 0x27, 0x0A, 0x09, 0x65, 0x6E, 0x64, 0x0A, 0x0A, 0x09, 0x2D, 0x2D,
+ 0x20, 0x70, 0x72, 0x6F, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x70, 0x61,
+ 0x63, 0x6B, 0x61, 0x67, 0x65, 0x0A, 0x09, 0x6C, 0x6F, 0x63, 0x61, 0x6C,
+ 0x20, 0x70, 0x20, 0x20, 0x3D, 0x20, 0x50, 0x61, 0x63, 0x6B, 0x61, 0x67,
+ 0x65, 0x28, 0x66, 0x6C, 0x61, 0x67, 0x73, 0x2E, 0x6E, 0x2C, 0x66, 0x6C,
+ 0x61, 0x67, 0x73, 0x2E, 0x66, 0x29, 0x0A, 0x0A, 0x09, 0x69, 0x66, 0x20,
+ 0x66, 0x6C, 0x61, 0x67, 0x73, 0x2E, 0x70, 0x20, 0x74, 0x68, 0x65, 0x6E,
+ 0x0A, 0x09, 0x09, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6E, 0x20, 0x20, 0x20,
+ 0x20, 0x20, 0x20, 0x20, 0x20, 0x2D, 0x2D, 0x20, 0x6F, 0x6E, 0x6C, 0x79,
+ 0x20, 0x70, 0x61, 0x72, 0x73, 0x65, 0x0A, 0x09, 0x65, 0x6E, 0x64, 0x0A,
+ 0x0A, 0x09, 0x69, 0x66, 0x20, 0x66, 0x6C, 0x61, 0x67, 0x73, 0x2E, 0x6F,
+ 0x20, 0x74, 0x68, 0x65, 0x6E, 0x0A, 0x09, 0x09, 0x6C, 0x6F, 0x63, 0x61,
+ 0x6C, 0x20, 0x73, 0x74, 0x2C, 0x6D, 0x73, 0x67, 0x20, 0x3D, 0x20, 0x77,
+ 0x72, 0x69, 0x74, 0x65, 0x74, 0x6F, 0x28, 0x66, 0x6C, 0x61, 0x67, 0x73,
+ 0x2E, 0x6F, 0x29, 0x0A, 0x09, 0x09, 0x69, 0x66, 0x20, 0x6E, 0x6F, 0x74,
+ 0x20, 0x73, 0x74, 0x20, 0x74, 0x68, 0x65, 0x6E, 0x0A, 0x09, 0x09, 0x09,
+ 0x65, 0x72, 0x72, 0x6F, 0x72, 0x28, 0x27, 0x23, 0x27, 0x2E, 0x2E, 0x6D,
+ 0x73, 0x67, 0x29, 0x0A, 0x09, 0x09, 0x65, 0x6E, 0x64, 0x0A, 0x09, 0x65,
+ 0x6E, 0x64, 0x0A, 0x0A, 0x09, 0x70, 0x3A, 0x64, 0x65, 0x63, 0x6C, 0x74,
+ 0x79, 0x70, 0x65, 0x28, 0x29, 0x0A, 0x09, 0x69, 0x66, 0x20, 0x66, 0x6C,
+ 0x61, 0x67, 0x73, 0x2E, 0x50, 0x20, 0x74, 0x68, 0x65, 0x6E, 0x0A, 0x09,
+ 0x09, 0x70, 0x3A, 0x70, 0x72, 0x69, 0x6E, 0x74, 0x28, 0x29, 0x0A, 0x09,
+ 0x65, 0x6C, 0x73, 0x65, 0x0A, 0x09, 0x09, 0x70, 0x75, 0x73, 0x68, 0x28,
+ 0x70, 0x29, 0x0A, 0x09, 0x09, 0x70, 0x72, 0x65, 0x5F, 0x6F, 0x75, 0x74,
+ 0x70, 0x75, 0x74, 0x5F, 0x68, 0x6F, 0x6F, 0x6B, 0x28, 0x70, 0x29, 0x0A,
+ 0x09, 0x09, 0x70, 0x6F, 0x70, 0x28, 0x29, 0x0A, 0x09, 0x09, 0x70, 0x3A,
+ 0x70, 0x72, 0x65, 0x61, 0x6D, 0x62, 0x6C, 0x65, 0x28, 0x29, 0x0A, 0x09,
+ 0x09, 0x70, 0x3A, 0x73, 0x75, 0x70, 0x63, 0x6F, 0x64, 0x65, 0x28, 0x29,
+ 0x0A, 0x09, 0x09, 0x70, 0x75, 0x73, 0x68, 0x28, 0x70, 0x29, 0x0A, 0x09,
+ 0x09, 0x70, 0x72, 0x65, 0x5F, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65,
+ 0x72, 0x5F, 0x68, 0x6F, 0x6F, 0x6B, 0x28, 0x70, 0x29, 0x0A, 0x09, 0x09,
+ 0x70, 0x6F, 0x70, 0x28, 0x29, 0x0A, 0x09, 0x09, 0x70, 0x3A, 0x72, 0x65,
+ 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x28, 0x29, 0x0A, 0x09, 0x09, 0x70,
+ 0x75, 0x73, 0x68, 0x28, 0x70, 0x29, 0x0A, 0x09, 0x09, 0x70, 0x6F, 0x73,
+ 0x74, 0x5F, 0x6F, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5F, 0x68, 0x6F, 0x6F,
+ 0x6B, 0x28, 0x70, 0x29, 0x0A, 0x09, 0x09, 0x70, 0x6F, 0x70, 0x28, 0x29,
+ 0x0A, 0x09, 0x65, 0x6E, 0x64, 0x0A, 0x0A, 0x09, 0x69, 0x66, 0x20, 0x66,
+ 0x6C, 0x61, 0x67, 0x73, 0x2E, 0x6F, 0x20, 0x74, 0x68, 0x65, 0x6E, 0x0A,
+ 0x09, 0x09, 0x77, 0x72, 0x69, 0x74, 0x65, 0x74, 0x6F, 0x28, 0x29, 0x0A,
+ 0x09, 0x65, 0x6E, 0x64, 0x0A, 0x0A, 0x09, 0x2D, 0x2D, 0x20, 0x77, 0x72,
+ 0x69, 0x74, 0x65, 0x20, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x20, 0x66,
+ 0x69, 0x6C, 0x65, 0x0A, 0x09, 0x69, 0x66, 0x20, 0x6E, 0x6F, 0x74, 0x20,
+ 0x66, 0x6C, 0x61, 0x67, 0x73, 0x2E, 0x50, 0x20, 0x74, 0x68, 0x65, 0x6E,
+ 0x0A, 0x09, 0x09, 0x69, 0x66, 0x20, 0x66, 0x6C, 0x61, 0x67, 0x73, 0x2E,
+ 0x48, 0x20, 0x74, 0x68, 0x65, 0x6E, 0x0A, 0x09, 0x09, 0x09, 0x6C, 0x6F,
+ 0x63, 0x61, 0x6C, 0x20, 0x73, 0x74, 0x2C, 0x6D, 0x73, 0x67, 0x20, 0x3D,
+ 0x20, 0x77, 0x72, 0x69, 0x74, 0x65, 0x74, 0x6F, 0x28, 0x66, 0x6C, 0x61,
+ 0x67, 0x73, 0x2E, 0x48, 0x29, 0x0A, 0x09, 0x09, 0x09, 0x69, 0x66, 0x20,
+ 0x6E, 0x6F, 0x74, 0x20, 0x73, 0x74, 0x20, 0x74, 0x68, 0x65, 0x6E, 0x0A,
+ 0x09, 0x09, 0x09, 0x09, 0x65, 0x72, 0x72, 0x6F, 0x72, 0x28, 0x27, 0x23,
+ 0x27, 0x2E, 0x2E, 0x6D, 0x73, 0x67, 0x29, 0x0A, 0x09, 0x09, 0x09, 0x65,
+ 0x6E, 0x64, 0x0A, 0x09, 0x09, 0x09, 0x70, 0x3A, 0x68, 0x65, 0x61, 0x64,
+ 0x65, 0x72, 0x28, 0x29, 0x0A, 0x09, 0x09, 0x09, 0x77, 0x72, 0x69, 0x74,
+ 0x65, 0x74, 0x6F, 0x28, 0x29, 0x0A, 0x09, 0x09, 0x65, 0x6E, 0x64, 0x0A,
+ 0x09, 0x65, 0x6E, 0x64, 0x0A, 0x65, 0x6E, 0x64, 0x0A, 0x0A
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: src/bin/lua/doit.lua");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+
+ { /* begin embedded lua code */
+ int top = lua_gettop(tolua_S);
+ static unsigned char B[] = {
+ 10,108,111, 99, 97,108, 32,101,114,114, 44,109,115,103, 32,
+ 61, 32,112, 99, 97,108,108, 40,100,111,105,116, 41, 10,105,
+ 102, 32,110,111,116, 32,101,114,114, 32,116,104,101,110, 10,
+ 32,108,111, 99, 97,108, 32, 95, 44, 95, 44,108, 97, 98,101,
+ 108, 44,109,115,103, 32, 61, 32,115,116,114,102,105,110,100,
+ 40,109,115,103, 44, 34, 40, 46, 45, 58, 46, 45, 58, 37,115,
+ 42, 41, 40, 46, 42, 41, 34, 41, 10, 32,116,111,108,117, 97,
+ 95,101,114,114,111,114, 40,109,115,103, 44,108, 97, 98,101,
+ 108, 41, 10, 32,112,114,105,110,116, 40,100,101, 98,117,103,
+ 46,116,114, 97, 99,101, 98, 97, 99,107, 40, 41, 41, 10,101,
+ 110,100,32
+ };
+ tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua: embedded Lua code 23");
+ lua_settop(tolua_S, top);
+ } /* end of embedded lua code */
+
+ tolua_endmodule(tolua_S);
+ return 1;
+}
+
+
+#if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
+TOLUA_API int luaopen_tolua (lua_State* tolua_S) {
+ return tolua_tolua_open(tolua_S);
+};
+#endif
+
diff --git a/lib/tolua++/src/bin/toluabind.h b/lib/tolua++/src/bin/toluabind.h
new file mode 100644
index 000000000..7f1f018c9
--- /dev/null
+++ b/lib/tolua++/src/bin/toluabind.h
@@ -0,0 +1,8 @@
+/*
+** Lua binding: tolua
+** Generated automatically by tolua++-1.0.92 on Sun Feb 15 22:29:48 2009.
+*/
+
+/* Exported function */
+TOLUA_API int tolua_tolua_open (lua_State* tolua_S);
+
diff --git a/lib/zlib/CMakeLists.txt b/lib/zlib/CMakeLists.txt
new file mode 100644
index 000000000..fe6dba6ae
--- /dev/null
+++ b/lib/zlib/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (zlib)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
+
+file(GLOB SOURCE
+ "*.c"
+)
+
+add_library(zlib ${SOURCE})
diff --git a/src/Bindings/Bindings.cpp b/src/Bindings/Bindings.cpp
deleted file mode 100644
index b53b78853..000000000
--- a/src/Bindings/Bindings.cpp
+++ /dev/null
@@ -1,32230 +0,0 @@
-/*
-** Lua binding: AllToLua
-** Generated automatically by tolua++-1.0.92 on 12/18/13 16:09:11.
-*/
-
-#ifndef __cplusplus
-#include "stdlib.h"
-#endif
-#include "string.h"
-
-#include "tolua++.h"
-
-/* Exported function */
-TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S);
-
-#include "../Globals.h"
-#include "tolua_base.h"
-#include "../ChunkDef.h"
-#include "../../lib/inifile/iniFile.h"
-#include "../OSSupport/File.h"
-#include "LuaFunctions.h"
-#include "PluginManager.h"
-#include "Plugin.h"
-#include "PluginLua.h"
-#include "WebPlugin.h"
-#include "LuaWindow.h"
-#include "../BlockID.h"
-#include "../StringUtils.h"
-#include "../Defines.h"
-#include "../ChatColor.h"
-#include "../ClientHandle.h"
-#include "../Entities/Entity.h"
-#include "../Entities/Pawn.h"
-#include "../Entities/Player.h"
-#include "../Entities/Pickup.h"
-#include "../Entities/ProjectileEntity.h"
-#include "../Entities/TNTEntity.h"
-#include "../Entities/Effects.h"
-#include "../Server.h"
-#include "../World.h"
-#include "../Inventory.h"
-#include "../Enchantments.h"
-#include "../Item.h"
-#include "../ItemGrid.h"
-#include "../BlockEntities/BlockEntity.h"
-#include "../BlockEntities/BlockEntityWithItems.h"
-#include "../BlockEntities/ChestEntity.h"
-#include "../BlockEntities/DropSpenserEntity.h"
-#include "../BlockEntities/DispenserEntity.h"
-#include "../BlockEntities/DropperEntity.h"
-#include "../BlockEntities/FurnaceEntity.h"
-#include "../BlockEntities/HopperEntity.h"
-#include "../BlockEntities/JukeboxEntity.h"
-#include "../BlockEntities/NoteEntity.h"
-#include "../BlockEntities/SignEntity.h"
-#include "../WebAdmin.h"
-#include "../Root.h"
-#include "../Vector3f.h"
-#include "../Vector3d.h"
-#include "../Vector3i.h"
-#include "../Matrix4f.h"
-#include "../Cuboid.h"
-#include "../BoundingBox.h"
-#include "../Tracer.h"
-#include "../Group.h"
-#include "../BlockArea.h"
-#include "../Generating/ChunkDesc.h"
-#include "../CraftingRecipes.h"
-#include "../UI/Window.h"
-#include "../Mobs/Monster.h"
-
-/* function to release collected object via destructor */
-#ifdef __cplusplus
-
-static int tolua_collect_sWebAdminPage (lua_State* tolua_S)
-{
- sWebAdminPage* self = (sWebAdminPage*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-
-static int tolua_collect_cBlockArea (lua_State* tolua_S)
-{
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-
-static int tolua_collect_cItem (lua_State* tolua_S)
-{
- cItem* self = (cItem*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-
-static int tolua_collect_Vector3f (lua_State* tolua_S)
-{
- Vector3f* self = (Vector3f*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-
-static int tolua_collect_cIniFile (lua_State* tolua_S)
-{
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-
-static int tolua_collect_cPickup (lua_State* tolua_S)
-{
- cPickup* self = (cPickup*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-
-static int tolua_collect_cItems (lua_State* tolua_S)
-{
- cItems* self = (cItems*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-
-static int tolua_collect_cBoundingBox (lua_State* tolua_S)
-{
- cBoundingBox* self = (cBoundingBox*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-
-static int tolua_collect_cTracer (lua_State* tolua_S)
-{
- cTracer* self = (cTracer*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-
-static int tolua_collect_cCraftingGrid (lua_State* tolua_S)
-{
- cCraftingGrid* self = (cCraftingGrid*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-
-static int tolua_collect_cCuboid (lua_State* tolua_S)
-{
- cCuboid* self = (cCuboid*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-
-static int tolua_collect_cBlockEntity (lua_State* tolua_S)
-{
- cBlockEntity* self = (cBlockEntity*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-
-static int tolua_collect_Vector3i (lua_State* tolua_S)
-{
- Vector3i* self = (Vector3i*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-
-static int tolua_collect_cEnchantments (lua_State* tolua_S)
-{
- cEnchantments* self = (cEnchantments*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-
-static int tolua_collect_cLuaWindow (lua_State* tolua_S)
-{
- cLuaWindow* self = (cLuaWindow*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-
-static int tolua_collect_Vector3d (lua_State* tolua_S)
-{
- Vector3d* self = (Vector3d*) tolua_tousertype(tolua_S,1,0);
- Mtolua_delete(self);
- return 0;
-}
-#endif
-
-
-/* function to register type */
-static void tolua_reg_types (lua_State* tolua_S)
-{
- tolua_usertype(tolua_S,"cThrownEnderPearlEntity");
- tolua_usertype(tolua_S,"cFurnaceEntity");
- tolua_usertype(tolua_S,"cEntity");
- tolua_usertype(tolua_S,"cExpBottleEntity");
- tolua_usertype(tolua_S,"cEnchantments");
- tolua_usertype(tolua_S,"cMonster");
- tolua_usertype(tolua_S,"cPluginLua");
- tolua_usertype(tolua_S,"cRoot");
- tolua_usertype(tolua_S,"std::vector<cIniFile::key>");
- tolua_usertype(tolua_S,"cFile");
- tolua_usertype(tolua_S,"sWebAdminPage");
- tolua_usertype(tolua_S,"cFireChargeEntity");
- tolua_usertype(tolua_S,"cWorld");
- tolua_usertype(tolua_S,"cChunkDesc");
- tolua_usertype(tolua_S,"cWebPlugin");
- tolua_usertype(tolua_S,"Vector3f");
- tolua_usertype(tolua_S,"cCraftingRecipes");
- tolua_usertype(tolua_S,"cJukeboxEntity");
- tolua_usertype(tolua_S,"cChestEntity");
- tolua_usertype(tolua_S,"cDispenserEntity");
- tolua_usertype(tolua_S,"cGhastFireballEntity");
- tolua_usertype(tolua_S,"cLineBlockTracer");
- tolua_usertype(tolua_S,"cListeners");
- tolua_usertype(tolua_S,"cThrownSnowballEntity");
- tolua_usertype(tolua_S,"cFireworkEntity");
- tolua_usertype(tolua_S,"TakeDamageInfo");
- tolua_usertype(tolua_S,"cCraftingRecipe");
- tolua_usertype(tolua_S,"cPlugin");
- tolua_usertype(tolua_S,"cItemGrid");
- tolua_usertype(tolua_S,"cHTTPServer::cCallbacks");
- tolua_usertype(tolua_S,"cLuaWindow");
- tolua_usertype(tolua_S,"cServer");
- tolua_usertype(tolua_S,"cHopperEntity");
- tolua_usertype(tolua_S,"std::vector<AString>");
- tolua_usertype(tolua_S,"cWindow");
- tolua_usertype(tolua_S,"cBlockEntityWithItems");
- tolua_usertype(tolua_S,"cCraftingGrid");
- tolua_usertype(tolua_S,"cBlockArea");
- tolua_usertype(tolua_S,"cGroup");
- tolua_usertype(tolua_S,"cTracer");
- tolua_usertype(tolua_S,"cBoundingBox");
- tolua_usertype(tolua_S,"cItem");
- tolua_usertype(tolua_S,"cCuboid");
- tolua_usertype(tolua_S,"cArrowEntity");
- tolua_usertype(tolua_S,"cDropSpenserEntity");
- tolua_usertype(tolua_S,"Vector3i");
- tolua_usertype(tolua_S,"Vector3d");
- tolua_usertype(tolua_S,"cTNTEntity");
- tolua_usertype(tolua_S,"cNoteEntity");
- tolua_usertype(tolua_S,"cWebAdmin");
- tolua_usertype(tolua_S,"cBlockEntity");
- tolua_usertype(tolua_S,"cCriticalSection");
- tolua_usertype(tolua_S,"HTTPTemplateRequest");
- tolua_usertype(tolua_S,"cPickup");
- tolua_usertype(tolua_S,"cItems");
- tolua_usertype(tolua_S,"cClientHandle");
- tolua_usertype(tolua_S,"HTTPRequest");
- tolua_usertype(tolua_S,"cChatColor");
- tolua_usertype(tolua_S,"HTTPFormData");
- tolua_usertype(tolua_S,"cIniFile");
- tolua_usertype(tolua_S,"cSignEntity");
- tolua_usertype(tolua_S,"cDropperEntity");
- tolua_usertype(tolua_S,"cPawn");
- tolua_usertype(tolua_S,"cThrownEggEntity");
- tolua_usertype(tolua_S,"cGroupManager");
- tolua_usertype(tolua_S,"cBlockEntityWindowOwner");
- tolua_usertype(tolua_S,"cPluginManager");
- tolua_usertype(tolua_S,"cProjectileEntity");
- tolua_usertype(tolua_S,"cItemGrid::cListener");
- tolua_usertype(tolua_S,"cInventory");
- tolua_usertype(tolua_S,"cPlayer");
-}
-
-/* method: new of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_new00
-static int tolua_AllToLua_cIniFile_new00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- cIniFile* tolua_ret = (cIniFile*) Mtolua_new((cIniFile)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cIniFile");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_new00_local
-static int tolua_AllToLua_cIniFile_new00_local(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- cIniFile* tolua_ret = (cIniFile*) Mtolua_new((cIniFile)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cIniFile");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CaseSensitive of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_CaseSensitive00
-static int tolua_AllToLua_cIniFile_CaseSensitive00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CaseSensitive'", NULL);
-#endif
- {
- self->CaseSensitive();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CaseSensitive'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CaseInsensitive of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_CaseInsensitive00
-static int tolua_AllToLua_cIniFile_CaseInsensitive00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CaseInsensitive'", NULL);
-#endif
- {
- self->CaseInsensitive();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CaseInsensitive'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ReadFile of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_ReadFile00
-static int tolua_AllToLua_cIniFile_ReadFile00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,3,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString a_FileName = ((const AString) tolua_tocppstring(tolua_S,2,0));
- bool a_AllowExampleRedirect = ((bool) tolua_toboolean(tolua_S,3,true));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ReadFile'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->ReadFile(a_FileName,a_AllowExampleRedirect);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_FileName);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ReadFile'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: WriteFile of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_WriteFile00
-static int tolua_AllToLua_cIniFile_WriteFile00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString a_FileName = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'WriteFile'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->WriteFile(a_FileName);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_FileName);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'WriteFile'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Clear of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_Clear00
-static int tolua_AllToLua_cIniFile_Clear00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Clear'", NULL);
-#endif
- {
- self->Clear();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Clear'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: FindKey of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_FindKey00
-static int tolua_AllToLua_cIniFile_FindKey00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'FindKey'", NULL);
-#endif
- {
- int tolua_ret = (int) self->FindKey(keyname);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'FindKey'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: FindValue of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_FindValue00
-static int tolua_AllToLua_cIniFile_FindValue00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const int keyID = ((const int) tolua_tonumber(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'FindValue'", NULL);
-#endif
- {
- int tolua_ret = (int) self->FindValue(keyID,valuename);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'FindValue'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetNumKeys of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetNumKeys00
-static int tolua_AllToLua_cIniFile_GetNumKeys00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNumKeys'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetNumKeys();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetNumKeys'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddKeyName of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_AddKeyName00
-static int tolua_AllToLua_cIniFile_AddKeyName00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddKeyName'", NULL);
-#endif
- {
- int tolua_ret = (int) self->AddKeyName(keyname);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddKeyName'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetKeyName of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetKeyName00
-static int tolua_AllToLua_cIniFile_GetKeyName00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const int keyID = ((const int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetKeyName'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetKeyName(keyID);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetKeyName'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetNumValues of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetNumValues00
-static int tolua_AllToLua_cIniFile_GetNumValues00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNumValues'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetNumValues(keyname);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetNumValues'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetNumValues of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetNumValues01
-static int tolua_AllToLua_cIniFile_GetNumValues01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const int keyID = ((const int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNumValues'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetNumValues(keyID);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cIniFile_GetNumValues00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetValueName of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetValueName00
-static int tolua_AllToLua_cIniFile_GetValueName00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const int valueID = ((const int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetValueName'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetValueName(keyname,valueID);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetValueName'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetValueName of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetValueName01
-static int tolua_AllToLua_cIniFile_GetValueName01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const int keyID = ((const int) tolua_tonumber(tolua_S,2,0));
- const int valueID = ((const int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetValueName'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetValueName(keyID,valueID);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cIniFile_GetValueName00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetValue of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetValue00
-static int tolua_AllToLua_cIniFile_GetValue00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetValue'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetValue(keyname,valuename);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetValue'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetValue of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetValue01
-static int tolua_AllToLua_cIniFile_GetValue01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
- const AString defValue = ((const AString) tolua_tocppstring(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetValue'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetValue(keyname,valuename,defValue);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- tolua_pushcppstring(tolua_S,(const char*)defValue);
- }
- }
- return 4;
-tolua_lerror:
- return tolua_AllToLua_cIniFile_GetValue00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetValue of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetValue02
-static int tolua_AllToLua_cIniFile_GetValue02(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const int keyID = ((const int) tolua_tonumber(tolua_S,2,0));
- const int valueID = ((const int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetValue'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetValue(keyID,valueID);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cIniFile_GetValue01(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetValue of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetValue03
-static int tolua_AllToLua_cIniFile_GetValue03(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const int keyID = ((const int) tolua_tonumber(tolua_S,2,0));
- const int valueID = ((const int) tolua_tonumber(tolua_S,3,0));
- const AString defValue = ((const AString) tolua_tocppstring(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetValue'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetValue(keyID,valueID,defValue);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)defValue);
- }
- }
- return 2;
-tolua_lerror:
- return tolua_AllToLua_cIniFile_GetValue02(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetValueF of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetValueF00
-static int tolua_AllToLua_cIniFile_GetValueF00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
- const double defValue = ((const double) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetValueF'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetValueF(keyname,valuename,defValue);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetValueF'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetValueI of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetValueI00
-static int tolua_AllToLua_cIniFile_GetValueI00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
- const int defValue = ((const int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetValueI'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetValueI(keyname,valuename,defValue);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetValueI'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetValueB of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetValueB00
-static int tolua_AllToLua_cIniFile_GetValueB00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,4,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
- const bool defValue = ((const bool) tolua_toboolean(tolua_S,4,false));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetValueB'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->GetValueB(keyname,valuename,defValue);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetValueB'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetValueSet of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetValueSet00
-static int tolua_AllToLua_cIniFile_GetValueSet00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetValueSet'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetValueSet(keyname,valuename);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetValueSet'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetValueSet of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetValueSet01
-static int tolua_AllToLua_cIniFile_GetValueSet01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
- const AString defValue = ((const AString) tolua_tocppstring(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetValueSet'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetValueSet(keyname,valuename,defValue);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- tolua_pushcppstring(tolua_S,(const char*)defValue);
- }
- }
- return 4;
-tolua_lerror:
- return tolua_AllToLua_cIniFile_GetValueSet00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetValueSetF of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetValueSetF00
-static int tolua_AllToLua_cIniFile_GetValueSetF00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
- const double defValue = ((const double) tolua_tonumber(tolua_S,4,0.0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetValueSetF'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetValueSetF(keyname,valuename,defValue);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetValueSetF'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetValueSetI of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetValueSetI00
-static int tolua_AllToLua_cIniFile_GetValueSetI00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
- const int defValue = ((const int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetValueSetI'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetValueSetI(keyname,valuename,defValue);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetValueSetI'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetValueSetB of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetValueSetB00
-static int tolua_AllToLua_cIniFile_GetValueSetB00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,4,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
- const bool defValue = ((const bool) tolua_toboolean(tolua_S,4,false));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetValueSetB'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->GetValueSetB(keyname,valuename,defValue);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetValueSetB'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetValue of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_SetValue00
-static int tolua_AllToLua_cIniFile_SetValue00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const int keyID = ((const int) tolua_tonumber(tolua_S,2,0));
- const int valueID = ((const int) tolua_tonumber(tolua_S,3,0));
- const AString value = ((const AString) tolua_tocppstring(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetValue'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->SetValue(keyID,valueID,value);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)value);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetValue'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetValue of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_SetValue01
-static int tolua_AllToLua_cIniFile_SetValue01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,4,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,5,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
- const AString value = ((const AString) tolua_tocppstring(tolua_S,4,0));
- const bool create = ((const bool) tolua_toboolean(tolua_S,5,true));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetValue'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->SetValue(keyname,valuename,value,create);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- tolua_pushcppstring(tolua_S,(const char*)value);
- }
- }
- return 4;
-tolua_lerror:
- return tolua_AllToLua_cIniFile_SetValue00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetValueI of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_SetValueI00
-static int tolua_AllToLua_cIniFile_SetValueI00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,5,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
- const int value = ((const int) tolua_tonumber(tolua_S,4,0));
- const bool create = ((const bool) tolua_toboolean(tolua_S,5,true));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetValueI'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->SetValueI(keyname,valuename,value,create);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetValueI'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetValueB of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_SetValueB00
-static int tolua_AllToLua_cIniFile_SetValueB00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,4,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,5,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
- const bool value = ((const bool) tolua_toboolean(tolua_S,4,0));
- const bool create = ((const bool) tolua_toboolean(tolua_S,5,true));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetValueB'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->SetValueB(keyname,valuename,value,create);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetValueB'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetValueF of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_SetValueF00
-static int tolua_AllToLua_cIniFile_SetValueF00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,5,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
- const double value = ((const double) tolua_tonumber(tolua_S,4,0));
- const bool create = ((const bool) tolua_toboolean(tolua_S,5,true));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetValueF'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->SetValueF(keyname,valuename,value,create);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetValueF'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DeleteValueByID of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_DeleteValueByID00
-static int tolua_AllToLua_cIniFile_DeleteValueByID00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const int keyID = ((const int) tolua_tonumber(tolua_S,2,0));
- const int valueID = ((const int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DeleteValueByID'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DeleteValueByID(keyID,valueID);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DeleteValueByID'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DeleteValue of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_DeleteValue00
-static int tolua_AllToLua_cIniFile_DeleteValue00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString valuename = ((const AString) tolua_tocppstring(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DeleteValue'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DeleteValue(keyname,valuename);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)valuename);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DeleteValue'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DeleteKey of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_DeleteKey00
-static int tolua_AllToLua_cIniFile_DeleteKey00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DeleteKey'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DeleteKey(keyname);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DeleteKey'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetNumHeaderComments of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetNumHeaderComments00
-static int tolua_AllToLua_cIniFile_GetNumHeaderComments00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNumHeaderComments'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetNumHeaderComments();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetNumHeaderComments'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddHeaderComment of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_AddHeaderComment00
-static int tolua_AllToLua_cIniFile_AddHeaderComment00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString comment = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddHeaderComment'", NULL);
-#endif
- {
- self->AddHeaderComment(comment);
- tolua_pushcppstring(tolua_S,(const char*)comment);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddHeaderComment'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetHeaderComment of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetHeaderComment00
-static int tolua_AllToLua_cIniFile_GetHeaderComment00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const int commentID = ((const int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetHeaderComment'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetHeaderComment(commentID);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetHeaderComment'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DeleteHeaderComment of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_DeleteHeaderComment00
-static int tolua_AllToLua_cIniFile_DeleteHeaderComment00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- int commentID = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DeleteHeaderComment'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DeleteHeaderComment(commentID);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DeleteHeaderComment'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DeleteHeaderComments of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_DeleteHeaderComments00
-static int tolua_AllToLua_cIniFile_DeleteHeaderComments00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DeleteHeaderComments'", NULL);
-#endif
- {
- self->DeleteHeaderComments();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DeleteHeaderComments'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetNumKeyComments of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetNumKeyComments00
-static int tolua_AllToLua_cIniFile_GetNumKeyComments00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const int keyID = ((const int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNumKeyComments'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetNumKeyComments(keyID);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetNumKeyComments'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetNumKeyComments of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetNumKeyComments01
-static int tolua_AllToLua_cIniFile_GetNumKeyComments01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNumKeyComments'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetNumKeyComments(keyname);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- }
- }
- return 2;
-tolua_lerror:
- return tolua_AllToLua_cIniFile_GetNumKeyComments00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddKeyComment of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_AddKeyComment00
-static int tolua_AllToLua_cIniFile_AddKeyComment00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const int keyID = ((const int) tolua_tonumber(tolua_S,2,0));
- const AString comment = ((const AString) tolua_tocppstring(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddKeyComment'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->AddKeyComment(keyID,comment);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)comment);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddKeyComment'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddKeyComment of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_AddKeyComment01
-static int tolua_AllToLua_cIniFile_AddKeyComment01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString comment = ((const AString) tolua_tocppstring(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddKeyComment'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->AddKeyComment(keyname,comment);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- tolua_pushcppstring(tolua_S,(const char*)comment);
- }
- }
- return 3;
-tolua_lerror:
- return tolua_AllToLua_cIniFile_AddKeyComment00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetKeyComment of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetKeyComment00
-static int tolua_AllToLua_cIniFile_GetKeyComment00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const int keyID = ((const int) tolua_tonumber(tolua_S,2,0));
- const int commentID = ((const int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetKeyComment'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetKeyComment(keyID,commentID);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetKeyComment'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetKeyComment of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_GetKeyComment01
-static int tolua_AllToLua_cIniFile_GetKeyComment01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cIniFile* self = (const cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const int commentID = ((const int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetKeyComment'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetKeyComment(keyname,commentID);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- }
- }
- return 2;
-tolua_lerror:
- return tolua_AllToLua_cIniFile_GetKeyComment00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DeleteKeyComment of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_DeleteKeyComment00
-static int tolua_AllToLua_cIniFile_DeleteKeyComment00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const int keyID = ((const int) tolua_tonumber(tolua_S,2,0));
- const int commentID = ((const int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DeleteKeyComment'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DeleteKeyComment(keyID,commentID);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DeleteKeyComment'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DeleteKeyComment of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_DeleteKeyComment01
-static int tolua_AllToLua_cIniFile_DeleteKeyComment01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const int commentID = ((const int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DeleteKeyComment'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DeleteKeyComment(keyname,commentID);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- }
- }
- return 2;
-tolua_lerror:
- return tolua_AllToLua_cIniFile_DeleteKeyComment00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DeleteKeyComments of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_DeleteKeyComments00
-static int tolua_AllToLua_cIniFile_DeleteKeyComments00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const int keyID = ((const int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DeleteKeyComments'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DeleteKeyComments(keyID);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DeleteKeyComments'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DeleteKeyComments of class cIniFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cIniFile_DeleteKeyComments01
-static int tolua_AllToLua_cIniFile_DeleteKeyComments01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cIniFile* self = (cIniFile*) tolua_tousertype(tolua_S,1,0);
- const AString keyname = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DeleteKeyComments'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DeleteKeyComments(keyname);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)keyname);
- }
- }
- return 2;
-tolua_lerror:
- return tolua_AllToLua_cIniFile_DeleteKeyComments00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Exists of class cFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFile_Exists00
-static int tolua_AllToLua_cFile_Exists00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_FileName = ((const AString) tolua_tocppstring(tolua_S,2,0));
- {
- bool tolua_ret = (bool) cFile::Exists(a_FileName);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_FileName);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Exists'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Delete of class cFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFile_Delete00
-static int tolua_AllToLua_cFile_Delete00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_FileName = ((const AString) tolua_tocppstring(tolua_S,2,0));
- {
- bool tolua_ret = (bool) cFile::Delete(a_FileName);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_FileName);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Delete'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Rename of class cFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFile_Rename00
-static int tolua_AllToLua_cFile_Rename00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_OrigPath = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString a_NewPath = ((const AString) tolua_tocppstring(tolua_S,3,0));
- {
- bool tolua_ret = (bool) cFile::Rename(a_OrigPath,a_NewPath);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_OrigPath);
- tolua_pushcppstring(tolua_S,(const char*)a_NewPath);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Rename'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Copy of class cFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFile_Copy00
-static int tolua_AllToLua_cFile_Copy00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_SrcFileName = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString a_DstFileName = ((const AString) tolua_tocppstring(tolua_S,3,0));
- {
- bool tolua_ret = (bool) cFile::Copy(a_SrcFileName,a_DstFileName);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_SrcFileName);
- tolua_pushcppstring(tolua_S,(const char*)a_DstFileName);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Copy'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsFolder of class cFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFile_IsFolder00
-static int tolua_AllToLua_cFile_IsFolder00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_Path = ((const AString) tolua_tocppstring(tolua_S,2,0));
- {
- bool tolua_ret = (bool) cFile::IsFolder(a_Path);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_Path);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsFolder'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsFile of class cFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFile_IsFile00
-static int tolua_AllToLua_cFile_IsFile00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_Path = ((const AString) tolua_tocppstring(tolua_S,2,0));
- {
- bool tolua_ret = (bool) cFile::IsFile(a_Path);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_Path);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsFile'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSize of class cFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFile_GetSize00
-static int tolua_AllToLua_cFile_GetSize00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_FileName = ((const AString) tolua_tocppstring(tolua_S,2,0));
- {
- int tolua_ret = (int) cFile::GetSize(a_FileName);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_FileName);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSize'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CreateFolder of class cFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFile_CreateFolder00
-static int tolua_AllToLua_cFile_CreateFolder00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_FolderPath = ((const AString) tolua_tocppstring(tolua_S,2,0));
- {
- bool tolua_ret = (bool) cFile::CreateFolder(a_FolderPath);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_FolderPath);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CreateFolder'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ReadWholeFile of class cFile */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFile_ReadWholeFile00
-static int tolua_AllToLua_cFile_ReadWholeFile00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cFile",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_FileName = ((const AString) tolua_tocppstring(tolua_S,2,0));
- {
- AString tolua_ret = (AString) cFile::ReadWholeFile(a_FileName);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_FileName);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ReadWholeFile'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: GetTime */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_GetTime00
-static int tolua_AllToLua_GetTime00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnoobj(tolua_S,1,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- unsigned int tolua_ret = (unsigned int) GetTime();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetTime'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: GetChar */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_GetChar00
-static int tolua_AllToLua_GetChar00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_iscppstring(tolua_S,1,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- std::string a_Str = ((std::string) tolua_tocppstring(tolua_S,1,0));
- unsigned int a_Idx = ((unsigned int) tolua_tonumber(tolua_S,2,0));
- {
- std::string tolua_ret = (std::string) GetChar(a_Str,a_Idx);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_Str);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetChar'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Get of class cPluginManager */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPluginManager_Get00
-static int tolua_AllToLua_cPluginManager_Get00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cPluginManager",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- cPluginManager* tolua_ret = (cPluginManager*) cPluginManager::Get();
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cPluginManager");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Get'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPlugin of class cPluginManager */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPluginManager_GetPlugin00
-static int tolua_AllToLua_cPluginManager_GetPlugin00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPluginManager",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPluginManager* self = (const cPluginManager*) tolua_tousertype(tolua_S,1,0);
- const AString a_Plugin = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPlugin'", NULL);
-#endif
- {
- cPlugin* tolua_ret = (cPlugin*) self->GetPlugin(a_Plugin);
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cPlugin");
- tolua_pushcppstring(tolua_S,(const char*)a_Plugin);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPlugin'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: FindPlugins of class cPluginManager */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPluginManager_FindPlugins00
-static int tolua_AllToLua_cPluginManager_FindPlugins00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPluginManager",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPluginManager* self = (cPluginManager*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'FindPlugins'", NULL);
-#endif
- {
- self->FindPlugins();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'FindPlugins'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ReloadPlugins of class cPluginManager */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPluginManager_ReloadPlugins00
-static int tolua_AllToLua_cPluginManager_ReloadPlugins00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPluginManager",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPluginManager* self = (cPluginManager*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ReloadPlugins'", NULL);
-#endif
- {
- self->ReloadPlugins();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ReloadPlugins'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetNumPlugins of class cPluginManager */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPluginManager_GetNumPlugins00
-static int tolua_AllToLua_cPluginManager_GetNumPlugins00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPluginManager",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPluginManager* self = (const cPluginManager*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNumPlugins'", NULL);
-#endif
- {
- unsigned int tolua_ret = (unsigned int) self->GetNumPlugins();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetNumPlugins'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DisablePlugin of class cPluginManager */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPluginManager_DisablePlugin00
-static int tolua_AllToLua_cPluginManager_DisablePlugin00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPluginManager",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPluginManager* self = (cPluginManager*) tolua_tousertype(tolua_S,1,0);
- const AString a_PluginName = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DisablePlugin'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DisablePlugin(a_PluginName);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_PluginName);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DisablePlugin'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: LoadPlugin of class cPluginManager */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPluginManager_LoadPlugin00
-static int tolua_AllToLua_cPluginManager_LoadPlugin00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPluginManager",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPluginManager* self = (cPluginManager*) tolua_tousertype(tolua_S,1,0);
- const AString a_PluginName = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'LoadPlugin'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->LoadPlugin(a_PluginName);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_PluginName);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'LoadPlugin'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsCommandBound of class cPluginManager */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPluginManager_IsCommandBound00
-static int tolua_AllToLua_cPluginManager_IsCommandBound00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPluginManager",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPluginManager* self = (cPluginManager*) tolua_tousertype(tolua_S,1,0);
- const AString a_Command = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsCommandBound'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsCommandBound(a_Command);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_Command);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsCommandBound'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetCommandPermission of class cPluginManager */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPluginManager_GetCommandPermission00
-static int tolua_AllToLua_cPluginManager_GetCommandPermission00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPluginManager",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPluginManager* self = (cPluginManager*) tolua_tousertype(tolua_S,1,0);
- const AString a_Command = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetCommandPermission'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetCommandPermission(a_Command);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_Command);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetCommandPermission'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ExecuteCommand of class cPluginManager */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPluginManager_ExecuteCommand00
-static int tolua_AllToLua_cPluginManager_ExecuteCommand00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPluginManager",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"cPlayer",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPluginManager* self = (cPluginManager*) tolua_tousertype(tolua_S,1,0);
- cPlayer* a_Player = ((cPlayer*) tolua_tousertype(tolua_S,2,0));
- const AString a_Command = ((const AString) tolua_tocppstring(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ExecuteCommand'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->ExecuteCommand(a_Player,a_Command);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_Command);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ExecuteCommand'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ForceExecuteCommand of class cPluginManager */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPluginManager_ForceExecuteCommand00
-static int tolua_AllToLua_cPluginManager_ForceExecuteCommand00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPluginManager",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"cPlayer",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPluginManager* self = (cPluginManager*) tolua_tousertype(tolua_S,1,0);
- cPlayer* a_Player = ((cPlayer*) tolua_tousertype(tolua_S,2,0));
- const AString a_Command = ((const AString) tolua_tocppstring(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ForceExecuteCommand'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->ForceExecuteCommand(a_Player,a_Command);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_Command);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ForceExecuteCommand'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsConsoleCommandBound of class cPluginManager */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPluginManager_IsConsoleCommandBound00
-static int tolua_AllToLua_cPluginManager_IsConsoleCommandBound00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPluginManager",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPluginManager* self = (cPluginManager*) tolua_tousertype(tolua_S,1,0);
- const AString a_Command = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsConsoleCommandBound'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsConsoleCommandBound(a_Command);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_Command);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsConsoleCommandBound'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetName of class cPlugin */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlugin_GetName00
-static int tolua_AllToLua_cPlugin_GetName00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlugin",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlugin* self = (const cPlugin*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetName'", NULL);
-#endif
- {
- const AString tolua_ret = (const AString) self->GetName();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetName'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetName of class cPlugin */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlugin_SetName00
-static int tolua_AllToLua_cPlugin_SetName00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlugin",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlugin* self = (cPlugin*) tolua_tousertype(tolua_S,1,0);
- const AString a_Name = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetName'", NULL);
-#endif
- {
- self->SetName(a_Name);
- tolua_pushcppstring(tolua_S,(const char*)a_Name);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetName'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetVersion of class cPlugin */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlugin_GetVersion00
-static int tolua_AllToLua_cPlugin_GetVersion00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlugin",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlugin* self = (const cPlugin*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetVersion'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetVersion();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetVersion'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetVersion of class cPlugin */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlugin_SetVersion00
-static int tolua_AllToLua_cPlugin_SetVersion00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlugin",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlugin* self = (cPlugin*) tolua_tousertype(tolua_S,1,0);
- int a_Version = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetVersion'", NULL);
-#endif
- {
- self->SetVersion(a_Version);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetVersion'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetDirectory of class cPlugin */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlugin_GetDirectory00
-static int tolua_AllToLua_cPlugin_GetDirectory00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlugin",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlugin* self = (const cPlugin*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetDirectory'", NULL);
-#endif
- {
- const AString tolua_ret = (const AString) self->GetDirectory();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetDirectory'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetLocalDirectory of class cPlugin */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlugin_GetLocalDirectory00
-static int tolua_AllToLua_cPlugin_GetLocalDirectory00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlugin",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlugin* self = (const cPlugin*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetLocalDirectory'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetLocalDirectory();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetLocalDirectory'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetLocalFolder of class cPlugin */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlugin_GetLocalFolder00
-static int tolua_AllToLua_cPlugin_GetLocalFolder00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlugin",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlugin* self = (const cPlugin*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetLocalFolder'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetLocalFolder();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetLocalFolder'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: __cWebPlugin__ of class cPluginLua */
-#ifndef TOLUA_DISABLE_tolua_get_cPluginLua___cWebPlugin__
-static int tolua_get_cPluginLua___cWebPlugin__(lua_State* tolua_S)
-{
- cPluginLua* self = (cPluginLua*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable '__cWebPlugin__'",NULL);
-#endif
-#ifdef __cplusplus
- tolua_pushusertype(tolua_S,(void*)static_cast<cWebPlugin*>(self), "cWebPlugin");
-#else
- tolua_pushusertype(tolua_S,(void*)((cWebPlugin*)self), "cWebPlugin");
-#endif
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetWebTitle of class cWebPlugin */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWebPlugin_GetWebTitle00
-static int tolua_AllToLua_cWebPlugin_GetWebTitle00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWebPlugin",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWebPlugin* self = (const cWebPlugin*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWebTitle'", NULL);
-#endif
- {
- const AString tolua_ret = (const AString) self->GetWebTitle();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetWebTitle'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HandleWebRequest of class cWebPlugin */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWebPlugin_HandleWebRequest00
-static int tolua_AllToLua_cWebPlugin_HandleWebRequest00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWebPlugin",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"const HTTPRequest",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWebPlugin* self = (cWebPlugin*) tolua_tousertype(tolua_S,1,0);
- const HTTPRequest* a_Request = ((const HTTPRequest*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HandleWebRequest'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->HandleWebRequest(a_Request);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'HandleWebRequest'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SafeString of class cWebPlugin */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWebPlugin_SafeString00
-static int tolua_AllToLua_cWebPlugin_SafeString00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cWebPlugin",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_String = ((const AString) tolua_tocppstring(tolua_S,2,0));
- {
- AString tolua_ret = (AString) cWebPlugin::SafeString(a_String);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_String);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SafeString'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cLuaWindow */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cLuaWindow_new00
-static int tolua_AllToLua_cLuaWindow_new00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cLuaWindow",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWindow::WindowType a_WindowType = ((cWindow::WindowType) (int) tolua_tonumber(tolua_S,2,0));
- int a_SlotsX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_SlotsY = ((int) tolua_tonumber(tolua_S,4,0));
- const AString a_Title = ((const AString) tolua_tocppstring(tolua_S,5,0));
- {
- cLuaWindow* tolua_ret = (cLuaWindow*) Mtolua_new((cLuaWindow)(a_WindowType,a_SlotsX,a_SlotsY,a_Title));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cLuaWindow");
- tolua_pushcppstring(tolua_S,(const char*)a_Title);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cLuaWindow */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cLuaWindow_new00_local
-static int tolua_AllToLua_cLuaWindow_new00_local(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cLuaWindow",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWindow::WindowType a_WindowType = ((cWindow::WindowType) (int) tolua_tonumber(tolua_S,2,0));
- int a_SlotsX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_SlotsY = ((int) tolua_tonumber(tolua_S,4,0));
- const AString a_Title = ((const AString) tolua_tocppstring(tolua_S,5,0));
- {
- cLuaWindow* tolua_ret = (cLuaWindow*) Mtolua_new((cLuaWindow)(a_WindowType,a_SlotsX,a_SlotsY,a_Title));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cLuaWindow");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- tolua_pushcppstring(tolua_S,(const char*)a_Title);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: delete of class cLuaWindow */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cLuaWindow_delete00
-static int tolua_AllToLua_cLuaWindow_delete00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cLuaWindow",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cLuaWindow* self = (cLuaWindow*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
-#endif
- Mtolua_delete(self);
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetContents of class cLuaWindow */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cLuaWindow_GetContents00
-static int tolua_AllToLua_cLuaWindow_GetContents00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cLuaWindow",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cLuaWindow* self = (cLuaWindow*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetContents'", NULL);
-#endif
- {
- cItemGrid& tolua_ret = (cItemGrid&) self->GetContents();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"cItemGrid");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetContents'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: __cItemGrid of class cLuaWindow */
-#ifndef TOLUA_DISABLE_tolua_get_cLuaWindow___cItemGrid__cListener__
-static int tolua_get_cLuaWindow___cItemGrid__cListener__(lua_State* tolua_S)
-{
- cLuaWindow* self = (cLuaWindow*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable '__cItemGrid'",NULL);
-#endif
-#ifdef __cplusplus
- tolua_pushusertype(tolua_S,(void*)static_cast<cItemGrid::cListener*>(self), "cItemGrid::cListener");
-#else
- tolua_pushusertype(tolua_S,(void*)((cItemGrid::cListener*)self), "cItemGrid::cListener");
-#endif
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: BlockStringToType */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_BlockStringToType00
-static int tolua_AllToLua_BlockStringToType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_iscppstring(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_BlockTypeString = ((const AString) tolua_tocppstring(tolua_S,1,0));
- {
- unsigned char tolua_ret = ( unsigned char) BlockStringToType(a_BlockTypeString);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_BlockTypeString);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'BlockStringToType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: StringToItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_StringToItem00
-static int tolua_AllToLua_StringToItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_iscppstring(tolua_S,1,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_ItemTypeString = ((const AString) tolua_tocppstring(tolua_S,1,0));
- cItem* a_Item = ((cItem*) tolua_tousertype(tolua_S,2,0));
- {
- bool tolua_ret = (bool) StringToItem(a_ItemTypeString,*a_Item);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_ItemTypeString);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'StringToItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ItemToString */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ItemToString00
-static int tolua_AllToLua_ItemToString00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,1,0));
- {
- AString tolua_ret = (AString) ItemToString(*a_Item);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ItemToString'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ItemTypeToString */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ItemTypeToString00
-static int tolua_AllToLua_ItemTypeToString00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- short a_ItemType = ((short) tolua_tonumber(tolua_S,1,0));
- {
- AString tolua_ret = (AString) ItemTypeToString(a_ItemType);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ItemTypeToString'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ItemToFullString */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ItemToFullString00
-static int tolua_AllToLua_ItemToFullString00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,1,0));
- {
- AString tolua_ret = (AString) ItemToFullString(*a_Item);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ItemToFullString'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: StringToBiome */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_StringToBiome00
-static int tolua_AllToLua_StringToBiome00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_iscppstring(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_BiomeString = ((const AString) tolua_tocppstring(tolua_S,1,0));
- {
- EMCSBiome tolua_ret = (EMCSBiome) StringToBiome(a_BiomeString);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_BiomeString);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'StringToBiome'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: StringToMobType */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_StringToMobType00
-static int tolua_AllToLua_StringToMobType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_iscppstring(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_MobString = ((const AString) tolua_tocppstring(tolua_S,1,0));
- {
- int tolua_ret = (int) StringToMobType(a_MobString);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_MobString);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'StringToMobType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: StringToDimension */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_StringToDimension00
-static int tolua_AllToLua_StringToDimension00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_iscppstring(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_DimensionString = ((const AString) tolua_tocppstring(tolua_S,1,0));
- {
- eDimension tolua_ret = (eDimension) StringToDimension(a_DimensionString);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_DimensionString);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'StringToDimension'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: DamageTypeToString */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_DamageTypeToString00
-static int tolua_AllToLua_DamageTypeToString00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- eDamageType a_DamageType = ((eDamageType) (int) tolua_tonumber(tolua_S,1,0));
- {
- AString tolua_ret = (AString) DamageTypeToString(a_DamageType);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DamageTypeToString'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: StringToDamageType */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_StringToDamageType00
-static int tolua_AllToLua_StringToDamageType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_iscppstring(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_DamageString = ((const AString) tolua_tocppstring(tolua_S,1,0));
- {
- eDamageType tolua_ret = (eDamageType) StringToDamageType(a_DamageString);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_DamageString);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'StringToDamageType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: GetIniItemSet */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_GetIniItemSet00
-static int tolua_AllToLua_GetIniItemSet00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"cIniFile",0,&tolua_err)) ||
- !tolua_isstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isstring(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cIniFile* a_IniFile = ((cIniFile*) tolua_tousertype(tolua_S,1,0));
- const char* a_Section = ((const char*) tolua_tostring(tolua_S,2,0));
- const char* a_Key = ((const char*) tolua_tostring(tolua_S,3,0));
- const char* a_Default = ((const char*) tolua_tostring(tolua_S,4,0));
- {
- cItem tolua_ret = (cItem) GetIniItemSet(*a_IniFile,a_Section,a_Key,a_Default);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((cItem)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(cItem));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetIniItemSet'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: TrimString */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_TrimString00
-static int tolua_AllToLua_TrimString00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_iscppstring(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString str = ((const AString) tolua_tocppstring(tolua_S,1,0));
- {
- AString tolua_ret = (AString) TrimString(str);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)str);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'TrimString'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: NoCaseCompare */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_NoCaseCompare00
-static int tolua_AllToLua_NoCaseCompare00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_iscppstring(tolua_S,1,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString s1 = ((const AString) tolua_tocppstring(tolua_S,1,0));
- const AString s2 = ((const AString) tolua_tocppstring(tolua_S,2,0));
- {
- int tolua_ret = (int) NoCaseCompare(s1,s2);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)s1);
- tolua_pushcppstring(tolua_S,(const char*)s2);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'NoCaseCompare'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ReplaceString */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ReplaceString00
-static int tolua_AllToLua_ReplaceString00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_iscppstring(tolua_S,1,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- AString iHayStack = ((AString) tolua_tocppstring(tolua_S,1,0));
- const AString iNeedle = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString iReplaceWith = ((const AString) tolua_tocppstring(tolua_S,3,0));
- {
- ReplaceString(iHayStack,iNeedle,iReplaceWith);
- tolua_pushcppstring(tolua_S,(const char*)iHayStack);
- tolua_pushcppstring(tolua_S,(const char*)iNeedle);
- tolua_pushcppstring(tolua_S,(const char*)iReplaceWith);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ReplaceString'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: EscapeString */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_EscapeString00
-static int tolua_AllToLua_EscapeString00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_iscppstring(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_Message = ((const AString) tolua_tocppstring(tolua_S,1,0));
- {
- AString tolua_ret = (AString) EscapeString(a_Message);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_Message);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'EscapeString'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: StripColorCodes */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_StripColorCodes00
-static int tolua_AllToLua_StripColorCodes00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_iscppstring(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_Message = ((const AString) tolua_tocppstring(tolua_S,1,0));
- {
- AString tolua_ret = (AString) StripColorCodes(a_Message);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_Message);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'StripColorCodes'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: g_BlockLightValue */
-#ifndef TOLUA_DISABLE_tolua_get_AllToLua_g_BlockLightValue
-static int tolua_get_AllToLua_g_BlockLightValue(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)g_BlockLightValue[tolua_index]);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: g_BlockLightValue */
-#ifndef TOLUA_DISABLE_tolua_set_AllToLua_g_BlockLightValue
-static int tolua_set_AllToLua_g_BlockLightValue(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- g_BlockLightValue[tolua_index] = ((unsigned char) tolua_tonumber(tolua_S,3,0));
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: g_BlockSpreadLightFalloff */
-#ifndef TOLUA_DISABLE_tolua_get_AllToLua_g_BlockSpreadLightFalloff
-static int tolua_get_AllToLua_g_BlockSpreadLightFalloff(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)g_BlockSpreadLightFalloff[tolua_index]);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: g_BlockSpreadLightFalloff */
-#ifndef TOLUA_DISABLE_tolua_set_AllToLua_g_BlockSpreadLightFalloff
-static int tolua_set_AllToLua_g_BlockSpreadLightFalloff(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- g_BlockSpreadLightFalloff[tolua_index] = ((unsigned char) tolua_tonumber(tolua_S,3,0));
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: g_BlockTransparent */
-#ifndef TOLUA_DISABLE_tolua_get_AllToLua_g_BlockTransparent
-static int tolua_get_AllToLua_g_BlockTransparent(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- tolua_pushboolean(tolua_S,(bool)g_BlockTransparent[tolua_index]);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: g_BlockTransparent */
-#ifndef TOLUA_DISABLE_tolua_set_AllToLua_g_BlockTransparent
-static int tolua_set_AllToLua_g_BlockTransparent(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- g_BlockTransparent[tolua_index] = ((bool) tolua_toboolean(tolua_S,3,0));
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: g_BlockOneHitDig */
-#ifndef TOLUA_DISABLE_tolua_get_AllToLua_g_BlockOneHitDig
-static int tolua_get_AllToLua_g_BlockOneHitDig(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- tolua_pushboolean(tolua_S,(bool)g_BlockOneHitDig[tolua_index]);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: g_BlockOneHitDig */
-#ifndef TOLUA_DISABLE_tolua_set_AllToLua_g_BlockOneHitDig
-static int tolua_set_AllToLua_g_BlockOneHitDig(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- g_BlockOneHitDig[tolua_index] = ((bool) tolua_toboolean(tolua_S,3,0));
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: g_BlockPistonBreakable */
-#ifndef TOLUA_DISABLE_tolua_get_AllToLua_g_BlockPistonBreakable
-static int tolua_get_AllToLua_g_BlockPistonBreakable(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0 || tolua_index>=256)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- tolua_pushboolean(tolua_S,(bool)g_BlockPistonBreakable[tolua_index]);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: g_BlockPistonBreakable */
-#ifndef TOLUA_DISABLE_tolua_set_AllToLua_g_BlockPistonBreakable
-static int tolua_set_AllToLua_g_BlockPistonBreakable(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0 || tolua_index>=256)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- g_BlockPistonBreakable[tolua_index] = ((bool) tolua_toboolean(tolua_S,3,0));
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: g_BlockIsSnowable */
-#ifndef TOLUA_DISABLE_tolua_get_AllToLua_g_BlockIsSnowable
-static int tolua_get_AllToLua_g_BlockIsSnowable(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0 || tolua_index>=256)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- tolua_pushboolean(tolua_S,(bool)g_BlockIsSnowable[tolua_index]);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: g_BlockIsSnowable */
-#ifndef TOLUA_DISABLE_tolua_set_AllToLua_g_BlockIsSnowable
-static int tolua_set_AllToLua_g_BlockIsSnowable(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0 || tolua_index>=256)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- g_BlockIsSnowable[tolua_index] = ((bool) tolua_toboolean(tolua_S,3,0));
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: g_BlockRequiresSpecialTool */
-#ifndef TOLUA_DISABLE_tolua_get_AllToLua_g_BlockRequiresSpecialTool
-static int tolua_get_AllToLua_g_BlockRequiresSpecialTool(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0 || tolua_index>=256)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- tolua_pushboolean(tolua_S,(bool)g_BlockRequiresSpecialTool[tolua_index]);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: g_BlockRequiresSpecialTool */
-#ifndef TOLUA_DISABLE_tolua_set_AllToLua_g_BlockRequiresSpecialTool
-static int tolua_set_AllToLua_g_BlockRequiresSpecialTool(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0 || tolua_index>=256)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- g_BlockRequiresSpecialTool[tolua_index] = ((bool) tolua_toboolean(tolua_S,3,0));
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: g_BlockIsSolid */
-#ifndef TOLUA_DISABLE_tolua_get_AllToLua_g_BlockIsSolid
-static int tolua_get_AllToLua_g_BlockIsSolid(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0 || tolua_index>=256)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- tolua_pushboolean(tolua_S,(bool)g_BlockIsSolid[tolua_index]);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: g_BlockIsSolid */
-#ifndef TOLUA_DISABLE_tolua_set_AllToLua_g_BlockIsSolid
-static int tolua_set_AllToLua_g_BlockIsSolid(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0 || tolua_index>=256)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- g_BlockIsSolid[tolua_index] = ((bool) tolua_toboolean(tolua_S,3,0));
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: g_BlockIsTorchPlaceable */
-#ifndef TOLUA_DISABLE_tolua_get_AllToLua_g_BlockIsTorchPlaceable
-static int tolua_get_AllToLua_g_BlockIsTorchPlaceable(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0 || tolua_index>=256)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- tolua_pushboolean(tolua_S,(bool)g_BlockIsTorchPlaceable[tolua_index]);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: g_BlockIsTorchPlaceable */
-#ifndef TOLUA_DISABLE_tolua_set_AllToLua_g_BlockIsTorchPlaceable
-static int tolua_set_AllToLua_g_BlockIsTorchPlaceable(lua_State* tolua_S)
-{
- int tolua_index;
-#ifndef TOLUA_RELEASE
- {
- tolua_Error tolua_err;
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in array indexing.",&tolua_err);
- }
-#endif
- tolua_index = (int)tolua_tonumber(tolua_S,2,0);
-#ifndef TOLUA_RELEASE
- if (tolua_index<0 || tolua_index>=256)
- tolua_error(tolua_S,"array indexing out of range.",NULL);
-#endif
- g_BlockIsTorchPlaceable[tolua_index] = ((bool) tolua_toboolean(tolua_S,3,0));
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ClickActionToString */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ClickActionToString00
-static int tolua_AllToLua_ClickActionToString00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- eClickAction a_ClickAction = ((eClickAction) (int) tolua_tonumber(tolua_S,1,0));
- {
- const char* tolua_ret = (const char*) ClickActionToString(a_ClickAction);
- tolua_pushstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ClickActionToString'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: IsValidBlock */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_IsValidBlock00
-static int tolua_AllToLua_IsValidBlock00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- int a_BlockType = ((int) tolua_tonumber(tolua_S,1,0));
- {
- bool tolua_ret = (bool) IsValidBlock(a_BlockType);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsValidBlock'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: IsValidItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_IsValidItem00
-static int tolua_AllToLua_IsValidItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- int a_ItemType = ((int) tolua_tonumber(tolua_S,1,0));
- {
- bool tolua_ret = (bool) IsValidItem(a_ItemType);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsValidItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: AddFaceDirection */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_AddFaceDirection00
-static int tolua_AllToLua_AddFaceDirection00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,5,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- int a_BlockX = ((int) tolua_tonumber(tolua_S,1,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,3,0));
- char a_BlockFace = ((char) tolua_tonumber(tolua_S,4,0));
- bool a_bInverse = ((bool) tolua_toboolean(tolua_S,5,false));
- {
- AddFaceDirection(a_BlockX,a_BlockY,a_BlockZ,a_BlockFace,a_bInverse);
- tolua_pushnumber(tolua_S,(lua_Number)a_BlockX);
- tolua_pushnumber(tolua_S,(lua_Number)a_BlockY);
- tolua_pushnumber(tolua_S,(lua_Number)a_BlockZ);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddFaceDirection'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: NormalizeAngleDegrees */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_NormalizeAngleDegrees00
-static int tolua_AllToLua_NormalizeAngleDegrees00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const double a_Degrees = ((const double) tolua_tonumber(tolua_S,1,0));
- {
- double tolua_ret = (double) NormalizeAngleDegrees(a_Degrees);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'NormalizeAngleDegrees'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ItemCategory::IsPickaxe */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ItemCategory_IsPickaxe00
-static int tolua_AllToLua_ItemCategory_IsPickaxe00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- short a_ItemID = ((short) tolua_tonumber(tolua_S,1,0));
- {
- bool tolua_ret = (bool) ItemCategory::IsPickaxe(a_ItemID);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsPickaxe'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ItemCategory::IsAxe */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ItemCategory_IsAxe00
-static int tolua_AllToLua_ItemCategory_IsAxe00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- short a_ItemID = ((short) tolua_tonumber(tolua_S,1,0));
- {
- bool tolua_ret = (bool) ItemCategory::IsAxe(a_ItemID);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsAxe'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ItemCategory::IsSword */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ItemCategory_IsSword00
-static int tolua_AllToLua_ItemCategory_IsSword00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- short a_ItemID = ((short) tolua_tonumber(tolua_S,1,0));
- {
- bool tolua_ret = (bool) ItemCategory::IsSword(a_ItemID);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsSword'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ItemCategory::IsHoe */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ItemCategory_IsHoe00
-static int tolua_AllToLua_ItemCategory_IsHoe00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- short a_ItemID = ((short) tolua_tonumber(tolua_S,1,0));
- {
- bool tolua_ret = (bool) ItemCategory::IsHoe(a_ItemID);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsHoe'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ItemCategory::IsShovel */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ItemCategory_IsShovel00
-static int tolua_AllToLua_ItemCategory_IsShovel00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- short a_ItemID = ((short) tolua_tonumber(tolua_S,1,0));
- {
- bool tolua_ret = (bool) ItemCategory::IsShovel(a_ItemID);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsShovel'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ItemCategory::IsTool */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ItemCategory_IsTool00
-static int tolua_AllToLua_ItemCategory_IsTool00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- short a_ItemID = ((short) tolua_tonumber(tolua_S,1,0));
- {
- bool tolua_ret = (bool) ItemCategory::IsTool(a_ItemID);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsTool'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ItemCategory::IsHelmet */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ItemCategory_IsHelmet00
-static int tolua_AllToLua_ItemCategory_IsHelmet00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- short a_ItemType = ((short) tolua_tonumber(tolua_S,1,0));
- {
- bool tolua_ret = (bool) ItemCategory::IsHelmet(a_ItemType);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsHelmet'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ItemCategory::IsChestPlate */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ItemCategory_IsChestPlate00
-static int tolua_AllToLua_ItemCategory_IsChestPlate00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- short a_ItemType = ((short) tolua_tonumber(tolua_S,1,0));
- {
- bool tolua_ret = (bool) ItemCategory::IsChestPlate(a_ItemType);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsChestPlate'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ItemCategory::IsLeggings */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ItemCategory_IsLeggings00
-static int tolua_AllToLua_ItemCategory_IsLeggings00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- short a_ItemType = ((short) tolua_tonumber(tolua_S,1,0));
- {
- bool tolua_ret = (bool) ItemCategory::IsLeggings(a_ItemType);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsLeggings'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ItemCategory::IsBoots */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ItemCategory_IsBoots00
-static int tolua_AllToLua_ItemCategory_IsBoots00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- short a_ItemType = ((short) tolua_tonumber(tolua_S,1,0));
- {
- bool tolua_ret = (bool) ItemCategory::IsBoots(a_ItemType);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsBoots'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: ItemCategory::IsArmor */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_ItemCategory_IsArmor00
-static int tolua_AllToLua_ItemCategory_IsArmor00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- short a_ItemType = ((short) tolua_tonumber(tolua_S,1,0));
- {
- bool tolua_ret = (bool) ItemCategory::IsArmor(a_ItemType);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsArmor'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* function: IsBiomeNoDownfall */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_IsBiomeNoDownfall00
-static int tolua_AllToLua_IsBiomeNoDownfall00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- EMCSBiome a_Biome = ((EMCSBiome) (int) tolua_tonumber(tolua_S,1,0));
- {
- bool tolua_ret = (bool) IsBiomeNoDownfall(a_Biome);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsBiomeNoDownfall'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Color of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Color
-static int tolua_get_cChatColor_Color(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Color);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Delimiter of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Delimiter
-static int tolua_get_cChatColor_Delimiter(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Delimiter);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Black of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Black
-static int tolua_get_cChatColor_Black(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Black);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Navy of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Navy
-static int tolua_get_cChatColor_Navy(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Navy);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Green of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Green
-static int tolua_get_cChatColor_Green(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Green);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Blue of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Blue
-static int tolua_get_cChatColor_Blue(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Blue);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Red of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Red
-static int tolua_get_cChatColor_Red(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Red);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Purple of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Purple
-static int tolua_get_cChatColor_Purple(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Purple);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Gold of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Gold
-static int tolua_get_cChatColor_Gold(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Gold);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: LightGray of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_LightGray
-static int tolua_get_cChatColor_LightGray(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::LightGray);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Gray of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Gray
-static int tolua_get_cChatColor_Gray(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Gray);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: DarkPurple of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_DarkPurple
-static int tolua_get_cChatColor_DarkPurple(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::DarkPurple);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: LightGreen of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_LightGreen
-static int tolua_get_cChatColor_LightGreen(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::LightGreen);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: LightBlue of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_LightBlue
-static int tolua_get_cChatColor_LightBlue(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::LightBlue);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Rose of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Rose
-static int tolua_get_cChatColor_Rose(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Rose);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: LightPurple of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_LightPurple
-static int tolua_get_cChatColor_LightPurple(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::LightPurple);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Yellow of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Yellow
-static int tolua_get_cChatColor_Yellow(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Yellow);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: White of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_White
-static int tolua_get_cChatColor_White(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::White);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Random of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Random
-static int tolua_get_cChatColor_Random(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Random);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Bold of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Bold
-static int tolua_get_cChatColor_Bold(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Bold);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Strikethrough of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Strikethrough
-static int tolua_get_cChatColor_Strikethrough(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Strikethrough);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Underlined of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Underlined
-static int tolua_get_cChatColor_Underlined(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Underlined);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Italic of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Italic
-static int tolua_get_cChatColor_Italic(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Italic);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Plain of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_get_cChatColor_Plain
-static int tolua_get_cChatColor_Plain(lua_State* tolua_S)
-{
- tolua_pushcppstring(tolua_S,(const char*)cChatColor::Plain);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: MakeColor of class cChatColor */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChatColor_MakeColor00
-static int tolua_AllToLua_cChatColor_MakeColor00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cChatColor",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- char a_Color = ((char) tolua_tonumber(tolua_S,2,0));
- {
- const std::string tolua_ret = (const std::string) cChatColor::MakeColor(a_Color);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'MakeColor'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPlayer of class cClientHandle */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cClientHandle_GetPlayer00
-static int tolua_AllToLua_cClientHandle_GetPlayer00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cClientHandle",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cClientHandle* self = (cClientHandle*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPlayer'", NULL);
-#endif
- {
- cPlayer* tolua_ret = (cPlayer*) self->GetPlayer();
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cPlayer");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPlayer'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Kick of class cClientHandle */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cClientHandle_Kick00
-static int tolua_AllToLua_cClientHandle_Kick00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cClientHandle",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cClientHandle* self = (cClientHandle*) tolua_tousertype(tolua_S,1,0);
- const AString a_Reason = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Kick'", NULL);
-#endif
- {
- self->Kick(a_Reason);
- tolua_pushcppstring(tolua_S,(const char*)a_Reason);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Kick'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SendBlockChange of class cClientHandle */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cClientHandle_SendBlockChange00
-static int tolua_AllToLua_cClientHandle_SendBlockChange00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cClientHandle",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cClientHandle* self = (cClientHandle*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SendBlockChange'", NULL);
-#endif
- {
- self->SendBlockChange(a_BlockX,a_BlockY,a_BlockZ,a_BlockType,a_BlockMeta);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SendBlockChange'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetUsername of class cClientHandle */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cClientHandle_GetUsername00
-static int tolua_AllToLua_cClientHandle_GetUsername00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cClientHandle",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cClientHandle* self = (const cClientHandle*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetUsername'", NULL);
-#endif
- {
- const AString tolua_ret = (const AString) self->GetUsername();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetUsername'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetUsername of class cClientHandle */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cClientHandle_SetUsername00
-static int tolua_AllToLua_cClientHandle_SetUsername00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cClientHandle",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cClientHandle* self = (cClientHandle*) tolua_tousertype(tolua_S,1,0);
- const AString a_Username = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetUsername'", NULL);
-#endif
- {
- self->SetUsername(a_Username);
- tolua_pushcppstring(tolua_S,(const char*)a_Username);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetUsername'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPing of class cClientHandle */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cClientHandle_GetPing00
-static int tolua_AllToLua_cClientHandle_GetPing00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cClientHandle",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cClientHandle* self = (const cClientHandle*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPing'", NULL);
-#endif
- {
- short tolua_ret = (short) self->GetPing();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPing'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetViewDistance of class cClientHandle */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cClientHandle_SetViewDistance00
-static int tolua_AllToLua_cClientHandle_SetViewDistance00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cClientHandle",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cClientHandle* self = (cClientHandle*) tolua_tousertype(tolua_S,1,0);
- int a_ViewDistance = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetViewDistance'", NULL);
-#endif
- {
- self->SetViewDistance(a_ViewDistance);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetViewDistance'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetViewDistance of class cClientHandle */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cClientHandle_GetViewDistance00
-static int tolua_AllToLua_cClientHandle_GetViewDistance00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cClientHandle",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cClientHandle* self = (const cClientHandle*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetViewDistance'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetViewDistance();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetViewDistance'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetUniqueID of class cClientHandle */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cClientHandle_GetUniqueID00
-static int tolua_AllToLua_cClientHandle_GetUniqueID00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cClientHandle",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cClientHandle* self = (const cClientHandle*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetUniqueID'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetUniqueID();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetUniqueID'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: DamageType of class TakeDamageInfo */
-#ifndef TOLUA_DISABLE_tolua_get_TakeDamageInfo_DamageType
-static int tolua_get_TakeDamageInfo_DamageType(lua_State* tolua_S)
-{
- TakeDamageInfo* self = (TakeDamageInfo*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'DamageType'",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)self->DamageType);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: DamageType of class TakeDamageInfo */
-#ifndef TOLUA_DISABLE_tolua_set_TakeDamageInfo_DamageType
-static int tolua_set_TakeDamageInfo_DamageType(lua_State* tolua_S)
-{
- TakeDamageInfo* self = (TakeDamageInfo*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'DamageType'",NULL);
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->DamageType = ((eDamageType) (int) tolua_tonumber(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Attacker of class TakeDamageInfo */
-#ifndef TOLUA_DISABLE_tolua_get_TakeDamageInfo_Attacker_ptr
-static int tolua_get_TakeDamageInfo_Attacker_ptr(lua_State* tolua_S)
-{
- TakeDamageInfo* self = (TakeDamageInfo*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Attacker'",NULL);
-#endif
- tolua_pushusertype(tolua_S,(void*)self->Attacker,"cEntity");
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: Attacker of class TakeDamageInfo */
-#ifndef TOLUA_DISABLE_tolua_set_TakeDamageInfo_Attacker_ptr
-static int tolua_set_TakeDamageInfo_Attacker_ptr(lua_State* tolua_S)
-{
- TakeDamageInfo* self = (TakeDamageInfo*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Attacker'",NULL);
- if (!tolua_isusertype(tolua_S,2,"cEntity",0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->Attacker = ((cEntity*) tolua_tousertype(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: RawDamage of class TakeDamageInfo */
-#ifndef TOLUA_DISABLE_tolua_get_TakeDamageInfo_RawDamage
-static int tolua_get_TakeDamageInfo_RawDamage(lua_State* tolua_S)
-{
- TakeDamageInfo* self = (TakeDamageInfo*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'RawDamage'",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)self->RawDamage);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: RawDamage of class TakeDamageInfo */
-#ifndef TOLUA_DISABLE_tolua_set_TakeDamageInfo_RawDamage
-static int tolua_set_TakeDamageInfo_RawDamage(lua_State* tolua_S)
-{
- TakeDamageInfo* self = (TakeDamageInfo*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'RawDamage'",NULL);
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->RawDamage = ((int) tolua_tonumber(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: FinalDamage of class TakeDamageInfo */
-#ifndef TOLUA_DISABLE_tolua_get_TakeDamageInfo_FinalDamage
-static int tolua_get_TakeDamageInfo_FinalDamage(lua_State* tolua_S)
-{
- TakeDamageInfo* self = (TakeDamageInfo*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'FinalDamage'",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)self->FinalDamage);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: FinalDamage of class TakeDamageInfo */
-#ifndef TOLUA_DISABLE_tolua_set_TakeDamageInfo_FinalDamage
-static int tolua_set_TakeDamageInfo_FinalDamage(lua_State* tolua_S)
-{
- TakeDamageInfo* self = (TakeDamageInfo*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'FinalDamage'",NULL);
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->FinalDamage = ((int) tolua_tonumber(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Knockback of class TakeDamageInfo */
-#ifndef TOLUA_DISABLE_tolua_get_TakeDamageInfo_Knockback
-static int tolua_get_TakeDamageInfo_Knockback(lua_State* tolua_S)
-{
- TakeDamageInfo* self = (TakeDamageInfo*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Knockback'",NULL);
-#endif
- tolua_pushusertype(tolua_S,(void*)&self->Knockback,"Vector3d");
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: Knockback of class TakeDamageInfo */
-#ifndef TOLUA_DISABLE_tolua_set_TakeDamageInfo_Knockback
-static int tolua_set_TakeDamageInfo_Knockback(lua_State* tolua_S)
-{
- TakeDamageInfo* self = (TakeDamageInfo*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Knockback'",NULL);
- if ((tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"Vector3d",0,&tolua_err)))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->Knockback = *((Vector3d*) tolua_tousertype(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEntityType of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetEntityType00
-static int tolua_AllToLua_cEntity_GetEntityType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEntityType'", NULL);
-#endif
- {
- cEntity::eEntityType tolua_ret = (cEntity::eEntityType) self->GetEntityType();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEntityType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsPlayer of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsPlayer00
-static int tolua_AllToLua_cEntity_IsPlayer00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsPlayer'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsPlayer();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsPlayer'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsPickup of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsPickup00
-static int tolua_AllToLua_cEntity_IsPickup00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsPickup'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsPickup();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsPickup'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsMob of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsMob00
-static int tolua_AllToLua_cEntity_IsMob00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsMob'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsMob();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsMob'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsFallingBlock of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsFallingBlock00
-static int tolua_AllToLua_cEntity_IsFallingBlock00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsFallingBlock'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsFallingBlock();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsFallingBlock'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsMinecart of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsMinecart00
-static int tolua_AllToLua_cEntity_IsMinecart00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsMinecart'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsMinecart();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsMinecart'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsBoat of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsBoat00
-static int tolua_AllToLua_cEntity_IsBoat00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsBoat'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsBoat();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsBoat'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsTNT of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsTNT00
-static int tolua_AllToLua_cEntity_IsTNT00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsTNT'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsTNT();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsTNT'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsProjectile of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsProjectile00
-static int tolua_AllToLua_cEntity_IsProjectile00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsProjectile'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsProjectile();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsProjectile'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsA of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsA00
-static int tolua_AllToLua_cEntity_IsA00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
- const char* a_ClassName = ((const char*) tolua_tostring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsA'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsA(a_ClassName);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsA'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetClass of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetClass00
-static int tolua_AllToLua_cEntity_GetClass00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetClass'", NULL);
-#endif
- {
- const char* tolua_ret = (const char*) self->GetClass();
- tolua_pushstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetClass'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetClassStatic of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetClassStatic00
-static int tolua_AllToLua_cEntity_GetClassStatic00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- const char* tolua_ret = (const char*) cEntity::GetClassStatic();
- tolua_pushstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetClassStatic'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetParentClass of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetParentClass00
-static int tolua_AllToLua_cEntity_GetParentClass00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetParentClass'", NULL);
-#endif
- {
- const char* tolua_ret = (const char*) self->GetParentClass();
- tolua_pushstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetParentClass'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetWorld of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetWorld00
-static int tolua_AllToLua_cEntity_GetWorld00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWorld'", NULL);
-#endif
- {
- cWorld* tolua_ret = (cWorld*) self->GetWorld();
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cWorld");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetWorld'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetHeadYaw of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetHeadYaw00
-static int tolua_AllToLua_cEntity_GetHeadYaw00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetHeadYaw'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetHeadYaw();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetHeadYaw'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetHeight of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetHeight00
-static int tolua_AllToLua_cEntity_GetHeight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetHeight'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetHeight();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetHeight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetMass of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetMass00
-static int tolua_AllToLua_cEntity_GetMass00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetMass'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetMass();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetMass'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPosition of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetPosition00
-static int tolua_AllToLua_cEntity_GetPosition00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPosition'", NULL);
-#endif
- {
- const Vector3d& tolua_ret = (const Vector3d&) self->GetPosition();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Vector3d");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPosition'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPosX of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetPosX00
-static int tolua_AllToLua_cEntity_GetPosX00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPosX'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetPosX();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPosX'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPosY of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetPosY00
-static int tolua_AllToLua_cEntity_GetPosY00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPosY'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetPosY();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPosY'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPosZ of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetPosZ00
-static int tolua_AllToLua_cEntity_GetPosZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPosZ'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetPosZ();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPosZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetRot of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetRot00
-static int tolua_AllToLua_cEntity_GetRot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetRot'", NULL);
-#endif
- {
- const Vector3d& tolua_ret = (const Vector3d&) self->GetRot();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Vector3d");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetRot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetRotation of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetRotation00
-static int tolua_AllToLua_cEntity_GetRotation00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetRotation'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetRotation();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetRotation'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetYaw of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetYaw00
-static int tolua_AllToLua_cEntity_GetYaw00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetYaw'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetYaw();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetYaw'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPitch of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetPitch00
-static int tolua_AllToLua_cEntity_GetPitch00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPitch'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetPitch();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPitch'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetRoll of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetRoll00
-static int tolua_AllToLua_cEntity_GetRoll00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetRoll'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetRoll();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetRoll'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetLookVector of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetLookVector00
-static int tolua_AllToLua_cEntity_GetLookVector00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetLookVector'", NULL);
-#endif
- {
- Vector3d tolua_ret = (Vector3d) self->GetLookVector();
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3d)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3d));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetLookVector'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSpeed of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetSpeed00
-static int tolua_AllToLua_cEntity_GetSpeed00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSpeed'", NULL);
-#endif
- {
- const Vector3d& tolua_ret = (const Vector3d&) self->GetSpeed();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Vector3d");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSpeed'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSpeedX of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetSpeedX00
-static int tolua_AllToLua_cEntity_GetSpeedX00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSpeedX'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetSpeedX();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSpeedX'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSpeedY of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetSpeedY00
-static int tolua_AllToLua_cEntity_GetSpeedY00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSpeedY'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetSpeedY();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSpeedY'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSpeedZ of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetSpeedZ00
-static int tolua_AllToLua_cEntity_GetSpeedZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSpeedZ'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetSpeedZ();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSpeedZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetWidth of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetWidth00
-static int tolua_AllToLua_cEntity_GetWidth00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWidth'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetWidth();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetWidth'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetChunkX of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetChunkX00
-static int tolua_AllToLua_cEntity_GetChunkX00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetChunkX'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetChunkX();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetChunkX'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetChunkZ of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetChunkZ00
-static int tolua_AllToLua_cEntity_GetChunkZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetChunkZ'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetChunkZ();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetChunkZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetHeadYaw of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetHeadYaw00
-static int tolua_AllToLua_cEntity_SetHeadYaw00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_HeadYaw = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetHeadYaw'", NULL);
-#endif
- {
- self->SetHeadYaw(a_HeadYaw);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetHeadYaw'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetHeight of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetHeight00
-static int tolua_AllToLua_cEntity_SetHeight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_Height = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetHeight'", NULL);
-#endif
- {
- self->SetHeight(a_Height);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetHeight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetMass of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetMass00
-static int tolua_AllToLua_cEntity_SetMass00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_Mass = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetMass'", NULL);
-#endif
- {
- self->SetMass(a_Mass);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetMass'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetPosX of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetPosX00
-static int tolua_AllToLua_cEntity_SetPosX00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_PosX = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetPosX'", NULL);
-#endif
- {
- self->SetPosX(a_PosX);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetPosX'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetPosY of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetPosY00
-static int tolua_AllToLua_cEntity_SetPosY00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_PosY = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetPosY'", NULL);
-#endif
- {
- self->SetPosY(a_PosY);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetPosY'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetPosZ of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetPosZ00
-static int tolua_AllToLua_cEntity_SetPosZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_PosZ = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetPosZ'", NULL);
-#endif
- {
- self->SetPosZ(a_PosZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetPosZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetPosition of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetPosition00
-static int tolua_AllToLua_cEntity_SetPosition00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_PosX = ((double) tolua_tonumber(tolua_S,2,0));
- double a_PosY = ((double) tolua_tonumber(tolua_S,3,0));
- double a_PosZ = ((double) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetPosition'", NULL);
-#endif
- {
- self->SetPosition(a_PosX,a_PosY,a_PosZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetPosition'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetPosition of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetPosition01
-static int tolua_AllToLua_cEntity_SetPosition01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* a_Pos = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetPosition'", NULL);
-#endif
- {
- self->SetPosition(*a_Pos);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cEntity_SetPosition00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetRot of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetRot00
-static int tolua_AllToLua_cEntity_SetRot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3f",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- const Vector3f* a_Rot = ((const Vector3f*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetRot'", NULL);
-#endif
- {
- self->SetRot(*a_Rot);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetRot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetRotation of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetRotation00
-static int tolua_AllToLua_cEntity_SetRotation00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_Rotation = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetRotation'", NULL);
-#endif
- {
- self->SetRotation(a_Rotation);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetRotation'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetYaw of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetYaw00
-static int tolua_AllToLua_cEntity_SetYaw00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_Yaw = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetYaw'", NULL);
-#endif
- {
- self->SetYaw(a_Yaw);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetYaw'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetPitch of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetPitch00
-static int tolua_AllToLua_cEntity_SetPitch00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_Pitch = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetPitch'", NULL);
-#endif
- {
- self->SetPitch(a_Pitch);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetPitch'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetRoll of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetRoll00
-static int tolua_AllToLua_cEntity_SetRoll00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_Roll = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetRoll'", NULL);
-#endif
- {
- self->SetRoll(a_Roll);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetRoll'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetSpeed of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetSpeed00
-static int tolua_AllToLua_cEntity_SetSpeed00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_SpeedX = ((double) tolua_tonumber(tolua_S,2,0));
- double a_SpeedY = ((double) tolua_tonumber(tolua_S,3,0));
- double a_SpeedZ = ((double) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetSpeed'", NULL);
-#endif
- {
- self->SetSpeed(a_SpeedX,a_SpeedY,a_SpeedZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetSpeed'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetSpeed of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetSpeed01
-static int tolua_AllToLua_cEntity_SetSpeed01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* a_Speed = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetSpeed'", NULL);
-#endif
- {
- self->SetSpeed(*a_Speed);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cEntity_SetSpeed00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetSpeedX of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetSpeedX00
-static int tolua_AllToLua_cEntity_SetSpeedX00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_SpeedX = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetSpeedX'", NULL);
-#endif
- {
- self->SetSpeedX(a_SpeedX);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetSpeedX'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetSpeedY of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetSpeedY00
-static int tolua_AllToLua_cEntity_SetSpeedY00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_SpeedY = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetSpeedY'", NULL);
-#endif
- {
- self->SetSpeedY(a_SpeedY);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetSpeedY'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetSpeedZ of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetSpeedZ00
-static int tolua_AllToLua_cEntity_SetSpeedZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_SpeedZ = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetSpeedZ'", NULL);
-#endif
- {
- self->SetSpeedZ(a_SpeedZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetSpeedZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetWidth of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetWidth00
-static int tolua_AllToLua_cEntity_SetWidth00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_Width = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetWidth'", NULL);
-#endif
- {
- self->SetWidth(a_Width);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetWidth'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddPosX of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_AddPosX00
-static int tolua_AllToLua_cEntity_AddPosX00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_AddPosX = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddPosX'", NULL);
-#endif
- {
- self->AddPosX(a_AddPosX);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddPosX'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddPosY of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_AddPosY00
-static int tolua_AllToLua_cEntity_AddPosY00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_AddPosY = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddPosY'", NULL);
-#endif
- {
- self->AddPosY(a_AddPosY);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddPosY'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddPosZ of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_AddPosZ00
-static int tolua_AllToLua_cEntity_AddPosZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_AddPosZ = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddPosZ'", NULL);
-#endif
- {
- self->AddPosZ(a_AddPosZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddPosZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddPosition of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_AddPosition00
-static int tolua_AllToLua_cEntity_AddPosition00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_AddPosX = ((double) tolua_tonumber(tolua_S,2,0));
- double a_AddPosY = ((double) tolua_tonumber(tolua_S,3,0));
- double a_AddPosZ = ((double) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddPosition'", NULL);
-#endif
- {
- self->AddPosition(a_AddPosX,a_AddPosY,a_AddPosZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddPosition'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddPosition of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_AddPosition01
-static int tolua_AllToLua_cEntity_AddPosition01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* a_AddPos = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddPosition'", NULL);
-#endif
- {
- self->AddPosition(*a_AddPos);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cEntity_AddPosition00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddSpeed of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_AddSpeed00
-static int tolua_AllToLua_cEntity_AddSpeed00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_AddSpeedX = ((double) tolua_tonumber(tolua_S,2,0));
- double a_AddSpeedY = ((double) tolua_tonumber(tolua_S,3,0));
- double a_AddSpeedZ = ((double) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddSpeed'", NULL);
-#endif
- {
- self->AddSpeed(a_AddSpeedX,a_AddSpeedY,a_AddSpeedZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddSpeed'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddSpeed of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_AddSpeed01
-static int tolua_AllToLua_cEntity_AddSpeed01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* a_AddSpeed = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddSpeed'", NULL);
-#endif
- {
- self->AddSpeed(*a_AddSpeed);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cEntity_AddSpeed00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddSpeedX of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_AddSpeedX00
-static int tolua_AllToLua_cEntity_AddSpeedX00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_AddSpeedX = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddSpeedX'", NULL);
-#endif
- {
- self->AddSpeedX(a_AddSpeedX);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddSpeedX'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddSpeedY of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_AddSpeedY00
-static int tolua_AllToLua_cEntity_AddSpeedY00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_AddSpeedY = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddSpeedY'", NULL);
-#endif
- {
- self->AddSpeedY(a_AddSpeedY);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddSpeedY'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddSpeedZ of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_AddSpeedZ00
-static int tolua_AllToLua_cEntity_AddSpeedZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_AddSpeedZ = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddSpeedZ'", NULL);
-#endif
- {
- self->AddSpeedZ(a_AddSpeedZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddSpeedZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HandleSpeedFromAttachee of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_HandleSpeedFromAttachee00
-static int tolua_AllToLua_cEntity_HandleSpeedFromAttachee00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- float a_Forward = ((float) tolua_tonumber(tolua_S,2,0));
- float a_Sideways = ((float) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HandleSpeedFromAttachee'", NULL);
-#endif
- {
- self->HandleSpeedFromAttachee(a_Forward,a_Sideways);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'HandleSpeedFromAttachee'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SteerVehicle of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SteerVehicle00
-static int tolua_AllToLua_cEntity_SteerVehicle00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- float a_Forward = ((float) tolua_tonumber(tolua_S,2,0));
- float a_Sideways = ((float) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SteerVehicle'", NULL);
-#endif
- {
- self->SteerVehicle(a_Forward,a_Sideways);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SteerVehicle'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetUniqueID of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetUniqueID00
-static int tolua_AllToLua_cEntity_GetUniqueID00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetUniqueID'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetUniqueID();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetUniqueID'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsDestroyed of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsDestroyed00
-static int tolua_AllToLua_cEntity_IsDestroyed00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsDestroyed'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsDestroyed();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsDestroyed'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Destroy of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_Destroy00
-static int tolua_AllToLua_cEntity_Destroy00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isboolean(tolua_S,2,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- bool a_ShouldBroadcast = ((bool) tolua_toboolean(tolua_S,2,true));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Destroy'", NULL);
-#endif
- {
- self->Destroy(a_ShouldBroadcast);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Destroy'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: TakeDamage of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_TakeDamage00
-static int tolua_AllToLua_cEntity_TakeDamage00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"cEntity",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- cEntity* a_Attacker = ((cEntity*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'TakeDamage'", NULL);
-#endif
- {
- self->TakeDamage(*a_Attacker);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'TakeDamage'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: TakeDamage of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_TakeDamage01
-static int tolua_AllToLua_cEntity_TakeDamage01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isusertype(tolua_S,3,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- eDamageType a_DamageType = ((eDamageType) (int) tolua_tonumber(tolua_S,2,0));
- cEntity* a_Attacker = ((cEntity*) tolua_tousertype(tolua_S,3,0));
- int a_RawDamage = ((int) tolua_tonumber(tolua_S,4,0));
- double a_KnockbackAmount = ((double) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'TakeDamage'", NULL);
-#endif
- {
- self->TakeDamage(a_DamageType,a_Attacker,a_RawDamage,a_KnockbackAmount);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cEntity_TakeDamage00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: TakeDamage of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_TakeDamage02
-static int tolua_AllToLua_cEntity_TakeDamage02(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isusertype(tolua_S,3,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- eDamageType a_DamageType = ((eDamageType) (int) tolua_tonumber(tolua_S,2,0));
- cEntity* a_Attacker = ((cEntity*) tolua_tousertype(tolua_S,3,0));
- int a_RawDamage = ((int) tolua_tonumber(tolua_S,4,0));
- int a_FinalDamage = ((int) tolua_tonumber(tolua_S,5,0));
- double a_KnockbackAmount = ((double) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'TakeDamage'", NULL);
-#endif
- {
- self->TakeDamage(a_DamageType,a_Attacker,a_RawDamage,a_FinalDamage,a_KnockbackAmount);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cEntity_TakeDamage01(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetGravity of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetGravity00
-static int tolua_AllToLua_cEntity_GetGravity00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetGravity'", NULL);
-#endif
- {
- float tolua_ret = (float) self->GetGravity();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetGravity'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetGravity of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetGravity00
-static int tolua_AllToLua_cEntity_SetGravity00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- float a_Gravity = ((float) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetGravity'", NULL);
-#endif
- {
- self->SetGravity(a_Gravity);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetGravity'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetRotationFromSpeed of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetRotationFromSpeed00
-static int tolua_AllToLua_cEntity_SetRotationFromSpeed00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetRotationFromSpeed'", NULL);
-#endif
- {
- self->SetRotationFromSpeed();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetRotationFromSpeed'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetPitchFromSpeed of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetPitchFromSpeed00
-static int tolua_AllToLua_cEntity_SetPitchFromSpeed00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetPitchFromSpeed'", NULL);
-#endif
- {
- self->SetPitchFromSpeed();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetPitchFromSpeed'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetRawDamageAgainst of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetRawDamageAgainst00
-static int tolua_AllToLua_cEntity_GetRawDamageAgainst00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cEntity",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- const cEntity* a_Receiver = ((const cEntity*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetRawDamageAgainst'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetRawDamageAgainst(*a_Receiver);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetRawDamageAgainst'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetArmorCoverAgainst of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetArmorCoverAgainst00
-static int tolua_AllToLua_cEntity_GetArmorCoverAgainst00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"const cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- const cEntity* a_Attacker = ((const cEntity*) tolua_tousertype(tolua_S,2,0));
- eDamageType a_DamageType = ((eDamageType) (int) tolua_tonumber(tolua_S,3,0));
- int a_RawDamage = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetArmorCoverAgainst'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetArmorCoverAgainst(a_Attacker,a_DamageType,a_RawDamage);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetArmorCoverAgainst'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetKnockbackAmountAgainst of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetKnockbackAmountAgainst00
-static int tolua_AllToLua_cEntity_GetKnockbackAmountAgainst00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cEntity",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- const cEntity* a_Receiver = ((const cEntity*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetKnockbackAmountAgainst'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetKnockbackAmountAgainst(*a_Receiver);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetKnockbackAmountAgainst'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEquippedWeapon of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetEquippedWeapon00
-static int tolua_AllToLua_cEntity_GetEquippedWeapon00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEquippedWeapon'", NULL);
-#endif
- {
- cItem tolua_ret = (cItem) self->GetEquippedWeapon();
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((cItem)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(cItem));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEquippedWeapon'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEquippedHelmet of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetEquippedHelmet00
-static int tolua_AllToLua_cEntity_GetEquippedHelmet00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEquippedHelmet'", NULL);
-#endif
- {
- cItem tolua_ret = (cItem) self->GetEquippedHelmet();
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((cItem)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(cItem));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEquippedHelmet'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEquippedChestplate of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetEquippedChestplate00
-static int tolua_AllToLua_cEntity_GetEquippedChestplate00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEquippedChestplate'", NULL);
-#endif
- {
- cItem tolua_ret = (cItem) self->GetEquippedChestplate();
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((cItem)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(cItem));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEquippedChestplate'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEquippedLeggings of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetEquippedLeggings00
-static int tolua_AllToLua_cEntity_GetEquippedLeggings00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEquippedLeggings'", NULL);
-#endif
- {
- cItem tolua_ret = (cItem) self->GetEquippedLeggings();
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((cItem)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(cItem));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEquippedLeggings'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEquippedBoots of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetEquippedBoots00
-static int tolua_AllToLua_cEntity_GetEquippedBoots00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEquippedBoots'", NULL);
-#endif
- {
- cItem tolua_ret = (cItem) self->GetEquippedBoots();
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((cItem)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(cItem));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEquippedBoots'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: KilledBy of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_KilledBy00
-static int tolua_AllToLua_cEntity_KilledBy00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- cEntity* a_Killer = ((cEntity*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'KilledBy'", NULL);
-#endif
- {
- self->KilledBy(a_Killer);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'KilledBy'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Heal of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_Heal00
-static int tolua_AllToLua_cEntity_Heal00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- int a_HitPoints = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Heal'", NULL);
-#endif
- {
- self->Heal(a_HitPoints);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Heal'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetHealth of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetHealth00
-static int tolua_AllToLua_cEntity_GetHealth00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetHealth'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetHealth();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetHealth'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetHealth of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetHealth00
-static int tolua_AllToLua_cEntity_SetHealth00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- int a_Health = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetHealth'", NULL);
-#endif
- {
- self->SetHealth(a_Health);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetHealth'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetMaxHealth of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_SetMaxHealth00
-static int tolua_AllToLua_cEntity_SetMaxHealth00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- int a_MaxHealth = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetMaxHealth'", NULL);
-#endif
- {
- self->SetMaxHealth(a_MaxHealth);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetMaxHealth'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetMaxHealth of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_GetMaxHealth00
-static int tolua_AllToLua_cEntity_GetMaxHealth00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetMaxHealth'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetMaxHealth();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetMaxHealth'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: StartBurning of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_StartBurning00
-static int tolua_AllToLua_cEntity_StartBurning00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- int a_TicksLeftBurning = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'StartBurning'", NULL);
-#endif
- {
- self->StartBurning(a_TicksLeftBurning);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'StartBurning'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: StopBurning of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_StopBurning00
-static int tolua_AllToLua_cEntity_StopBurning00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'StopBurning'", NULL);
-#endif
- {
- self->StopBurning();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'StopBurning'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: TeleportToEntity of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_TeleportToEntity00
-static int tolua_AllToLua_cEntity_TeleportToEntity00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"cEntity",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- cEntity* a_Entity = ((cEntity*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'TeleportToEntity'", NULL);
-#endif
- {
- self->TeleportToEntity(*a_Entity);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'TeleportToEntity'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: TeleportToCoords of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_TeleportToCoords00
-static int tolua_AllToLua_cEntity_TeleportToCoords00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEntity* self = (cEntity*) tolua_tousertype(tolua_S,1,0);
- double a_PosX = ((double) tolua_tonumber(tolua_S,2,0));
- double a_PosY = ((double) tolua_tonumber(tolua_S,3,0));
- double a_PosZ = ((double) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'TeleportToCoords'", NULL);
-#endif
- {
- self->TeleportToCoords(a_PosX,a_PosY,a_PosZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'TeleportToCoords'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsOnFire of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsOnFire00
-static int tolua_AllToLua_cEntity_IsOnFire00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsOnFire'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsOnFire();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsOnFire'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsCrouched of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsCrouched00
-static int tolua_AllToLua_cEntity_IsCrouched00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsCrouched'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsCrouched();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsCrouched'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsRiding of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsRiding00
-static int tolua_AllToLua_cEntity_IsRiding00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsRiding'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsRiding();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsRiding'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsSprinting of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsSprinting00
-static int tolua_AllToLua_cEntity_IsSprinting00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsSprinting'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsSprinting();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsSprinting'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsRclking of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsRclking00
-static int tolua_AllToLua_cEntity_IsRclking00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsRclking'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsRclking();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsRclking'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsInvisible of class cEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsInvisible00
-static int tolua_AllToLua_cEntity_IsInvisible00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsInvisible'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsInvisible();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsInvisible'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetCurrentExperience of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SetCurrentExperience00
-static int tolua_AllToLua_cPlayer_SetCurrentExperience00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- short a_XpTotal = ((short) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetCurrentExperience'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->SetCurrentExperience(a_XpTotal);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetCurrentExperience'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DeltaExperience of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_DeltaExperience00
-static int tolua_AllToLua_cPlayer_DeltaExperience00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- short a_Xp_delta = ((short) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DeltaExperience'", NULL);
-#endif
- {
- short tolua_ret = (short) self->DeltaExperience(a_Xp_delta);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DeltaExperience'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetXpLifetimeTotal of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetXpLifetimeTotal00
-static int tolua_AllToLua_cPlayer_GetXpLifetimeTotal00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetXpLifetimeTotal'", NULL);
-#endif
- {
- short tolua_ret = (short) self->GetXpLifetimeTotal();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetXpLifetimeTotal'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetCurrentXp of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetCurrentXp00
-static int tolua_AllToLua_cPlayer_GetCurrentXp00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetCurrentXp'", NULL);
-#endif
- {
- short tolua_ret = (short) self->GetCurrentXp();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetCurrentXp'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetXpLevel of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetXpLevel00
-static int tolua_AllToLua_cPlayer_GetXpLevel00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetXpLevel'", NULL);
-#endif
- {
- short tolua_ret = (short) self->GetXpLevel();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetXpLevel'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetXpPercentage of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetXpPercentage00
-static int tolua_AllToLua_cPlayer_GetXpPercentage00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetXpPercentage'", NULL);
-#endif
- {
- float tolua_ret = (float) self->GetXpPercentage();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetXpPercentage'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: XpForLevel of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_XpForLevel00
-static int tolua_AllToLua_cPlayer_XpForLevel00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- short int a_Level = ((short int) tolua_tonumber(tolua_S,2,0));
- {
- short tolua_ret = (short) cPlayer::XpForLevel(a_Level);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'XpForLevel'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CalcLevelFromXp of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_CalcLevelFromXp00
-static int tolua_AllToLua_cPlayer_CalcLevelFromXp00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- short int a_CurrentXp = ((short int) tolua_tonumber(tolua_S,2,0));
- {
- short tolua_ret = (short) cPlayer::CalcLevelFromXp(a_CurrentXp);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CalcLevelFromXp'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEyeHeight of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetEyeHeight00
-static int tolua_AllToLua_cPlayer_GetEyeHeight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEyeHeight'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetEyeHeight();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEyeHeight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEyePosition of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetEyePosition00
-static int tolua_AllToLua_cPlayer_GetEyePosition00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEyePosition'", NULL);
-#endif
- {
- Vector3d tolua_ret = (Vector3d) self->GetEyePosition();
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3d)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3d));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEyePosition'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsOnGround of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_IsOnGround00
-static int tolua_AllToLua_cPlayer_IsOnGround00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsOnGround'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsOnGround();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsOnGround'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetStance of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetStance00
-static int tolua_AllToLua_cPlayer_GetStance00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetStance'", NULL);
-#endif
- {
- const double tolua_ret = (const double) self->GetStance();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetStance'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetInventory of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetInventory00
-static int tolua_AllToLua_cPlayer_GetInventory00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetInventory'", NULL);
-#endif
- {
- cInventory& tolua_ret = (cInventory&) self->GetInventory();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"cInventory");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetInventory'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEquippedItem of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetEquippedItem00
-static int tolua_AllToLua_cPlayer_GetEquippedItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEquippedItem'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetEquippedItem();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEquippedItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetThrowStartPos of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetThrowStartPos00
-static int tolua_AllToLua_cPlayer_GetThrowStartPos00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetThrowStartPos'", NULL);
-#endif
- {
- Vector3d tolua_ret = (Vector3d) self->GetThrowStartPos();
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3d)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3d));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetThrowStartPos'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetThrowSpeed of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetThrowSpeed00
-static int tolua_AllToLua_cPlayer_GetThrowSpeed00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
- double a_SpeedCoeff = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetThrowSpeed'", NULL);
-#endif
- {
- Vector3d tolua_ret = (Vector3d) self->GetThrowSpeed(a_SpeedCoeff);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3d)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3d));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetThrowSpeed'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetGameMode of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetGameMode00
-static int tolua_AllToLua_cPlayer_GetGameMode00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetGameMode'", NULL);
-#endif
- {
- eGameMode tolua_ret = (eGameMode) self->GetGameMode();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetGameMode'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEffectiveGameMode of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetEffectiveGameMode00
-static int tolua_AllToLua_cPlayer_GetEffectiveGameMode00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEffectiveGameMode'", NULL);
-#endif
- {
- eGameMode tolua_ret = (eGameMode) self->GetEffectiveGameMode();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEffectiveGameMode'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetGameMode of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SetGameMode00
-static int tolua_AllToLua_cPlayer_SetGameMode00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- eGameMode a_GameMode = ((eGameMode) (int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetGameMode'", NULL);
-#endif
- {
- self->SetGameMode(a_GameMode);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetGameMode'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsGameModeCreative of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_IsGameModeCreative00
-static int tolua_AllToLua_cPlayer_IsGameModeCreative00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsGameModeCreative'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsGameModeCreative();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsGameModeCreative'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsGameModeSurvival of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_IsGameModeSurvival00
-static int tolua_AllToLua_cPlayer_IsGameModeSurvival00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsGameModeSurvival'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsGameModeSurvival();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsGameModeSurvival'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsGameModeAdventure of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_IsGameModeAdventure00
-static int tolua_AllToLua_cPlayer_IsGameModeAdventure00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsGameModeAdventure'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsGameModeAdventure();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsGameModeAdventure'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetIP of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetIP00
-static int tolua_AllToLua_cPlayer_GetIP00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetIP'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetIP();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetIP'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ForceSetSpeed of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_ForceSetSpeed00
-static int tolua_AllToLua_cPlayer_ForceSetSpeed00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- Vector3d a_Direction = *((Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ForceSetSpeed'", NULL);
-#endif
- {
- self->ForceSetSpeed(a_Direction);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ForceSetSpeed'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: MoveTo of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_MoveTo00
-static int tolua_AllToLua_cPlayer_MoveTo00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* a_NewPos = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'MoveTo'", NULL);
-#endif
- {
- self->MoveTo(*a_NewPos);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'MoveTo'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetWindow of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetWindow00
-static int tolua_AllToLua_cPlayer_GetWindow00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWindow'", NULL);
-#endif
- {
- cWindow* tolua_ret = (cWindow*) self->GetWindow();
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cWindow");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetWindow'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CloseWindow of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_CloseWindow00
-static int tolua_AllToLua_cPlayer_CloseWindow00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isboolean(tolua_S,2,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- bool a_CanRefuse = ((bool) tolua_toboolean(tolua_S,2,true));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CloseWindow'", NULL);
-#endif
- {
- self->CloseWindow(a_CanRefuse);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CloseWindow'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CloseWindowIfID of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_CloseWindowIfID00
-static int tolua_AllToLua_cPlayer_CloseWindowIfID00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,3,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- char a_WindowID = ((char) tolua_tonumber(tolua_S,2,0));
- bool a_CanRefuse = ((bool) tolua_toboolean(tolua_S,3,true));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CloseWindowIfID'", NULL);
-#endif
- {
- self->CloseWindowIfID(a_WindowID,a_CanRefuse);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CloseWindowIfID'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetClientHandle of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetClientHandle00
-static int tolua_AllToLua_cPlayer_GetClientHandle00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetClientHandle'", NULL);
-#endif
- {
- cClientHandle* tolua_ret = (cClientHandle*) self->GetClientHandle();
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cClientHandle");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetClientHandle'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SendMessage of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SendMessage00
-static int tolua_AllToLua_cPlayer_SendMessage00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- const AString a_Message = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SendMessage'", NULL);
-#endif
- {
- self->SendMessage(a_Message);
- tolua_pushcppstring(tolua_S,(const char*)a_Message);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SendMessage'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetName of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetName00
-static int tolua_AllToLua_cPlayer_GetName00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetName'", NULL);
-#endif
- {
- const AString tolua_ret = (const AString) self->GetName();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetName'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetName of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SetName00
-static int tolua_AllToLua_cPlayer_SetName00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- const AString a_Name = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetName'", NULL);
-#endif
- {
- self->SetName(a_Name);
- tolua_pushcppstring(tolua_S,(const char*)a_Name);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetName'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddToGroup of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_AddToGroup00
-static int tolua_AllToLua_cPlayer_AddToGroup00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- const AString a_GroupName = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddToGroup'", NULL);
-#endif
- {
- self->AddToGroup(a_GroupName);
- tolua_pushcppstring(tolua_S,(const char*)a_GroupName);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddToGroup'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: RemoveFromGroup of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_RemoveFromGroup00
-static int tolua_AllToLua_cPlayer_RemoveFromGroup00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- const AString a_GroupName = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'RemoveFromGroup'", NULL);
-#endif
- {
- self->RemoveFromGroup(a_GroupName);
- tolua_pushcppstring(tolua_S,(const char*)a_GroupName);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'RemoveFromGroup'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CanUseCommand of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_CanUseCommand00
-static int tolua_AllToLua_cPlayer_CanUseCommand00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- const AString a_Command = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CanUseCommand'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->CanUseCommand(a_Command);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_Command);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CanUseCommand'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HasPermission of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_HasPermission00
-static int tolua_AllToLua_cPlayer_HasPermission00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- const AString a_Permission = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HasPermission'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->HasPermission(a_Permission);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_Permission);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'HasPermission'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsInGroup of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_IsInGroup00
-static int tolua_AllToLua_cPlayer_IsInGroup00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- const AString a_Group = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsInGroup'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsInGroup(a_Group);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_Group);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsInGroup'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetColor of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetColor00
-static int tolua_AllToLua_cPlayer_GetColor00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetColor'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetColor();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetColor'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: TossItem of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_TossItem00
-static int tolua_AllToLua_cPlayer_TossItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- bool a_bDraggingItem = ((bool) tolua_toboolean(tolua_S,2,0));
- char a_Amount = ((char) tolua_tonumber(tolua_S,3,1));
- short a_CreateType = ((short) tolua_tonumber(tolua_S,4,0));
- short a_CreateHealth = ((short) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'TossItem'", NULL);
-#endif
- {
- self->TossItem(a_bDraggingItem,a_Amount,a_CreateType,a_CreateHealth);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'TossItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Heal of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_Heal00
-static int tolua_AllToLua_cPlayer_Heal00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- int a_Health = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Heal'", NULL);
-#endif
- {
- self->Heal(a_Health);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Heal'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetFoodLevel of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetFoodLevel00
-static int tolua_AllToLua_cPlayer_GetFoodLevel00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetFoodLevel'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetFoodLevel();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetFoodLevel'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetFoodSaturationLevel of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetFoodSaturationLevel00
-static int tolua_AllToLua_cPlayer_GetFoodSaturationLevel00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetFoodSaturationLevel'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetFoodSaturationLevel();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetFoodSaturationLevel'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetFoodTickTimer of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetFoodTickTimer00
-static int tolua_AllToLua_cPlayer_GetFoodTickTimer00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetFoodTickTimer'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetFoodTickTimer();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetFoodTickTimer'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetFoodExhaustionLevel of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetFoodExhaustionLevel00
-static int tolua_AllToLua_cPlayer_GetFoodExhaustionLevel00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetFoodExhaustionLevel'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetFoodExhaustionLevel();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetFoodExhaustionLevel'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetFoodPoisonedTicksRemaining of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetFoodPoisonedTicksRemaining00
-static int tolua_AllToLua_cPlayer_GetFoodPoisonedTicksRemaining00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetFoodPoisonedTicksRemaining'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetFoodPoisonedTicksRemaining();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetFoodPoisonedTicksRemaining'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetAirLevel of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetAirLevel00
-static int tolua_AllToLua_cPlayer_GetAirLevel00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetAirLevel'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetAirLevel();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetAirLevel'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsSatiated of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_IsSatiated00
-static int tolua_AllToLua_cPlayer_IsSatiated00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsSatiated'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsSatiated();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsSatiated'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetFoodLevel of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SetFoodLevel00
-static int tolua_AllToLua_cPlayer_SetFoodLevel00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- int a_FoodLevel = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetFoodLevel'", NULL);
-#endif
- {
- self->SetFoodLevel(a_FoodLevel);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetFoodLevel'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetFoodSaturationLevel of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SetFoodSaturationLevel00
-static int tolua_AllToLua_cPlayer_SetFoodSaturationLevel00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- double a_FoodSaturationLevel = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetFoodSaturationLevel'", NULL);
-#endif
- {
- self->SetFoodSaturationLevel(a_FoodSaturationLevel);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetFoodSaturationLevel'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetFoodTickTimer of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SetFoodTickTimer00
-static int tolua_AllToLua_cPlayer_SetFoodTickTimer00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- int a_FoodTickTimer = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetFoodTickTimer'", NULL);
-#endif
- {
- self->SetFoodTickTimer(a_FoodTickTimer);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetFoodTickTimer'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetFoodExhaustionLevel of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SetFoodExhaustionLevel00
-static int tolua_AllToLua_cPlayer_SetFoodExhaustionLevel00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- double a_FoodExhaustionLevel = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetFoodExhaustionLevel'", NULL);
-#endif
- {
- self->SetFoodExhaustionLevel(a_FoodExhaustionLevel);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetFoodExhaustionLevel'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetFoodPoisonedTicksRemaining of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SetFoodPoisonedTicksRemaining00
-static int tolua_AllToLua_cPlayer_SetFoodPoisonedTicksRemaining00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- int a_FoodPoisonedTicksRemaining = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetFoodPoisonedTicksRemaining'", NULL);
-#endif
- {
- self->SetFoodPoisonedTicksRemaining(a_FoodPoisonedTicksRemaining);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetFoodPoisonedTicksRemaining'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Feed of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_Feed00
-static int tolua_AllToLua_cPlayer_Feed00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- int a_Food = ((int) tolua_tonumber(tolua_S,2,0));
- double a_Saturation = ((double) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Feed'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->Feed(a_Food,a_Saturation);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Feed'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddFoodExhaustion of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_AddFoodExhaustion00
-static int tolua_AllToLua_cPlayer_AddFoodExhaustion00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- double a_Exhaustion = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddFoodExhaustion'", NULL);
-#endif
- {
- self->AddFoodExhaustion(a_Exhaustion);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddFoodExhaustion'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: FoodPoison of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_FoodPoison00
-static int tolua_AllToLua_cPlayer_FoodPoison00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- int a_NumTicks = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'FoodPoison'", NULL);
-#endif
- {
- self->FoodPoison(a_NumTicks);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'FoodPoison'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsEating of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_IsEating00
-static int tolua_AllToLua_cPlayer_IsEating00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsEating'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsEating();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsEating'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsFlying of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_IsFlying00
-static int tolua_AllToLua_cPlayer_IsFlying00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsFlying'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsFlying();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsFlying'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Respawn of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_Respawn00
-static int tolua_AllToLua_cPlayer_Respawn00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Respawn'", NULL);
-#endif
- {
- self->Respawn();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Respawn'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetVisible of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SetVisible00
-static int tolua_AllToLua_cPlayer_SetVisible00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- bool a_bVisible = ((bool) tolua_toboolean(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetVisible'", NULL);
-#endif
- {
- self->SetVisible(a_bVisible);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetVisible'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsVisible of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_IsVisible00
-static int tolua_AllToLua_cPlayer_IsVisible00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsVisible'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsVisible();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsVisible'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: MoveToWorld of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_MoveToWorld00
-static int tolua_AllToLua_cPlayer_MoveToWorld00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- const char* a_WorldName = ((const char*) tolua_tostring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'MoveToWorld'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->MoveToWorld(a_WorldName);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'MoveToWorld'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: LoadPermissionsFromDisk of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_LoadPermissionsFromDisk00
-static int tolua_AllToLua_cPlayer_LoadPermissionsFromDisk00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'LoadPermissionsFromDisk'", NULL);
-#endif
- {
- self->LoadPermissionsFromDisk();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'LoadPermissionsFromDisk'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetMaxSpeed of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetMaxSpeed00
-static int tolua_AllToLua_cPlayer_GetMaxSpeed00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetMaxSpeed'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetMaxSpeed();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetMaxSpeed'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetNormalMaxSpeed of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetNormalMaxSpeed00
-static int tolua_AllToLua_cPlayer_GetNormalMaxSpeed00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNormalMaxSpeed'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetNormalMaxSpeed();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetNormalMaxSpeed'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSprintingMaxSpeed of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_GetSprintingMaxSpeed00
-static int tolua_AllToLua_cPlayer_GetSprintingMaxSpeed00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSprintingMaxSpeed'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetSprintingMaxSpeed();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSprintingMaxSpeed'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetNormalMaxSpeed of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SetNormalMaxSpeed00
-static int tolua_AllToLua_cPlayer_SetNormalMaxSpeed00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- double a_Speed = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetNormalMaxSpeed'", NULL);
-#endif
- {
- self->SetNormalMaxSpeed(a_Speed);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetNormalMaxSpeed'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetSprintingMaxSpeed of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SetSprintingMaxSpeed00
-static int tolua_AllToLua_cPlayer_SetSprintingMaxSpeed00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- double a_Speed = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetSprintingMaxSpeed'", NULL);
-#endif
- {
- self->SetSprintingMaxSpeed(a_Speed);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetSprintingMaxSpeed'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetCrouch of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SetCrouch00
-static int tolua_AllToLua_cPlayer_SetCrouch00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- bool a_IsCrouched = ((bool) tolua_toboolean(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetCrouch'", NULL);
-#endif
- {
- self->SetCrouch(a_IsCrouched);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetCrouch'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetSprint of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SetSprint00
-static int tolua_AllToLua_cPlayer_SetSprint00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- bool a_IsSprinting = ((bool) tolua_toboolean(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetSprint'", NULL);
-#endif
- {
- self->SetSprint(a_IsSprinting);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetSprint'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetFlying of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SetFlying00
-static int tolua_AllToLua_cPlayer_SetFlying00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- bool a_IsFlying = ((bool) tolua_toboolean(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetFlying'", NULL);
-#endif
- {
- self->SetFlying(a_IsFlying);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetFlying'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetCanFly of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_SetCanFly00
-static int tolua_AllToLua_cPlayer_SetCanFly00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPlayer",0,&tolua_err) ||
- !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- bool a_CanFly = ((bool) tolua_toboolean(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetCanFly'", NULL);
-#endif
- {
- self->SetCanFly(a_CanFly);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetCanFly'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsSwimming of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_IsSwimming00
-static int tolua_AllToLua_cPlayer_IsSwimming00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsSwimming'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsSwimming();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsSwimming'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsSubmerged of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_IsSubmerged00
-static int tolua_AllToLua_cPlayer_IsSubmerged00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsSubmerged'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsSubmerged();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsSubmerged'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CanFly of class cPlayer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPlayer_CanFly00
-static int tolua_AllToLua_cPlayer_CanFly00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPlayer* self = (const cPlayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CanFly'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->CanFly();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CanFly'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cPickup */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPickup_new00
-static int tolua_AllToLua_cPickup_new00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cPickup",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,5,&tolua_err) || !tolua_isusertype(tolua_S,5,"const cItem",0,&tolua_err)) ||
- !tolua_isboolean(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,8,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,9,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,10,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- double a_PosX = ((double) tolua_tonumber(tolua_S,2,0));
- double a_PosY = ((double) tolua_tonumber(tolua_S,3,0));
- double a_PosZ = ((double) tolua_tonumber(tolua_S,4,0));
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,5,0));
- bool IsPlayerCreated = ((bool) tolua_toboolean(tolua_S,6,0));
- float a_SpeedX = ((float) tolua_tonumber(tolua_S,7,0.f));
- float a_SpeedY = ((float) tolua_tonumber(tolua_S,8,0.f));
- float a_SpeedZ = ((float) tolua_tonumber(tolua_S,9,0.f));
- {
- cPickup* tolua_ret = (cPickup*) Mtolua_new((cPickup)(a_PosX,a_PosY,a_PosZ,*a_Item,IsPlayerCreated,a_SpeedX,a_SpeedY,a_SpeedZ));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cPickup");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cPickup */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPickup_new00_local
-static int tolua_AllToLua_cPickup_new00_local(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cPickup",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,5,&tolua_err) || !tolua_isusertype(tolua_S,5,"const cItem",0,&tolua_err)) ||
- !tolua_isboolean(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,8,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,9,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,10,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- double a_PosX = ((double) tolua_tonumber(tolua_S,2,0));
- double a_PosY = ((double) tolua_tonumber(tolua_S,3,0));
- double a_PosZ = ((double) tolua_tonumber(tolua_S,4,0));
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,5,0));
- bool IsPlayerCreated = ((bool) tolua_toboolean(tolua_S,6,0));
- float a_SpeedX = ((float) tolua_tonumber(tolua_S,7,0.f));
- float a_SpeedY = ((float) tolua_tonumber(tolua_S,8,0.f));
- float a_SpeedZ = ((float) tolua_tonumber(tolua_S,9,0.f));
- {
- cPickup* tolua_ret = (cPickup*) Mtolua_new((cPickup)(a_PosX,a_PosY,a_PosZ,*a_Item,IsPlayerCreated,a_SpeedX,a_SpeedY,a_SpeedZ));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cPickup");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetItem of class cPickup */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPickup_GetItem00
-static int tolua_AllToLua_cPickup_GetItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPickup",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPickup* self = (cPickup*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetItem'", NULL);
-#endif
- {
- cItem& tolua_ret = (cItem&) self->GetItem();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CollectedBy of class cPickup */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPickup_CollectedBy00
-static int tolua_AllToLua_cPickup_CollectedBy00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cPickup",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cPickup* self = (cPickup*) tolua_tousertype(tolua_S,1,0);
- cPlayer* a_Dest = ((cPlayer*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CollectedBy'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->CollectedBy(a_Dest);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CollectedBy'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetAge of class cPickup */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPickup_GetAge00
-static int tolua_AllToLua_cPickup_GetAge00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPickup",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPickup* self = (const cPickup*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetAge'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetAge();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetAge'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsCollected of class cPickup */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPickup_IsCollected00
-static int tolua_AllToLua_cPickup_IsCollected00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPickup",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPickup* self = (const cPickup*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsCollected'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsCollected();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsCollected'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsPlayerCreated of class cPickup */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cPickup_IsPlayerCreated00
-static int tolua_AllToLua_cPickup_IsPlayerCreated00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cPickup",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cPickup* self = (const cPickup*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsPlayerCreated'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsPlayerCreated();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsPlayerCreated'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetProjectileKind of class cProjectileEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cProjectileEntity_GetProjectileKind00
-static int tolua_AllToLua_cProjectileEntity_GetProjectileKind00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cProjectileEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cProjectileEntity* self = (const cProjectileEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetProjectileKind'", NULL);
-#endif
- {
- cProjectileEntity::eKind tolua_ret = (cProjectileEntity::eKind) self->GetProjectileKind();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetProjectileKind'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetCreator of class cProjectileEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cProjectileEntity_GetCreator00
-static int tolua_AllToLua_cProjectileEntity_GetCreator00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cProjectileEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cProjectileEntity* self = (cProjectileEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetCreator'", NULL);
-#endif
- {
- cEntity* tolua_ret = (cEntity*) self->GetCreator();
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cEntity");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetCreator'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetMCAClassName of class cProjectileEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cProjectileEntity_GetMCAClassName00
-static int tolua_AllToLua_cProjectileEntity_GetMCAClassName00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cProjectileEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cProjectileEntity* self = (const cProjectileEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetMCAClassName'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetMCAClassName();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetMCAClassName'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsInGround of class cProjectileEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cProjectileEntity_IsInGround00
-static int tolua_AllToLua_cProjectileEntity_IsInGround00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cProjectileEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cProjectileEntity* self = (const cProjectileEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsInGround'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsInGround();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsInGround'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPickupState of class cArrowEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cArrowEntity_GetPickupState00
-static int tolua_AllToLua_cArrowEntity_GetPickupState00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cArrowEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cArrowEntity* self = (const cArrowEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPickupState'", NULL);
-#endif
- {
- cArrowEntity::ePickupState tolua_ret = (cArrowEntity::ePickupState) self->GetPickupState();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPickupState'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetPickupState of class cArrowEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cArrowEntity_SetPickupState00
-static int tolua_AllToLua_cArrowEntity_SetPickupState00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cArrowEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cArrowEntity* self = (cArrowEntity*) tolua_tousertype(tolua_S,1,0);
- cArrowEntity::ePickupState a_PickupState = ((cArrowEntity::ePickupState) (int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetPickupState'", NULL);
-#endif
- {
- self->SetPickupState(a_PickupState);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetPickupState'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetDamageCoeff of class cArrowEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cArrowEntity_GetDamageCoeff00
-static int tolua_AllToLua_cArrowEntity_GetDamageCoeff00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cArrowEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cArrowEntity* self = (const cArrowEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetDamageCoeff'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetDamageCoeff();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetDamageCoeff'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetDamageCoeff of class cArrowEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cArrowEntity_SetDamageCoeff00
-static int tolua_AllToLua_cArrowEntity_SetDamageCoeff00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cArrowEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cArrowEntity* self = (cArrowEntity*) tolua_tousertype(tolua_S,1,0);
- double a_DamageCoeff = ((double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetDamageCoeff'", NULL);
-#endif
- {
- self->SetDamageCoeff(a_DamageCoeff);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetDamageCoeff'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CanPickup of class cArrowEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cArrowEntity_CanPickup00
-static int tolua_AllToLua_cArrowEntity_CanPickup00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cArrowEntity",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cPlayer",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cArrowEntity* self = (const cArrowEntity*) tolua_tousertype(tolua_S,1,0);
- const cPlayer* a_Player = ((const cPlayer*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CanPickup'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->CanPickup(*a_Player);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CanPickup'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsCritical of class cArrowEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cArrowEntity_IsCritical00
-static int tolua_AllToLua_cArrowEntity_IsCritical00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cArrowEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cArrowEntity* self = (const cArrowEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsCritical'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsCritical();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsCritical'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetIsCritical of class cArrowEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cArrowEntity_SetIsCritical00
-static int tolua_AllToLua_cArrowEntity_SetIsCritical00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cArrowEntity",0,&tolua_err) ||
- !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cArrowEntity* self = (cArrowEntity*) tolua_tousertype(tolua_S,1,0);
- bool a_IsCritical = ((bool) tolua_toboolean(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetIsCritical'", NULL);
-#endif
- {
- self->SetIsCritical(a_IsCritical);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetIsCritical'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetCounterTime of class cTNTEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cTNTEntity_GetCounterTime00
-static int tolua_AllToLua_cTNTEntity_GetCounterTime00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cTNTEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cTNTEntity* self = (const cTNTEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetCounterTime'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetCounterTime();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetCounterTime'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetMaxFuseTime of class cTNTEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cTNTEntity_GetMaxFuseTime00
-static int tolua_AllToLua_cTNTEntity_GetMaxFuseTime00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cTNTEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cTNTEntity* self = (const cTNTEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetMaxFuseTime'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetMaxFuseTime();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetMaxFuseTime'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetDescription of class cServer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cServer_GetDescription00
-static int tolua_AllToLua_cServer_GetDescription00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cServer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cServer* self = (const cServer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetDescription'", NULL);
-#endif
- {
- const AString tolua_ret = (const AString) self->GetDescription();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetDescription'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetMaxPlayers of class cServer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cServer_GetMaxPlayers00
-static int tolua_AllToLua_cServer_GetMaxPlayers00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cServer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cServer* self = (const cServer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetMaxPlayers'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetMaxPlayers();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetMaxPlayers'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetNumPlayers of class cServer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cServer_GetNumPlayers00
-static int tolua_AllToLua_cServer_GetNumPlayers00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cServer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cServer* self = (cServer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNumPlayers'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetNumPlayers();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetNumPlayers'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetMaxPlayers of class cServer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cServer_SetMaxPlayers00
-static int tolua_AllToLua_cServer_SetMaxPlayers00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cServer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cServer* self = (cServer*) tolua_tousertype(tolua_S,1,0);
- int a_MaxPlayers = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetMaxPlayers'", NULL);
-#endif
- {
- self->SetMaxPlayers(a_MaxPlayers);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetMaxPlayers'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsHardcore of class cServer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cServer_IsHardcore00
-static int tolua_AllToLua_cServer_IsHardcore00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cServer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cServer* self = (const cServer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsHardcore'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsHardcore();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsHardcore'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetServerID of class cServer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cServer_GetServerID00
-static int tolua_AllToLua_cServer_GetServerID00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cServer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cServer* self = (const cServer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetServerID'", NULL);
-#endif
- {
- const AString tolua_ret = (const AString) self->GetServerID();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetServerID'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetTicksUntilWeatherChange of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetTicksUntilWeatherChange00
-static int tolua_AllToLua_cWorld_GetTicksUntilWeatherChange00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetTicksUntilWeatherChange'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetTicksUntilWeatherChange();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetTicksUntilWeatherChange'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetWorldAge of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetWorldAge00
-static int tolua_AllToLua_cWorld_GetWorldAge00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWorldAge'", NULL);
-#endif
- {
- long long tolua_ret = ( long long) self->GetWorldAge();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetWorldAge'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetTimeOfDay of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetTimeOfDay00
-static int tolua_AllToLua_cWorld_GetTimeOfDay00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetTimeOfDay'", NULL);
-#endif
- {
- long long tolua_ret = ( long long) self->GetTimeOfDay();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetTimeOfDay'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetTicksUntilWeatherChange of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_SetTicksUntilWeatherChange00
-static int tolua_AllToLua_cWorld_SetTicksUntilWeatherChange00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_WeatherInterval = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetTicksUntilWeatherChange'", NULL);
-#endif
- {
- self->SetTicksUntilWeatherChange(a_WeatherInterval);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetTicksUntilWeatherChange'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetTimeOfDay of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_SetTimeOfDay00
-static int tolua_AllToLua_cWorld_SetTimeOfDay00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- long long a_TimeOfDay = (( long long) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetTimeOfDay'", NULL);
-#endif
- {
- self->SetTimeOfDay(a_TimeOfDay);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetTimeOfDay'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetGameMode of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetGameMode00
-static int tolua_AllToLua_cWorld_GetGameMode00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetGameMode'", NULL);
-#endif
- {
- eGameMode tolua_ret = (eGameMode) self->GetGameMode();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetGameMode'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsGameModeCreative of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_IsGameModeCreative00
-static int tolua_AllToLua_cWorld_IsGameModeCreative00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsGameModeCreative'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsGameModeCreative();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsGameModeCreative'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsGameModeSurvival of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_IsGameModeSurvival00
-static int tolua_AllToLua_cWorld_IsGameModeSurvival00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsGameModeSurvival'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsGameModeSurvival();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsGameModeSurvival'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsGameModeAdventure of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_IsGameModeAdventure00
-static int tolua_AllToLua_cWorld_IsGameModeAdventure00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsGameModeAdventure'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsGameModeAdventure();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsGameModeAdventure'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsPVPEnabled of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_IsPVPEnabled00
-static int tolua_AllToLua_cWorld_IsPVPEnabled00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsPVPEnabled'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsPVPEnabled();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsPVPEnabled'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsDeepSnowEnabled of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_IsDeepSnowEnabled00
-static int tolua_AllToLua_cWorld_IsDeepSnowEnabled00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsDeepSnowEnabled'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsDeepSnowEnabled();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsDeepSnowEnabled'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ShouldLavaSpawnFire of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_ShouldLavaSpawnFire00
-static int tolua_AllToLua_cWorld_ShouldLavaSpawnFire00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ShouldLavaSpawnFire'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->ShouldLavaSpawnFire();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ShouldLavaSpawnFire'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetDimension of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetDimension00
-static int tolua_AllToLua_cWorld_GetDimension00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetDimension'", NULL);
-#endif
- {
- eDimension tolua_ret = (eDimension) self->GetDimension();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetDimension'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetHeight of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetHeight00
-static int tolua_AllToLua_cWorld_GetHeight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetHeight'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetHeight(a_BlockX,a_BlockZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetHeight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: BroadcastChat of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_BroadcastChat00
-static int tolua_AllToLua_cWorld_BroadcastChat00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isusertype(tolua_S,3,"const cClientHandle",1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- const AString a_Message = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const cClientHandle* a_Exclude = ((const cClientHandle*) tolua_tousertype(tolua_S,3,NULL));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'BroadcastChat'", NULL);
-#endif
- {
- self->BroadcastChat(a_Message,a_Exclude);
- tolua_pushcppstring(tolua_S,(const char*)a_Message);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'BroadcastChat'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: BroadcastSoundEffect of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_BroadcastSoundEffect00
-static int tolua_AllToLua_cWorld_BroadcastSoundEffect00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isusertype(tolua_S,8,"const cClientHandle",1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,9,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- const AString a_SoundName = ((const AString) tolua_tocppstring(tolua_S,2,0));
- int a_SrcX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_SrcY = ((int) tolua_tonumber(tolua_S,4,0));
- int a_SrcZ = ((int) tolua_tonumber(tolua_S,5,0));
- float a_Volume = ((float) tolua_tonumber(tolua_S,6,0));
- float a_Pitch = ((float) tolua_tonumber(tolua_S,7,0));
- const cClientHandle* a_Exclude = ((const cClientHandle*) tolua_tousertype(tolua_S,8,NULL));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'BroadcastSoundEffect'", NULL);
-#endif
- {
- self->BroadcastSoundEffect(a_SoundName,a_SrcX,a_SrcY,a_SrcZ,a_Volume,a_Pitch,a_Exclude);
- tolua_pushcppstring(tolua_S,(const char*)a_SoundName);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'BroadcastSoundEffect'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: BroadcastSoundParticleEffect of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_BroadcastSoundParticleEffect00
-static int tolua_AllToLua_cWorld_BroadcastSoundParticleEffect00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isusertype(tolua_S,7,"const cClientHandle",1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,8,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_EffectID = ((int) tolua_tonumber(tolua_S,2,0));
- int a_SrcX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_SrcY = ((int) tolua_tonumber(tolua_S,4,0));
- int a_SrcZ = ((int) tolua_tonumber(tolua_S,5,0));
- int a_Data = ((int) tolua_tonumber(tolua_S,6,0));
- const cClientHandle* a_Exclude = ((const cClientHandle*) tolua_tousertype(tolua_S,7,NULL));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'BroadcastSoundParticleEffect'", NULL);
-#endif
- {
- self->BroadcastSoundParticleEffect(a_EffectID,a_SrcX,a_SrcY,a_SrcZ,a_Data,a_Exclude);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'BroadcastSoundParticleEffect'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: UnloadUnusedChunks of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_UnloadUnusedChunks00
-static int tolua_AllToLua_cWorld_UnloadUnusedChunks00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'UnloadUnusedChunks'", NULL);
-#endif
- {
- self->UnloadUnusedChunks();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'UnloadUnusedChunks'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: RegenerateChunk of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_RegenerateChunk00
-static int tolua_AllToLua_cWorld_RegenerateChunk00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_ChunkX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_ChunkZ = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'RegenerateChunk'", NULL);
-#endif
- {
- self->RegenerateChunk(a_ChunkX,a_ChunkZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'RegenerateChunk'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GenerateChunk of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GenerateChunk00
-static int tolua_AllToLua_cWorld_GenerateChunk00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_ChunkX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_ChunkZ = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GenerateChunk'", NULL);
-#endif
- {
- self->GenerateChunk(a_ChunkX,a_ChunkZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GenerateChunk'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetBlock of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_SetBlock00
-static int tolua_AllToLua_cWorld_SetBlock00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetBlock'", NULL);
-#endif
- {
- self->SetBlock(a_BlockX,a_BlockY,a_BlockZ,a_BlockType,a_BlockMeta);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetBlock'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: FastSetBlock of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_FastSetBlock00
-static int tolua_AllToLua_cWorld_FastSetBlock00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'FastSetBlock'", NULL);
-#endif
- {
- self->FastSetBlock(a_BlockX,a_BlockY,a_BlockZ,a_BlockType,a_BlockMeta);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'FastSetBlock'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: QueueSetBlock of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_QueueSetBlock00
-static int tolua_AllToLua_cWorld_QueueSetBlock00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,8,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,9,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BLockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,6,0));
- int a_TickDelay = ((int) tolua_tonumber(tolua_S,7,0));
- unsigned char a_PreviousBlockType = (( unsigned char) tolua_tonumber(tolua_S,8,E_BLOCK_AIR));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'QueueSetBlock'", NULL);
-#endif
- {
- self->QueueSetBlock(a_BlockX,a_BLockY,a_BlockZ,a_BlockType,a_BlockMeta,a_TickDelay,a_PreviousBlockType);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'QueueSetBlock'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlock of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetBlock00
-static int tolua_AllToLua_cWorld_GetBlock00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlock'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetBlock(a_BlockX,a_BlockY,a_BlockZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBlock'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlockMeta of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetBlockMeta00
-static int tolua_AllToLua_cWorld_GetBlockMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlockMeta'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetBlockMeta(a_BlockX,a_BlockY,a_BlockZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBlockMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetBlockMeta of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_SetBlockMeta00
-static int tolua_AllToLua_cWorld_SetBlockMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_MetaData = (( unsigned char) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetBlockMeta'", NULL);
-#endif
- {
- self->SetBlockMeta(a_BlockX,a_BlockY,a_BlockZ,a_MetaData);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetBlockMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlockSkyLight of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetBlockSkyLight00
-static int tolua_AllToLua_cWorld_GetBlockSkyLight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlockSkyLight'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetBlockSkyLight(a_BlockX,a_BlockY,a_BlockZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBlockSkyLight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlockBlockLight of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetBlockBlockLight00
-static int tolua_AllToLua_cWorld_GetBlockBlockLight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlockBlockLight'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetBlockBlockLight(a_BlockX,a_BlockY,a_BlockZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBlockBlockLight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: FastSetBlock of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_FastSetBlock01
-static int tolua_AllToLua_cWorld_FastSetBlock01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3i",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- const Vector3i* a_Pos = ((const Vector3i*) tolua_tousertype(tolua_S,2,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,3,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'FastSetBlock'", NULL);
-#endif
- {
- self->FastSetBlock(*a_Pos,a_BlockType,a_BlockMeta);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cWorld_FastSetBlock00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlock of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetBlock01
-static int tolua_AllToLua_cWorld_GetBlock01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3i",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- const Vector3i* a_Pos = ((const Vector3i*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlock'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetBlock(*a_Pos);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cWorld_GetBlock00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlockMeta of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetBlockMeta01
-static int tolua_AllToLua_cWorld_GetBlockMeta01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3i",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- const Vector3i* a_Pos = ((const Vector3i*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlockMeta'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetBlockMeta(*a_Pos);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cWorld_GetBlockMeta00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetBlockMeta of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_SetBlockMeta01
-static int tolua_AllToLua_cWorld_SetBlockMeta01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3i",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- const Vector3i* a_Pos = ((const Vector3i*) tolua_tousertype(tolua_S,2,0));
- unsigned char a_MetaData = (( unsigned char) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetBlockMeta'", NULL);
-#endif
- {
- self->SetBlockMeta(*a_Pos,a_MetaData);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cWorld_SetBlockMeta00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SpawnItemPickups of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_SpawnItemPickups00
-static int tolua_AllToLua_cWorld_SpawnItemPickups00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItems",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,1,&tolua_err) ||
- !tolua_isboolean(tolua_S,7,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,8,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- const cItems* a_Pickups = ((const cItems*) tolua_tousertype(tolua_S,2,0));
- double a_BlockX = ((double) tolua_tonumber(tolua_S,3,0));
- double a_BlockY = ((double) tolua_tonumber(tolua_S,4,0));
- double a_BlockZ = ((double) tolua_tonumber(tolua_S,5,0));
- double a_FlyAwaySpeed = ((double) tolua_tonumber(tolua_S,6,1.0));
- bool IsPlayerCreated = ((bool) tolua_toboolean(tolua_S,7,false));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SpawnItemPickups'", NULL);
-#endif
- {
- self->SpawnItemPickups(*a_Pickups,a_BlockX,a_BlockY,a_BlockZ,a_FlyAwaySpeed,IsPlayerCreated);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SpawnItemPickups'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SpawnItemPickups of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_SpawnItemPickups01
-static int tolua_AllToLua_cWorld_SpawnItemPickups01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItems",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,8,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,9,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,10,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- const cItems* a_Pickups = ((const cItems*) tolua_tousertype(tolua_S,2,0));
- double a_BlockX = ((double) tolua_tonumber(tolua_S,3,0));
- double a_BlockY = ((double) tolua_tonumber(tolua_S,4,0));
- double a_BlockZ = ((double) tolua_tonumber(tolua_S,5,0));
- double a_SpeedX = ((double) tolua_tonumber(tolua_S,6,0));
- double a_SpeedY = ((double) tolua_tonumber(tolua_S,7,0));
- double a_SpeedZ = ((double) tolua_tonumber(tolua_S,8,0));
- bool IsPlayerCreated = ((bool) tolua_toboolean(tolua_S,9,false));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SpawnItemPickups'", NULL);
-#endif
- {
- self->SpawnItemPickups(*a_Pickups,a_BlockX,a_BlockY,a_BlockZ,a_SpeedX,a_SpeedY,a_SpeedZ,IsPlayerCreated);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cWorld_SpawnItemPickups00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SpawnFallingBlock of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_SpawnFallingBlock00
-static int tolua_AllToLua_cWorld_SpawnFallingBlock00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_X = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y = ((int) tolua_tonumber(tolua_S,3,0));
- int a_Z = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char BlockType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
- unsigned char BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SpawnFallingBlock'", NULL);
-#endif
- {
- int tolua_ret = (int) self->SpawnFallingBlock(a_X,a_Y,a_Z,BlockType,BlockMeta);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SpawnFallingBlock'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SpawnExperienceOrb of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_SpawnExperienceOrb00
-static int tolua_AllToLua_cWorld_SpawnExperienceOrb00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- double a_X = ((double) tolua_tonumber(tolua_S,2,0));
- double a_Y = ((double) tolua_tonumber(tolua_S,3,0));
- double a_Z = ((double) tolua_tonumber(tolua_S,4,0));
- int a_Reward = ((int) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SpawnExperienceOrb'", NULL);
-#endif
- {
- int tolua_ret = (int) self->SpawnExperienceOrb(a_X,a_Y,a_Z,a_Reward);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SpawnExperienceOrb'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SpawnPrimedTNT of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_SpawnPrimedTNT00
-static int tolua_AllToLua_cWorld_SpawnPrimedTNT00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- double a_X = ((double) tolua_tonumber(tolua_S,2,0));
- double a_Y = ((double) tolua_tonumber(tolua_S,3,0));
- double a_Z = ((double) tolua_tonumber(tolua_S,4,0));
- double a_FuseTimeInSec = ((double) tolua_tonumber(tolua_S,5,0));
- double a_InitialVelocityCoeff = ((double) tolua_tonumber(tolua_S,6,1));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SpawnPrimedTNT'", NULL);
-#endif
- {
- self->SpawnPrimedTNT(a_X,a_Y,a_Z,a_FuseTimeInSec,a_InitialVelocityCoeff);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SpawnPrimedTNT'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DigBlock of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_DigBlock00
-static int tolua_AllToLua_cWorld_DigBlock00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_X = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y = ((int) tolua_tonumber(tolua_S,3,0));
- int a_Z = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DigBlock'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DigBlock(a_X,a_Y,a_Z);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DigBlock'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SendBlockTo of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_SendBlockTo00
-static int tolua_AllToLua_cWorld_SendBlockTo00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isusertype(tolua_S,5,"cPlayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_X = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y = ((int) tolua_tonumber(tolua_S,3,0));
- int a_Z = ((int) tolua_tonumber(tolua_S,4,0));
- cPlayer* a_Player = ((cPlayer*) tolua_tousertype(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SendBlockTo'", NULL);
-#endif
- {
- self->SendBlockTo(a_X,a_Y,a_Z,a_Player);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SendBlockTo'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSpawnX of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetSpawnX00
-static int tolua_AllToLua_cWorld_GetSpawnX00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSpawnX'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetSpawnX();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSpawnX'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSpawnY of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetSpawnY00
-static int tolua_AllToLua_cWorld_GetSpawnY00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSpawnY'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetSpawnY();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSpawnY'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSpawnZ of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetSpawnZ00
-static int tolua_AllToLua_cWorld_GetSpawnZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSpawnZ'", NULL);
-#endif
- {
- double tolua_ret = (double) self->GetSpawnZ();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSpawnZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: WakeUpSimulators of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_WakeUpSimulators00
-static int tolua_AllToLua_cWorld_WakeUpSimulators00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'WakeUpSimulators'", NULL);
-#endif
- {
- self->WakeUpSimulators(a_BlockX,a_BlockY,a_BlockZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'WakeUpSimulators'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: WakeUpSimulatorsInArea of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_WakeUpSimulatorsInArea00
-static int tolua_AllToLua_cWorld_WakeUpSimulatorsInArea00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,8,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_MinBlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_MaxBlockX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_MinBlockY = ((int) tolua_tonumber(tolua_S,4,0));
- int a_MaxBlockY = ((int) tolua_tonumber(tolua_S,5,0));
- int a_MinBlockZ = ((int) tolua_tonumber(tolua_S,6,0));
- int a_MaxBlockZ = ((int) tolua_tonumber(tolua_S,7,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'WakeUpSimulatorsInArea'", NULL);
-#endif
- {
- self->WakeUpSimulatorsInArea(a_MinBlockX,a_MaxBlockX,a_MinBlockY,a_MaxBlockY,a_MinBlockZ,a_MaxBlockZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'WakeUpSimulatorsInArea'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DoExplosionAt of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_DoExplosionAt00
-static int tolua_AllToLua_cWorld_DoExplosionAt00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isuserdata(tolua_S,8,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,9,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- double a_ExplosionSize = ((double) tolua_tonumber(tolua_S,2,0));
- double a_BlockX = ((double) tolua_tonumber(tolua_S,3,0));
- double a_BlockY = ((double) tolua_tonumber(tolua_S,4,0));
- double a_BlockZ = ((double) tolua_tonumber(tolua_S,5,0));
- bool a_CanCauseFire = ((bool) tolua_toboolean(tolua_S,6,0));
- eExplosionSource a_Source = ((eExplosionSource) (int) tolua_tonumber(tolua_S,7,0));
- void* a_SourceData = ((void*) tolua_touserdata(tolua_S,8,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DoExplosionAt'", NULL);
-#endif
- {
- self->DoExplosionAt(a_ExplosionSize,a_BlockX,a_BlockY,a_BlockZ,a_CanCauseFire,a_Source,a_SourceData);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DoExplosionAt'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: UseBlockEntity of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_UseBlockEntity00
-static int tolua_AllToLua_cWorld_UseBlockEntity00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"cPlayer",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- cPlayer* a_Player = ((cPlayer*) tolua_tousertype(tolua_S,2,0));
- int a_BlockX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,4,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'UseBlockEntity'", NULL);
-#endif
- {
- self->UseBlockEntity(a_Player,a_BlockX,a_BlockY,a_BlockZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'UseBlockEntity'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GrowTree of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GrowTree00
-static int tolua_AllToLua_cWorld_GrowTree00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GrowTree'", NULL);
-#endif
- {
- self->GrowTree(a_BlockX,a_BlockY,a_BlockZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GrowTree'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GrowTreeFromSapling of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GrowTreeFromSapling00
-static int tolua_AllToLua_cWorld_GrowTreeFromSapling00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_SaplingMeta = (( unsigned char) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GrowTreeFromSapling'", NULL);
-#endif
- {
- self->GrowTreeFromSapling(a_BlockX,a_BlockY,a_BlockZ,a_SaplingMeta);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GrowTreeFromSapling'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GrowTreeByBiome of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GrowTreeByBiome00
-static int tolua_AllToLua_cWorld_GrowTreeByBiome00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GrowTreeByBiome'", NULL);
-#endif
- {
- self->GrowTreeByBiome(a_BlockX,a_BlockY,a_BlockZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GrowTreeByBiome'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GrowRipePlant of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GrowRipePlant00
-static int tolua_AllToLua_cWorld_GrowRipePlant00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,5,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- bool a_IsByBonemeal = ((bool) tolua_toboolean(tolua_S,5,false));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GrowRipePlant'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->GrowRipePlant(a_BlockX,a_BlockY,a_BlockZ,a_IsByBonemeal);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GrowRipePlant'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GrowCactus of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GrowCactus00
-static int tolua_AllToLua_cWorld_GrowCactus00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- int a_NumBlocksToGrow = ((int) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GrowCactus'", NULL);
-#endif
- {
- self->GrowCactus(a_BlockX,a_BlockY,a_BlockZ,a_NumBlocksToGrow);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GrowCactus'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GrowMelonPumpkin of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GrowMelonPumpkin00
-static int tolua_AllToLua_cWorld_GrowMelonPumpkin00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GrowMelonPumpkin'", NULL);
-#endif
- {
- self->GrowMelonPumpkin(a_BlockX,a_BlockY,a_BlockZ,a_BlockType);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GrowMelonPumpkin'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GrowSugarcane of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GrowSugarcane00
-static int tolua_AllToLua_cWorld_GrowSugarcane00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- int a_NumBlocksToGrow = ((int) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GrowSugarcane'", NULL);
-#endif
- {
- self->GrowSugarcane(a_BlockX,a_BlockY,a_BlockZ,a_NumBlocksToGrow);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GrowSugarcane'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBiomeAt of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetBiomeAt00
-static int tolua_AllToLua_cWorld_GetBiomeAt00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBiomeAt'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetBiomeAt(a_BlockX,a_BlockZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBiomeAt'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetName of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetName00
-static int tolua_AllToLua_cWorld_GetName00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetName'", NULL);
-#endif
- {
- const AString tolua_ret = (const AString) self->GetName();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetName'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetIniFileName of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetIniFileName00
-static int tolua_AllToLua_cWorld_GetIniFileName00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetIniFileName'", NULL);
-#endif
- {
- const AString tolua_ret = (const AString) self->GetIniFileName();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetIniFileName'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: QueueSaveAllChunks of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_QueueSaveAllChunks00
-static int tolua_AllToLua_cWorld_QueueSaveAllChunks00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'QueueSaveAllChunks'", NULL);
-#endif
- {
- self->QueueSaveAllChunks();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'QueueSaveAllChunks'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetNumChunks of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetNumChunks00
-static int tolua_AllToLua_cWorld_GetNumChunks00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNumChunks'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetNumChunks();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetNumChunks'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetGeneratorQueueLength of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetGeneratorQueueLength00
-static int tolua_AllToLua_cWorld_GetGeneratorQueueLength00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetGeneratorQueueLength'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetGeneratorQueueLength();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetGeneratorQueueLength'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetLightingQueueLength of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetLightingQueueLength00
-static int tolua_AllToLua_cWorld_GetLightingQueueLength00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetLightingQueueLength'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetLightingQueueLength();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetLightingQueueLength'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetStorageLoadQueueLength of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetStorageLoadQueueLength00
-static int tolua_AllToLua_cWorld_GetStorageLoadQueueLength00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetStorageLoadQueueLength'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetStorageLoadQueueLength();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetStorageLoadQueueLength'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetStorageSaveQueueLength of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetStorageSaveQueueLength00
-static int tolua_AllToLua_cWorld_GetStorageSaveQueueLength00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetStorageSaveQueueLength'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetStorageSaveQueueLength();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetStorageSaveQueueLength'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: QueueBlockForTick of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_QueueBlockForTick00
-static int tolua_AllToLua_cWorld_QueueBlockForTick00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- int a_TicksToWait = ((int) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'QueueBlockForTick'", NULL);
-#endif
- {
- self->QueueBlockForTick(a_BlockX,a_BlockY,a_BlockZ,a_TicksToWait);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'QueueBlockForTick'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CastThunderbolt of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_CastThunderbolt00
-static int tolua_AllToLua_cWorld_CastThunderbolt00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CastThunderbolt'", NULL);
-#endif
- {
- self->CastThunderbolt(a_BlockX,a_BlockY,a_BlockZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CastThunderbolt'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetWeather of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_SetWeather00
-static int tolua_AllToLua_cWorld_SetWeather00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- eWeather a_NewWeather = ((eWeather) (int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetWeather'", NULL);
-#endif
- {
- self->SetWeather(a_NewWeather);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetWeather'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ChangeWeather of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_ChangeWeather00
-static int tolua_AllToLua_cWorld_ChangeWeather00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ChangeWeather'", NULL);
-#endif
- {
- self->ChangeWeather();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ChangeWeather'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetWeather of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetWeather00
-static int tolua_AllToLua_cWorld_GetWeather00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWeather'", NULL);
-#endif
- {
- eWeather tolua_ret = (eWeather) self->GetWeather();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetWeather'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsWeatherSunny of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_IsWeatherSunny00
-static int tolua_AllToLua_cWorld_IsWeatherSunny00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsWeatherSunny'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsWeatherSunny();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsWeatherSunny'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsWeatherRain of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_IsWeatherRain00
-static int tolua_AllToLua_cWorld_IsWeatherRain00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsWeatherRain'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsWeatherRain();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsWeatherRain'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsWeatherStorm of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_IsWeatherStorm00
-static int tolua_AllToLua_cWorld_IsWeatherStorm00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsWeatherStorm'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsWeatherStorm();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsWeatherStorm'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsWeatherWet of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_IsWeatherWet00
-static int tolua_AllToLua_cWorld_IsWeatherWet00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsWeatherWet'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsWeatherWet();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsWeatherWet'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetNextBlockTick of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_SetNextBlockTick00
-static int tolua_AllToLua_cWorld_SetNextBlockTick00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetNextBlockTick'", NULL);
-#endif
- {
- self->SetNextBlockTick(a_BlockX,a_BlockY,a_BlockZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetNextBlockTick'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetMaxSugarcaneHeight of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetMaxSugarcaneHeight00
-static int tolua_AllToLua_cWorld_GetMaxSugarcaneHeight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetMaxSugarcaneHeight'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetMaxSugarcaneHeight();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetMaxSugarcaneHeight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetMaxCactusHeight of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_GetMaxCactusHeight00
-static int tolua_AllToLua_cWorld_GetMaxCactusHeight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWorld* self = (const cWorld*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetMaxCactusHeight'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetMaxCactusHeight();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetMaxCactusHeight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsBlockDirectlyWatered of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_IsBlockDirectlyWatered00
-static int tolua_AllToLua_cWorld_IsBlockDirectlyWatered00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsBlockDirectlyWatered'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsBlockDirectlyWatered(a_BlockX,a_BlockY,a_BlockZ);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsBlockDirectlyWatered'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SpawnMob of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_SpawnMob00
-static int tolua_AllToLua_cWorld_SpawnMob00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- double a_PosX = ((double) tolua_tonumber(tolua_S,2,0));
- double a_PosY = ((double) tolua_tonumber(tolua_S,3,0));
- double a_PosZ = ((double) tolua_tonumber(tolua_S,4,0));
- cMonster::eType a_MonsterType = ((cMonster::eType) (int) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SpawnMob'", NULL);
-#endif
- {
- int tolua_ret = (int) self->SpawnMob(a_PosX,a_PosY,a_PosZ,a_MonsterType);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SpawnMob'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CreateProjectile of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_CreateProjectile00
-static int tolua_AllToLua_cWorld_CreateProjectile00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isusertype(tolua_S,6,"cEntity",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,7,"const Vector3d",1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,8,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- double a_PosX = ((double) tolua_tonumber(tolua_S,2,0));
- double a_PosY = ((double) tolua_tonumber(tolua_S,3,0));
- double a_PosZ = ((double) tolua_tonumber(tolua_S,4,0));
- cProjectileEntity::eKind a_Kind = ((cProjectileEntity::eKind) (int) tolua_tonumber(tolua_S,5,0));
- cEntity* a_Creator = ((cEntity*) tolua_tousertype(tolua_S,6,0));
- const Vector3d* a_Speed = ((const Vector3d*) tolua_tousertype(tolua_S,7,NULL));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CreateProjectile'", NULL);
-#endif
- {
- int tolua_ret = (int) self->CreateProjectile(a_PosX,a_PosY,a_PosZ,a_Kind,a_Creator,a_Speed);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CreateProjectile'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Clear of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_Clear00
-static int tolua_AllToLua_cInventory_Clear00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Clear'", NULL);
-#endif
- {
- self->Clear();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Clear'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HowManyCanFit of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_HowManyCanFit00
-static int tolua_AllToLua_cInventory_HowManyCanFit00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isboolean(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_ItemStack = ((const cItem*) tolua_tousertype(tolua_S,2,0));
- bool a_ConsiderEmptySlots = ((bool) tolua_toboolean(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HowManyCanFit'", NULL);
-#endif
- {
- int tolua_ret = (int) self->HowManyCanFit(*a_ItemStack,a_ConsiderEmptySlots);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'HowManyCanFit'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HowManyCanFit of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_HowManyCanFit01
-static int tolua_AllToLua_cInventory_HowManyCanFit01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_ItemStack = ((const cItem*) tolua_tousertype(tolua_S,2,0));
- int a_BeginSlotNum = ((int) tolua_tonumber(tolua_S,3,0));
- int a_EndSlotNum = ((int) tolua_tonumber(tolua_S,4,0));
- bool a_ConsiderEmptySlots = ((bool) tolua_toboolean(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HowManyCanFit'", NULL);
-#endif
- {
- int tolua_ret = (int) self->HowManyCanFit(*a_ItemStack,a_BeginSlotNum,a_EndSlotNum,a_ConsiderEmptySlots);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cInventory_HowManyCanFit00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddItem of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_AddItem00
-static int tolua_AllToLua_cInventory_AddItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isboolean(tolua_S,3,1,&tolua_err) ||
- !tolua_isboolean(tolua_S,4,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_ItemStack = ((const cItem*) tolua_tousertype(tolua_S,2,0));
- bool a_AllowNewStacks = ((bool) tolua_toboolean(tolua_S,3,true));
- bool a_tryToFillEquippedFirst = ((bool) tolua_toboolean(tolua_S,4,false));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddItem'", NULL);
-#endif
- {
- int tolua_ret = (int) self->AddItem(*a_ItemStack,a_AllowNewStacks,a_tryToFillEquippedFirst);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddItems of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_AddItems00
-static int tolua_AllToLua_cInventory_AddItems00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"cItems",0,&tolua_err)) ||
- !tolua_isboolean(tolua_S,3,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
- cItems* a_ItemStackList = ((cItems*) tolua_tousertype(tolua_S,2,0));
- bool a_AllowNewStacks = ((bool) tolua_toboolean(tolua_S,3,0));
- bool a_tryToFillEquippedFirst = ((bool) tolua_toboolean(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddItems'", NULL);
-#endif
- {
- int tolua_ret = (int) self->AddItems(*a_ItemStackList,a_AllowNewStacks,a_tryToFillEquippedFirst);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddItems'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: RemoveOneEquippedItem of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_RemoveOneEquippedItem00
-static int tolua_AllToLua_cInventory_RemoveOneEquippedItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'RemoveOneEquippedItem'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->RemoveOneEquippedItem();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'RemoveOneEquippedItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HowManyItems of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_HowManyItems00
-static int tolua_AllToLua_cInventory_HowManyItems00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HowManyItems'", NULL);
-#endif
- {
- int tolua_ret = (int) self->HowManyItems(*a_Item);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'HowManyItems'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HasItems of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_HasItems00
-static int tolua_AllToLua_cInventory_HasItems00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_ItemStack = ((const cItem*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HasItems'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->HasItems(*a_ItemStack);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'HasItems'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetArmorGrid of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_GetArmorGrid00
-static int tolua_AllToLua_cInventory_GetArmorGrid00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetArmorGrid'", NULL);
-#endif
- {
- cItemGrid& tolua_ret = (cItemGrid&) self->GetArmorGrid();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"cItemGrid");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetArmorGrid'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetInventoryGrid of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_GetInventoryGrid00
-static int tolua_AllToLua_cInventory_GetInventoryGrid00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetInventoryGrid'", NULL);
-#endif
- {
- cItemGrid& tolua_ret = (cItemGrid&) self->GetInventoryGrid();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"cItemGrid");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetInventoryGrid'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetHotbarGrid of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_GetHotbarGrid00
-static int tolua_AllToLua_cInventory_GetHotbarGrid00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetHotbarGrid'", NULL);
-#endif
- {
- cItemGrid& tolua_ret = (cItemGrid&) self->GetHotbarGrid();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"cItemGrid");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetHotbarGrid'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetOwner of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_GetOwner00
-static int tolua_AllToLua_cInventory_GetOwner00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetOwner'", NULL);
-#endif
- {
- cPlayer& tolua_ret = (cPlayer&) self->GetOwner();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"cPlayer");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetOwner'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CopyToItems of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_CopyToItems00
-static int tolua_AllToLua_cInventory_CopyToItems00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"cItems",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
- cItems* a_Items = ((cItems*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CopyToItems'", NULL);
-#endif
- {
- self->CopyToItems(*a_Items);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CopyToItems'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSlot of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_GetSlot00
-static int tolua_AllToLua_cInventory_GetSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cInventory",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cInventory* self = (const cInventory*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSlot'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetSlot(a_SlotNum);
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetArmorSlot of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_GetArmorSlot00
-static int tolua_AllToLua_cInventory_GetArmorSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cInventory",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cInventory* self = (const cInventory*) tolua_tousertype(tolua_S,1,0);
- int a_ArmorSlotNum = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetArmorSlot'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetArmorSlot(a_ArmorSlotNum);
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetArmorSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetInventorySlot of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_GetInventorySlot00
-static int tolua_AllToLua_cInventory_GetInventorySlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cInventory",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cInventory* self = (const cInventory*) tolua_tousertype(tolua_S,1,0);
- int a_InventorySlotNum = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetInventorySlot'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetInventorySlot(a_InventorySlotNum);
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetInventorySlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetHotbarSlot of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_GetHotbarSlot00
-static int tolua_AllToLua_cInventory_GetHotbarSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cInventory",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cInventory* self = (const cInventory*) tolua_tousertype(tolua_S,1,0);
- int a_HotBarSlotNum = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetHotbarSlot'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetHotbarSlot(a_HotBarSlotNum);
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetHotbarSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEquippedItem of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_GetEquippedItem00
-static int tolua_AllToLua_cInventory_GetEquippedItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cInventory",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cInventory* self = (const cInventory*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEquippedItem'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetEquippedItem();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEquippedItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetSlot of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_SetSlot00
-static int tolua_AllToLua_cInventory_SetSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetSlot'", NULL);
-#endif
- {
- self->SetSlot(a_SlotNum,*a_Item);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetArmorSlot of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_SetArmorSlot00
-static int tolua_AllToLua_cInventory_SetArmorSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
- int a_ArmorSlotNum = ((int) tolua_tonumber(tolua_S,2,0));
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetArmorSlot'", NULL);
-#endif
- {
- self->SetArmorSlot(a_ArmorSlotNum,*a_Item);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetArmorSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetInventorySlot of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_SetInventorySlot00
-static int tolua_AllToLua_cInventory_SetInventorySlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
- int a_InventorySlotNum = ((int) tolua_tonumber(tolua_S,2,0));
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetInventorySlot'", NULL);
-#endif
- {
- self->SetInventorySlot(a_InventorySlotNum,*a_Item);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetInventorySlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetHotbarSlot of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_SetHotbarSlot00
-static int tolua_AllToLua_cInventory_SetHotbarSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
- int a_HotBarSlotNum = ((int) tolua_tonumber(tolua_S,2,0));
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetHotbarSlot'", NULL);
-#endif
- {
- self->SetHotbarSlot(a_HotBarSlotNum,*a_Item);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetHotbarSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetEquippedSlotNum of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_SetEquippedSlotNum00
-static int tolua_AllToLua_cInventory_SetEquippedSlotNum00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetEquippedSlotNum'", NULL);
-#endif
- {
- self->SetEquippedSlotNum(a_SlotNum);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetEquippedSlotNum'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEquippedSlotNum of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_GetEquippedSlotNum00
-static int tolua_AllToLua_cInventory_GetEquippedSlotNum00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEquippedSlotNum'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetEquippedSlotNum();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEquippedSlotNum'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ChangeSlotCount of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_ChangeSlotCount00
-static int tolua_AllToLua_cInventory_ChangeSlotCount00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
- int a_AddToCount = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ChangeSlotCount'", NULL);
-#endif
- {
- int tolua_ret = (int) self->ChangeSlotCount(a_SlotNum,a_AddToCount);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ChangeSlotCount'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DamageItem of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_DamageItem00
-static int tolua_AllToLua_cInventory_DamageItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
- short a_Amount = ((short) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DamageItem'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DamageItem(a_SlotNum,a_Amount);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DamageItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DamageEquippedItem of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_DamageEquippedItem00
-static int tolua_AllToLua_cInventory_DamageEquippedItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cInventory",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cInventory* self = (cInventory*) tolua_tousertype(tolua_S,1,0);
- short a_Amount = ((short) tolua_tonumber(tolua_S,2,1));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DamageEquippedItem'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DamageEquippedItem(a_Amount);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DamageEquippedItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEquippedHelmet of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_GetEquippedHelmet00
-static int tolua_AllToLua_cInventory_GetEquippedHelmet00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cInventory",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cInventory* self = (const cInventory*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEquippedHelmet'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetEquippedHelmet();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEquippedHelmet'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEquippedChestplate of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_GetEquippedChestplate00
-static int tolua_AllToLua_cInventory_GetEquippedChestplate00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cInventory",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cInventory* self = (const cInventory*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEquippedChestplate'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetEquippedChestplate();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEquippedChestplate'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEquippedLeggings of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_GetEquippedLeggings00
-static int tolua_AllToLua_cInventory_GetEquippedLeggings00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cInventory",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cInventory* self = (const cInventory*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEquippedLeggings'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetEquippedLeggings();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEquippedLeggings'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetEquippedBoots of class cInventory */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cInventory_GetEquippedBoots00
-static int tolua_AllToLua_cInventory_GetEquippedBoots00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cInventory",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cInventory* self = (const cInventory*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetEquippedBoots'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetEquippedBoots();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetEquippedBoots'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cEnchantments */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEnchantments_new00
-static int tolua_AllToLua_cEnchantments_new00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cEnchantments",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- cEnchantments* tolua_ret = (cEnchantments*) Mtolua_new((cEnchantments)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cEnchantments");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cEnchantments */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEnchantments_new00_local
-static int tolua_AllToLua_cEnchantments_new00_local(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cEnchantments",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- cEnchantments* tolua_ret = (cEnchantments*) Mtolua_new((cEnchantments)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cEnchantments");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cEnchantments */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEnchantments_new01
-static int tolua_AllToLua_cEnchantments_new01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cEnchantments",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const AString a_StringSpec = ((const AString) tolua_tocppstring(tolua_S,2,0));
- {
- cEnchantments* tolua_ret = (cEnchantments*) Mtolua_new((cEnchantments)(a_StringSpec));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cEnchantments");
- tolua_pushcppstring(tolua_S,(const char*)a_StringSpec);
- }
- }
- return 2;
-tolua_lerror:
- return tolua_AllToLua_cEnchantments_new00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cEnchantments */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEnchantments_new01_local
-static int tolua_AllToLua_cEnchantments_new01_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cEnchantments",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const AString a_StringSpec = ((const AString) tolua_tocppstring(tolua_S,2,0));
- {
- cEnchantments* tolua_ret = (cEnchantments*) Mtolua_new((cEnchantments)(a_StringSpec));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cEnchantments");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- tolua_pushcppstring(tolua_S,(const char*)a_StringSpec);
- }
- }
- return 2;
-tolua_lerror:
- return tolua_AllToLua_cEnchantments_new00_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddFromString of class cEnchantments */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEnchantments_AddFromString00
-static int tolua_AllToLua_cEnchantments_AddFromString00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEnchantments",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEnchantments* self = (cEnchantments*) tolua_tousertype(tolua_S,1,0);
- const AString a_StringSpec = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddFromString'", NULL);
-#endif
- {
- self->AddFromString(a_StringSpec);
- tolua_pushcppstring(tolua_S,(const char*)a_StringSpec);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddFromString'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ToString of class cEnchantments */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEnchantments_ToString00
-static int tolua_AllToLua_cEnchantments_ToString00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEnchantments",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEnchantments* self = (const cEnchantments*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ToString'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->ToString();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ToString'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetLevel of class cEnchantments */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEnchantments_GetLevel00
-static int tolua_AllToLua_cEnchantments_GetLevel00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEnchantments",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEnchantments* self = (const cEnchantments*) tolua_tousertype(tolua_S,1,0);
- int a_EnchantmentID = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetLevel'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetLevel(a_EnchantmentID);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetLevel'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetLevel of class cEnchantments */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEnchantments_SetLevel00
-static int tolua_AllToLua_cEnchantments_SetLevel00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEnchantments",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEnchantments* self = (cEnchantments*) tolua_tousertype(tolua_S,1,0);
- int a_EnchantmentID = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Level = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetLevel'", NULL);
-#endif
- {
- self->SetLevel(a_EnchantmentID,a_Level);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetLevel'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Clear of class cEnchantments */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEnchantments_Clear00
-static int tolua_AllToLua_cEnchantments_Clear00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cEnchantments",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cEnchantments* self = (cEnchantments*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Clear'", NULL);
-#endif
- {
- self->Clear();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Clear'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsEmpty of class cEnchantments */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEnchantments_IsEmpty00
-static int tolua_AllToLua_cEnchantments_IsEmpty00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEnchantments",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEnchantments* self = (const cEnchantments*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsEmpty'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsEmpty();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsEmpty'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: StringToEnchantmentID of class cEnchantments */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEnchantments_StringToEnchantmentID00
-static int tolua_AllToLua_cEnchantments_StringToEnchantmentID00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cEnchantments",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_EnchantmentName = ((const AString) tolua_tocppstring(tolua_S,2,0));
- {
- int tolua_ret = (int) cEnchantments::StringToEnchantmentID(a_EnchantmentName);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_EnchantmentName);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'StringToEnchantmentID'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: operator== of class cEnchantments */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cEnchantments__eq00
-static int tolua_AllToLua_cEnchantments__eq00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cEnchantments",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cEnchantments",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cEnchantments* self = (const cEnchantments*) tolua_tousertype(tolua_S,1,0);
- const cEnchantments* a_Other = ((const cEnchantments*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->operator==(*a_Other);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function '.eq'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_new00
-static int tolua_AllToLua_cItem_new00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cItem",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- cItem* tolua_ret = (cItem*) Mtolua_new((cItem)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_new00_local
-static int tolua_AllToLua_cItem_new00_local(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cItem",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- cItem* tolua_ret = (cItem*) Mtolua_new((cItem)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_new01
-static int tolua_AllToLua_cItem_new01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cItem",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- short a_ItemType = ((short) tolua_tonumber(tolua_S,2,0));
- char a_ItemCount = ((char) tolua_tonumber(tolua_S,3,1));
- short a_ItemDamage = ((short) tolua_tonumber(tolua_S,4,0));
- {
- cItem* tolua_ret = (cItem*) Mtolua_new((cItem)(a_ItemType,a_ItemCount,a_ItemDamage));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cItem");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cItem_new00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_new01_local
-static int tolua_AllToLua_cItem_new01_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cItem",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- short a_ItemType = ((short) tolua_tonumber(tolua_S,2,0));
- char a_ItemCount = ((char) tolua_tonumber(tolua_S,3,1));
- short a_ItemDamage = ((short) tolua_tonumber(tolua_S,4,0));
- {
- cItem* tolua_ret = (cItem*) Mtolua_new((cItem)(a_ItemType,a_ItemCount,a_ItemDamage));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cItem_new00_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_new02
-static int tolua_AllToLua_cItem_new02(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cItem",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- short a_ItemType = ((short) tolua_tonumber(tolua_S,2,0));
- char a_ItemCount = ((char) tolua_tonumber(tolua_S,3,0));
- short a_ItemDamage = ((short) tolua_tonumber(tolua_S,4,0));
- const AString a_Enchantments = ((const AString) tolua_tocppstring(tolua_S,5,0));
- {
- cItem* tolua_ret = (cItem*) Mtolua_new((cItem)(a_ItemType,a_ItemCount,a_ItemDamage,a_Enchantments));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cItem");
- tolua_pushcppstring(tolua_S,(const char*)a_Enchantments);
- }
- }
- return 2;
-tolua_lerror:
- return tolua_AllToLua_cItem_new01(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_new02_local
-static int tolua_AllToLua_cItem_new02_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cItem",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- short a_ItemType = ((short) tolua_tonumber(tolua_S,2,0));
- char a_ItemCount = ((char) tolua_tonumber(tolua_S,3,0));
- short a_ItemDamage = ((short) tolua_tonumber(tolua_S,4,0));
- const AString a_Enchantments = ((const AString) tolua_tocppstring(tolua_S,5,0));
- {
- cItem* tolua_ret = (cItem*) Mtolua_new((cItem)(a_ItemType,a_ItemCount,a_ItemDamage,a_Enchantments));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- tolua_pushcppstring(tolua_S,(const char*)a_Enchantments);
- }
- }
- return 2;
-tolua_lerror:
- return tolua_AllToLua_cItem_new01_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_new03
-static int tolua_AllToLua_cItem_new03(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cItem",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cItem* a_CopyFrom = ((const cItem*) tolua_tousertype(tolua_S,2,0));
- {
- cItem* tolua_ret = (cItem*) Mtolua_new((cItem)(*a_CopyFrom));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cItem");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cItem_new02(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_new03_local
-static int tolua_AllToLua_cItem_new03_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cItem",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cItem* a_CopyFrom = ((const cItem*) tolua_tousertype(tolua_S,2,0));
- {
- cItem* tolua_ret = (cItem*) Mtolua_new((cItem)(*a_CopyFrom));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cItem_new02_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Empty of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_Empty00
-static int tolua_AllToLua_cItem_Empty00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItem",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItem* self = (cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Empty'", NULL);
-#endif
- {
- self->Empty();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Empty'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Clear of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_Clear00
-static int tolua_AllToLua_cItem_Clear00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItem",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItem* self = (cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Clear'", NULL);
-#endif
- {
- self->Clear();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Clear'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsEmpty of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_IsEmpty00
-static int tolua_AllToLua_cItem_IsEmpty00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItem",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItem* self = (const cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsEmpty'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsEmpty();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsEmpty'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsEqual of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_IsEqual00
-static int tolua_AllToLua_cItem_IsEqual00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItem",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItem* self = (const cItem*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsEqual'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsEqual(*a_Item);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsEqual'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsSameType of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_IsSameType00
-static int tolua_AllToLua_cItem_IsSameType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItem",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItem* self = (const cItem*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsSameType'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsSameType(*a_Item);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsSameType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CopyOne of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_CopyOne00
-static int tolua_AllToLua_cItem_CopyOne00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItem",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItem* self = (const cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CopyOne'", NULL);
-#endif
- {
- cItem tolua_ret = (cItem) self->CopyOne();
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((cItem)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(cItem));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CopyOne'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddCount of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_AddCount00
-static int tolua_AllToLua_cItem_AddCount00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItem",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItem* self = (cItem*) tolua_tousertype(tolua_S,1,0);
- char a_AmountToAdd = ((char) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddCount'", NULL);
-#endif
- {
- cItem& tolua_ret = (cItem&) self->AddCount(a_AmountToAdd);
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddCount'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetMaxDamage of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_GetMaxDamage00
-static int tolua_AllToLua_cItem_GetMaxDamage00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItem",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItem* self = (const cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetMaxDamage'", NULL);
-#endif
- {
- short tolua_ret = (short) self->GetMaxDamage();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetMaxDamage'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DamageItem of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_DamageItem00
-static int tolua_AllToLua_cItem_DamageItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItem",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItem* self = (cItem*) tolua_tousertype(tolua_S,1,0);
- short a_Amount = ((short) tolua_tonumber(tolua_S,2,1));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DamageItem'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DamageItem(a_Amount);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DamageItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsDamageable of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_IsDamageable00
-static int tolua_AllToLua_cItem_IsDamageable00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItem",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItem* self = (const cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsDamageable'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsDamageable();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsDamageable'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsStackableWith of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_IsStackableWith00
-static int tolua_AllToLua_cItem_IsStackableWith00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItem",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItem* self = (const cItem*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_OtherStack = ((const cItem*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsStackableWith'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsStackableWith(*a_OtherStack);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsStackableWith'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsFullStack of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_IsFullStack00
-static int tolua_AllToLua_cItem_IsFullStack00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItem",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItem* self = (const cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsFullStack'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsFullStack();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsFullStack'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetMaxStackSize of class cItem */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItem_GetMaxStackSize00
-static int tolua_AllToLua_cItem_GetMaxStackSize00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItem",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItem* self = (const cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetMaxStackSize'", NULL);
-#endif
- {
- char tolua_ret = (char) self->GetMaxStackSize();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetMaxStackSize'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: m_ItemType of class cItem */
-#ifndef TOLUA_DISABLE_tolua_get_cItem_m_ItemType
-static int tolua_get_cItem_m_ItemType(lua_State* tolua_S)
-{
- cItem* self = (cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'm_ItemType'",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)self->m_ItemType);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: m_ItemType of class cItem */
-#ifndef TOLUA_DISABLE_tolua_set_cItem_m_ItemType
-static int tolua_set_cItem_m_ItemType(lua_State* tolua_S)
-{
- cItem* self = (cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'm_ItemType'",NULL);
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->m_ItemType = ((short) tolua_tonumber(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: m_ItemCount of class cItem */
-#ifndef TOLUA_DISABLE_tolua_get_cItem_m_ItemCount
-static int tolua_get_cItem_m_ItemCount(lua_State* tolua_S)
-{
- cItem* self = (cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'm_ItemCount'",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)self->m_ItemCount);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: m_ItemCount of class cItem */
-#ifndef TOLUA_DISABLE_tolua_set_cItem_m_ItemCount
-static int tolua_set_cItem_m_ItemCount(lua_State* tolua_S)
-{
- cItem* self = (cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'm_ItemCount'",NULL);
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->m_ItemCount = ((char) tolua_tonumber(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: m_ItemDamage of class cItem */
-#ifndef TOLUA_DISABLE_tolua_get_cItem_m_ItemDamage
-static int tolua_get_cItem_m_ItemDamage(lua_State* tolua_S)
-{
- cItem* self = (cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'm_ItemDamage'",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)self->m_ItemDamage);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: m_ItemDamage of class cItem */
-#ifndef TOLUA_DISABLE_tolua_set_cItem_m_ItemDamage
-static int tolua_set_cItem_m_ItemDamage(lua_State* tolua_S)
-{
- cItem* self = (cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'm_ItemDamage'",NULL);
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->m_ItemDamage = ((short) tolua_tonumber(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: m_Enchantments of class cItem */
-#ifndef TOLUA_DISABLE_tolua_get_cItem_m_Enchantments
-static int tolua_get_cItem_m_Enchantments(lua_State* tolua_S)
-{
- cItem* self = (cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'm_Enchantments'",NULL);
-#endif
- tolua_pushusertype(tolua_S,(void*)&self->m_Enchantments,"cEnchantments");
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: m_Enchantments of class cItem */
-#ifndef TOLUA_DISABLE_tolua_set_cItem_m_Enchantments
-static int tolua_set_cItem_m_Enchantments(lua_State* tolua_S)
-{
- cItem* self = (cItem*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'm_Enchantments'",NULL);
- if ((tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"cEnchantments",0,&tolua_err)))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->m_Enchantments = *((cEnchantments*) tolua_tousertype(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cItems */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItems_new00
-static int tolua_AllToLua_cItems_new00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cItems",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- cItems* tolua_ret = (cItems*) Mtolua_new((cItems)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cItems");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cItems */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItems_new00_local
-static int tolua_AllToLua_cItems_new00_local(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cItems",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- cItems* tolua_ret = (cItems*) Mtolua_new((cItems)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cItems");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Get of class cItems */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItems_Get00
-static int tolua_AllToLua_cItems_Get00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItems",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItems* self = (cItems*) tolua_tousertype(tolua_S,1,0);
- int a_Idx = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Get'", NULL);
-#endif
- {
- cItem* tolua_ret = (cItem*) self->Get(a_Idx);
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Get'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Set of class cItems */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItems_Set00
-static int tolua_AllToLua_cItems_Set00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItems",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItems* self = (cItems*) tolua_tousertype(tolua_S,1,0);
- int a_Idx = ((int) tolua_tonumber(tolua_S,2,0));
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Set'", NULL);
-#endif
- {
- self->Set(a_Idx,*a_Item);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Set'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Add of class cItems */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItems_Add00
-static int tolua_AllToLua_cItems_Add00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItems",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItems* self = (cItems*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Add'", NULL);
-#endif
- {
- self->Add(*a_Item);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Add'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Delete of class cItems */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItems_Delete00
-static int tolua_AllToLua_cItems_Delete00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItems",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItems* self = (cItems*) tolua_tousertype(tolua_S,1,0);
- int a_Idx = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Delete'", NULL);
-#endif
- {
- self->Delete(a_Idx);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Delete'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Clear of class cItems */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItems_Clear00
-static int tolua_AllToLua_cItems_Clear00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItems",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItems* self = (cItems*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Clear'", NULL);
-#endif
- {
- self->Clear();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Clear'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Size of class cItems */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItems_Size00
-static int tolua_AllToLua_cItems_Size00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItems",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItems* self = (cItems*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Size'", NULL);
-#endif
- {
- int tolua_ret = (int) self->Size();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Size'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Set of class cItems */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItems_Set01
-static int tolua_AllToLua_cItems_Set01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItems",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cItems* self = (cItems*) tolua_tousertype(tolua_S,1,0);
- int a_Idx = ((int) tolua_tonumber(tolua_S,2,0));
- ENUM_ITEM_ID a_ItemType = ((ENUM_ITEM_ID) (int) tolua_tonumber(tolua_S,3,0));
- char a_ItemCount = ((char) tolua_tonumber(tolua_S,4,0));
- short a_ItemDamage = ((short) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Set'", NULL);
-#endif
- {
- self->Set(a_Idx,a_ItemType,a_ItemCount,a_ItemDamage);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cItems_Set00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Add of class cItems */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItems_Add01
-static int tolua_AllToLua_cItems_Add01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItems",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cItems* self = (cItems*) tolua_tousertype(tolua_S,1,0);
- ENUM_ITEM_ID a_ItemType = ((ENUM_ITEM_ID) (int) tolua_tonumber(tolua_S,2,0));
- char a_ItemCount = ((char) tolua_tonumber(tolua_S,3,0));
- short a_ItemDamage = ((short) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Add'", NULL);
-#endif
- {
- self->Add(a_ItemType,a_ItemCount,a_ItemDamage);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cItems_Add00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetWidth of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_GetWidth00
-static int tolua_AllToLua_cItemGrid_GetWidth00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItemGrid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItemGrid* self = (const cItemGrid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWidth'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetWidth();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetWidth'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetHeight of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_GetHeight00
-static int tolua_AllToLua_cItemGrid_GetHeight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItemGrid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItemGrid* self = (const cItemGrid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetHeight'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetHeight();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetHeight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetNumSlots of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_GetNumSlots00
-static int tolua_AllToLua_cItemGrid_GetNumSlots00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItemGrid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItemGrid* self = (const cItemGrid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNumSlots'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetNumSlots();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetNumSlots'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSlotNum of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_GetSlotNum00
-static int tolua_AllToLua_cItemGrid_GetSlotNum00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItemGrid* self = (const cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_X = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSlotNum'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetSlotNum(a_X,a_Y);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSlotNum'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSlot of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_GetSlot00
-static int tolua_AllToLua_cItemGrid_GetSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItemGrid* self = (const cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_X = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSlot'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetSlot(a_X,a_Y);
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSlot of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_GetSlot01
-static int tolua_AllToLua_cItemGrid_GetSlot01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cItemGrid* self = (const cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSlot'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetSlot(a_SlotNum);
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cItemGrid_GetSlot00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetSlot of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_SetSlot00
-static int tolua_AllToLua_cItemGrid_SetSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,4,&tolua_err) || !tolua_isusertype(tolua_S,4,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_X = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y = ((int) tolua_tonumber(tolua_S,3,0));
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetSlot'", NULL);
-#endif
- {
- self->SetSlot(a_X,a_Y,*a_Item);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetSlot of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_SetSlot01
-static int tolua_AllToLua_cItemGrid_SetSlot01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_X = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y = ((int) tolua_tonumber(tolua_S,3,0));
- short a_ItemType = ((short) tolua_tonumber(tolua_S,4,0));
- char a_ItemCount = ((char) tolua_tonumber(tolua_S,5,0));
- short a_ItemDamage = ((short) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetSlot'", NULL);
-#endif
- {
- self->SetSlot(a_X,a_Y,a_ItemType,a_ItemCount,a_ItemDamage);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cItemGrid_SetSlot00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetSlot of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_SetSlot02
-static int tolua_AllToLua_cItemGrid_SetSlot02(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetSlot'", NULL);
-#endif
- {
- self->SetSlot(a_SlotNum,*a_Item);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cItemGrid_SetSlot01(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetSlot of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_SetSlot03
-static int tolua_AllToLua_cItemGrid_SetSlot03(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
- short a_ItemType = ((short) tolua_tonumber(tolua_S,3,0));
- char a_ItemCount = ((char) tolua_tonumber(tolua_S,4,0));
- short a_ItemDamage = ((short) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetSlot'", NULL);
-#endif
- {
- self->SetSlot(a_SlotNum,a_ItemType,a_ItemCount,a_ItemDamage);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cItemGrid_SetSlot02(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: EmptySlot of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_EmptySlot00
-static int tolua_AllToLua_cItemGrid_EmptySlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_X = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'EmptySlot'", NULL);
-#endif
- {
- self->EmptySlot(a_X,a_Y);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'EmptySlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: EmptySlot of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_EmptySlot01
-static int tolua_AllToLua_cItemGrid_EmptySlot01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'EmptySlot'", NULL);
-#endif
- {
- self->EmptySlot(a_SlotNum);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cItemGrid_EmptySlot00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsSlotEmpty of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_IsSlotEmpty00
-static int tolua_AllToLua_cItemGrid_IsSlotEmpty00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItemGrid* self = (const cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsSlotEmpty'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsSlotEmpty(a_SlotNum);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsSlotEmpty'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsSlotEmpty of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_IsSlotEmpty01
-static int tolua_AllToLua_cItemGrid_IsSlotEmpty01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cItemGrid* self = (const cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_X = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsSlotEmpty'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsSlotEmpty(a_X,a_Y);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cItemGrid_IsSlotEmpty00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Clear of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_Clear00
-static int tolua_AllToLua_cItemGrid_Clear00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Clear'", NULL);
-#endif
- {
- self->Clear();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Clear'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HowManyCanFit of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_HowManyCanFit00
-static int tolua_AllToLua_cItemGrid_HowManyCanFit00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isboolean(tolua_S,3,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_ItemStack = ((const cItem*) tolua_tousertype(tolua_S,2,0));
- bool a_AllowNewStacks = ((bool) tolua_toboolean(tolua_S,3,true));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HowManyCanFit'", NULL);
-#endif
- {
- int tolua_ret = (int) self->HowManyCanFit(*a_ItemStack,a_AllowNewStacks);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'HowManyCanFit'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddItem of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_AddItem00
-static int tolua_AllToLua_cItemGrid_AddItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"cItem",0,&tolua_err)) ||
- !tolua_isboolean(tolua_S,3,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- cItem* a_ItemStack = ((cItem*) tolua_tousertype(tolua_S,2,0));
- bool a_AllowNewStacks = ((bool) tolua_toboolean(tolua_S,3,true));
- int a_PrioritarySlot = ((int) tolua_tonumber(tolua_S,4,-1));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddItem'", NULL);
-#endif
- {
- int tolua_ret = (int) self->AddItem(*a_ItemStack,a_AllowNewStacks,a_PrioritarySlot);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddItems of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_AddItems00
-static int tolua_AllToLua_cItemGrid_AddItems00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"cItems",0,&tolua_err)) ||
- !tolua_isboolean(tolua_S,3,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- cItems* a_ItemStackList = ((cItems*) tolua_tousertype(tolua_S,2,0));
- bool a_AllowNewStacks = ((bool) tolua_toboolean(tolua_S,3,true));
- int a_PrioritarySlot = ((int) tolua_tonumber(tolua_S,4,-1));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddItems'", NULL);
-#endif
- {
- int tolua_ret = (int) self->AddItems(*a_ItemStackList,a_AllowNewStacks,a_PrioritarySlot);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddItems'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ChangeSlotCount of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_ChangeSlotCount00
-static int tolua_AllToLua_cItemGrid_ChangeSlotCount00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
- int a_AddToCount = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ChangeSlotCount'", NULL);
-#endif
- {
- int tolua_ret = (int) self->ChangeSlotCount(a_SlotNum,a_AddToCount);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ChangeSlotCount'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ChangeSlotCount of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_ChangeSlotCount01
-static int tolua_AllToLua_cItemGrid_ChangeSlotCount01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_X = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y = ((int) tolua_tonumber(tolua_S,3,0));
- int a_AddToCount = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ChangeSlotCount'", NULL);
-#endif
- {
- int tolua_ret = (int) self->ChangeSlotCount(a_X,a_Y,a_AddToCount);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cItemGrid_ChangeSlotCount00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: RemoveOneItem of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_RemoveOneItem00
-static int tolua_AllToLua_cItemGrid_RemoveOneItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'RemoveOneItem'", NULL);
-#endif
- {
- cItem tolua_ret = (cItem) self->RemoveOneItem(a_SlotNum);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((cItem)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(cItem));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'RemoveOneItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: RemoveOneItem of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_RemoveOneItem01
-static int tolua_AllToLua_cItemGrid_RemoveOneItem01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_X = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'RemoveOneItem'", NULL);
-#endif
- {
- cItem tolua_ret = (cItem) self->RemoveOneItem(a_X,a_Y);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((cItem)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(cItem));
- tolua_pushusertype(tolua_S,tolua_obj,"cItem");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cItemGrid_RemoveOneItem00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HowManyItems of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_HowManyItems00
-static int tolua_AllToLua_cItemGrid_HowManyItems00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HowManyItems'", NULL);
-#endif
- {
- int tolua_ret = (int) self->HowManyItems(*a_Item);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'HowManyItems'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HasItems of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_HasItems00
-static int tolua_AllToLua_cItemGrid_HasItems00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_ItemStack = ((const cItem*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HasItems'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->HasItems(*a_ItemStack);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'HasItems'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetFirstEmptySlot of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_GetFirstEmptySlot00
-static int tolua_AllToLua_cItemGrid_GetFirstEmptySlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItemGrid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItemGrid* self = (const cItemGrid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetFirstEmptySlot'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetFirstEmptySlot();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetFirstEmptySlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetFirstUsedSlot of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_GetFirstUsedSlot00
-static int tolua_AllToLua_cItemGrid_GetFirstUsedSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItemGrid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItemGrid* self = (const cItemGrid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetFirstUsedSlot'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetFirstUsedSlot();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetFirstUsedSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetLastEmptySlot of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_GetLastEmptySlot00
-static int tolua_AllToLua_cItemGrid_GetLastEmptySlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItemGrid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItemGrid* self = (const cItemGrid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetLastEmptySlot'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetLastEmptySlot();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetLastEmptySlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetLastUsedSlot of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_GetLastUsedSlot00
-static int tolua_AllToLua_cItemGrid_GetLastUsedSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItemGrid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItemGrid* self = (const cItemGrid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetLastUsedSlot'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetLastUsedSlot();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetLastUsedSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetNextEmptySlot of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_GetNextEmptySlot00
-static int tolua_AllToLua_cItemGrid_GetNextEmptySlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItemGrid* self = (const cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_StartFrom = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNextEmptySlot'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetNextEmptySlot(a_StartFrom);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetNextEmptySlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetNextUsedSlot of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_GetNextUsedSlot00
-static int tolua_AllToLua_cItemGrid_GetNextUsedSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItemGrid* self = (const cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_StartFrom = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNextUsedSlot'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetNextUsedSlot(a_StartFrom);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetNextUsedSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CopyToItems of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_CopyToItems00
-static int tolua_AllToLua_cItemGrid_CopyToItems00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cItemGrid",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"cItems",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItemGrid* self = (const cItemGrid*) tolua_tousertype(tolua_S,1,0);
- cItems* a_Items = ((cItems*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CopyToItems'", NULL);
-#endif
- {
- self->CopyToItems(*a_Items);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CopyToItems'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DamageItem of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_DamageItem00
-static int tolua_AllToLua_cItemGrid_DamageItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
- short a_Amount = ((short) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DamageItem'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DamageItem(a_SlotNum,a_Amount);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DamageItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DamageItem of class cItemGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cItemGrid_DamageItem01
-static int tolua_AllToLua_cItemGrid_DamageItem01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cItemGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cItemGrid* self = (cItemGrid*) tolua_tousertype(tolua_S,1,0);
- int a_X = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y = ((int) tolua_tonumber(tolua_S,3,0));
- short a_Amount = ((short) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DamageItem'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DamageItem(a_X,a_Y,a_Amount);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cItemGrid_DamageItem00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPosX of class cBlockEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockEntity_GetPosX00
-static int tolua_AllToLua_cBlockEntity_GetPosX00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockEntity* self = (const cBlockEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPosX'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetPosX();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPosX'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPosY of class cBlockEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockEntity_GetPosY00
-static int tolua_AllToLua_cBlockEntity_GetPosY00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockEntity* self = (const cBlockEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPosY'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetPosY();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPosY'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPosZ of class cBlockEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockEntity_GetPosZ00
-static int tolua_AllToLua_cBlockEntity_GetPosZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockEntity* self = (const cBlockEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPosZ'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetPosZ();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPosZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlockType of class cBlockEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockEntity_GetBlockType00
-static int tolua_AllToLua_cBlockEntity_GetBlockType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockEntity* self = (const cBlockEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlockType'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetBlockType();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBlockType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetWorld of class cBlockEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockEntity_GetWorld00
-static int tolua_AllToLua_cBlockEntity_GetWorld00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockEntity* self = (const cBlockEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWorld'", NULL);
-#endif
- {
- cWorld* tolua_ret = (cWorld*) self->GetWorld();
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cWorld");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetWorld'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetChunkX of class cBlockEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockEntity_GetChunkX00
-static int tolua_AllToLua_cBlockEntity_GetChunkX00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockEntity* self = (const cBlockEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetChunkX'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetChunkX();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetChunkX'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetChunkZ of class cBlockEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockEntity_GetChunkZ00
-static int tolua_AllToLua_cBlockEntity_GetChunkZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockEntity* self = (const cBlockEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetChunkZ'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetChunkZ();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetChunkZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetRelX of class cBlockEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockEntity_GetRelX00
-static int tolua_AllToLua_cBlockEntity_GetRelX00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockEntity* self = (const cBlockEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetRelX'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetRelX();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetRelX'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetRelZ of class cBlockEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockEntity_GetRelZ00
-static int tolua_AllToLua_cBlockEntity_GetRelZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockEntity* self = (const cBlockEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetRelZ'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetRelZ();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetRelZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSlot of class cBlockEntityWithItems */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockEntityWithItems_GetSlot00
-static int tolua_AllToLua_cBlockEntityWithItems_GetSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockEntityWithItems",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockEntityWithItems* self = (const cBlockEntityWithItems*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSlot'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetSlot(a_SlotNum);
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSlot of class cBlockEntityWithItems */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockEntityWithItems_GetSlot01
-static int tolua_AllToLua_cBlockEntityWithItems_GetSlot01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockEntityWithItems",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cBlockEntityWithItems* self = (const cBlockEntityWithItems*) tolua_tousertype(tolua_S,1,0);
- int a_X = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSlot'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetSlot(a_X,a_Y);
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cBlockEntityWithItems_GetSlot00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetSlot of class cBlockEntityWithItems */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockEntityWithItems_SetSlot00
-static int tolua_AllToLua_cBlockEntityWithItems_SetSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockEntityWithItems",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockEntityWithItems* self = (cBlockEntityWithItems*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetSlot'", NULL);
-#endif
- {
- self->SetSlot(a_SlotNum,*a_Item);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetSlot of class cBlockEntityWithItems */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockEntityWithItems_SetSlot01
-static int tolua_AllToLua_cBlockEntityWithItems_SetSlot01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockEntityWithItems",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,4,&tolua_err) || !tolua_isusertype(tolua_S,4,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cBlockEntityWithItems* self = (cBlockEntityWithItems*) tolua_tousertype(tolua_S,1,0);
- int a_X = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y = ((int) tolua_tonumber(tolua_S,3,0));
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetSlot'", NULL);
-#endif
- {
- self->SetSlot(a_X,a_Y,*a_Item);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cBlockEntityWithItems_SetSlot00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetContents of class cBlockEntityWithItems */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockEntityWithItems_GetContents00
-static int tolua_AllToLua_cBlockEntityWithItems_GetContents00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockEntityWithItems",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockEntityWithItems* self = (cBlockEntityWithItems*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetContents'", NULL);
-#endif
- {
- cItemGrid& tolua_ret = (cItemGrid&) self->GetContents();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"cItemGrid");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetContents'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: __cBlockEntityWindowOwner__ of class cChestEntity */
-#ifndef TOLUA_DISABLE_tolua_get_cChestEntity___cBlockEntityWindowOwner__
-static int tolua_get_cChestEntity___cBlockEntityWindowOwner__(lua_State* tolua_S)
-{
- cChestEntity* self = (cChestEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable '__cBlockEntityWindowOwner__'",NULL);
-#endif
-#ifdef __cplusplus
- tolua_pushusertype(tolua_S,(void*)static_cast<cBlockEntityWindowOwner*>(self), "cBlockEntityWindowOwner");
-#else
- tolua_pushusertype(tolua_S,(void*)((cBlockEntityWindowOwner*)self), "cBlockEntityWindowOwner");
-#endif
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddDropSpenserDir of class cDropSpenserEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cDropSpenserEntity_AddDropSpenserDir00
-static int tolua_AllToLua_cDropSpenserEntity_AddDropSpenserDir00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cDropSpenserEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cDropSpenserEntity* self = (cDropSpenserEntity*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_Direction = (( unsigned char) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddDropSpenserDir'", NULL);
-#endif
- {
- self->AddDropSpenserDir(a_BlockX,a_BlockY,a_BlockZ,a_Direction);
- tolua_pushnumber(tolua_S,(lua_Number)a_BlockX);
- tolua_pushnumber(tolua_S,(lua_Number)a_BlockY);
- tolua_pushnumber(tolua_S,(lua_Number)a_BlockZ);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddDropSpenserDir'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Activate of class cDropSpenserEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cDropSpenserEntity_Activate00
-static int tolua_AllToLua_cDropSpenserEntity_Activate00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cDropSpenserEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cDropSpenserEntity* self = (cDropSpenserEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Activate'", NULL);
-#endif
- {
- self->Activate();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Activate'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetRedstonePower of class cDropSpenserEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cDropSpenserEntity_SetRedstonePower00
-static int tolua_AllToLua_cDropSpenserEntity_SetRedstonePower00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cDropSpenserEntity",0,&tolua_err) ||
- !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cDropSpenserEntity* self = (cDropSpenserEntity*) tolua_tousertype(tolua_S,1,0);
- bool a_IsPowered = ((bool) tolua_toboolean(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetRedstonePower'", NULL);
-#endif
- {
- self->SetRedstonePower(a_IsPowered);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetRedstonePower'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: __cBlockEntityWindowOwner__ of class cDropSpenserEntity */
-#ifndef TOLUA_DISABLE_tolua_get_cDropSpenserEntity___cBlockEntityWindowOwner__
-static int tolua_get_cDropSpenserEntity___cBlockEntityWindowOwner__(lua_State* tolua_S)
-{
- cDropSpenserEntity* self = (cDropSpenserEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable '__cBlockEntityWindowOwner__'",NULL);
-#endif
-#ifdef __cplusplus
- tolua_pushusertype(tolua_S,(void*)static_cast<cBlockEntityWindowOwner*>(self), "cBlockEntityWindowOwner");
-#else
- tolua_pushusertype(tolua_S,(void*)((cBlockEntityWindowOwner*)self), "cBlockEntityWindowOwner");
-#endif
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetInputSlot of class cFurnaceEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFurnaceEntity_GetInputSlot00
-static int tolua_AllToLua_cFurnaceEntity_GetInputSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cFurnaceEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cFurnaceEntity* self = (const cFurnaceEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetInputSlot'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetInputSlot();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetInputSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetFuelSlot of class cFurnaceEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFurnaceEntity_GetFuelSlot00
-static int tolua_AllToLua_cFurnaceEntity_GetFuelSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cFurnaceEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cFurnaceEntity* self = (const cFurnaceEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetFuelSlot'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetFuelSlot();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetFuelSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetOutputSlot of class cFurnaceEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFurnaceEntity_GetOutputSlot00
-static int tolua_AllToLua_cFurnaceEntity_GetOutputSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cFurnaceEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cFurnaceEntity* self = (const cFurnaceEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetOutputSlot'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetOutputSlot();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetOutputSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetInputSlot of class cFurnaceEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFurnaceEntity_SetInputSlot00
-static int tolua_AllToLua_cFurnaceEntity_SetInputSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cFurnaceEntity",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cFurnaceEntity* self = (cFurnaceEntity*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetInputSlot'", NULL);
-#endif
- {
- self->SetInputSlot(*a_Item);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetInputSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetFuelSlot of class cFurnaceEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFurnaceEntity_SetFuelSlot00
-static int tolua_AllToLua_cFurnaceEntity_SetFuelSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cFurnaceEntity",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cFurnaceEntity* self = (cFurnaceEntity*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetFuelSlot'", NULL);
-#endif
- {
- self->SetFuelSlot(*a_Item);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetFuelSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetOutputSlot of class cFurnaceEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFurnaceEntity_SetOutputSlot00
-static int tolua_AllToLua_cFurnaceEntity_SetOutputSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cFurnaceEntity",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cFurnaceEntity* self = (cFurnaceEntity*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetOutputSlot'", NULL);
-#endif
- {
- self->SetOutputSlot(*a_Item);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetOutputSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetTimeCooked of class cFurnaceEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFurnaceEntity_GetTimeCooked00
-static int tolua_AllToLua_cFurnaceEntity_GetTimeCooked00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cFurnaceEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cFurnaceEntity* self = (const cFurnaceEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetTimeCooked'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetTimeCooked();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetTimeCooked'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetCookTimeLeft of class cFurnaceEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFurnaceEntity_GetCookTimeLeft00
-static int tolua_AllToLua_cFurnaceEntity_GetCookTimeLeft00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cFurnaceEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cFurnaceEntity* self = (const cFurnaceEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetCookTimeLeft'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetCookTimeLeft();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetCookTimeLeft'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetFuelBurnTimeLeft of class cFurnaceEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFurnaceEntity_GetFuelBurnTimeLeft00
-static int tolua_AllToLua_cFurnaceEntity_GetFuelBurnTimeLeft00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cFurnaceEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cFurnaceEntity* self = (const cFurnaceEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetFuelBurnTimeLeft'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetFuelBurnTimeLeft();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetFuelBurnTimeLeft'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HasFuelTimeLeft of class cFurnaceEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cFurnaceEntity_HasFuelTimeLeft00
-static int tolua_AllToLua_cFurnaceEntity_HasFuelTimeLeft00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cFurnaceEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cFurnaceEntity* self = (const cFurnaceEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HasFuelTimeLeft'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->HasFuelTimeLeft();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'HasFuelTimeLeft'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: __cBlockEntityWindowOwner__ of class cFurnaceEntity */
-#ifndef TOLUA_DISABLE_tolua_get_cFurnaceEntity___cBlockEntityWindowOwner__
-static int tolua_get_cFurnaceEntity___cBlockEntityWindowOwner__(lua_State* tolua_S)
-{
- cFurnaceEntity* self = (cFurnaceEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable '__cBlockEntityWindowOwner__'",NULL);
-#endif
-#ifdef __cplusplus
- tolua_pushusertype(tolua_S,(void*)static_cast<cBlockEntityWindowOwner*>(self), "cBlockEntityWindowOwner");
-#else
- tolua_pushusertype(tolua_S,(void*)((cBlockEntityWindowOwner*)self), "cBlockEntityWindowOwner");
-#endif
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: __cBlockEntityWindowOwner__ of class cHopperEntity */
-#ifndef TOLUA_DISABLE_tolua_get_cHopperEntity___cBlockEntityWindowOwner__
-static int tolua_get_cHopperEntity___cBlockEntityWindowOwner__(lua_State* tolua_S)
-{
- cHopperEntity* self = (cHopperEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable '__cBlockEntityWindowOwner__'",NULL);
-#endif
-#ifdef __cplusplus
- tolua_pushusertype(tolua_S,(void*)static_cast<cBlockEntityWindowOwner*>(self), "cBlockEntityWindowOwner");
-#else
- tolua_pushusertype(tolua_S,(void*)((cBlockEntityWindowOwner*)self), "cBlockEntityWindowOwner");
-#endif
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetRecord of class cJukeboxEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cJukeboxEntity_GetRecord00
-static int tolua_AllToLua_cJukeboxEntity_GetRecord00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cJukeboxEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cJukeboxEntity* self = (cJukeboxEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetRecord'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetRecord();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetRecord'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetRecord of class cJukeboxEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cJukeboxEntity_SetRecord00
-static int tolua_AllToLua_cJukeboxEntity_SetRecord00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cJukeboxEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cJukeboxEntity* self = (cJukeboxEntity*) tolua_tousertype(tolua_S,1,0);
- int a_Record = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetRecord'", NULL);
-#endif
- {
- self->SetRecord(a_Record);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetRecord'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: PlayRecord of class cJukeboxEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cJukeboxEntity_PlayRecord00
-static int tolua_AllToLua_cJukeboxEntity_PlayRecord00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cJukeboxEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cJukeboxEntity* self = (cJukeboxEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'PlayRecord'", NULL);
-#endif
- {
- self->PlayRecord();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'PlayRecord'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: EjectRecord of class cJukeboxEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cJukeboxEntity_EjectRecord00
-static int tolua_AllToLua_cJukeboxEntity_EjectRecord00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cJukeboxEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cJukeboxEntity* self = (cJukeboxEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'EjectRecord'", NULL);
-#endif
- {
- self->EjectRecord();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'EjectRecord'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPitch of class cNoteEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cNoteEntity_GetPitch00
-static int tolua_AllToLua_cNoteEntity_GetPitch00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cNoteEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cNoteEntity* self = (cNoteEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPitch'", NULL);
-#endif
- {
- char tolua_ret = (char) self->GetPitch();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPitch'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetPitch of class cNoteEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cNoteEntity_SetPitch00
-static int tolua_AllToLua_cNoteEntity_SetPitch00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cNoteEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cNoteEntity* self = (cNoteEntity*) tolua_tousertype(tolua_S,1,0);
- char a_Pitch = ((char) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetPitch'", NULL);
-#endif
- {
- self->SetPitch(a_Pitch);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetPitch'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IncrementPitch of class cNoteEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cNoteEntity_IncrementPitch00
-static int tolua_AllToLua_cNoteEntity_IncrementPitch00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cNoteEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cNoteEntity* self = (cNoteEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IncrementPitch'", NULL);
-#endif
- {
- self->IncrementPitch();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IncrementPitch'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: MakeSound of class cNoteEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cNoteEntity_MakeSound00
-static int tolua_AllToLua_cNoteEntity_MakeSound00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cNoteEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cNoteEntity* self = (cNoteEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'MakeSound'", NULL);
-#endif
- {
- self->MakeSound();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'MakeSound'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetLines of class cSignEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cSignEntity_SetLines00
-static int tolua_AllToLua_cSignEntity_SetLines00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cSignEntity",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,4,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cSignEntity* self = (cSignEntity*) tolua_tousertype(tolua_S,1,0);
- const AString a_Line1 = ((const AString) tolua_tocppstring(tolua_S,2,0));
- const AString a_Line2 = ((const AString) tolua_tocppstring(tolua_S,3,0));
- const AString a_Line3 = ((const AString) tolua_tocppstring(tolua_S,4,0));
- const AString a_Line4 = ((const AString) tolua_tocppstring(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetLines'", NULL);
-#endif
- {
- self->SetLines(a_Line1,a_Line2,a_Line3,a_Line4);
- tolua_pushcppstring(tolua_S,(const char*)a_Line1);
- tolua_pushcppstring(tolua_S,(const char*)a_Line2);
- tolua_pushcppstring(tolua_S,(const char*)a_Line3);
- tolua_pushcppstring(tolua_S,(const char*)a_Line4);
- }
- }
- return 4;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetLines'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetLine of class cSignEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cSignEntity_SetLine00
-static int tolua_AllToLua_cSignEntity_SetLine00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cSignEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cSignEntity* self = (cSignEntity*) tolua_tousertype(tolua_S,1,0);
- int a_Index = ((int) tolua_tonumber(tolua_S,2,0));
- const AString a_Line = ((const AString) tolua_tocppstring(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetLine'", NULL);
-#endif
- {
- self->SetLine(a_Index,a_Line);
- tolua_pushcppstring(tolua_S,(const char*)a_Line);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetLine'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetLine of class cSignEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cSignEntity_GetLine00
-static int tolua_AllToLua_cSignEntity_GetLine00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cSignEntity",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cSignEntity* self = (const cSignEntity*) tolua_tousertype(tolua_S,1,0);
- int a_Index = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetLine'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetLine(a_Index);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetLine'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Name of class HTTPFormData */
-#ifndef TOLUA_DISABLE_tolua_get_HTTPFormData_Name
-static int tolua_get_HTTPFormData_Name(lua_State* tolua_S)
-{
- HTTPFormData* self = (HTTPFormData*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Name'",NULL);
-#endif
- tolua_pushcppstring(tolua_S,(const char*)self->Name);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: Name of class HTTPFormData */
-#ifndef TOLUA_DISABLE_tolua_set_HTTPFormData_Name
-static int tolua_set_HTTPFormData_Name(lua_State* tolua_S)
-{
- HTTPFormData* self = (HTTPFormData*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Name'",NULL);
- if (!tolua_iscppstring(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->Name = ((std::string) tolua_tocppstring(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Value of class HTTPFormData */
-#ifndef TOLUA_DISABLE_tolua_get_HTTPFormData_Value
-static int tolua_get_HTTPFormData_Value(lua_State* tolua_S)
-{
- HTTPFormData* self = (HTTPFormData*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Value'",NULL);
-#endif
- tolua_pushcppstring(tolua_S,(const char*)self->Value);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: Value of class HTTPFormData */
-#ifndef TOLUA_DISABLE_tolua_set_HTTPFormData_Value
-static int tolua_set_HTTPFormData_Value(lua_State* tolua_S)
-{
- HTTPFormData* self = (HTTPFormData*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Value'",NULL);
- if (!tolua_iscppstring(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->Value = ((std::string) tolua_tocppstring(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Type of class HTTPFormData */
-#ifndef TOLUA_DISABLE_tolua_get_HTTPFormData_Type
-static int tolua_get_HTTPFormData_Type(lua_State* tolua_S)
-{
- HTTPFormData* self = (HTTPFormData*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Type'",NULL);
-#endif
- tolua_pushcppstring(tolua_S,(const char*)self->Type);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: Type of class HTTPFormData */
-#ifndef TOLUA_DISABLE_tolua_set_HTTPFormData_Type
-static int tolua_set_HTTPFormData_Type(lua_State* tolua_S)
-{
- HTTPFormData* self = (HTTPFormData*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Type'",NULL);
- if (!tolua_iscppstring(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->Type = ((std::string) tolua_tocppstring(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Method of class HTTPRequest */
-#ifndef TOLUA_DISABLE_tolua_get_HTTPRequest_Method
-static int tolua_get_HTTPRequest_Method(lua_State* tolua_S)
-{
- HTTPRequest* self = (HTTPRequest*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Method'",NULL);
-#endif
- tolua_pushcppstring(tolua_S,(const char*)self->Method);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: Method of class HTTPRequest */
-#ifndef TOLUA_DISABLE_tolua_set_HTTPRequest_Method
-static int tolua_set_HTTPRequest_Method(lua_State* tolua_S)
-{
- HTTPRequest* self = (HTTPRequest*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Method'",NULL);
- if (!tolua_iscppstring(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->Method = ((AString) tolua_tocppstring(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Path of class HTTPRequest */
-#ifndef TOLUA_DISABLE_tolua_get_HTTPRequest_Path
-static int tolua_get_HTTPRequest_Path(lua_State* tolua_S)
-{
- HTTPRequest* self = (HTTPRequest*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Path'",NULL);
-#endif
- tolua_pushcppstring(tolua_S,(const char*)self->Path);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: Path of class HTTPRequest */
-#ifndef TOLUA_DISABLE_tolua_set_HTTPRequest_Path
-static int tolua_set_HTTPRequest_Path(lua_State* tolua_S)
-{
- HTTPRequest* self = (HTTPRequest*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Path'",NULL);
- if (!tolua_iscppstring(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->Path = ((AString) tolua_tocppstring(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Username of class HTTPRequest */
-#ifndef TOLUA_DISABLE_tolua_get_HTTPRequest_Username
-static int tolua_get_HTTPRequest_Username(lua_State* tolua_S)
-{
- HTTPRequest* self = (HTTPRequest*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Username'",NULL);
-#endif
- tolua_pushcppstring(tolua_S,(const char*)self->Username);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: Username of class HTTPRequest */
-#ifndef TOLUA_DISABLE_tolua_set_HTTPRequest_Username
-static int tolua_set_HTTPRequest_Username(lua_State* tolua_S)
-{
- HTTPRequest* self = (HTTPRequest*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Username'",NULL);
- if (!tolua_iscppstring(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->Username = ((AString) tolua_tocppstring(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Request of class HTTPTemplateRequest */
-#ifndef TOLUA_DISABLE_tolua_get_HTTPTemplateRequest_Request
-static int tolua_get_HTTPTemplateRequest_Request(lua_State* tolua_S)
-{
- HTTPTemplateRequest* self = (HTTPTemplateRequest*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Request'",NULL);
-#endif
- tolua_pushusertype(tolua_S,(void*)&self->Request,"HTTPRequest");
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: Request of class HTTPTemplateRequest */
-#ifndef TOLUA_DISABLE_tolua_set_HTTPTemplateRequest_Request
-static int tolua_set_HTTPTemplateRequest_Request(lua_State* tolua_S)
-{
- HTTPTemplateRequest* self = (HTTPTemplateRequest*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Request'",NULL);
- if ((tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"HTTPRequest",0,&tolua_err)))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->Request = *((HTTPRequest*) tolua_tousertype(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: Content of class sWebAdminPage */
-#ifndef TOLUA_DISABLE_tolua_get_sWebAdminPage_Content
-static int tolua_get_sWebAdminPage_Content(lua_State* tolua_S)
-{
- sWebAdminPage* self = (sWebAdminPage*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Content'",NULL);
-#endif
- tolua_pushcppstring(tolua_S,(const char*)self->Content);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: Content of class sWebAdminPage */
-#ifndef TOLUA_DISABLE_tolua_set_sWebAdminPage_Content
-static int tolua_set_sWebAdminPage_Content(lua_State* tolua_S)
-{
- sWebAdminPage* self = (sWebAdminPage*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'Content'",NULL);
- if (!tolua_iscppstring(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->Content = ((AString) tolua_tocppstring(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: PluginName of class sWebAdminPage */
-#ifndef TOLUA_DISABLE_tolua_get_sWebAdminPage_PluginName
-static int tolua_get_sWebAdminPage_PluginName(lua_State* tolua_S)
-{
- sWebAdminPage* self = (sWebAdminPage*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'PluginName'",NULL);
-#endif
- tolua_pushcppstring(tolua_S,(const char*)self->PluginName);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: PluginName of class sWebAdminPage */
-#ifndef TOLUA_DISABLE_tolua_set_sWebAdminPage_PluginName
-static int tolua_set_sWebAdminPage_PluginName(lua_State* tolua_S)
-{
- sWebAdminPage* self = (sWebAdminPage*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'PluginName'",NULL);
- if (!tolua_iscppstring(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->PluginName = ((AString) tolua_tocppstring(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: TabName of class sWebAdminPage */
-#ifndef TOLUA_DISABLE_tolua_get_sWebAdminPage_TabName
-static int tolua_get_sWebAdminPage_TabName(lua_State* tolua_S)
-{
- sWebAdminPage* self = (sWebAdminPage*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'TabName'",NULL);
-#endif
- tolua_pushcppstring(tolua_S,(const char*)self->TabName);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: TabName of class sWebAdminPage */
-#ifndef TOLUA_DISABLE_tolua_set_sWebAdminPage_TabName
-static int tolua_set_sWebAdminPage_TabName(lua_State* tolua_S)
-{
- sWebAdminPage* self = (sWebAdminPage*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'TabName'",NULL);
- if (!tolua_iscppstring(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->TabName = ((AString) tolua_tocppstring(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPage of class cWebAdmin */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWebAdmin_GetPage00
-static int tolua_AllToLua_cWebAdmin_GetPage00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWebAdmin",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const HTTPRequest",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWebAdmin* self = (cWebAdmin*) tolua_tousertype(tolua_S,1,0);
- const HTTPRequest* a_Request = ((const HTTPRequest*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPage'", NULL);
-#endif
- {
- sWebAdminPage tolua_ret = (sWebAdminPage) self->GetPage(*a_Request);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((sWebAdminPage)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"sWebAdminPage");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(sWebAdminPage));
- tolua_pushusertype(tolua_S,tolua_obj,"sWebAdminPage");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPage'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetDefaultPage of class cWebAdmin */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWebAdmin_GetDefaultPage00
-static int tolua_AllToLua_cWebAdmin_GetDefaultPage00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWebAdmin",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWebAdmin* self = (cWebAdmin*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetDefaultPage'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetDefaultPage();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetDefaultPage'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBaseURL of class cWebAdmin */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWebAdmin_GetBaseURL00
-static int tolua_AllToLua_cWebAdmin_GetBaseURL00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWebAdmin",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWebAdmin* self = (cWebAdmin*) tolua_tousertype(tolua_S,1,0);
- const AString a_URL = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBaseURL'", NULL);
-#endif
- {
- AString tolua_ret = (AString) self->GetBaseURL(a_URL);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_URL);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBaseURL'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetHTMLEscapedString of class cWebAdmin */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWebAdmin_GetHTMLEscapedString00
-static int tolua_AllToLua_cWebAdmin_GetHTMLEscapedString00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cWebAdmin",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_Input = ((const AString) tolua_tocppstring(tolua_S,2,0));
- {
- AString tolua_ret = (AString) cWebAdmin::GetHTMLEscapedString(a_Input);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_Input);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetHTMLEscapedString'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Get of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_Get00
-static int tolua_AllToLua_cRoot_Get00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- cRoot* tolua_ret = (cRoot*) cRoot::Get();
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cRoot");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Get'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetServer of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_GetServer00
-static int tolua_AllToLua_cRoot_GetServer00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cRoot* self = (cRoot*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetServer'", NULL);
-#endif
- {
- cServer* tolua_ret = (cServer*) self->GetServer();
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cServer");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetServer'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetDefaultWorld of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_GetDefaultWorld00
-static int tolua_AllToLua_cRoot_GetDefaultWorld00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cRoot* self = (cRoot*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetDefaultWorld'", NULL);
-#endif
- {
- cWorld* tolua_ret = (cWorld*) self->GetDefaultWorld();
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cWorld");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetDefaultWorld'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetWorld of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_GetWorld00
-static int tolua_AllToLua_cRoot_GetWorld00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cRoot* self = (cRoot*) tolua_tousertype(tolua_S,1,0);
- const AString a_WorldName = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWorld'", NULL);
-#endif
- {
- cWorld* tolua_ret = (cWorld*) self->GetWorld(a_WorldName);
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cWorld");
- tolua_pushcppstring(tolua_S,(const char*)a_WorldName);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetWorld'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CreateAndInitializeWorld of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_CreateAndInitializeWorld00
-static int tolua_AllToLua_cRoot_CreateAndInitializeWorld00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cRoot* self = (cRoot*) tolua_tousertype(tolua_S,1,0);
- const AString a_WorldName = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CreateAndInitializeWorld'", NULL);
-#endif
- {
- cWorld* tolua_ret = (cWorld*) self->CreateAndInitializeWorld(a_WorldName);
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cWorld");
- tolua_pushcppstring(tolua_S,(const char*)a_WorldName);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CreateAndInitializeWorld'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPrimaryServerVersion of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_GetPrimaryServerVersion00
-static int tolua_AllToLua_cRoot_GetPrimaryServerVersion00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cRoot",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cRoot* self = (const cRoot*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPrimaryServerVersion'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetPrimaryServerVersion();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPrimaryServerVersion'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetPrimaryServerVersion of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_SetPrimaryServerVersion00
-static int tolua_AllToLua_cRoot_SetPrimaryServerVersion00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cRoot* self = (cRoot*) tolua_tousertype(tolua_S,1,0);
- int a_Version = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetPrimaryServerVersion'", NULL);
-#endif
- {
- self->SetPrimaryServerVersion(a_Version);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetPrimaryServerVersion'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetGroupManager of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_GetGroupManager00
-static int tolua_AllToLua_cRoot_GetGroupManager00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cRoot* self = (cRoot*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetGroupManager'", NULL);
-#endif
- {
- cGroupManager* tolua_ret = (cGroupManager*) self->GetGroupManager();
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cGroupManager");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetGroupManager'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetCraftingRecipes of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_GetCraftingRecipes00
-static int tolua_AllToLua_cRoot_GetCraftingRecipes00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cRoot* self = (cRoot*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetCraftingRecipes'", NULL);
-#endif
- {
- cCraftingRecipes* tolua_ret = (cCraftingRecipes*) self->GetCraftingRecipes();
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cCraftingRecipes");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetCraftingRecipes'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetFurnaceFuelBurnTime of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_GetFurnaceFuelBurnTime00
-static int tolua_AllToLua_cRoot_GetFurnaceFuelBurnTime00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cRoot",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cItem* a_Fuel = ((const cItem*) tolua_tousertype(tolua_S,2,0));
- {
- int tolua_ret = (int) cRoot::GetFurnaceFuelBurnTime(*a_Fuel);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetFurnaceFuelBurnTime'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetWebAdmin of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_GetWebAdmin00
-static int tolua_AllToLua_cRoot_GetWebAdmin00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cRoot* self = (cRoot*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWebAdmin'", NULL);
-#endif
- {
- cWebAdmin* tolua_ret = (cWebAdmin*) self->GetWebAdmin();
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cWebAdmin");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetWebAdmin'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPluginManager of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_GetPluginManager00
-static int tolua_AllToLua_cRoot_GetPluginManager00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cRoot* self = (cRoot*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetPluginManager'", NULL);
-#endif
- {
- cPluginManager* tolua_ret = (cPluginManager*) self->GetPluginManager();
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cPluginManager");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPluginManager'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: QueueExecuteConsoleCommand of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_QueueExecuteConsoleCommand00
-static int tolua_AllToLua_cRoot_QueueExecuteConsoleCommand00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cRoot* self = (cRoot*) tolua_tousertype(tolua_S,1,0);
- const AString a_Cmd = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'QueueExecuteConsoleCommand'", NULL);
-#endif
- {
- self->QueueExecuteConsoleCommand(a_Cmd);
- tolua_pushcppstring(tolua_S,(const char*)a_Cmd);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'QueueExecuteConsoleCommand'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetTotalChunkCount of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_GetTotalChunkCount00
-static int tolua_AllToLua_cRoot_GetTotalChunkCount00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cRoot* self = (cRoot*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetTotalChunkCount'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetTotalChunkCount();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetTotalChunkCount'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SaveAllChunks of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_SaveAllChunks00
-static int tolua_AllToLua_cRoot_SaveAllChunks00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cRoot* self = (cRoot*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SaveAllChunks'", NULL);
-#endif
- {
- self->SaveAllChunks();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SaveAllChunks'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: BroadcastChat of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_BroadcastChat00
-static int tolua_AllToLua_cRoot_BroadcastChat00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cRoot* self = (cRoot*) tolua_tousertype(tolua_S,1,0);
- const AString a_Message = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'BroadcastChat'", NULL);
-#endif
- {
- self->BroadcastChat(a_Message);
- tolua_pushcppstring(tolua_S,(const char*)a_Message);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'BroadcastChat'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetProtocolVersionTextFromInt of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_GetProtocolVersionTextFromInt00
-static int tolua_AllToLua_cRoot_GetProtocolVersionTextFromInt00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- int a_ProtocolVersionNum = ((int) tolua_tonumber(tolua_S,2,0));
- {
- AString tolua_ret = (AString) cRoot::GetProtocolVersionTextFromInt(a_ProtocolVersionNum);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetProtocolVersionTextFromInt'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetVirtualRAMUsage of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_GetVirtualRAMUsage00
-static int tolua_AllToLua_cRoot_GetVirtualRAMUsage00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- int tolua_ret = (int) cRoot::GetVirtualRAMUsage();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetVirtualRAMUsage'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetPhysicalRAMUsage of class cRoot */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cRoot_GetPhysicalRAMUsage00
-static int tolua_AllToLua_cRoot_GetPhysicalRAMUsage00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cRoot",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- int tolua_ret = (int) cRoot::GetPhysicalRAMUsage();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetPhysicalRAMUsage'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_new00
-static int tolua_AllToLua_Vector3f_new00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3f",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* v = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- {
- Vector3f* tolua_ret = (Vector3f*) Mtolua_new((Vector3f)(*v));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3f");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_new00_local
-static int tolua_AllToLua_Vector3f_new00_local(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3f",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* v = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- {
- Vector3f* tolua_ret = (Vector3f*) Mtolua_new((Vector3f)(*v));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_new01
-static int tolua_AllToLua_Vector3f_new01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3f",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3d* v = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- {
- Vector3f* tolua_ret = (Vector3f*) Mtolua_new((Vector3f)(v));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3f");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3f_new00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_new01_local
-static int tolua_AllToLua_Vector3f_new01_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3f",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3d* v = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- {
- Vector3f* tolua_ret = (Vector3f*) Mtolua_new((Vector3f)(v));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3f_new00_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_new02
-static int tolua_AllToLua_Vector3f_new02(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3f",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3i",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3i* v = ((const Vector3i*) tolua_tousertype(tolua_S,2,0));
- {
- Vector3f* tolua_ret = (Vector3f*) Mtolua_new((Vector3f)(*v));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3f");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3f_new01(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_new02_local
-static int tolua_AllToLua_Vector3f_new02_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3f",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3i",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3i* v = ((const Vector3i*) tolua_tousertype(tolua_S,2,0));
- {
- Vector3f* tolua_ret = (Vector3f*) Mtolua_new((Vector3f)(*v));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3f_new01_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_new03
-static int tolua_AllToLua_Vector3f_new03(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3f",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"const Vector3i",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3i* v = ((const Vector3i*) tolua_tousertype(tolua_S,2,0));
- {
- Vector3f* tolua_ret = (Vector3f*) Mtolua_new((Vector3f)(v));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3f");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3f_new02(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_new03_local
-static int tolua_AllToLua_Vector3f_new03_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3f",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"const Vector3i",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3i* v = ((const Vector3i*) tolua_tousertype(tolua_S,2,0));
- {
- Vector3f* tolua_ret = (Vector3f*) Mtolua_new((Vector3f)(v));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3f_new02_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_new04
-static int tolua_AllToLua_Vector3f_new04(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3f",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- {
- Vector3f* tolua_ret = (Vector3f*) Mtolua_new((Vector3f)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3f");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3f_new03(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_new04_local
-static int tolua_AllToLua_Vector3f_new04_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3f",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- {
- Vector3f* tolua_ret = (Vector3f*) Mtolua_new((Vector3f)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3f_new03_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_new05
-static int tolua_AllToLua_Vector3f_new05(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3f",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- float a_x = ((float) tolua_tonumber(tolua_S,2,0));
- float a_y = ((float) tolua_tonumber(tolua_S,3,0));
- float a_z = ((float) tolua_tonumber(tolua_S,4,0));
- {
- Vector3f* tolua_ret = (Vector3f*) Mtolua_new((Vector3f)(a_x,a_y,a_z));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3f");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3f_new04(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_new05_local
-static int tolua_AllToLua_Vector3f_new05_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3f",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- float a_x = ((float) tolua_tonumber(tolua_S,2,0));
- float a_y = ((float) tolua_tonumber(tolua_S,3,0));
- float a_z = ((float) tolua_tonumber(tolua_S,4,0));
- {
- Vector3f* tolua_ret = (Vector3f*) Mtolua_new((Vector3f)(a_x,a_y,a_z));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3f_new04_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Set of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_Set00
-static int tolua_AllToLua_Vector3f_Set00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"Vector3f",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- Vector3f* self = (Vector3f*) tolua_tousertype(tolua_S,1,0);
- float a_x = ((float) tolua_tonumber(tolua_S,2,0));
- float a_y = ((float) tolua_tonumber(tolua_S,3,0));
- float a_z = ((float) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Set'", NULL);
-#endif
- {
- self->Set(a_x,a_y,a_z);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Set'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Normalize of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_Normalize00
-static int tolua_AllToLua_Vector3f_Normalize00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"Vector3f",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- Vector3f* self = (Vector3f*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Normalize'", NULL);
-#endif
- {
- self->Normalize();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Normalize'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: NormalizeCopy of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_NormalizeCopy00
-static int tolua_AllToLua_Vector3f_NormalizeCopy00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3f",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3f* self = (const Vector3f*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'NormalizeCopy'", NULL);
-#endif
- {
- Vector3f tolua_ret = (Vector3f) self->NormalizeCopy();
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3f)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3f));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'NormalizeCopy'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: NormalizeCopy of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_NormalizeCopy01
-static int tolua_AllToLua_Vector3f_NormalizeCopy01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3f",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"Vector3f",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3f* self = (const Vector3f*) tolua_tousertype(tolua_S,1,0);
- Vector3f* a_V = ((Vector3f*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'NormalizeCopy'", NULL);
-#endif
- {
- self->NormalizeCopy(*a_V);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_Vector3f_NormalizeCopy00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Length of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_Length00
-static int tolua_AllToLua_Vector3f_Length00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3f",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3f* self = (const Vector3f*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Length'", NULL);
-#endif
- {
- float tolua_ret = (float) self->Length();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Length'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SqrLength of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_SqrLength00
-static int tolua_AllToLua_Vector3f_SqrLength00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3f",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3f* self = (const Vector3f*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SqrLength'", NULL);
-#endif
- {
- float tolua_ret = (float) self->SqrLength();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SqrLength'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Dot of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_Dot00
-static int tolua_AllToLua_Vector3f_Dot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3f",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3f",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3f* self = (const Vector3f*) tolua_tousertype(tolua_S,1,0);
- const Vector3f* a_V = ((const Vector3f*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Dot'", NULL);
-#endif
- {
- float tolua_ret = (float) self->Dot(*a_V);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Dot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Cross of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_Cross00
-static int tolua_AllToLua_Vector3f_Cross00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3f",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3f",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3f* self = (const Vector3f*) tolua_tousertype(tolua_S,1,0);
- const Vector3f* v = ((const Vector3f*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Cross'", NULL);
-#endif
- {
- Vector3f tolua_ret = (Vector3f) self->Cross(*v);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3f)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3f));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Cross'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Equals of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f_Equals00
-static int tolua_AllToLua_Vector3f_Equals00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3f",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3f",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3f* self = (const Vector3f*) tolua_tousertype(tolua_S,1,0);
- const Vector3f* v = ((const Vector3f*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Equals'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->Equals(*v);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Equals'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: operator+ of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f__add00
-static int tolua_AllToLua_Vector3f__add00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3f",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3f",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3f* self = (const Vector3f*) tolua_tousertype(tolua_S,1,0);
- const Vector3f* v2 = ((const Vector3f*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator+'", NULL);
-#endif
- {
- Vector3f tolua_ret = (Vector3f) self->operator+(*v2);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3f)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3f));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function '.add'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: operator+ of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f__add01
-static int tolua_AllToLua_Vector3f__add01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3f",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"const Vector3f",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3f* self = (const Vector3f*) tolua_tousertype(tolua_S,1,0);
- const Vector3f* v2 = ((const Vector3f*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator+'", NULL);
-#endif
- {
- Vector3f tolua_ret = (Vector3f) self->operator+(v2);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3f)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3f));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3f__add00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: operator- of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f__sub00
-static int tolua_AllToLua_Vector3f__sub00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3f",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3f",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3f* self = (const Vector3f*) tolua_tousertype(tolua_S,1,0);
- const Vector3f* v2 = ((const Vector3f*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator-'", NULL);
-#endif
- {
- Vector3f tolua_ret = (Vector3f) self->operator-(*v2);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3f)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3f));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function '.sub'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: operator- of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f__sub01
-static int tolua_AllToLua_Vector3f__sub01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3f",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"const Vector3f",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3f* self = (const Vector3f*) tolua_tousertype(tolua_S,1,0);
- const Vector3f* v2 = ((const Vector3f*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator-'", NULL);
-#endif
- {
- Vector3f tolua_ret = (Vector3f) self->operator-(v2);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3f)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3f));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3f__sub00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: operator* of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f__mul00
-static int tolua_AllToLua_Vector3f__mul00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3f",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3f* self = (const Vector3f*) tolua_tousertype(tolua_S,1,0);
- const float f = ((const float) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator*'", NULL);
-#endif
- {
- Vector3f tolua_ret = (Vector3f) self->operator*(f);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3f)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3f));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function '.mul'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: operator* of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3f__mul01
-static int tolua_AllToLua_Vector3f__mul01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3f",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3f",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3f* self = (const Vector3f*) tolua_tousertype(tolua_S,1,0);
- const Vector3f* v2 = ((const Vector3f*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator*'", NULL);
-#endif
- {
- Vector3f tolua_ret = (Vector3f) self->operator*(*v2);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3f)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3f));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3f");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3f__mul00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: x of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_get_Vector3f_x
-static int tolua_get_Vector3f_x(lua_State* tolua_S)
-{
- Vector3f* self = (Vector3f*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'x'",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)self->x);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: x of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_set_Vector3f_x
-static int tolua_set_Vector3f_x(lua_State* tolua_S)
-{
- Vector3f* self = (Vector3f*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'x'",NULL);
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->x = ((float) tolua_tonumber(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: y of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_get_Vector3f_y
-static int tolua_get_Vector3f_y(lua_State* tolua_S)
-{
- Vector3f* self = (Vector3f*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'y'",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)self->y);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: y of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_set_Vector3f_y
-static int tolua_set_Vector3f_y(lua_State* tolua_S)
-{
- Vector3f* self = (Vector3f*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'y'",NULL);
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->y = ((float) tolua_tonumber(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: z of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_get_Vector3f_z
-static int tolua_get_Vector3f_z(lua_State* tolua_S)
-{
- Vector3f* self = (Vector3f*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'z'",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)self->z);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: z of class Vector3f */
-#ifndef TOLUA_DISABLE_tolua_set_Vector3f_z
-static int tolua_set_Vector3f_z(lua_State* tolua_S)
-{
- Vector3f* self = (Vector3f*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'z'",NULL);
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->z = ((float) tolua_tonumber(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_new00
-static int tolua_AllToLua_Vector3d_new00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3d",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3f",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3f* v = ((const Vector3f*) tolua_tousertype(tolua_S,2,0));
- {
- Vector3d* tolua_ret = (Vector3d*) Mtolua_new((Vector3d)(*v));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3d");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_new00_local
-static int tolua_AllToLua_Vector3d_new00_local(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3d",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3f",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3f* v = ((const Vector3f*) tolua_tousertype(tolua_S,2,0));
- {
- Vector3d* tolua_ret = (Vector3d*) Mtolua_new((Vector3d)(*v));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_new01
-static int tolua_AllToLua_Vector3d_new01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3d",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"const Vector3f",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3f* v = ((const Vector3f*) tolua_tousertype(tolua_S,2,0));
- {
- Vector3d* tolua_ret = (Vector3d*) Mtolua_new((Vector3d)(v));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3d");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3d_new00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_new01_local
-static int tolua_AllToLua_Vector3d_new01_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3d",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"const Vector3f",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3f* v = ((const Vector3f*) tolua_tousertype(tolua_S,2,0));
- {
- Vector3d* tolua_ret = (Vector3d*) Mtolua_new((Vector3d)(v));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3d_new00_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_new02
-static int tolua_AllToLua_Vector3d_new02(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3d",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- {
- Vector3d* tolua_ret = (Vector3d*) Mtolua_new((Vector3d)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3d");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3d_new01(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_new02_local
-static int tolua_AllToLua_Vector3d_new02_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3d",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- {
- Vector3d* tolua_ret = (Vector3d*) Mtolua_new((Vector3d)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3d_new01_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_new03
-static int tolua_AllToLua_Vector3d_new03(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3d",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- double a_x = ((double) tolua_tonumber(tolua_S,2,0));
- double a_y = ((double) tolua_tonumber(tolua_S,3,0));
- double a_z = ((double) tolua_tonumber(tolua_S,4,0));
- {
- Vector3d* tolua_ret = (Vector3d*) Mtolua_new((Vector3d)(a_x,a_y,a_z));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3d");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3d_new02(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_new03_local
-static int tolua_AllToLua_Vector3d_new03_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3d",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- double a_x = ((double) tolua_tonumber(tolua_S,2,0));
- double a_y = ((double) tolua_tonumber(tolua_S,3,0));
- double a_z = ((double) tolua_tonumber(tolua_S,4,0));
- {
- Vector3d* tolua_ret = (Vector3d*) Mtolua_new((Vector3d)(a_x,a_y,a_z));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3d_new02_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Set of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_Set00
-static int tolua_AllToLua_Vector3d_Set00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"Vector3d",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- Vector3d* self = (Vector3d*) tolua_tousertype(tolua_S,1,0);
- double a_x = ((double) tolua_tonumber(tolua_S,2,0));
- double a_y = ((double) tolua_tonumber(tolua_S,3,0));
- double a_z = ((double) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Set'", NULL);
-#endif
- {
- self->Set(a_x,a_y,a_z);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Set'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Normalize of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_Normalize00
-static int tolua_AllToLua_Vector3d_Normalize00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"Vector3d",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- Vector3d* self = (Vector3d*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Normalize'", NULL);
-#endif
- {
- self->Normalize();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Normalize'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: NormalizeCopy of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_NormalizeCopy00
-static int tolua_AllToLua_Vector3d_NormalizeCopy00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"Vector3d",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- Vector3d* self = (Vector3d*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'NormalizeCopy'", NULL);
-#endif
- {
- Vector3d tolua_ret = (Vector3d) self->NormalizeCopy();
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3d)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3d));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'NormalizeCopy'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: NormalizeCopy of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_NormalizeCopy01
-static int tolua_AllToLua_Vector3d_NormalizeCopy01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"Vector3d",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- Vector3d* self = (Vector3d*) tolua_tousertype(tolua_S,1,0);
- Vector3d* a_V = ((Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'NormalizeCopy'", NULL);
-#endif
- {
- self->NormalizeCopy(*a_V);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_Vector3d_NormalizeCopy00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Length of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_Length00
-static int tolua_AllToLua_Vector3d_Length00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3d",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* self = (const Vector3d*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Length'", NULL);
-#endif
- {
- double tolua_ret = (double) self->Length();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Length'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SqrLength of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_SqrLength00
-static int tolua_AllToLua_Vector3d_SqrLength00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3d",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* self = (const Vector3d*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SqrLength'", NULL);
-#endif
- {
- double tolua_ret = (double) self->SqrLength();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SqrLength'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Dot of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_Dot00
-static int tolua_AllToLua_Vector3d_Dot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3d",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* self = (const Vector3d*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* a_V = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Dot'", NULL);
-#endif
- {
- double tolua_ret = (double) self->Dot(*a_V);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Dot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Cross of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_Cross00
-static int tolua_AllToLua_Vector3d_Cross00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3d",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* self = (const Vector3d*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* v = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Cross'", NULL);
-#endif
- {
- Vector3d tolua_ret = (Vector3d) self->Cross(*v);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3d)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3d));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Cross'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: LineCoeffToXYPlane of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_LineCoeffToXYPlane00
-static int tolua_AllToLua_Vector3d_LineCoeffToXYPlane00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3d",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* self = (const Vector3d*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* a_OtherEnd = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- double a_Z = ((double) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'LineCoeffToXYPlane'", NULL);
-#endif
- {
- double tolua_ret = (double) self->LineCoeffToXYPlane(*a_OtherEnd,a_Z);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'LineCoeffToXYPlane'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: LineCoeffToXZPlane of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_LineCoeffToXZPlane00
-static int tolua_AllToLua_Vector3d_LineCoeffToXZPlane00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3d",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* self = (const Vector3d*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* a_OtherEnd = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- double a_Y = ((double) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'LineCoeffToXZPlane'", NULL);
-#endif
- {
- double tolua_ret = (double) self->LineCoeffToXZPlane(*a_OtherEnd,a_Y);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'LineCoeffToXZPlane'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: LineCoeffToYZPlane of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_LineCoeffToYZPlane00
-static int tolua_AllToLua_Vector3d_LineCoeffToYZPlane00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3d",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* self = (const Vector3d*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* a_OtherEnd = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- double a_X = ((double) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'LineCoeffToYZPlane'", NULL);
-#endif
- {
- double tolua_ret = (double) self->LineCoeffToYZPlane(*a_OtherEnd,a_X);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'LineCoeffToYZPlane'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Equals of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d_Equals00
-static int tolua_AllToLua_Vector3d_Equals00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3d",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* self = (const Vector3d*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* v = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Equals'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->Equals(*v);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Equals'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: operator+ of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d__add00
-static int tolua_AllToLua_Vector3d__add00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3d",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* self = (const Vector3d*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* v2 = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator+'", NULL);
-#endif
- {
- Vector3d tolua_ret = (Vector3d) self->operator+(*v2);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3d)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3d));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function '.add'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: operator+ of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d__add01
-static int tolua_AllToLua_Vector3d__add01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3d",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3d* self = (const Vector3d*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* v2 = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator+'", NULL);
-#endif
- {
- Vector3d tolua_ret = (Vector3d) self->operator+(v2);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3d)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3d));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3d__add00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: operator- of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d__sub00
-static int tolua_AllToLua_Vector3d__sub00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3d",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* self = (const Vector3d*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* v2 = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator-'", NULL);
-#endif
- {
- Vector3d tolua_ret = (Vector3d) self->operator-(*v2);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3d)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3d));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function '.sub'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: operator- of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d__sub01
-static int tolua_AllToLua_Vector3d__sub01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3d",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3d* self = (const Vector3d*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* v2 = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator-'", NULL);
-#endif
- {
- Vector3d tolua_ret = (Vector3d) self->operator-(v2);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3d)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3d));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3d__sub00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: operator* of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d__mul00
-static int tolua_AllToLua_Vector3d__mul00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3d",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* self = (const Vector3d*) tolua_tousertype(tolua_S,1,0);
- const double f = ((const double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator*'", NULL);
-#endif
- {
- Vector3d tolua_ret = (Vector3d) self->operator*(f);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3d)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3d));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function '.mul'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: operator* of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d__mul01
-static int tolua_AllToLua_Vector3d__mul01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3d",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3d* self = (const Vector3d*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* v2 = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator*'", NULL);
-#endif
- {
- Vector3d tolua_ret = (Vector3d) self->operator*(*v2);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3d)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3d));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3d__mul00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: operator/ of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3d__div00
-static int tolua_AllToLua_Vector3d__div00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3d",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* self = (const Vector3d*) tolua_tousertype(tolua_S,1,0);
- const double f = ((const double) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator/'", NULL);
-#endif
- {
- Vector3d tolua_ret = (Vector3d) self->operator/(f);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((Vector3d)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Vector3d));
- tolua_pushusertype(tolua_S,tolua_obj,"Vector3d");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function '.div'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: x of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_get_Vector3d_x
-static int tolua_get_Vector3d_x(lua_State* tolua_S)
-{
- Vector3d* self = (Vector3d*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'x'",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)self->x);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: x of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_set_Vector3d_x
-static int tolua_set_Vector3d_x(lua_State* tolua_S)
-{
- Vector3d* self = (Vector3d*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'x'",NULL);
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->x = ((double) tolua_tonumber(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: y of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_get_Vector3d_y
-static int tolua_get_Vector3d_y(lua_State* tolua_S)
-{
- Vector3d* self = (Vector3d*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'y'",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)self->y);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: y of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_set_Vector3d_y
-static int tolua_set_Vector3d_y(lua_State* tolua_S)
-{
- Vector3d* self = (Vector3d*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'y'",NULL);
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->y = ((double) tolua_tonumber(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: z of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_get_Vector3d_z
-static int tolua_get_Vector3d_z(lua_State* tolua_S)
-{
- Vector3d* self = (Vector3d*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'z'",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)self->z);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: z of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_set_Vector3d_z
-static int tolua_set_Vector3d_z(lua_State* tolua_S)
-{
- Vector3d* self = (Vector3d*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'z'",NULL);
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->z = ((double) tolua_tonumber(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: EPS of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_get_Vector3d_EPS
-static int tolua_get_Vector3d_EPS(lua_State* tolua_S)
-{
- tolua_pushnumber(tolua_S,(lua_Number)Vector3d::EPS);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: NO_INTERSECTION of class Vector3d */
-#ifndef TOLUA_DISABLE_tolua_get_Vector3d_NO_INTERSECTION
-static int tolua_get_Vector3d_NO_INTERSECTION(lua_State* tolua_S)
-{
- tolua_pushnumber(tolua_S,(lua_Number)Vector3d::NO_INTERSECTION);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3i_new00
-static int tolua_AllToLua_Vector3i_new00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3i",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* v = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- {
- Vector3i* tolua_ret = (Vector3i*) Mtolua_new((Vector3i)(*v));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3i");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3i_new00_local
-static int tolua_AllToLua_Vector3i_new00_local(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3i",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3d* v = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- {
- Vector3i* tolua_ret = (Vector3i*) Mtolua_new((Vector3i)(*v));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3i");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3i_new01
-static int tolua_AllToLua_Vector3i_new01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3i",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- {
- Vector3i* tolua_ret = (Vector3i*) Mtolua_new((Vector3i)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3i");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3i_new00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3i_new01_local
-static int tolua_AllToLua_Vector3i_new01_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3i",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- {
- Vector3i* tolua_ret = (Vector3i*) Mtolua_new((Vector3i)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3i");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3i_new00_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3i_new02
-static int tolua_AllToLua_Vector3i_new02(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3i",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- int a_x = ((int) tolua_tonumber(tolua_S,2,0));
- int a_y = ((int) tolua_tonumber(tolua_S,3,0));
- int a_z = ((int) tolua_tonumber(tolua_S,4,0));
- {
- Vector3i* tolua_ret = (Vector3i*) Mtolua_new((Vector3i)(a_x,a_y,a_z));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3i");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3i_new01(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3i_new02_local
-static int tolua_AllToLua_Vector3i_new02_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"Vector3i",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- int a_x = ((int) tolua_tonumber(tolua_S,2,0));
- int a_y = ((int) tolua_tonumber(tolua_S,3,0));
- int a_z = ((int) tolua_tonumber(tolua_S,4,0));
- {
- Vector3i* tolua_ret = (Vector3i*) Mtolua_new((Vector3i)(a_x,a_y,a_z));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"Vector3i");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3i_new01_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Set of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3i_Set00
-static int tolua_AllToLua_Vector3i_Set00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"Vector3i",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- Vector3i* self = (Vector3i*) tolua_tousertype(tolua_S,1,0);
- int a_x = ((int) tolua_tonumber(tolua_S,2,0));
- int a_y = ((int) tolua_tonumber(tolua_S,3,0));
- int a_z = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Set'", NULL);
-#endif
- {
- self->Set(a_x,a_y,a_z);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Set'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Length of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3i_Length00
-static int tolua_AllToLua_Vector3i_Length00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3i",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3i* self = (const Vector3i*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Length'", NULL);
-#endif
- {
- float tolua_ret = (float) self->Length();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Length'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SqrLength of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3i_SqrLength00
-static int tolua_AllToLua_Vector3i_SqrLength00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3i",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3i* self = (const Vector3i*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SqrLength'", NULL);
-#endif
- {
- int tolua_ret = (int) self->SqrLength();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SqrLength'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Equals of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3i_Equals00
-static int tolua_AllToLua_Vector3i_Equals00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3i",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3i",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const Vector3i* self = (const Vector3i*) tolua_tousertype(tolua_S,1,0);
- const Vector3i* v = ((const Vector3i*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Equals'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->Equals(*v);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Equals'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Equals of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_Vector3i_Equals01
-static int tolua_AllToLua_Vector3i_Equals01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const Vector3i",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"const Vector3i",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3i* self = (const Vector3i*) tolua_tousertype(tolua_S,1,0);
- const Vector3i* v = ((const Vector3i*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Equals'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->Equals(v);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_Vector3i_Equals00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: x of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_get_Vector3i_x
-static int tolua_get_Vector3i_x(lua_State* tolua_S)
-{
- Vector3i* self = (Vector3i*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'x'",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)self->x);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: x of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_set_Vector3i_x
-static int tolua_set_Vector3i_x(lua_State* tolua_S)
-{
- Vector3i* self = (Vector3i*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'x'",NULL);
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->x = ((int) tolua_tonumber(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: y of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_get_Vector3i_y
-static int tolua_get_Vector3i_y(lua_State* tolua_S)
-{
- Vector3i* self = (Vector3i*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'y'",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)self->y);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: y of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_set_Vector3i_y
-static int tolua_set_Vector3i_y(lua_State* tolua_S)
-{
- Vector3i* self = (Vector3i*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'y'",NULL);
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->y = ((int) tolua_tonumber(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: z of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_get_Vector3i_z
-static int tolua_get_Vector3i_z(lua_State* tolua_S)
-{
- Vector3i* self = (Vector3i*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'z'",NULL);
-#endif
- tolua_pushnumber(tolua_S,(lua_Number)self->z);
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: z of class Vector3i */
-#ifndef TOLUA_DISABLE_tolua_set_Vector3i_z
-static int tolua_set_Vector3i_z(lua_State* tolua_S)
-{
- Vector3i* self = (Vector3i*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'z'",NULL);
- if (!tolua_isnumber(tolua_S,2,0,&tolua_err))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->z = ((int) tolua_tonumber(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: p1 of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_get_cCuboid_p1
-static int tolua_get_cCuboid_p1(lua_State* tolua_S)
-{
- cCuboid* self = (cCuboid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'p1'",NULL);
-#endif
- tolua_pushusertype(tolua_S,(void*)&self->p1,"Vector3i");
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: p1 of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_set_cCuboid_p1
-static int tolua_set_cCuboid_p1(lua_State* tolua_S)
-{
- cCuboid* self = (cCuboid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'p1'",NULL);
- if ((tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"Vector3i",0,&tolua_err)))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->p1 = *((Vector3i*) tolua_tousertype(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: p2 of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_get_cCuboid_p2
-static int tolua_get_cCuboid_p2(lua_State* tolua_S)
-{
- cCuboid* self = (cCuboid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'p2'",NULL);
-#endif
- tolua_pushusertype(tolua_S,(void*)&self->p2,"Vector3i");
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: p2 of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_set_cCuboid_p2
-static int tolua_set_cCuboid_p2(lua_State* tolua_S)
-{
- cCuboid* self = (cCuboid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'p2'",NULL);
- if ((tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"Vector3i",0,&tolua_err)))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->p2 = *((Vector3i*) tolua_tousertype(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_new00
-static int tolua_AllToLua_cCuboid_new00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cCuboid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- cCuboid* tolua_ret = (cCuboid*) Mtolua_new((cCuboid)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cCuboid");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_new00_local
-static int tolua_AllToLua_cCuboid_new00_local(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cCuboid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- cCuboid* tolua_ret = (cCuboid*) Mtolua_new((cCuboid)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cCuboid");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_new01
-static int tolua_AllToLua_cCuboid_new01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cCuboid",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cCuboid",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cCuboid* a_Cuboid = ((const cCuboid*) tolua_tousertype(tolua_S,2,0));
- {
- cCuboid* tolua_ret = (cCuboid*) Mtolua_new((cCuboid)(*a_Cuboid));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cCuboid");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cCuboid_new00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_new01_local
-static int tolua_AllToLua_cCuboid_new01_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cCuboid",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cCuboid",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cCuboid* a_Cuboid = ((const cCuboid*) tolua_tousertype(tolua_S,2,0));
- {
- cCuboid* tolua_ret = (cCuboid*) Mtolua_new((cCuboid)(*a_Cuboid));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cCuboid");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cCuboid_new00_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_new02
-static int tolua_AllToLua_cCuboid_new02(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cCuboid",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3i",0,&tolua_err)) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const Vector3i",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3i* a_p1 = ((const Vector3i*) tolua_tousertype(tolua_S,2,0));
- const Vector3i* a_p2 = ((const Vector3i*) tolua_tousertype(tolua_S,3,0));
- {
- cCuboid* tolua_ret = (cCuboid*) Mtolua_new((cCuboid)(*a_p1,*a_p2));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cCuboid");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cCuboid_new01(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_new02_local
-static int tolua_AllToLua_cCuboid_new02_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cCuboid",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3i",0,&tolua_err)) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const Vector3i",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3i* a_p1 = ((const Vector3i*) tolua_tousertype(tolua_S,2,0));
- const Vector3i* a_p2 = ((const Vector3i*) tolua_tousertype(tolua_S,3,0));
- {
- cCuboid* tolua_ret = (cCuboid*) Mtolua_new((cCuboid)(*a_p1,*a_p2));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cCuboid");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cCuboid_new01_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_new03
-static int tolua_AllToLua_cCuboid_new03(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cCuboid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- int a_X1 = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y1 = ((int) tolua_tonumber(tolua_S,3,0));
- int a_Z1 = ((int) tolua_tonumber(tolua_S,4,0));
- {
- cCuboid* tolua_ret = (cCuboid*) Mtolua_new((cCuboid)(a_X1,a_Y1,a_Z1));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cCuboid");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cCuboid_new02(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_new03_local
-static int tolua_AllToLua_cCuboid_new03_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cCuboid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- int a_X1 = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y1 = ((int) tolua_tonumber(tolua_S,3,0));
- int a_Z1 = ((int) tolua_tonumber(tolua_S,4,0));
- {
- cCuboid* tolua_ret = (cCuboid*) Mtolua_new((cCuboid)(a_X1,a_Y1,a_Z1));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cCuboid");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cCuboid_new02_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_new04
-static int tolua_AllToLua_cCuboid_new04(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cCuboid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,8,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- int a_X1 = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y1 = ((int) tolua_tonumber(tolua_S,3,0));
- int a_Z1 = ((int) tolua_tonumber(tolua_S,4,0));
- int a_X2 = ((int) tolua_tonumber(tolua_S,5,0));
- int a_Y2 = ((int) tolua_tonumber(tolua_S,6,0));
- int a_Z2 = ((int) tolua_tonumber(tolua_S,7,0));
- {
- cCuboid* tolua_ret = (cCuboid*) Mtolua_new((cCuboid)(a_X1,a_Y1,a_Z1,a_X2,a_Y2,a_Z2));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cCuboid");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cCuboid_new03(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_new04_local
-static int tolua_AllToLua_cCuboid_new04_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cCuboid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,8,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- int a_X1 = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y1 = ((int) tolua_tonumber(tolua_S,3,0));
- int a_Z1 = ((int) tolua_tonumber(tolua_S,4,0));
- int a_X2 = ((int) tolua_tonumber(tolua_S,5,0));
- int a_Y2 = ((int) tolua_tonumber(tolua_S,6,0));
- int a_Z2 = ((int) tolua_tonumber(tolua_S,7,0));
- {
- cCuboid* tolua_ret = (cCuboid*) Mtolua_new((cCuboid)(a_X1,a_Y1,a_Z1,a_X2,a_Y2,a_Z2));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cCuboid");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cCuboid_new03_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Assign of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_Assign00
-static int tolua_AllToLua_cCuboid_Assign00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cCuboid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,8,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cCuboid* self = (cCuboid*) tolua_tousertype(tolua_S,1,0);
- int a_X1 = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y1 = ((int) tolua_tonumber(tolua_S,3,0));
- int a_Z1 = ((int) tolua_tonumber(tolua_S,4,0));
- int a_X2 = ((int) tolua_tonumber(tolua_S,5,0));
- int a_Y2 = ((int) tolua_tonumber(tolua_S,6,0));
- int a_Z2 = ((int) tolua_tonumber(tolua_S,7,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Assign'", NULL);
-#endif
- {
- self->Assign(a_X1,a_Y1,a_Z1,a_X2,a_Y2,a_Z2);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Assign'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Sort of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_Sort00
-static int tolua_AllToLua_cCuboid_Sort00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cCuboid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cCuboid* self = (cCuboid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Sort'", NULL);
-#endif
- {
- self->Sort();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Sort'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DifX of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_DifX00
-static int tolua_AllToLua_cCuboid_DifX00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCuboid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cCuboid* self = (const cCuboid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DifX'", NULL);
-#endif
- {
- int tolua_ret = (int) self->DifX();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DifX'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DifY of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_DifY00
-static int tolua_AllToLua_cCuboid_DifY00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCuboid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cCuboid* self = (const cCuboid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DifY'", NULL);
-#endif
- {
- int tolua_ret = (int) self->DifY();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DifY'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DifZ of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_DifZ00
-static int tolua_AllToLua_cCuboid_DifZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCuboid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cCuboid* self = (const cCuboid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DifZ'", NULL);
-#endif
- {
- int tolua_ret = (int) self->DifZ();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DifZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DoesIntersect of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_DoesIntersect00
-static int tolua_AllToLua_cCuboid_DoesIntersect00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCuboid",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cCuboid",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cCuboid* self = (const cCuboid*) tolua_tousertype(tolua_S,1,0);
- const cCuboid* a_Other = ((const cCuboid*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DoesIntersect'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DoesIntersect(*a_Other);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DoesIntersect'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsInside of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_IsInside00
-static int tolua_AllToLua_cCuboid_IsInside00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCuboid",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3i",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cCuboid* self = (const cCuboid*) tolua_tousertype(tolua_S,1,0);
- const Vector3i* v = ((const Vector3i*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsInside'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsInside(*v);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsInside'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsInside of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_IsInside01
-static int tolua_AllToLua_cCuboid_IsInside01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCuboid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cCuboid* self = (const cCuboid*) tolua_tousertype(tolua_S,1,0);
- int a_X = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Y = ((int) tolua_tonumber(tolua_S,3,0));
- int a_Z = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsInside'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsInside(a_X,a_Y,a_Z);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cCuboid_IsInside00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsInside of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_IsInside02
-static int tolua_AllToLua_cCuboid_IsInside02(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCuboid",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cCuboid* self = (const cCuboid*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* v = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsInside'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsInside(*v);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cCuboid_IsInside01(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsCompletelyInside of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_IsCompletelyInside00
-static int tolua_AllToLua_cCuboid_IsCompletelyInside00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCuboid",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cCuboid",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cCuboid* self = (const cCuboid*) tolua_tousertype(tolua_S,1,0);
- const cCuboid* a_Outer = ((const cCuboid*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsCompletelyInside'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsCompletelyInside(*a_Outer);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsCompletelyInside'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Move of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_Move00
-static int tolua_AllToLua_cCuboid_Move00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cCuboid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cCuboid* self = (cCuboid*) tolua_tousertype(tolua_S,1,0);
- int a_OfsX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_OfsY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_OfsZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Move'", NULL);
-#endif
- {
- self->Move(a_OfsX,a_OfsY,a_OfsZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Move'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsSorted of class cCuboid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCuboid_IsSorted00
-static int tolua_AllToLua_cCuboid_IsSorted00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCuboid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cCuboid* self = (const cCuboid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsSorted'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsSorted();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsSorted'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_new00
-static int tolua_AllToLua_cBoundingBox_new00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,8,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- double a_MinX = ((double) tolua_tonumber(tolua_S,2,0));
- double a_MaxX = ((double) tolua_tonumber(tolua_S,3,0));
- double a_MinY = ((double) tolua_tonumber(tolua_S,4,0));
- double a_MaxY = ((double) tolua_tonumber(tolua_S,5,0));
- double a_MinZ = ((double) tolua_tonumber(tolua_S,6,0));
- double a_MaxZ = ((double) tolua_tonumber(tolua_S,7,0));
- {
- cBoundingBox* tolua_ret = (cBoundingBox*) Mtolua_new((cBoundingBox)(a_MinX,a_MaxX,a_MinY,a_MaxY,a_MinZ,a_MaxZ));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cBoundingBox");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_new00_local
-static int tolua_AllToLua_cBoundingBox_new00_local(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,8,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- double a_MinX = ((double) tolua_tonumber(tolua_S,2,0));
- double a_MaxX = ((double) tolua_tonumber(tolua_S,3,0));
- double a_MinY = ((double) tolua_tonumber(tolua_S,4,0));
- double a_MaxY = ((double) tolua_tonumber(tolua_S,5,0));
- double a_MinZ = ((double) tolua_tonumber(tolua_S,6,0));
- double a_MaxZ = ((double) tolua_tonumber(tolua_S,7,0));
- {
- cBoundingBox* tolua_ret = (cBoundingBox*) Mtolua_new((cBoundingBox)(a_MinX,a_MaxX,a_MinY,a_MaxY,a_MinZ,a_MaxZ));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cBoundingBox");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_new01
-static int tolua_AllToLua_cBoundingBox_new01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3d* a_Min = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- const Vector3d* a_Max = ((const Vector3d*) tolua_tousertype(tolua_S,3,0));
- {
- cBoundingBox* tolua_ret = (cBoundingBox*) Mtolua_new((cBoundingBox)(*a_Min,*a_Max));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cBoundingBox");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cBoundingBox_new00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_new01_local
-static int tolua_AllToLua_cBoundingBox_new01_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3d* a_Min = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- const Vector3d* a_Max = ((const Vector3d*) tolua_tousertype(tolua_S,3,0));
- {
- cBoundingBox* tolua_ret = (cBoundingBox*) Mtolua_new((cBoundingBox)(*a_Min,*a_Max));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cBoundingBox");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cBoundingBox_new00_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_new02
-static int tolua_AllToLua_cBoundingBox_new02(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3d* a_Pos = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- double a_Radius = ((double) tolua_tonumber(tolua_S,3,0));
- double a_Height = ((double) tolua_tonumber(tolua_S,4,0));
- {
- cBoundingBox* tolua_ret = (cBoundingBox*) Mtolua_new((cBoundingBox)(*a_Pos,a_Radius,a_Height));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cBoundingBox");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cBoundingBox_new01(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_new02_local
-static int tolua_AllToLua_cBoundingBox_new02_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3d* a_Pos = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- double a_Radius = ((double) tolua_tonumber(tolua_S,3,0));
- double a_Height = ((double) tolua_tonumber(tolua_S,4,0));
- {
- cBoundingBox* tolua_ret = (cBoundingBox*) Mtolua_new((cBoundingBox)(*a_Pos,a_Radius,a_Height));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cBoundingBox");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cBoundingBox_new01_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_new03
-static int tolua_AllToLua_cBoundingBox_new03(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cBoundingBox",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cBoundingBox* a_Orig = ((const cBoundingBox*) tolua_tousertype(tolua_S,2,0));
- {
- cBoundingBox* tolua_ret = (cBoundingBox*) Mtolua_new((cBoundingBox)(*a_Orig));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cBoundingBox");
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cBoundingBox_new02(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_new03_local
-static int tolua_AllToLua_cBoundingBox_new03_local(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cBoundingBox",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const cBoundingBox* a_Orig = ((const cBoundingBox*) tolua_tousertype(tolua_S,2,0));
- {
- cBoundingBox* tolua_ret = (cBoundingBox*) Mtolua_new((cBoundingBox)(*a_Orig));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cBoundingBox");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cBoundingBox_new02_local(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Move of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_Move00
-static int tolua_AllToLua_cBoundingBox_Move00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBoundingBox* self = (cBoundingBox*) tolua_tousertype(tolua_S,1,0);
- double a_OffX = ((double) tolua_tonumber(tolua_S,2,0));
- double a_OffY = ((double) tolua_tonumber(tolua_S,3,0));
- double a_OffZ = ((double) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Move'", NULL);
-#endif
- {
- self->Move(a_OffX,a_OffY,a_OffZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Move'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Move of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_Move01
-static int tolua_AllToLua_cBoundingBox_Move01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cBoundingBox* self = (cBoundingBox*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* a_Off = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Move'", NULL);
-#endif
- {
- self->Move(*a_Off);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cBoundingBox_Move00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Expand of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_Expand00
-static int tolua_AllToLua_cBoundingBox_Expand00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBoundingBox* self = (cBoundingBox*) tolua_tousertype(tolua_S,1,0);
- double a_ExpandX = ((double) tolua_tonumber(tolua_S,2,0));
- double a_ExpandY = ((double) tolua_tonumber(tolua_S,3,0));
- double a_ExpandZ = ((double) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Expand'", NULL);
-#endif
- {
- self->Expand(a_ExpandX,a_ExpandY,a_ExpandZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Expand'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DoesIntersect of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_DoesIntersect00
-static int tolua_AllToLua_cBoundingBox_DoesIntersect00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cBoundingBox",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBoundingBox* self = (cBoundingBox*) tolua_tousertype(tolua_S,1,0);
- const cBoundingBox* a_Other = ((const cBoundingBox*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DoesIntersect'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->DoesIntersect(*a_Other);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DoesIntersect'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Union of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_Union00
-static int tolua_AllToLua_cBoundingBox_Union00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cBoundingBox",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBoundingBox* self = (cBoundingBox*) tolua_tousertype(tolua_S,1,0);
- const cBoundingBox* a_Other = ((const cBoundingBox*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Union'", NULL);
-#endif
- {
- cBoundingBox tolua_ret = (cBoundingBox) self->Union(*a_Other);
- {
-#ifdef __cplusplus
- void* tolua_obj = Mtolua_new((cBoundingBox)(tolua_ret));
- tolua_pushusertype(tolua_S,tolua_obj,"cBoundingBox");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#else
- void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(cBoundingBox));
- tolua_pushusertype(tolua_S,tolua_obj,"cBoundingBox");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
-#endif
- }
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Union'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsInside of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_IsInside00
-static int tolua_AllToLua_cBoundingBox_IsInside00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBoundingBox* self = (cBoundingBox*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* a_Point = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsInside'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsInside(*a_Point);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsInside'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsInside of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_IsInside01
-static int tolua_AllToLua_cBoundingBox_IsInside01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cBoundingBox* self = (cBoundingBox*) tolua_tousertype(tolua_S,1,0);
- double a_X = ((double) tolua_tonumber(tolua_S,2,0));
- double a_Y = ((double) tolua_tonumber(tolua_S,3,0));
- double a_Z = ((double) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsInside'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsInside(a_X,a_Y,a_Z);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cBoundingBox_IsInside00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsInside of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_IsInside02
-static int tolua_AllToLua_cBoundingBox_IsInside02(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"cBoundingBox",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cBoundingBox* self = (cBoundingBox*) tolua_tousertype(tolua_S,1,0);
- cBoundingBox* a_Other = ((cBoundingBox*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsInside'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsInside(*a_Other);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cBoundingBox_IsInside01(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsInside of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_IsInside03
-static int tolua_AllToLua_cBoundingBox_IsInside03(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cBoundingBox* self = (cBoundingBox*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* a_Min = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- const Vector3d* a_Max = ((const Vector3d*) tolua_tousertype(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsInside'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsInside(*a_Min,*a_Max);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cBoundingBox_IsInside02(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsInside of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_IsInside04
-static int tolua_AllToLua_cBoundingBox_IsInside04(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const Vector3d",0,&tolua_err)) ||
- (tolua_isvaluenil(tolua_S,4,&tolua_err) || !tolua_isusertype(tolua_S,4,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3d* a_Min = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- const Vector3d* a_Max = ((const Vector3d*) tolua_tousertype(tolua_S,3,0));
- const Vector3d* a_Point = ((const Vector3d*) tolua_tousertype(tolua_S,4,0));
- {
- bool tolua_ret = (bool) cBoundingBox::IsInside(*a_Min,*a_Max,*a_Point);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cBoundingBox_IsInside03(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsInside of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_IsInside05
-static int tolua_AllToLua_cBoundingBox_IsInside05(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3d* a_Min = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- const Vector3d* a_Max = ((const Vector3d*) tolua_tousertype(tolua_S,3,0));
- double a_X = ((double) tolua_tonumber(tolua_S,4,0));
- double a_Y = ((double) tolua_tonumber(tolua_S,5,0));
- double a_Z = ((double) tolua_tonumber(tolua_S,6,0));
- {
- bool tolua_ret = (bool) cBoundingBox::IsInside(*a_Min,*a_Max,a_X,a_Y,a_Z);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cBoundingBox_IsInside04(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CalcLineIntersection of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_CalcLineIntersection00
-static int tolua_AllToLua_cBoundingBox_CalcLineIntersection00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBoundingBox* self = (cBoundingBox*) tolua_tousertype(tolua_S,1,0);
- const Vector3d* a_Line1 = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- const Vector3d* a_Line2 = ((const Vector3d*) tolua_tousertype(tolua_S,3,0));
- double a_LineCoeff = ((double) tolua_tonumber(tolua_S,4,0));
- char a_Face = ((char) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CalcLineIntersection'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->CalcLineIntersection(*a_Line1,*a_Line2,a_LineCoeff,a_Face);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushnumber(tolua_S,(lua_Number)a_LineCoeff);
- tolua_pushnumber(tolua_S,(lua_Number)a_Face);
- }
- }
- return 3;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CalcLineIntersection'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CalcLineIntersection of class cBoundingBox */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBoundingBox_CalcLineIntersection01
-static int tolua_AllToLua_cBoundingBox_CalcLineIntersection01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cBoundingBox",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3d",0,&tolua_err)) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const Vector3d",0,&tolua_err)) ||
- (tolua_isvaluenil(tolua_S,4,&tolua_err) || !tolua_isusertype(tolua_S,4,"const Vector3d",0,&tolua_err)) ||
- (tolua_isvaluenil(tolua_S,5,&tolua_err) || !tolua_isusertype(tolua_S,5,"const Vector3d",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,8,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- const Vector3d* a_Min = ((const Vector3d*) tolua_tousertype(tolua_S,2,0));
- const Vector3d* a_Max = ((const Vector3d*) tolua_tousertype(tolua_S,3,0));
- const Vector3d* a_Line1 = ((const Vector3d*) tolua_tousertype(tolua_S,4,0));
- const Vector3d* a_Line2 = ((const Vector3d*) tolua_tousertype(tolua_S,5,0));
- double a_LineCoeff = ((double) tolua_tonumber(tolua_S,6,0));
- char a_Face = ((char) tolua_tonumber(tolua_S,7,0));
- {
- bool tolua_ret = (bool) cBoundingBox::CalcLineIntersection(*a_Min,*a_Max,*a_Line1,*a_Line2,a_LineCoeff,a_Face);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushnumber(tolua_S,(lua_Number)a_LineCoeff);
- tolua_pushnumber(tolua_S,(lua_Number)a_Face);
- }
- }
- return 3;
-tolua_lerror:
- return tolua_AllToLua_cBoundingBox_CalcLineIntersection00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: BlockHitPosition of class cTracer */
-#ifndef TOLUA_DISABLE_tolua_get_cTracer_BlockHitPosition
-static int tolua_get_cTracer_BlockHitPosition(lua_State* tolua_S)
-{
- cTracer* self = (cTracer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'BlockHitPosition'",NULL);
-#endif
- tolua_pushusertype(tolua_S,(void*)&self->BlockHitPosition,"Vector3f");
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: BlockHitPosition of class cTracer */
-#ifndef TOLUA_DISABLE_tolua_set_cTracer_BlockHitPosition
-static int tolua_set_cTracer_BlockHitPosition(lua_State* tolua_S)
-{
- cTracer* self = (cTracer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'BlockHitPosition'",NULL);
- if ((tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"Vector3f",0,&tolua_err)))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->BlockHitPosition = *((Vector3f*) tolua_tousertype(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: HitNormal of class cTracer */
-#ifndef TOLUA_DISABLE_tolua_get_cTracer_HitNormal
-static int tolua_get_cTracer_HitNormal(lua_State* tolua_S)
-{
- cTracer* self = (cTracer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'HitNormal'",NULL);
-#endif
- tolua_pushusertype(tolua_S,(void*)&self->HitNormal,"Vector3f");
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: HitNormal of class cTracer */
-#ifndef TOLUA_DISABLE_tolua_set_cTracer_HitNormal
-static int tolua_set_cTracer_HitNormal(lua_State* tolua_S)
-{
- cTracer* self = (cTracer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'HitNormal'",NULL);
- if ((tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"Vector3f",0,&tolua_err)))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->HitNormal = *((Vector3f*) tolua_tousertype(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* get function: RealHit of class cTracer */
-#ifndef TOLUA_DISABLE_tolua_get_cTracer_RealHit
-static int tolua_get_cTracer_RealHit(lua_State* tolua_S)
-{
- cTracer* self = (cTracer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'RealHit'",NULL);
-#endif
- tolua_pushusertype(tolua_S,(void*)&self->RealHit,"Vector3f");
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* set function: RealHit of class cTracer */
-#ifndef TOLUA_DISABLE_tolua_set_cTracer_RealHit
-static int tolua_set_cTracer_RealHit(lua_State* tolua_S)
-{
- cTracer* self = (cTracer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'RealHit'",NULL);
- if ((tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"Vector3f",0,&tolua_err)))
- tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
-#endif
- self->RealHit = *((Vector3f*) tolua_tousertype(tolua_S,2,0))
-;
- return 0;
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cTracer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cTracer_new00
-static int tolua_AllToLua_cTracer_new00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cTracer",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* a_World = ((cWorld*) tolua_tousertype(tolua_S,2,0));
- {
- cTracer* tolua_ret = (cTracer*) Mtolua_new((cTracer)(a_World));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cTracer");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cTracer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cTracer_new00_local
-static int tolua_AllToLua_cTracer_new00_local(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cTracer",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"cWorld",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWorld* a_World = ((cWorld*) tolua_tousertype(tolua_S,2,0));
- {
- cTracer* tolua_ret = (cTracer*) Mtolua_new((cTracer)(a_World));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cTracer");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: delete of class cTracer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cTracer_delete00
-static int tolua_AllToLua_cTracer_delete00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cTracer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cTracer* self = (cTracer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
-#endif
- Mtolua_delete(self);
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Trace of class cTracer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cTracer_Trace00
-static int tolua_AllToLua_cTracer_Trace00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cTracer",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3f",0,&tolua_err)) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const Vector3f",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cTracer* self = (cTracer*) tolua_tousertype(tolua_S,1,0);
- const Vector3f* a_Start = ((const Vector3f*) tolua_tousertype(tolua_S,2,0));
- const Vector3f* a_Direction = ((const Vector3f*) tolua_tousertype(tolua_S,3,0));
- int a_Distance = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Trace'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->Trace(*a_Start,*a_Direction,a_Distance);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Trace'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Trace of class cTracer */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cTracer_Trace01
-static int tolua_AllToLua_cTracer_Trace01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cTracer",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const Vector3f",0,&tolua_err)) ||
- (tolua_isvaluenil(tolua_S,3,&tolua_err) || !tolua_isusertype(tolua_S,3,"const Vector3f",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isboolean(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cTracer* self = (cTracer*) tolua_tousertype(tolua_S,1,0);
- const Vector3f* a_Start = ((const Vector3f*) tolua_tousertype(tolua_S,2,0));
- const Vector3f* a_Direction = ((const Vector3f*) tolua_tousertype(tolua_S,3,0));
- int a_Distance = ((int) tolua_tonumber(tolua_S,4,0));
- bool a_LineOfSight = ((bool) tolua_toboolean(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Trace'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->Trace(*a_Start,*a_Direction,a_Distance,a_LineOfSight);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cTracer_Trace00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetName of class cGroup */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cGroup_SetName00
-static int tolua_AllToLua_cGroup_SetName00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cGroup",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cGroup* self = (cGroup*) tolua_tousertype(tolua_S,1,0);
- std::string a_Name = ((std::string) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetName'", NULL);
-#endif
- {
- self->SetName(a_Name);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetName'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetName of class cGroup */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cGroup_GetName00
-static int tolua_AllToLua_cGroup_GetName00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cGroup",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cGroup* self = (const cGroup*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetName'", NULL);
-#endif
- {
- const std::string tolua_ret = (const std::string) self->GetName();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetName'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetColor of class cGroup */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cGroup_SetColor00
-static int tolua_AllToLua_cGroup_SetColor00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cGroup",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cGroup* self = (cGroup*) tolua_tousertype(tolua_S,1,0);
- std::string a_Color = ((std::string) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetColor'", NULL);
-#endif
- {
- self->SetColor(a_Color);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetColor'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddCommand of class cGroup */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cGroup_AddCommand00
-static int tolua_AllToLua_cGroup_AddCommand00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cGroup",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cGroup* self = (cGroup*) tolua_tousertype(tolua_S,1,0);
- std::string a_Command = ((std::string) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddCommand'", NULL);
-#endif
- {
- self->AddCommand(a_Command);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddCommand'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: AddPermission of class cGroup */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cGroup_AddPermission00
-static int tolua_AllToLua_cGroup_AddPermission00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cGroup",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cGroup* self = (cGroup*) tolua_tousertype(tolua_S,1,0);
- std::string a_Permission = ((std::string) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddPermission'", NULL);
-#endif
- {
- self->AddPermission(a_Permission);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'AddPermission'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: InheritFrom of class cGroup */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cGroup_InheritFrom00
-static int tolua_AllToLua_cGroup_InheritFrom00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cGroup",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"cGroup",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cGroup* self = (cGroup*) tolua_tousertype(tolua_S,1,0);
- cGroup* a_Group = ((cGroup*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'InheritFrom'", NULL);
-#endif
- {
- self->InheritFrom(a_Group);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'InheritFrom'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HasCommand of class cGroup */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cGroup_HasCommand00
-static int tolua_AllToLua_cGroup_HasCommand00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cGroup",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cGroup* self = (cGroup*) tolua_tousertype(tolua_S,1,0);
- std::string a_Command = ((std::string) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HasCommand'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->HasCommand(a_Command);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'HasCommand'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetColor of class cGroup */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cGroup_GetColor00
-static int tolua_AllToLua_cGroup_GetColor00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cGroup",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cGroup* self = (const cGroup*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetColor'", NULL);
-#endif
- {
- const AString tolua_ret = (const AString) self->GetColor();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetColor'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_new00
-static int tolua_AllToLua_cBlockArea_new00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- cBlockArea* tolua_ret = (cBlockArea*) Mtolua_new((cBlockArea)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cBlockArea");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_new00_local
-static int tolua_AllToLua_cBlockArea_new00_local(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- {
- cBlockArea* tolua_ret = (cBlockArea*) Mtolua_new((cBlockArea)());
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cBlockArea");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: delete of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_delete00
-static int tolua_AllToLua_cBlockArea_delete00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
-#endif
- Mtolua_delete(self);
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Clear of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_Clear00
-static int tolua_AllToLua_cBlockArea_Clear00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Clear'", NULL);
-#endif
- {
- self->Clear();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Clear'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Create of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_Create00
-static int tolua_AllToLua_cBlockArea_Create00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_SizeX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_SizeY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_SizeZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Create'", NULL);
-#endif
- {
- self->Create(a_SizeX,a_SizeY,a_SizeZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Create'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Create of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_Create01
-static int tolua_AllToLua_cBlockArea_Create01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_SizeX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_SizeY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_SizeZ = ((int) tolua_tonumber(tolua_S,4,0));
- int a_DataTypes = ((int) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Create'", NULL);
-#endif
- {
- self->Create(a_SizeX,a_SizeY,a_SizeZ,a_DataTypes);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cBlockArea_Create00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetOrigin of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_SetOrigin00
-static int tolua_AllToLua_cBlockArea_SetOrigin00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_OriginX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_OriginY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_OriginZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetOrigin'", NULL);
-#endif
- {
- self->SetOrigin(a_OriginX,a_OriginY,a_OriginZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetOrigin'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Read of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_Read00
-static int tolua_AllToLua_cBlockArea_Read00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,8,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,9,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- cWorld* a_World = ((cWorld*) tolua_tousertype(tolua_S,2,0));
- int a_MinBlockX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_MaxBlockX = ((int) tolua_tonumber(tolua_S,4,0));
- int a_MinBlockY = ((int) tolua_tonumber(tolua_S,5,0));
- int a_MaxBlockY = ((int) tolua_tonumber(tolua_S,6,0));
- int a_MinBlockZ = ((int) tolua_tonumber(tolua_S,7,0));
- int a_MaxBlockZ = ((int) tolua_tonumber(tolua_S,8,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Read'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->Read(a_World,a_MinBlockX,a_MaxBlockX,a_MinBlockY,a_MaxBlockY,a_MinBlockZ,a_MaxBlockZ);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Read'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Read of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_Read01
-static int tolua_AllToLua_cBlockArea_Read01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,8,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,9,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,10,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- cWorld* a_World = ((cWorld*) tolua_tousertype(tolua_S,2,0));
- int a_MinBlockX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_MaxBlockX = ((int) tolua_tonumber(tolua_S,4,0));
- int a_MinBlockY = ((int) tolua_tonumber(tolua_S,5,0));
- int a_MaxBlockY = ((int) tolua_tonumber(tolua_S,6,0));
- int a_MinBlockZ = ((int) tolua_tonumber(tolua_S,7,0));
- int a_MaxBlockZ = ((int) tolua_tonumber(tolua_S,8,0));
- int a_DataTypes = ((int) tolua_tonumber(tolua_S,9,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Read'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->Read(a_World,a_MinBlockX,a_MaxBlockX,a_MinBlockY,a_MaxBlockY,a_MinBlockZ,a_MaxBlockZ,a_DataTypes);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cBlockArea_Read00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Write of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_Write00
-static int tolua_AllToLua_cBlockArea_Write00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- cWorld* a_World = ((cWorld*) tolua_tousertype(tolua_S,2,0));
- int a_MinBlockX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_MinBlockY = ((int) tolua_tonumber(tolua_S,4,0));
- int a_MinBlockZ = ((int) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Write'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->Write(a_World,a_MinBlockX,a_MinBlockY,a_MinBlockZ);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Write'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Write of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_Write01
-static int tolua_AllToLua_cBlockArea_Write01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isusertype(tolua_S,2,"cWorld",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- cWorld* a_World = ((cWorld*) tolua_tousertype(tolua_S,2,0));
- int a_MinBlockX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_MinBlockY = ((int) tolua_tonumber(tolua_S,4,0));
- int a_MinBlockZ = ((int) tolua_tonumber(tolua_S,5,0));
- int a_DataTypes = ((int) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Write'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->Write(a_World,a_MinBlockX,a_MinBlockY,a_MinBlockZ,a_DataTypes);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-tolua_lerror:
- return tolua_AllToLua_cBlockArea_Write00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CopyTo of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_CopyTo00
-static int tolua_AllToLua_cBlockArea_CopyTo00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"cBlockArea",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
- cBlockArea* a_Into = ((cBlockArea*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CopyTo'", NULL);
-#endif
- {
- self->CopyTo(*a_Into);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CopyTo'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: CopyFrom of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_CopyFrom00
-static int tolua_AllToLua_cBlockArea_CopyFrom00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cBlockArea",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- const cBlockArea* a_From = ((const cBlockArea*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CopyFrom'", NULL);
-#endif
- {
- self->CopyFrom(*a_From);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'CopyFrom'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: DumpToRawFile of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_DumpToRawFile00
-static int tolua_AllToLua_cBlockArea_DumpToRawFile00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- const AString a_FileName = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DumpToRawFile'", NULL);
-#endif
- {
- self->DumpToRawFile(a_FileName);
- tolua_pushcppstring(tolua_S,(const char*)a_FileName);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DumpToRawFile'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: LoadFromSchematicFile of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_LoadFromSchematicFile00
-static int tolua_AllToLua_cBlockArea_LoadFromSchematicFile00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- const AString a_FileName = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'LoadFromSchematicFile'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->LoadFromSchematicFile(a_FileName);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_FileName);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'LoadFromSchematicFile'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SaveToSchematicFile of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_SaveToSchematicFile00
-static int tolua_AllToLua_cBlockArea_SaveToSchematicFile00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- const AString a_FileName = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SaveToSchematicFile'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->SaveToSchematicFile(a_FileName);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_FileName);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SaveToSchematicFile'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Crop of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_Crop00
-static int tolua_AllToLua_cBlockArea_Crop00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,8,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_AddMinX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_SubMaxX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_AddMinY = ((int) tolua_tonumber(tolua_S,4,0));
- int a_SubMaxY = ((int) tolua_tonumber(tolua_S,5,0));
- int a_AddMinZ = ((int) tolua_tonumber(tolua_S,6,0));
- int a_SubMaxZ = ((int) tolua_tonumber(tolua_S,7,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Crop'", NULL);
-#endif
- {
- self->Crop(a_AddMinX,a_SubMaxX,a_AddMinY,a_SubMaxY,a_AddMinZ,a_SubMaxZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Crop'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Expand of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_Expand00
-static int tolua_AllToLua_cBlockArea_Expand00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,8,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_SubMinX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_AddMaxX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_SubMinY = ((int) tolua_tonumber(tolua_S,4,0));
- int a_AddMaxY = ((int) tolua_tonumber(tolua_S,5,0));
- int a_SubMinZ = ((int) tolua_tonumber(tolua_S,6,0));
- int a_AddMaxZ = ((int) tolua_tonumber(tolua_S,7,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Expand'", NULL);
-#endif
- {
- self->Expand(a_SubMinX,a_AddMaxX,a_SubMinY,a_AddMaxY,a_SubMinZ,a_AddMaxZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Expand'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Merge of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_Merge00
-static int tolua_AllToLua_cBlockArea_Merge00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cBlockArea",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- const cBlockArea* a_Src = ((const cBlockArea*) tolua_tousertype(tolua_S,2,0));
- int a_RelX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,4,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,5,0));
- cBlockArea::eMergeStrategy a_Strategy = ((cBlockArea::eMergeStrategy) (int) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Merge'", NULL);
-#endif
- {
- self->Merge(*a_Src,a_RelX,a_RelY,a_RelZ,a_Strategy);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Merge'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Fill of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_Fill00
-static int tolua_AllToLua_cBlockArea_Fill00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_DataTypes = ((int) tolua_tonumber(tolua_S,2,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,3,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockLight = (( unsigned char) tolua_tonumber(tolua_S,5,0));
- unsigned char a_BlockSkyLight = (( unsigned char) tolua_tonumber(tolua_S,6,0x0f));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Fill'", NULL);
-#endif
- {
- self->Fill(a_DataTypes,a_BlockType,a_BlockMeta,a_BlockLight,a_BlockSkyLight);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Fill'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: FillRelCuboid of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_FillRelCuboid00
-static int tolua_AllToLua_cBlockArea_FillRelCuboid00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,8,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,9,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,10,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,11,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,12,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,13,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_MinRelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_MaxRelX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_MinRelY = ((int) tolua_tonumber(tolua_S,4,0));
- int a_MaxRelY = ((int) tolua_tonumber(tolua_S,5,0));
- int a_MinRelZ = ((int) tolua_tonumber(tolua_S,6,0));
- int a_MaxRelZ = ((int) tolua_tonumber(tolua_S,7,0));
- int a_DataTypes = ((int) tolua_tonumber(tolua_S,8,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,9,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,10,0));
- unsigned char a_BlockLight = (( unsigned char) tolua_tonumber(tolua_S,11,0));
- unsigned char a_BlockSkyLight = (( unsigned char) tolua_tonumber(tolua_S,12,0x0f));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'FillRelCuboid'", NULL);
-#endif
- {
- self->FillRelCuboid(a_MinRelX,a_MaxRelX,a_MinRelY,a_MaxRelY,a_MinRelZ,a_MaxRelZ,a_DataTypes,a_BlockType,a_BlockMeta,a_BlockLight,a_BlockSkyLight);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'FillRelCuboid'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: RelLine of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_RelLine00
-static int tolua_AllToLua_cBlockArea_RelLine00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,8,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,9,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,10,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,11,1,&tolua_err) ||
- !tolua_isnumber(tolua_S,12,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,13,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_RelX1 = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY1 = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ1 = ((int) tolua_tonumber(tolua_S,4,0));
- int a_RelX2 = ((int) tolua_tonumber(tolua_S,5,0));
- int a_RelY2 = ((int) tolua_tonumber(tolua_S,6,0));
- int a_RelZ2 = ((int) tolua_tonumber(tolua_S,7,0));
- int a_DataTypes = ((int) tolua_tonumber(tolua_S,8,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,9,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,10,0));
- unsigned char a_BlockLight = (( unsigned char) tolua_tonumber(tolua_S,11,0));
- unsigned char a_BlockSkyLight = (( unsigned char) tolua_tonumber(tolua_S,12,0x0f));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'RelLine'", NULL);
-#endif
- {
- self->RelLine(a_RelX1,a_RelY1,a_RelZ1,a_RelX2,a_RelY2,a_RelZ2,a_DataTypes,a_BlockType,a_BlockMeta,a_BlockLight,a_BlockSkyLight);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'RelLine'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: RotateCCW of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_RotateCCW00
-static int tolua_AllToLua_cBlockArea_RotateCCW00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'RotateCCW'", NULL);
-#endif
- {
- self->RotateCCW();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'RotateCCW'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: RotateCW of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_RotateCW00
-static int tolua_AllToLua_cBlockArea_RotateCW00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'RotateCW'", NULL);
-#endif
- {
- self->RotateCW();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'RotateCW'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: MirrorXY of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_MirrorXY00
-static int tolua_AllToLua_cBlockArea_MirrorXY00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'MirrorXY'", NULL);
-#endif
- {
- self->MirrorXY();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'MirrorXY'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: MirrorXZ of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_MirrorXZ00
-static int tolua_AllToLua_cBlockArea_MirrorXZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'MirrorXZ'", NULL);
-#endif
- {
- self->MirrorXZ();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'MirrorXZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: MirrorYZ of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_MirrorYZ00
-static int tolua_AllToLua_cBlockArea_MirrorYZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'MirrorYZ'", NULL);
-#endif
- {
- self->MirrorYZ();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'MirrorYZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: RotateCCWNoMeta of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_RotateCCWNoMeta00
-static int tolua_AllToLua_cBlockArea_RotateCCWNoMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'RotateCCWNoMeta'", NULL);
-#endif
- {
- self->RotateCCWNoMeta();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'RotateCCWNoMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: RotateCWNoMeta of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_RotateCWNoMeta00
-static int tolua_AllToLua_cBlockArea_RotateCWNoMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'RotateCWNoMeta'", NULL);
-#endif
- {
- self->RotateCWNoMeta();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'RotateCWNoMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: MirrorXYNoMeta of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_MirrorXYNoMeta00
-static int tolua_AllToLua_cBlockArea_MirrorXYNoMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'MirrorXYNoMeta'", NULL);
-#endif
- {
- self->MirrorXYNoMeta();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'MirrorXYNoMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: MirrorXZNoMeta of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_MirrorXZNoMeta00
-static int tolua_AllToLua_cBlockArea_MirrorXZNoMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'MirrorXZNoMeta'", NULL);
-#endif
- {
- self->MirrorXZNoMeta();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'MirrorXZNoMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: MirrorYZNoMeta of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_MirrorYZNoMeta00
-static int tolua_AllToLua_cBlockArea_MirrorYZNoMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'MirrorYZNoMeta'", NULL);
-#endif
- {
- self->MirrorYZNoMeta();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'MirrorYZNoMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetRelBlockType of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_SetRelBlockType00
-static int tolua_AllToLua_cBlockArea_SetRelBlockType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetRelBlockType'", NULL);
-#endif
- {
- self->SetRelBlockType(a_RelX,a_RelY,a_RelZ,a_BlockType);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetRelBlockType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetBlockType of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_SetBlockType00
-static int tolua_AllToLua_cBlockArea_SetBlockType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetBlockType'", NULL);
-#endif
- {
- self->SetBlockType(a_BlockX,a_BlockY,a_BlockZ,a_BlockType);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetBlockType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetRelBlockMeta of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_SetRelBlockMeta00
-static int tolua_AllToLua_cBlockArea_SetRelBlockMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetRelBlockMeta'", NULL);
-#endif
- {
- self->SetRelBlockMeta(a_RelX,a_RelY,a_RelZ,a_BlockMeta);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetRelBlockMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetBlockMeta of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_SetBlockMeta00
-static int tolua_AllToLua_cBlockArea_SetBlockMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetBlockMeta'", NULL);
-#endif
- {
- self->SetBlockMeta(a_BlockX,a_BlockY,a_BlockZ,a_BlockMeta);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetBlockMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetRelBlockLight of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_SetRelBlockLight00
-static int tolua_AllToLua_cBlockArea_SetRelBlockLight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockLight = (( unsigned char) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetRelBlockLight'", NULL);
-#endif
- {
- self->SetRelBlockLight(a_RelX,a_RelY,a_RelZ,a_BlockLight);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetRelBlockLight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetBlockLight of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_SetBlockLight00
-static int tolua_AllToLua_cBlockArea_SetBlockLight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockLight = (( unsigned char) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetBlockLight'", NULL);
-#endif
- {
- self->SetBlockLight(a_BlockX,a_BlockY,a_BlockZ,a_BlockLight);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetBlockLight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetRelBlockSkyLight of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_SetRelBlockSkyLight00
-static int tolua_AllToLua_cBlockArea_SetRelBlockSkyLight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockSkyLight = (( unsigned char) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetRelBlockSkyLight'", NULL);
-#endif
- {
- self->SetRelBlockSkyLight(a_RelX,a_RelY,a_RelZ,a_BlockSkyLight);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetRelBlockSkyLight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetBlockSkyLight of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_SetBlockSkyLight00
-static int tolua_AllToLua_cBlockArea_SetBlockSkyLight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockSkyLight = (( unsigned char) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetBlockSkyLight'", NULL);
-#endif
- {
- self->SetBlockSkyLight(a_BlockX,a_BlockY,a_BlockZ,a_BlockSkyLight);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetBlockSkyLight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetRelBlockType of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetRelBlockType00
-static int tolua_AllToLua_cBlockArea_GetRelBlockType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetRelBlockType'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetRelBlockType(a_RelX,a_RelY,a_RelZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetRelBlockType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlockType of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetBlockType00
-static int tolua_AllToLua_cBlockArea_GetBlockType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlockType'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetBlockType(a_BlockX,a_BlockY,a_BlockZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBlockType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetRelBlockMeta of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetRelBlockMeta00
-static int tolua_AllToLua_cBlockArea_GetRelBlockMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetRelBlockMeta'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetRelBlockMeta(a_RelX,a_RelY,a_RelZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetRelBlockMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlockMeta of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetBlockMeta00
-static int tolua_AllToLua_cBlockArea_GetBlockMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlockMeta'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetBlockMeta(a_BlockX,a_BlockY,a_BlockZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBlockMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetRelBlockLight of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetRelBlockLight00
-static int tolua_AllToLua_cBlockArea_GetRelBlockLight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetRelBlockLight'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetRelBlockLight(a_RelX,a_RelY,a_RelZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetRelBlockLight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlockLight of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetBlockLight00
-static int tolua_AllToLua_cBlockArea_GetBlockLight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlockLight'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetBlockLight(a_BlockX,a_BlockY,a_BlockZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBlockLight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetRelBlockSkyLight of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetRelBlockSkyLight00
-static int tolua_AllToLua_cBlockArea_GetRelBlockSkyLight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetRelBlockSkyLight'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetRelBlockSkyLight(a_RelX,a_RelY,a_RelZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetRelBlockSkyLight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlockSkyLight of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetBlockSkyLight00
-static int tolua_AllToLua_cBlockArea_GetBlockSkyLight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlockSkyLight'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetBlockSkyLight(a_BlockX,a_BlockY,a_BlockZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBlockSkyLight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetBlockTypeMeta of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_SetBlockTypeMeta00
-static int tolua_AllToLua_cBlockArea_SetBlockTypeMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetBlockTypeMeta'", NULL);
-#endif
- {
- self->SetBlockTypeMeta(a_BlockX,a_BlockY,a_BlockZ,a_BlockType,a_BlockMeta);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetBlockTypeMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetRelBlockTypeMeta of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_SetRelBlockTypeMeta00
-static int tolua_AllToLua_cBlockArea_SetRelBlockTypeMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cBlockArea* self = (cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetRelBlockTypeMeta'", NULL);
-#endif
- {
- self->SetRelBlockTypeMeta(a_RelX,a_RelY,a_RelZ,a_BlockType,a_BlockMeta);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetRelBlockTypeMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlockTypeMeta of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetBlockTypeMeta00
-static int tolua_AllToLua_cBlockArea_GetBlockTypeMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlockTypeMeta'", NULL);
-#endif
- {
- self->GetBlockTypeMeta(a_BlockX,a_BlockY,a_BlockZ,a_BlockType,a_BlockMeta);
- tolua_pushnumber(tolua_S,(lua_Number)a_BlockType);
- tolua_pushnumber(tolua_S,(lua_Number)a_BlockMeta);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBlockTypeMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetRelBlockTypeMeta of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetRelBlockTypeMeta00
-static int tolua_AllToLua_cBlockArea_GetRelBlockTypeMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetRelBlockTypeMeta'", NULL);
-#endif
- {
- self->GetRelBlockTypeMeta(a_RelX,a_RelY,a_RelZ,a_BlockType,a_BlockMeta);
- tolua_pushnumber(tolua_S,(lua_Number)a_BlockType);
- tolua_pushnumber(tolua_S,(lua_Number)a_BlockMeta);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetRelBlockTypeMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSizeX of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetSizeX00
-static int tolua_AllToLua_cBlockArea_GetSizeX00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSizeX'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetSizeX();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSizeX'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSizeY of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetSizeY00
-static int tolua_AllToLua_cBlockArea_GetSizeY00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSizeY'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetSizeY();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSizeY'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSizeZ of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetSizeZ00
-static int tolua_AllToLua_cBlockArea_GetSizeZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSizeZ'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetSizeZ();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSizeZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetOriginX of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetOriginX00
-static int tolua_AllToLua_cBlockArea_GetOriginX00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetOriginX'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetOriginX();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetOriginX'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetOriginY of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetOriginY00
-static int tolua_AllToLua_cBlockArea_GetOriginY00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetOriginY'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetOriginY();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetOriginY'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetOriginZ of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetOriginZ00
-static int tolua_AllToLua_cBlockArea_GetOriginZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetOriginZ'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetOriginZ();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetOriginZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetDataTypes of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_GetDataTypes00
-static int tolua_AllToLua_cBlockArea_GetDataTypes00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetDataTypes'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetDataTypes();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetDataTypes'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HasBlockTypes of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_HasBlockTypes00
-static int tolua_AllToLua_cBlockArea_HasBlockTypes00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HasBlockTypes'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->HasBlockTypes();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'HasBlockTypes'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HasBlockMetas of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_HasBlockMetas00
-static int tolua_AllToLua_cBlockArea_HasBlockMetas00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HasBlockMetas'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->HasBlockMetas();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'HasBlockMetas'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HasBlockLights of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_HasBlockLights00
-static int tolua_AllToLua_cBlockArea_HasBlockLights00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HasBlockLights'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->HasBlockLights();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'HasBlockLights'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: HasBlockSkyLights of class cBlockArea */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cBlockArea_HasBlockSkyLights00
-static int tolua_AllToLua_cBlockArea_HasBlockSkyLights00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cBlockArea",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cBlockArea* self = (const cBlockArea*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'HasBlockSkyLights'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->HasBlockSkyLights();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'HasBlockSkyLights'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetChunkX of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_GetChunkX00
-static int tolua_AllToLua_cChunkDesc_GetChunkX00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cChunkDesc",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cChunkDesc* self = (const cChunkDesc*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetChunkX'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetChunkX();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetChunkX'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetChunkZ of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_GetChunkZ00
-static int tolua_AllToLua_cChunkDesc_GetChunkZ00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cChunkDesc",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cChunkDesc* self = (const cChunkDesc*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetChunkZ'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetChunkZ();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetChunkZ'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: FillBlocks of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_FillBlocks00
-static int tolua_AllToLua_cChunkDesc_FillBlocks00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,2,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'FillBlocks'", NULL);
-#endif
- {
- self->FillBlocks(a_BlockType,a_BlockMeta);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'FillBlocks'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetBlockTypeMeta of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_SetBlockTypeMeta00
-static int tolua_AllToLua_cChunkDesc_SetBlockTypeMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetBlockTypeMeta'", NULL);
-#endif
- {
- self->SetBlockTypeMeta(a_RelX,a_RelY,a_RelZ,a_BlockType,a_BlockMeta);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetBlockTypeMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlockTypeMeta of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_GetBlockTypeMeta00
-static int tolua_AllToLua_cChunkDesc_GetBlockTypeMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlockTypeMeta'", NULL);
-#endif
- {
- self->GetBlockTypeMeta(a_RelX,a_RelY,a_RelZ,a_BlockType,a_BlockMeta);
- tolua_pushnumber(tolua_S,(lua_Number)a_BlockType);
- tolua_pushnumber(tolua_S,(lua_Number)a_BlockMeta);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBlockTypeMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetBlockType of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_SetBlockType00
-static int tolua_AllToLua_cChunkDesc_SetBlockType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetBlockType'", NULL);
-#endif
- {
- self->SetBlockType(a_RelX,a_RelY,a_RelZ,a_BlockType);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetBlockType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlockType of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_GetBlockType00
-static int tolua_AllToLua_cChunkDesc_GetBlockType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlockType'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetBlockType(a_RelX,a_RelY,a_RelZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBlockType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetBlockMeta of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_SetBlockMeta00
-static int tolua_AllToLua_cChunkDesc_SetBlockMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,5,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetBlockMeta'", NULL);
-#endif
- {
- self->SetBlockMeta(a_RelX,a_RelY,a_RelZ,a_BlockMeta);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetBlockMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlockMeta of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_GetBlockMeta00
-static int tolua_AllToLua_cChunkDesc_GetBlockMeta00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlockMeta'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetBlockMeta(a_RelX,a_RelY,a_RelZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBlockMeta'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetBiome of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_SetBiome00
-static int tolua_AllToLua_cChunkDesc_SetBiome00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,3,0));
- int a_BiomeID = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetBiome'", NULL);
-#endif
- {
- self->SetBiome(a_RelX,a_RelZ,a_BiomeID);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetBiome'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBiome of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_GetBiome00
-static int tolua_AllToLua_cChunkDesc_GetBiome00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBiome'", NULL);
-#endif
- {
- EMCSBiome tolua_ret = (EMCSBiome) self->GetBiome(a_RelX,a_RelZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBiome'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetHeight of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_SetHeight00
-static int tolua_AllToLua_cChunkDesc_SetHeight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,3,0));
- int a_Height = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetHeight'", NULL);
-#endif
- {
- self->SetHeight(a_RelX,a_RelZ,a_Height);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetHeight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetHeight of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_GetHeight00
-static int tolua_AllToLua_cChunkDesc_GetHeight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetHeight'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetHeight(a_RelX,a_RelZ);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetHeight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetUseDefaultBiomes of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_SetUseDefaultBiomes00
-static int tolua_AllToLua_cChunkDesc_SetUseDefaultBiomes00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- bool a_bUseDefaultBiomes = ((bool) tolua_toboolean(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetUseDefaultBiomes'", NULL);
-#endif
- {
- self->SetUseDefaultBiomes(a_bUseDefaultBiomes);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetUseDefaultBiomes'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsUsingDefaultBiomes of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_IsUsingDefaultBiomes00
-static int tolua_AllToLua_cChunkDesc_IsUsingDefaultBiomes00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cChunkDesc",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cChunkDesc* self = (const cChunkDesc*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsUsingDefaultBiomes'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsUsingDefaultBiomes();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsUsingDefaultBiomes'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetUseDefaultHeight of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_SetUseDefaultHeight00
-static int tolua_AllToLua_cChunkDesc_SetUseDefaultHeight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- bool a_bUseDefaultHeight = ((bool) tolua_toboolean(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetUseDefaultHeight'", NULL);
-#endif
- {
- self->SetUseDefaultHeight(a_bUseDefaultHeight);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetUseDefaultHeight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsUsingDefaultHeight of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_IsUsingDefaultHeight00
-static int tolua_AllToLua_cChunkDesc_IsUsingDefaultHeight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cChunkDesc",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cChunkDesc* self = (const cChunkDesc*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsUsingDefaultHeight'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsUsingDefaultHeight();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsUsingDefaultHeight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetUseDefaultComposition of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_SetUseDefaultComposition00
-static int tolua_AllToLua_cChunkDesc_SetUseDefaultComposition00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- bool a_bUseDefaultComposition = ((bool) tolua_toboolean(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetUseDefaultComposition'", NULL);
-#endif
- {
- self->SetUseDefaultComposition(a_bUseDefaultComposition);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetUseDefaultComposition'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsUsingDefaultComposition of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_IsUsingDefaultComposition00
-static int tolua_AllToLua_cChunkDesc_IsUsingDefaultComposition00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cChunkDesc",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cChunkDesc* self = (const cChunkDesc*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsUsingDefaultComposition'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsUsingDefaultComposition();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsUsingDefaultComposition'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetUseDefaultStructures of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_SetUseDefaultStructures00
-static int tolua_AllToLua_cChunkDesc_SetUseDefaultStructures00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- bool a_bUseDefaultStructures = ((bool) tolua_toboolean(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetUseDefaultStructures'", NULL);
-#endif
- {
- self->SetUseDefaultStructures(a_bUseDefaultStructures);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetUseDefaultStructures'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsUsingDefaultStructures of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_IsUsingDefaultStructures00
-static int tolua_AllToLua_cChunkDesc_IsUsingDefaultStructures00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cChunkDesc",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cChunkDesc* self = (const cChunkDesc*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsUsingDefaultStructures'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsUsingDefaultStructures();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsUsingDefaultStructures'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetUseDefaultFinish of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_SetUseDefaultFinish00
-static int tolua_AllToLua_cChunkDesc_SetUseDefaultFinish00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- bool a_bUseDefaultFinish = ((bool) tolua_toboolean(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetUseDefaultFinish'", NULL);
-#endif
- {
- self->SetUseDefaultFinish(a_bUseDefaultFinish);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetUseDefaultFinish'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsUsingDefaultFinish of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_IsUsingDefaultFinish00
-static int tolua_AllToLua_cChunkDesc_IsUsingDefaultFinish00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cChunkDesc",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cChunkDesc* self = (const cChunkDesc*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsUsingDefaultFinish'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsUsingDefaultFinish();
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsUsingDefaultFinish'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: WriteBlockArea of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_WriteBlockArea00
-static int tolua_AllToLua_cChunkDesc_WriteBlockArea00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cBlockArea",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,1,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- const cBlockArea* a_BlockArea = ((const cBlockArea*) tolua_tousertype(tolua_S,2,0));
- int a_RelX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,4,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,5,0));
- cBlockArea::eMergeStrategy a_MergeStrategy = ((cBlockArea::eMergeStrategy) (int) tolua_tonumber(tolua_S,6,cBlockArea::msOverwrite));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'WriteBlockArea'", NULL);
-#endif
- {
- self->WriteBlockArea(*a_BlockArea,a_RelX,a_RelY,a_RelZ,a_MergeStrategy);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'WriteBlockArea'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ReadBlockArea of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_ReadBlockArea00
-static int tolua_AllToLua_cChunkDesc_ReadBlockArea00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"cBlockArea",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,8,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,9,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- cBlockArea* a_Dest = ((cBlockArea*) tolua_tousertype(tolua_S,2,0));
- int a_MinRelX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_MaxRelX = ((int) tolua_tonumber(tolua_S,4,0));
- int a_MinRelY = ((int) tolua_tonumber(tolua_S,5,0));
- int a_MaxRelY = ((int) tolua_tonumber(tolua_S,6,0));
- int a_MinRelZ = ((int) tolua_tonumber(tolua_S,7,0));
- int a_MaxRelZ = ((int) tolua_tonumber(tolua_S,8,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ReadBlockArea'", NULL);
-#endif
- {
- self->ReadBlockArea(*a_Dest,a_MinRelX,a_MaxRelX,a_MinRelY,a_MaxRelY,a_MinRelZ,a_MaxRelZ);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ReadBlockArea'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetMaxHeight of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_GetMaxHeight00
-static int tolua_AllToLua_cChunkDesc_GetMaxHeight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cChunkDesc",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cChunkDesc* self = (const cChunkDesc*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetMaxHeight'", NULL);
-#endif
- {
- unsigned char tolua_ret = ( unsigned char) self->GetMaxHeight();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetMaxHeight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: FillRelCuboid of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_FillRelCuboid00
-static int tolua_AllToLua_cChunkDesc_FillRelCuboid00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,8,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,9,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,10,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- int a_MinX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_MaxX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_MinY = ((int) tolua_tonumber(tolua_S,4,0));
- int a_MaxY = ((int) tolua_tonumber(tolua_S,5,0));
- int a_MinZ = ((int) tolua_tonumber(tolua_S,6,0));
- int a_MaxZ = ((int) tolua_tonumber(tolua_S,7,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,8,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,9,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'FillRelCuboid'", NULL);
-#endif
- {
- self->FillRelCuboid(a_MinX,a_MaxX,a_MinY,a_MaxY,a_MinZ,a_MaxZ,a_BlockType,a_BlockMeta);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'FillRelCuboid'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: FillRelCuboid of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_FillRelCuboid01
-static int tolua_AllToLua_cChunkDesc_FillRelCuboid01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cCuboid",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- const cCuboid* a_RelCuboid = ((const cCuboid*) tolua_tousertype(tolua_S,2,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,3,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'FillRelCuboid'", NULL);
-#endif
- {
- self->FillRelCuboid(*a_RelCuboid,a_BlockType,a_BlockMeta);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cChunkDesc_FillRelCuboid00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ReplaceRelCuboid of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_ReplaceRelCuboid00
-static int tolua_AllToLua_cChunkDesc_ReplaceRelCuboid00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,8,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,9,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,10,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,11,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,12,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- int a_MinX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_MaxX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_MinY = ((int) tolua_tonumber(tolua_S,4,0));
- int a_MaxY = ((int) tolua_tonumber(tolua_S,5,0));
- int a_MinZ = ((int) tolua_tonumber(tolua_S,6,0));
- int a_MaxZ = ((int) tolua_tonumber(tolua_S,7,0));
- unsigned char a_SrcType = (( unsigned char) tolua_tonumber(tolua_S,8,0));
- unsigned char a_SrcMeta = (( unsigned char) tolua_tonumber(tolua_S,9,0));
- unsigned char a_DstType = (( unsigned char) tolua_tonumber(tolua_S,10,0));
- unsigned char a_DstMeta = (( unsigned char) tolua_tonumber(tolua_S,11,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ReplaceRelCuboid'", NULL);
-#endif
- {
- self->ReplaceRelCuboid(a_MinX,a_MaxX,a_MinY,a_MaxY,a_MinZ,a_MaxZ,a_SrcType,a_SrcMeta,a_DstType,a_DstMeta);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ReplaceRelCuboid'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ReplaceRelCuboid of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_ReplaceRelCuboid01
-static int tolua_AllToLua_cChunkDesc_ReplaceRelCuboid01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cCuboid",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- const cCuboid* a_RelCuboid = ((const cCuboid*) tolua_tousertype(tolua_S,2,0));
- unsigned char a_SrcType = (( unsigned char) tolua_tonumber(tolua_S,3,0));
- unsigned char a_SrcMeta = (( unsigned char) tolua_tonumber(tolua_S,4,0));
- unsigned char a_DstType = (( unsigned char) tolua_tonumber(tolua_S,5,0));
- unsigned char a_DstMeta = (( unsigned char) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ReplaceRelCuboid'", NULL);
-#endif
- {
- self->ReplaceRelCuboid(*a_RelCuboid,a_SrcType,a_SrcMeta,a_DstType,a_DstMeta);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cChunkDesc_ReplaceRelCuboid00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: FloorRelCuboid of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_FloorRelCuboid00
-static int tolua_AllToLua_cChunkDesc_FloorRelCuboid00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,8,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,9,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,10,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- int a_MinX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_MaxX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_MinY = ((int) tolua_tonumber(tolua_S,4,0));
- int a_MaxY = ((int) tolua_tonumber(tolua_S,5,0));
- int a_MinZ = ((int) tolua_tonumber(tolua_S,6,0));
- int a_MaxZ = ((int) tolua_tonumber(tolua_S,7,0));
- unsigned char a_DstType = (( unsigned char) tolua_tonumber(tolua_S,8,0));
- unsigned char a_DstMeta = (( unsigned char) tolua_tonumber(tolua_S,9,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'FloorRelCuboid'", NULL);
-#endif
- {
- self->FloorRelCuboid(a_MinX,a_MaxX,a_MinY,a_MaxY,a_MinZ,a_MaxZ,a_DstType,a_DstMeta);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'FloorRelCuboid'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: FloorRelCuboid of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_FloorRelCuboid01
-static int tolua_AllToLua_cChunkDesc_FloorRelCuboid01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cCuboid",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- const cCuboid* a_RelCuboid = ((const cCuboid*) tolua_tousertype(tolua_S,2,0));
- unsigned char a_DstType = (( unsigned char) tolua_tonumber(tolua_S,3,0));
- unsigned char a_DstMeta = (( unsigned char) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'FloorRelCuboid'", NULL);
-#endif
- {
- self->FloorRelCuboid(*a_RelCuboid,a_DstType,a_DstMeta);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cChunkDesc_FloorRelCuboid00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: RandomFillRelCuboid of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_RandomFillRelCuboid00
-static int tolua_AllToLua_cChunkDesc_RandomFillRelCuboid00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,8,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,9,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,10,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,11,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,12,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- int a_MinX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_MaxX = ((int) tolua_tonumber(tolua_S,3,0));
- int a_MinY = ((int) tolua_tonumber(tolua_S,4,0));
- int a_MaxY = ((int) tolua_tonumber(tolua_S,5,0));
- int a_MinZ = ((int) tolua_tonumber(tolua_S,6,0));
- int a_MaxZ = ((int) tolua_tonumber(tolua_S,7,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,8,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,9,0));
- int a_RandomSeed = ((int) tolua_tonumber(tolua_S,10,0));
- int a_ChanceOutOf10k = ((int) tolua_tonumber(tolua_S,11,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'RandomFillRelCuboid'", NULL);
-#endif
- {
- self->RandomFillRelCuboid(a_MinX,a_MaxX,a_MinY,a_MaxY,a_MinZ,a_MaxZ,a_BlockType,a_BlockMeta,a_RandomSeed,a_ChanceOutOf10k);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'RandomFillRelCuboid'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: RandomFillRelCuboid of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_RandomFillRelCuboid01
-static int tolua_AllToLua_cChunkDesc_RandomFillRelCuboid01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cCuboid",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- const cCuboid* a_RelCuboid = ((const cCuboid*) tolua_tousertype(tolua_S,2,0));
- unsigned char a_BlockType = (( unsigned char) tolua_tonumber(tolua_S,3,0));
- unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,4,0));
- int a_RandomSeed = ((int) tolua_tonumber(tolua_S,5,0));
- int a_ChanceOutOf10k = ((int) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'RandomFillRelCuboid'", NULL);
-#endif
- {
- self->RandomFillRelCuboid(*a_RelCuboid,a_BlockType,a_BlockMeta,a_RandomSeed,a_ChanceOutOf10k);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cChunkDesc_RandomFillRelCuboid00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetBlockEntity of class cChunkDesc */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChunkDesc_GetBlockEntity00
-static int tolua_AllToLua_cChunkDesc_GetBlockEntity00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChunkDesc",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChunkDesc* self = (cChunkDesc*) tolua_tousertype(tolua_S,1,0);
- int a_RelX = ((int) tolua_tonumber(tolua_S,2,0));
- int a_RelY = ((int) tolua_tonumber(tolua_S,3,0));
- int a_RelZ = ((int) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetBlockEntity'", NULL);
-#endif
- {
- cBlockEntity* tolua_ret = (cBlockEntity*) self->GetBlockEntity(a_RelX,a_RelY,a_RelZ);
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cBlockEntity");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetBlockEntity'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new of class cCraftingGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingGrid_new00
-static int tolua_AllToLua_cCraftingGrid_new00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cCraftingGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- int a_Width = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Height = ((int) tolua_tonumber(tolua_S,3,0));
- {
- cCraftingGrid* tolua_ret = (cCraftingGrid*) Mtolua_new((cCraftingGrid)(a_Width,a_Height));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cCraftingGrid");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: new_local of class cCraftingGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingGrid_new00_local
-static int tolua_AllToLua_cCraftingGrid_new00_local(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cCraftingGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- int a_Width = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Height = ((int) tolua_tonumber(tolua_S,3,0));
- {
- cCraftingGrid* tolua_ret = (cCraftingGrid*) Mtolua_new((cCraftingGrid)(a_Width,a_Height));
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"cCraftingGrid");
- tolua_register_gc(tolua_S,lua_gettop(tolua_S));
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetWidth of class cCraftingGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingGrid_GetWidth00
-static int tolua_AllToLua_cCraftingGrid_GetWidth00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCraftingGrid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cCraftingGrid* self = (const cCraftingGrid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWidth'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetWidth();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetWidth'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetHeight of class cCraftingGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingGrid_GetHeight00
-static int tolua_AllToLua_cCraftingGrid_GetHeight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCraftingGrid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cCraftingGrid* self = (const cCraftingGrid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetHeight'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetHeight();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetHeight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetItem of class cCraftingGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingGrid_GetItem00
-static int tolua_AllToLua_cCraftingGrid_GetItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCraftingGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cCraftingGrid* self = (const cCraftingGrid*) tolua_tousertype(tolua_S,1,0);
- int x = ((int) tolua_tonumber(tolua_S,2,0));
- int y = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetItem'", NULL);
-#endif
- {
- cItem& tolua_ret = (cItem&) self->GetItem(x,y);
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetItem of class cCraftingGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingGrid_SetItem00
-static int tolua_AllToLua_cCraftingGrid_SetItem00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cCraftingGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cCraftingGrid* self = (cCraftingGrid*) tolua_tousertype(tolua_S,1,0);
- int x = ((int) tolua_tonumber(tolua_S,2,0));
- int y = ((int) tolua_tonumber(tolua_S,3,0));
- ENUM_ITEM_ID a_ItemType = ((ENUM_ITEM_ID) (int) tolua_tonumber(tolua_S,4,0));
- int a_ItemCount = ((int) tolua_tonumber(tolua_S,5,0));
- short a_ItemHealth = ((short) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetItem'", NULL);
-#endif
- {
- self->SetItem(x,y,a_ItemType,a_ItemCount,a_ItemHealth);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetItem'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetItem of class cCraftingGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingGrid_SetItem01
-static int tolua_AllToLua_cCraftingGrid_SetItem01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cCraftingGrid",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,4,&tolua_err) || !tolua_isusertype(tolua_S,4,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cCraftingGrid* self = (cCraftingGrid*) tolua_tousertype(tolua_S,1,0);
- int x = ((int) tolua_tonumber(tolua_S,2,0));
- int y = ((int) tolua_tonumber(tolua_S,3,0));
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetItem'", NULL);
-#endif
- {
- self->SetItem(x,y,*a_Item);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cCraftingGrid_SetItem00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Clear of class cCraftingGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingGrid_Clear00
-static int tolua_AllToLua_cCraftingGrid_Clear00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cCraftingGrid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cCraftingGrid* self = (cCraftingGrid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Clear'", NULL);
-#endif
- {
- self->Clear();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Clear'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ConsumeGrid of class cCraftingGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingGrid_ConsumeGrid00
-static int tolua_AllToLua_cCraftingGrid_ConsumeGrid00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cCraftingGrid",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cCraftingGrid",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cCraftingGrid* self = (cCraftingGrid*) tolua_tousertype(tolua_S,1,0);
- const cCraftingGrid* a_Grid = ((const cCraftingGrid*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ConsumeGrid'", NULL);
-#endif
- {
- self->ConsumeGrid(*a_Grid);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ConsumeGrid'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Dump of class cCraftingGrid */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingGrid_Dump00
-static int tolua_AllToLua_cCraftingGrid_Dump00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cCraftingGrid",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cCraftingGrid* self = (cCraftingGrid*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Dump'", NULL);
-#endif
- {
- self->Dump();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Dump'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Clear of class cCraftingRecipe */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingRecipe_Clear00
-static int tolua_AllToLua_cCraftingRecipe_Clear00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cCraftingRecipe",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cCraftingRecipe* self = (cCraftingRecipe*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Clear'", NULL);
-#endif
- {
- self->Clear();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Clear'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetIngredientsWidth of class cCraftingRecipe */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingRecipe_GetIngredientsWidth00
-static int tolua_AllToLua_cCraftingRecipe_GetIngredientsWidth00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCraftingRecipe",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cCraftingRecipe* self = (const cCraftingRecipe*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetIngredientsWidth'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetIngredientsWidth();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetIngredientsWidth'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetIngredientsHeight of class cCraftingRecipe */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingRecipe_GetIngredientsHeight00
-static int tolua_AllToLua_cCraftingRecipe_GetIngredientsHeight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCraftingRecipe",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cCraftingRecipe* self = (const cCraftingRecipe*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetIngredientsHeight'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetIngredientsHeight();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetIngredientsHeight'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetIngredient of class cCraftingRecipe */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingRecipe_GetIngredient00
-static int tolua_AllToLua_cCraftingRecipe_GetIngredient00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCraftingRecipe",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cCraftingRecipe* self = (const cCraftingRecipe*) tolua_tousertype(tolua_S,1,0);
- int x = ((int) tolua_tonumber(tolua_S,2,0));
- int y = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetIngredient'", NULL);
-#endif
- {
- cItem& tolua_ret = (cItem&) self->GetIngredient(x,y);
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetIngredient'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetResult of class cCraftingRecipe */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingRecipe_GetResult00
-static int tolua_AllToLua_cCraftingRecipe_GetResult00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cCraftingRecipe",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cCraftingRecipe* self = (const cCraftingRecipe*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetResult'", NULL);
-#endif
- {
- const cItem& tolua_ret = (const cItem&) self->GetResult();
- tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetResult'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetResult of class cCraftingRecipe */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingRecipe_SetResult00
-static int tolua_AllToLua_cCraftingRecipe_SetResult00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cCraftingRecipe",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cCraftingRecipe* self = (cCraftingRecipe*) tolua_tousertype(tolua_S,1,0);
- ENUM_ITEM_ID a_ItemType = ((ENUM_ITEM_ID) (int) tolua_tonumber(tolua_S,2,0));
- int a_ItemCount = ((int) tolua_tonumber(tolua_S,3,0));
- short a_ItemHealth = ((short) tolua_tonumber(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetResult'", NULL);
-#endif
- {
- self->SetResult(a_ItemType,a_ItemCount,a_ItemHealth);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetResult'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetResult of class cCraftingRecipe */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingRecipe_SetResult01
-static int tolua_AllToLua_cCraftingRecipe_SetResult01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cCraftingRecipe",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cCraftingRecipe* self = (cCraftingRecipe*) tolua_tousertype(tolua_S,1,0);
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetResult'", NULL);
-#endif
- {
- self->SetResult(*a_Item);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cCraftingRecipe_SetResult00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetIngredient of class cCraftingRecipe */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingRecipe_SetIngredient00
-static int tolua_AllToLua_cCraftingRecipe_SetIngredient00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cCraftingRecipe",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,7,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cCraftingRecipe* self = (cCraftingRecipe*) tolua_tousertype(tolua_S,1,0);
- int x = ((int) tolua_tonumber(tolua_S,2,0));
- int y = ((int) tolua_tonumber(tolua_S,3,0));
- ENUM_ITEM_ID a_ItemType = ((ENUM_ITEM_ID) (int) tolua_tonumber(tolua_S,4,0));
- int a_ItemCount = ((int) tolua_tonumber(tolua_S,5,0));
- short a_ItemHealth = ((short) tolua_tonumber(tolua_S,6,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetIngredient'", NULL);
-#endif
- {
- self->SetIngredient(x,y,a_ItemType,a_ItemCount,a_ItemHealth);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetIngredient'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetIngredient of class cCraftingRecipe */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingRecipe_SetIngredient01
-static int tolua_AllToLua_cCraftingRecipe_SetIngredient01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cCraftingRecipe",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,4,&tolua_err) || !tolua_isusertype(tolua_S,4,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cCraftingRecipe* self = (cCraftingRecipe*) tolua_tousertype(tolua_S,1,0);
- int x = ((int) tolua_tonumber(tolua_S,2,0));
- int y = ((int) tolua_tonumber(tolua_S,3,0));
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetIngredient'", NULL);
-#endif
- {
- self->SetIngredient(x,y,*a_Item);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cCraftingRecipe_SetIngredient00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: ConsumeIngredients of class cCraftingRecipe */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingRecipe_ConsumeIngredients00
-static int tolua_AllToLua_cCraftingRecipe_ConsumeIngredients00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cCraftingRecipe",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"cCraftingGrid",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cCraftingRecipe* self = (cCraftingRecipe*) tolua_tousertype(tolua_S,1,0);
- cCraftingGrid* a_CraftingGrid = ((cCraftingGrid*) tolua_tousertype(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ConsumeIngredients'", NULL);
-#endif
- {
- self->ConsumeIngredients(*a_CraftingGrid);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'ConsumeIngredients'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: Dump of class cCraftingRecipe */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cCraftingRecipe_Dump00
-static int tolua_AllToLua_cCraftingRecipe_Dump00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cCraftingRecipe",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cCraftingRecipe* self = (cCraftingRecipe*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Dump'", NULL);
-#endif
- {
- self->Dump();
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'Dump'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetWindowID of class cWindow */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWindow_GetWindowID00
-static int tolua_AllToLua_cWindow_GetWindowID00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWindow",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWindow* self = (const cWindow*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWindowID'", NULL);
-#endif
- {
- char tolua_ret = (char) self->GetWindowID();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetWindowID'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetWindowType of class cWindow */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWindow_GetWindowType00
-static int tolua_AllToLua_cWindow_GetWindowType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWindow",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWindow* self = (const cWindow*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWindowType'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetWindowType();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetWindowType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSlot of class cWindow */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWindow_GetSlot00
-static int tolua_AllToLua_cWindow_GetSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWindow",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"cPlayer",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWindow* self = (const cWindow*) tolua_tousertype(tolua_S,1,0);
- cPlayer* a_Player = ((cPlayer*) tolua_tousertype(tolua_S,2,0));
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetSlot'", NULL);
-#endif
- {
- const cItem* tolua_ret = (const cItem*) self->GetSlot(*a_Player,a_SlotNum);
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"const cItem");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetSlot of class cWindow */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWindow_SetSlot00
-static int tolua_AllToLua_cWindow_SetSlot00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWindow",0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"cPlayer",0,&tolua_err)) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,4,&tolua_err) || !tolua_isusertype(tolua_S,4,"const cItem",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWindow* self = (cWindow*) tolua_tousertype(tolua_S,1,0);
- cPlayer* a_Player = ((cPlayer*) tolua_tousertype(tolua_S,2,0));
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,3,0));
- const cItem* a_Item = ((const cItem*) tolua_tousertype(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetSlot'", NULL);
-#endif
- {
- self->SetSlot(*a_Player,a_SlotNum,*a_Item);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetSlot'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsSlotInPlayerMainInventory of class cWindow */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWindow_IsSlotInPlayerMainInventory00
-static int tolua_AllToLua_cWindow_IsSlotInPlayerMainInventory00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWindow",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWindow* self = (const cWindow*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsSlotInPlayerMainInventory'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsSlotInPlayerMainInventory(a_SlotNum);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsSlotInPlayerMainInventory'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsSlotInPlayerHotbar of class cWindow */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWindow_IsSlotInPlayerHotbar00
-static int tolua_AllToLua_cWindow_IsSlotInPlayerHotbar00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWindow",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWindow* self = (const cWindow*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsSlotInPlayerHotbar'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsSlotInPlayerHotbar(a_SlotNum);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsSlotInPlayerHotbar'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: IsSlotInPlayerInventory of class cWindow */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWindow_IsSlotInPlayerInventory00
-static int tolua_AllToLua_cWindow_IsSlotInPlayerInventory00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWindow",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWindow* self = (const cWindow*) tolua_tousertype(tolua_S,1,0);
- int a_SlotNum = ((int) tolua_tonumber(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsSlotInPlayerInventory'", NULL);
-#endif
- {
- bool tolua_ret = (bool) self->IsSlotInPlayerInventory(a_SlotNum);
- tolua_pushboolean(tolua_S,(bool)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'IsSlotInPlayerInventory'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetWindowTitle of class cWindow */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWindow_GetWindowTitle00
-static int tolua_AllToLua_cWindow_GetWindowTitle00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cWindow",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cWindow* self = (const cWindow*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWindowTitle'", NULL);
-#endif
- {
- const AString tolua_ret = (const AString) self->GetWindowTitle();
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetWindowTitle'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetWindowTitle of class cWindow */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWindow_SetWindowTitle00
-static int tolua_AllToLua_cWindow_SetWindowTitle00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWindow",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWindow* self = (cWindow*) tolua_tousertype(tolua_S,1,0);
- const AString a_WindowTitle = ((const AString) tolua_tocppstring(tolua_S,2,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetWindowTitle'", NULL);
-#endif
- {
- self->SetWindowTitle(a_WindowTitle);
- tolua_pushcppstring(tolua_S,(const char*)a_WindowTitle);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetWindowTitle'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetProperty of class cWindow */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWindow_SetProperty00
-static int tolua_AllToLua_cWindow_SetProperty00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWindow",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,4,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cWindow* self = (cWindow*) tolua_tousertype(tolua_S,1,0);
- int a_Property = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Value = ((int) tolua_tonumber(tolua_S,3,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetProperty'", NULL);
-#endif
- {
- self->SetProperty(a_Property,a_Value);
- }
- }
- return 0;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'SetProperty'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: SetProperty of class cWindow */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWindow_SetProperty01
-static int tolua_AllToLua_cWindow_SetProperty01(lua_State* tolua_S)
-{
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cWindow",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
- (tolua_isvaluenil(tolua_S,4,&tolua_err) || !tolua_isusertype(tolua_S,4,"cPlayer",0,&tolua_err)) ||
- !tolua_isnoobj(tolua_S,5,&tolua_err)
- )
- goto tolua_lerror;
- else
- {
- cWindow* self = (cWindow*) tolua_tousertype(tolua_S,1,0);
- int a_Property = ((int) tolua_tonumber(tolua_S,2,0));
- int a_Value = ((int) tolua_tonumber(tolua_S,3,0));
- cPlayer* a_Player = ((cPlayer*) tolua_tousertype(tolua_S,4,0));
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetProperty'", NULL);
-#endif
- {
- self->SetProperty(a_Property,a_Value,*a_Player);
- }
- }
- return 0;
-tolua_lerror:
- return tolua_AllToLua_cWindow_SetProperty00(tolua_S);
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetMobType of class cMonster */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cMonster_GetMobType00
-static int tolua_AllToLua_cMonster_GetMobType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cMonster",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cMonster* self = (const cMonster*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetMobType'", NULL);
-#endif
- {
- cMonster::eType tolua_ret = (cMonster::eType) self->GetMobType();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetMobType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetMobFamily of class cMonster */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cMonster_GetMobFamily00
-static int tolua_AllToLua_cMonster_GetMobFamily00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"const cMonster",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const cMonster* self = (const cMonster*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetMobFamily'", NULL);
-#endif
- {
- cMonster::eFamily tolua_ret = (cMonster::eFamily) self->GetMobFamily();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetMobFamily'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: MobTypeToString of class cMonster */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cMonster_MobTypeToString00
-static int tolua_AllToLua_cMonster_MobTypeToString00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cMonster",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cMonster::eType a_MobType = ((cMonster::eType) (int) tolua_tonumber(tolua_S,2,0));
- {
- AString tolua_ret = (AString) cMonster::MobTypeToString(a_MobType);
- tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'MobTypeToString'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: StringToMobType of class cMonster */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cMonster_StringToMobType00
-static int tolua_AllToLua_cMonster_StringToMobType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cMonster",0,&tolua_err) ||
- !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- const AString a_MobTypeName = ((const AString) tolua_tocppstring(tolua_S,2,0));
- {
- cMonster::eType tolua_ret = (cMonster::eType) cMonster::StringToMobType(a_MobTypeName);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- tolua_pushcppstring(tolua_S,(const char*)a_MobTypeName);
- }
- }
- return 2;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'StringToMobType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: FamilyFromType of class cMonster */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cMonster_FamilyFromType00
-static int tolua_AllToLua_cMonster_FamilyFromType00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cMonster",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cMonster::eType a_MobType = ((cMonster::eType) (int) tolua_tonumber(tolua_S,2,0));
- {
- cMonster::eFamily tolua_ret = (cMonster::eFamily) cMonster::FamilyFromType(a_MobType);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'FamilyFromType'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetSpawnDelay of class cMonster */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cMonster_GetSpawnDelay00
-static int tolua_AllToLua_cMonster_GetSpawnDelay00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertable(tolua_S,1,"cMonster",0,&tolua_err) ||
- !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,3,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cMonster::eFamily a_MobFamily = ((cMonster::eFamily) (int) tolua_tonumber(tolua_S,2,0));
- {
- int tolua_ret = (int) cMonster::GetSpawnDelay(a_MobFamily);
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetSpawnDelay'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* Open function */
-TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S)
-{
- tolua_open(tolua_S);
- tolua_reg_types(tolua_S);
- tolua_module(tolua_S,NULL,1);
- tolua_beginmodule(tolua_S,NULL);
- tolua_constant(tolua_S,"biOcean",biOcean);
- tolua_constant(tolua_S,"biPlains",biPlains);
- tolua_constant(tolua_S,"biDesert",biDesert);
- tolua_constant(tolua_S,"biExtremeHills",biExtremeHills);
- tolua_constant(tolua_S,"biForest",biForest);
- tolua_constant(tolua_S,"biTaiga",biTaiga);
- tolua_constant(tolua_S,"biSwampland",biSwampland);
- tolua_constant(tolua_S,"biRiver",biRiver);
- tolua_constant(tolua_S,"biHell",biHell);
- tolua_constant(tolua_S,"biNether",biNether);
- tolua_constant(tolua_S,"biSky",biSky);
- tolua_constant(tolua_S,"biEnd",biEnd);
- tolua_constant(tolua_S,"biFrozenOcean",biFrozenOcean);
- tolua_constant(tolua_S,"biFrozenRiver",biFrozenRiver);
- tolua_constant(tolua_S,"biIcePlains",biIcePlains);
- tolua_constant(tolua_S,"biTundra",biTundra);
- tolua_constant(tolua_S,"biIceMountains",biIceMountains);
- tolua_constant(tolua_S,"biMushroomIsland",biMushroomIsland);
- tolua_constant(tolua_S,"biMushroomShore",biMushroomShore);
- tolua_constant(tolua_S,"biBeach",biBeach);
- tolua_constant(tolua_S,"biDesertHills",biDesertHills);
- tolua_constant(tolua_S,"biForestHills",biForestHills);
- tolua_constant(tolua_S,"biTaigaHills",biTaigaHills);
- tolua_constant(tolua_S,"biExtremeHillsEdge",biExtremeHillsEdge);
- tolua_constant(tolua_S,"biJungle",biJungle);
- tolua_constant(tolua_S,"biJungleHills",biJungleHills);
- tolua_constant(tolua_S,"biJungleEdge",biJungleEdge);
- tolua_constant(tolua_S,"biDeepOcean",biDeepOcean);
- tolua_constant(tolua_S,"biStoneBeach",biStoneBeach);
- tolua_constant(tolua_S,"biColdBeach",biColdBeach);
- tolua_constant(tolua_S,"biBirchForest",biBirchForest);
- tolua_constant(tolua_S,"biBirchForestHills",biBirchForestHills);
- tolua_constant(tolua_S,"biRoofedForest",biRoofedForest);
- tolua_constant(tolua_S,"biColdTaiga",biColdTaiga);
- tolua_constant(tolua_S,"biColdTaigaHills",biColdTaigaHills);
- tolua_constant(tolua_S,"biMegaTaiga",biMegaTaiga);
- tolua_constant(tolua_S,"biMegaTaigaHills",biMegaTaigaHills);
- tolua_constant(tolua_S,"biExtremeHillsPlus",biExtremeHillsPlus);
- tolua_constant(tolua_S,"biSavanna",biSavanna);
- tolua_constant(tolua_S,"biSavannaPlateau",biSavannaPlateau);
- tolua_constant(tolua_S,"biMesa",biMesa);
- tolua_constant(tolua_S,"biMesaPlateauF",biMesaPlateauF);
- tolua_constant(tolua_S,"biMesaPlateau",biMesaPlateau);
- tolua_constant(tolua_S,"biNumBiomes",biNumBiomes);
- tolua_constant(tolua_S,"biMaxBiome",biMaxBiome);
- tolua_constant(tolua_S,"biVariant",biVariant);
- tolua_constant(tolua_S,"biSunflowerPlains",biSunflowerPlains);
- tolua_constant(tolua_S,"biDesertM",biDesertM);
- tolua_constant(tolua_S,"biExtremeHillsM",biExtremeHillsM);
- tolua_constant(tolua_S,"biFlowerForest",biFlowerForest);
- tolua_constant(tolua_S,"biTaigaM",biTaigaM);
- tolua_constant(tolua_S,"biSwamplandM",biSwamplandM);
- tolua_constant(tolua_S,"biIcePlainsSpikes",biIcePlainsSpikes);
- tolua_constant(tolua_S,"biJungleM",biJungleM);
- tolua_constant(tolua_S,"biJungleEdgeM",biJungleEdgeM);
- tolua_constant(tolua_S,"biBirchForestM",biBirchForestM);
- tolua_constant(tolua_S,"biBirchForestHillsM",biBirchForestHillsM);
- tolua_constant(tolua_S,"biRoofedForestM",biRoofedForestM);
- tolua_constant(tolua_S,"biColdTaigaM",biColdTaigaM);
- tolua_constant(tolua_S,"biMegaSpruceTaiga",biMegaSpruceTaiga);
- tolua_constant(tolua_S,"biMegaSpruceTaigaHills",biMegaSpruceTaigaHills);
- tolua_constant(tolua_S,"biExtremeHillsPlusM",biExtremeHillsPlusM);
- tolua_constant(tolua_S,"biSavannaM",biSavannaM);
- tolua_constant(tolua_S,"biSavannaPlateauM",biSavannaPlateauM);
- tolua_constant(tolua_S,"biMesaBryce",biMesaBryce);
- tolua_constant(tolua_S,"biMesaPlateauFM",biMesaPlateauFM);
- tolua_constant(tolua_S,"biMesaPlateauM",biMesaPlateauM);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"cIniFile","cIniFile","",tolua_collect_cIniFile);
- #else
- tolua_cclass(tolua_S,"cIniFile","cIniFile","",NULL);
- #endif
- tolua_beginmodule(tolua_S,"cIniFile");
- tolua_constant(tolua_S,"noID",cIniFile::noID);
- tolua_function(tolua_S,"new",tolua_AllToLua_cIniFile_new00);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cIniFile_new00_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cIniFile_new00_local);
- tolua_function(tolua_S,"CaseSensitive",tolua_AllToLua_cIniFile_CaseSensitive00);
- tolua_function(tolua_S,"CaseInsensitive",tolua_AllToLua_cIniFile_CaseInsensitive00);
- tolua_function(tolua_S,"ReadFile",tolua_AllToLua_cIniFile_ReadFile00);
- tolua_function(tolua_S,"WriteFile",tolua_AllToLua_cIniFile_WriteFile00);
- tolua_function(tolua_S,"Clear",tolua_AllToLua_cIniFile_Clear00);
- tolua_function(tolua_S,"FindKey",tolua_AllToLua_cIniFile_FindKey00);
- tolua_function(tolua_S,"FindValue",tolua_AllToLua_cIniFile_FindValue00);
- tolua_function(tolua_S,"GetNumKeys",tolua_AllToLua_cIniFile_GetNumKeys00);
- tolua_function(tolua_S,"AddKeyName",tolua_AllToLua_cIniFile_AddKeyName00);
- tolua_function(tolua_S,"GetKeyName",tolua_AllToLua_cIniFile_GetKeyName00);
- tolua_function(tolua_S,"GetNumValues",tolua_AllToLua_cIniFile_GetNumValues00);
- tolua_function(tolua_S,"GetNumValues",tolua_AllToLua_cIniFile_GetNumValues01);
- tolua_function(tolua_S,"GetValueName",tolua_AllToLua_cIniFile_GetValueName00);
- tolua_function(tolua_S,"GetValueName",tolua_AllToLua_cIniFile_GetValueName01);
- tolua_function(tolua_S,"GetValue",tolua_AllToLua_cIniFile_GetValue00);
- tolua_function(tolua_S,"GetValue",tolua_AllToLua_cIniFile_GetValue01);
- tolua_function(tolua_S,"GetValue",tolua_AllToLua_cIniFile_GetValue02);
- tolua_function(tolua_S,"GetValue",tolua_AllToLua_cIniFile_GetValue03);
- tolua_function(tolua_S,"GetValueF",tolua_AllToLua_cIniFile_GetValueF00);
- tolua_function(tolua_S,"GetValueI",tolua_AllToLua_cIniFile_GetValueI00);
- tolua_function(tolua_S,"GetValueB",tolua_AllToLua_cIniFile_GetValueB00);
- tolua_function(tolua_S,"GetValueSet",tolua_AllToLua_cIniFile_GetValueSet00);
- tolua_function(tolua_S,"GetValueSet",tolua_AllToLua_cIniFile_GetValueSet01);
- tolua_function(tolua_S,"GetValueSetF",tolua_AllToLua_cIniFile_GetValueSetF00);
- tolua_function(tolua_S,"GetValueSetI",tolua_AllToLua_cIniFile_GetValueSetI00);
- tolua_function(tolua_S,"GetValueSetB",tolua_AllToLua_cIniFile_GetValueSetB00);
- tolua_function(tolua_S,"SetValue",tolua_AllToLua_cIniFile_SetValue00);
- tolua_function(tolua_S,"SetValue",tolua_AllToLua_cIniFile_SetValue01);
- tolua_function(tolua_S,"SetValueI",tolua_AllToLua_cIniFile_SetValueI00);
- tolua_function(tolua_S,"SetValueB",tolua_AllToLua_cIniFile_SetValueB00);
- tolua_function(tolua_S,"SetValueF",tolua_AllToLua_cIniFile_SetValueF00);
- tolua_function(tolua_S,"DeleteValueByID",tolua_AllToLua_cIniFile_DeleteValueByID00);
- tolua_function(tolua_S,"DeleteValue",tolua_AllToLua_cIniFile_DeleteValue00);
- tolua_function(tolua_S,"DeleteKey",tolua_AllToLua_cIniFile_DeleteKey00);
- tolua_function(tolua_S,"GetNumHeaderComments",tolua_AllToLua_cIniFile_GetNumHeaderComments00);
- tolua_function(tolua_S,"AddHeaderComment",tolua_AllToLua_cIniFile_AddHeaderComment00);
- tolua_function(tolua_S,"GetHeaderComment",tolua_AllToLua_cIniFile_GetHeaderComment00);
- tolua_function(tolua_S,"DeleteHeaderComment",tolua_AllToLua_cIniFile_DeleteHeaderComment00);
- tolua_function(tolua_S,"DeleteHeaderComments",tolua_AllToLua_cIniFile_DeleteHeaderComments00);
- tolua_function(tolua_S,"GetNumKeyComments",tolua_AllToLua_cIniFile_GetNumKeyComments00);
- tolua_function(tolua_S,"GetNumKeyComments",tolua_AllToLua_cIniFile_GetNumKeyComments01);
- tolua_function(tolua_S,"AddKeyComment",tolua_AllToLua_cIniFile_AddKeyComment00);
- tolua_function(tolua_S,"AddKeyComment",tolua_AllToLua_cIniFile_AddKeyComment01);
- tolua_function(tolua_S,"GetKeyComment",tolua_AllToLua_cIniFile_GetKeyComment00);
- tolua_function(tolua_S,"GetKeyComment",tolua_AllToLua_cIniFile_GetKeyComment01);
- tolua_function(tolua_S,"DeleteKeyComment",tolua_AllToLua_cIniFile_DeleteKeyComment00);
- tolua_function(tolua_S,"DeleteKeyComment",tolua_AllToLua_cIniFile_DeleteKeyComment01);
- tolua_function(tolua_S,"DeleteKeyComments",tolua_AllToLua_cIniFile_DeleteKeyComments00);
- tolua_function(tolua_S,"DeleteKeyComments",tolua_AllToLua_cIniFile_DeleteKeyComments01);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cFile","cFile","",NULL);
- tolua_beginmodule(tolua_S,"cFile");
- tolua_function(tolua_S,"Exists",tolua_AllToLua_cFile_Exists00);
- tolua_function(tolua_S,"Delete",tolua_AllToLua_cFile_Delete00);
- tolua_function(tolua_S,"Rename",tolua_AllToLua_cFile_Rename00);
- tolua_function(tolua_S,"Copy",tolua_AllToLua_cFile_Copy00);
- tolua_function(tolua_S,"IsFolder",tolua_AllToLua_cFile_IsFolder00);
- tolua_function(tolua_S,"IsFile",tolua_AllToLua_cFile_IsFile00);
- tolua_function(tolua_S,"GetSize",tolua_AllToLua_cFile_GetSize00);
- tolua_function(tolua_S,"CreateFolder",tolua_AllToLua_cFile_CreateFolder00);
- tolua_function(tolua_S,"ReadWholeFile",tolua_AllToLua_cFile_ReadWholeFile00);
- tolua_endmodule(tolua_S);
- tolua_function(tolua_S,"GetTime",tolua_AllToLua_GetTime00);
- tolua_function(tolua_S,"GetChar",tolua_AllToLua_GetChar00);
- tolua_cclass(tolua_S,"cPluginManager","cPluginManager","",NULL);
- tolua_beginmodule(tolua_S,"cPluginManager");
- tolua_constant(tolua_S,"HOOK_BLOCK_TO_PICKUPS",cPluginManager::HOOK_BLOCK_TO_PICKUPS);
- tolua_constant(tolua_S,"HOOK_CHAT",cPluginManager::HOOK_CHAT);
- tolua_constant(tolua_S,"HOOK_CHUNK_AVAILABLE",cPluginManager::HOOK_CHUNK_AVAILABLE);
- tolua_constant(tolua_S,"HOOK_CHUNK_GENERATED",cPluginManager::HOOK_CHUNK_GENERATED);
- tolua_constant(tolua_S,"HOOK_CHUNK_GENERATING",cPluginManager::HOOK_CHUNK_GENERATING);
- tolua_constant(tolua_S,"HOOK_CHUNK_UNLOADED",cPluginManager::HOOK_CHUNK_UNLOADED);
- tolua_constant(tolua_S,"HOOK_CHUNK_UNLOADING",cPluginManager::HOOK_CHUNK_UNLOADING);
- tolua_constant(tolua_S,"HOOK_COLLECTING_PICKUP",cPluginManager::HOOK_COLLECTING_PICKUP);
- tolua_constant(tolua_S,"HOOK_CRAFTING_NO_RECIPE",cPluginManager::HOOK_CRAFTING_NO_RECIPE);
- tolua_constant(tolua_S,"HOOK_DISCONNECT",cPluginManager::HOOK_DISCONNECT);
- tolua_constant(tolua_S,"HOOK_PLAYER_ANIMATION",cPluginManager::HOOK_PLAYER_ANIMATION);
- tolua_constant(tolua_S,"HOOK_EXECUTE_COMMAND",cPluginManager::HOOK_EXECUTE_COMMAND);
- tolua_constant(tolua_S,"HOOK_EXPLODED",cPluginManager::HOOK_EXPLODED);
- tolua_constant(tolua_S,"HOOK_EXPLODING",cPluginManager::HOOK_EXPLODING);
- tolua_constant(tolua_S,"HOOK_HANDSHAKE",cPluginManager::HOOK_HANDSHAKE);
- tolua_constant(tolua_S,"HOOK_HOPPER_PULLING_ITEM",cPluginManager::HOOK_HOPPER_PULLING_ITEM);
- tolua_constant(tolua_S,"HOOK_HOPPER_PUSHING_ITEM",cPluginManager::HOOK_HOPPER_PUSHING_ITEM);
- tolua_constant(tolua_S,"HOOK_KILLING",cPluginManager::HOOK_KILLING);
- tolua_constant(tolua_S,"HOOK_LOGIN",cPluginManager::HOOK_LOGIN);
- tolua_constant(tolua_S,"HOOK_PLAYER_BREAKING_BLOCK",cPluginManager::HOOK_PLAYER_BREAKING_BLOCK);
- tolua_constant(tolua_S,"HOOK_PLAYER_BROKEN_BLOCK",cPluginManager::HOOK_PLAYER_BROKEN_BLOCK);
- tolua_constant(tolua_S,"HOOK_PLAYER_EATING",cPluginManager::HOOK_PLAYER_EATING);
- tolua_constant(tolua_S,"HOOK_PLAYER_JOINED",cPluginManager::HOOK_PLAYER_JOINED);
- tolua_constant(tolua_S,"HOOK_PLAYER_LEFT_CLICK",cPluginManager::HOOK_PLAYER_LEFT_CLICK);
- tolua_constant(tolua_S,"HOOK_PLAYER_MOVING",cPluginManager::HOOK_PLAYER_MOVING);
- tolua_constant(tolua_S,"HOOK_PLAYER_PLACED_BLOCK",cPluginManager::HOOK_PLAYER_PLACED_BLOCK);
- tolua_constant(tolua_S,"HOOK_PLAYER_PLACING_BLOCK",cPluginManager::HOOK_PLAYER_PLACING_BLOCK);
- tolua_constant(tolua_S,"HOOK_PLAYER_RIGHT_CLICK",cPluginManager::HOOK_PLAYER_RIGHT_CLICK);
- tolua_constant(tolua_S,"HOOK_PLAYER_RIGHT_CLICKING_ENTITY",cPluginManager::HOOK_PLAYER_RIGHT_CLICKING_ENTITY);
- tolua_constant(tolua_S,"HOOK_PLAYER_SHOOTING",cPluginManager::HOOK_PLAYER_SHOOTING);
- tolua_constant(tolua_S,"HOOK_PLAYER_SPAWNED",cPluginManager::HOOK_PLAYER_SPAWNED);
- tolua_constant(tolua_S,"HOOK_PLAYER_TOSSING_ITEM",cPluginManager::HOOK_PLAYER_TOSSING_ITEM);
- tolua_constant(tolua_S,"HOOK_PLAYER_USED_BLOCK",cPluginManager::HOOK_PLAYER_USED_BLOCK);
- tolua_constant(tolua_S,"HOOK_PLAYER_USED_ITEM",cPluginManager::HOOK_PLAYER_USED_ITEM);
- tolua_constant(tolua_S,"HOOK_PLAYER_USING_BLOCK",cPluginManager::HOOK_PLAYER_USING_BLOCK);
- tolua_constant(tolua_S,"HOOK_PLAYER_USING_ITEM",cPluginManager::HOOK_PLAYER_USING_ITEM);
- tolua_constant(tolua_S,"HOOK_POST_CRAFTING",cPluginManager::HOOK_POST_CRAFTING);
- tolua_constant(tolua_S,"HOOK_PRE_CRAFTING",cPluginManager::HOOK_PRE_CRAFTING);
- tolua_constant(tolua_S,"HOOK_SPAWNED_ENTITY",cPluginManager::HOOK_SPAWNED_ENTITY);
- tolua_constant(tolua_S,"HOOK_SPAWNED_MONSTER",cPluginManager::HOOK_SPAWNED_MONSTER);
- tolua_constant(tolua_S,"HOOK_SPAWNING_ENTITY",cPluginManager::HOOK_SPAWNING_ENTITY);
- tolua_constant(tolua_S,"HOOK_SPAWNING_MONSTER",cPluginManager::HOOK_SPAWNING_MONSTER);
- tolua_constant(tolua_S,"HOOK_TAKE_DAMAGE",cPluginManager::HOOK_TAKE_DAMAGE);
- tolua_constant(tolua_S,"HOOK_TICK",cPluginManager::HOOK_TICK);
- tolua_constant(tolua_S,"HOOK_UPDATED_SIGN",cPluginManager::HOOK_UPDATED_SIGN);
- tolua_constant(tolua_S,"HOOK_UPDATING_SIGN",cPluginManager::HOOK_UPDATING_SIGN);
- tolua_constant(tolua_S,"HOOK_WEATHER_CHANGED",cPluginManager::HOOK_WEATHER_CHANGED);
- tolua_constant(tolua_S,"HOOK_WEATHER_CHANGING",cPluginManager::HOOK_WEATHER_CHANGING);
- tolua_constant(tolua_S,"HOOK_WORLD_STARTED",cPluginManager::HOOK_WORLD_STARTED);
- tolua_constant(tolua_S,"HOOK_WORLD_TICK",cPluginManager::HOOK_WORLD_TICK);
- tolua_constant(tolua_S,"HOOK_NUM_HOOKS",cPluginManager::HOOK_NUM_HOOKS);
- tolua_constant(tolua_S,"HOOK_MAX",cPluginManager::HOOK_MAX);
- tolua_function(tolua_S,"Get",tolua_AllToLua_cPluginManager_Get00);
- tolua_function(tolua_S,"GetPlugin",tolua_AllToLua_cPluginManager_GetPlugin00);
- tolua_function(tolua_S,"FindPlugins",tolua_AllToLua_cPluginManager_FindPlugins00);
- tolua_function(tolua_S,"ReloadPlugins",tolua_AllToLua_cPluginManager_ReloadPlugins00);
- tolua_function(tolua_S,"GetNumPlugins",tolua_AllToLua_cPluginManager_GetNumPlugins00);
- tolua_function(tolua_S,"DisablePlugin",tolua_AllToLua_cPluginManager_DisablePlugin00);
- tolua_function(tolua_S,"LoadPlugin",tolua_AllToLua_cPluginManager_LoadPlugin00);
- tolua_function(tolua_S,"IsCommandBound",tolua_AllToLua_cPluginManager_IsCommandBound00);
- tolua_function(tolua_S,"GetCommandPermission",tolua_AllToLua_cPluginManager_GetCommandPermission00);
- tolua_function(tolua_S,"ExecuteCommand",tolua_AllToLua_cPluginManager_ExecuteCommand00);
- tolua_function(tolua_S,"ForceExecuteCommand",tolua_AllToLua_cPluginManager_ForceExecuteCommand00);
- tolua_function(tolua_S,"IsConsoleCommandBound",tolua_AllToLua_cPluginManager_IsConsoleCommandBound00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cPlugin","cPlugin","",NULL);
- tolua_beginmodule(tolua_S,"cPlugin");
- tolua_function(tolua_S,"GetName",tolua_AllToLua_cPlugin_GetName00);
- tolua_function(tolua_S,"SetName",tolua_AllToLua_cPlugin_SetName00);
- tolua_function(tolua_S,"GetVersion",tolua_AllToLua_cPlugin_GetVersion00);
- tolua_function(tolua_S,"SetVersion",tolua_AllToLua_cPlugin_SetVersion00);
- tolua_function(tolua_S,"GetDirectory",tolua_AllToLua_cPlugin_GetDirectory00);
- tolua_function(tolua_S,"GetLocalDirectory",tolua_AllToLua_cPlugin_GetLocalDirectory00);
- tolua_function(tolua_S,"GetLocalFolder",tolua_AllToLua_cPlugin_GetLocalFolder00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cPluginLua","cPluginLua","cPlugin",NULL);
- tolua_beginmodule(tolua_S,"cPluginLua");
- tolua_variable(tolua_S,"__cWebPlugin__",tolua_get_cPluginLua___cWebPlugin__,NULL);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cWebPlugin","cWebPlugin","",NULL);
- tolua_beginmodule(tolua_S,"cWebPlugin");
- tolua_function(tolua_S,"GetWebTitle",tolua_AllToLua_cWebPlugin_GetWebTitle00);
- tolua_function(tolua_S,"HandleWebRequest",tolua_AllToLua_cWebPlugin_HandleWebRequest00);
- tolua_function(tolua_S,"SafeString",tolua_AllToLua_cWebPlugin_SafeString00);
- tolua_endmodule(tolua_S);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"cLuaWindow","cLuaWindow","cWindow",tolua_collect_cLuaWindow);
- #else
- tolua_cclass(tolua_S,"cLuaWindow","cLuaWindow","cWindow",NULL);
- #endif
- tolua_beginmodule(tolua_S,"cLuaWindow");
- tolua_function(tolua_S,"new",tolua_AllToLua_cLuaWindow_new00);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cLuaWindow_new00_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cLuaWindow_new00_local);
- tolua_function(tolua_S,"delete",tolua_AllToLua_cLuaWindow_delete00);
- tolua_function(tolua_S,"GetContents",tolua_AllToLua_cLuaWindow_GetContents00);
- tolua_variable(tolua_S,"__cItemGrid__cListener__",tolua_get_cLuaWindow___cItemGrid__cListener__,NULL);
- tolua_endmodule(tolua_S);
- tolua_constant(tolua_S,"E_BLOCK_AIR",E_BLOCK_AIR);
- tolua_constant(tolua_S,"E_BLOCK_STONE",E_BLOCK_STONE);
- tolua_constant(tolua_S,"E_BLOCK_GRASS",E_BLOCK_GRASS);
- tolua_constant(tolua_S,"E_BLOCK_DIRT",E_BLOCK_DIRT);
- tolua_constant(tolua_S,"E_BLOCK_COBBLESTONE",E_BLOCK_COBBLESTONE);
- tolua_constant(tolua_S,"E_BLOCK_PLANKS",E_BLOCK_PLANKS);
- tolua_constant(tolua_S,"E_BLOCK_SAPLING",E_BLOCK_SAPLING);
- tolua_constant(tolua_S,"E_BLOCK_BEDROCK",E_BLOCK_BEDROCK);
- tolua_constant(tolua_S,"E_BLOCK_WATER",E_BLOCK_WATER);
- tolua_constant(tolua_S,"E_BLOCK_STATIONARY_WATER",E_BLOCK_STATIONARY_WATER);
- tolua_constant(tolua_S,"E_BLOCK_LAVA",E_BLOCK_LAVA);
- tolua_constant(tolua_S,"E_BLOCK_STATIONARY_LAVA",E_BLOCK_STATIONARY_LAVA);
- tolua_constant(tolua_S,"E_BLOCK_SAND",E_BLOCK_SAND);
- tolua_constant(tolua_S,"E_BLOCK_GRAVEL",E_BLOCK_GRAVEL);
- tolua_constant(tolua_S,"E_BLOCK_GOLD_ORE",E_BLOCK_GOLD_ORE);
- tolua_constant(tolua_S,"E_BLOCK_IRON_ORE",E_BLOCK_IRON_ORE);
- tolua_constant(tolua_S,"E_BLOCK_COAL_ORE",E_BLOCK_COAL_ORE);
- tolua_constant(tolua_S,"E_BLOCK_LOG",E_BLOCK_LOG);
- tolua_constant(tolua_S,"E_BLOCK_LEAVES",E_BLOCK_LEAVES);
- tolua_constant(tolua_S,"E_BLOCK_SPONGE",E_BLOCK_SPONGE);
- tolua_constant(tolua_S,"E_BLOCK_GLASS",E_BLOCK_GLASS);
- tolua_constant(tolua_S,"E_BLOCK_LAPIS_ORE",E_BLOCK_LAPIS_ORE);
- tolua_constant(tolua_S,"E_BLOCK_LAPIS_BLOCK",E_BLOCK_LAPIS_BLOCK);
- tolua_constant(tolua_S,"E_BLOCK_DISPENSER",E_BLOCK_DISPENSER);
- tolua_constant(tolua_S,"E_BLOCK_SANDSTONE",E_BLOCK_SANDSTONE);
- tolua_constant(tolua_S,"E_BLOCK_NOTE_BLOCK",E_BLOCK_NOTE_BLOCK);
- tolua_constant(tolua_S,"E_BLOCK_BED",E_BLOCK_BED);
- tolua_constant(tolua_S,"E_BLOCK_POWERED_RAIL",E_BLOCK_POWERED_RAIL);
- tolua_constant(tolua_S,"E_BLOCK_DETECTOR_RAIL",E_BLOCK_DETECTOR_RAIL);
- tolua_constant(tolua_S,"E_BLOCK_STICKY_PISTON",E_BLOCK_STICKY_PISTON);
- tolua_constant(tolua_S,"E_BLOCK_COBWEB",E_BLOCK_COBWEB);
- tolua_constant(tolua_S,"E_BLOCK_TALL_GRASS",E_BLOCK_TALL_GRASS);
- tolua_constant(tolua_S,"E_BLOCK_DEAD_BUSH",E_BLOCK_DEAD_BUSH);
- tolua_constant(tolua_S,"E_BLOCK_PISTON",E_BLOCK_PISTON);
- tolua_constant(tolua_S,"E_BLOCK_PISTON_EXTENSION",E_BLOCK_PISTON_EXTENSION);
- tolua_constant(tolua_S,"E_BLOCK_WOOL",E_BLOCK_WOOL);
- tolua_constant(tolua_S,"E_BLOCK_PISTON_MOVED_BLOCK",E_BLOCK_PISTON_MOVED_BLOCK);
- tolua_constant(tolua_S,"E_BLOCK_DANDELION",E_BLOCK_DANDELION);
- tolua_constant(tolua_S,"E_BLOCK_FLOWER",E_BLOCK_FLOWER);
- tolua_constant(tolua_S,"E_BLOCK_BROWN_MUSHROOM",E_BLOCK_BROWN_MUSHROOM);
- tolua_constant(tolua_S,"E_BLOCK_RED_MUSHROOM",E_BLOCK_RED_MUSHROOM);
- tolua_constant(tolua_S,"E_BLOCK_GOLD_BLOCK",E_BLOCK_GOLD_BLOCK);
- tolua_constant(tolua_S,"E_BLOCK_IRON_BLOCK",E_BLOCK_IRON_BLOCK);
- tolua_constant(tolua_S,"E_BLOCK_DOUBLE_STONE_SLAB",E_BLOCK_DOUBLE_STONE_SLAB);
- tolua_constant(tolua_S,"E_BLOCK_STONE_SLAB",E_BLOCK_STONE_SLAB);
- tolua_constant(tolua_S,"E_BLOCK_BRICK",E_BLOCK_BRICK);
- tolua_constant(tolua_S,"E_BLOCK_TNT",E_BLOCK_TNT);
- tolua_constant(tolua_S,"E_BLOCK_BOOKCASE",E_BLOCK_BOOKCASE);
- tolua_constant(tolua_S,"E_BLOCK_MOSSY_COBBLESTONE",E_BLOCK_MOSSY_COBBLESTONE);
- tolua_constant(tolua_S,"E_BLOCK_OBSIDIAN",E_BLOCK_OBSIDIAN);
- tolua_constant(tolua_S,"E_BLOCK_TORCH",E_BLOCK_TORCH);
- tolua_constant(tolua_S,"E_BLOCK_FIRE",E_BLOCK_FIRE);
- tolua_constant(tolua_S,"E_BLOCK_MOB_SPAWNER",E_BLOCK_MOB_SPAWNER);
- tolua_constant(tolua_S,"E_BLOCK_WOODEN_STAIRS",E_BLOCK_WOODEN_STAIRS);
- tolua_constant(tolua_S,"E_BLOCK_CHEST",E_BLOCK_CHEST);
- tolua_constant(tolua_S,"E_BLOCK_REDSTONE_WIRE",E_BLOCK_REDSTONE_WIRE);
- tolua_constant(tolua_S,"E_BLOCK_DIAMOND_ORE",E_BLOCK_DIAMOND_ORE);
- tolua_constant(tolua_S,"E_BLOCK_DIAMOND_BLOCK",E_BLOCK_DIAMOND_BLOCK);
- tolua_constant(tolua_S,"E_BLOCK_CRAFTING_TABLE",E_BLOCK_CRAFTING_TABLE);
- tolua_constant(tolua_S,"E_BLOCK_WORKBENCH",E_BLOCK_WORKBENCH);
- tolua_constant(tolua_S,"E_BLOCK_CROPS",E_BLOCK_CROPS);
- tolua_constant(tolua_S,"E_BLOCK_FARMLAND",E_BLOCK_FARMLAND);
- tolua_constant(tolua_S,"E_BLOCK_FURNACE",E_BLOCK_FURNACE);
- tolua_constant(tolua_S,"E_BLOCK_LIT_FURNACE",E_BLOCK_LIT_FURNACE);
- tolua_constant(tolua_S,"E_BLOCK_BURNING_FURNACE",E_BLOCK_BURNING_FURNACE);
- tolua_constant(tolua_S,"E_BLOCK_SIGN_POST",E_BLOCK_SIGN_POST);
- tolua_constant(tolua_S,"E_BLOCK_WOODEN_DOOR",E_BLOCK_WOODEN_DOOR);
- tolua_constant(tolua_S,"E_BLOCK_LADDER",E_BLOCK_LADDER);
- tolua_constant(tolua_S,"E_BLOCK_RAIL",E_BLOCK_RAIL);
- tolua_constant(tolua_S,"E_BLOCK_MINECART_TRACKS",E_BLOCK_MINECART_TRACKS);
- tolua_constant(tolua_S,"E_BLOCK_COBBLESTONE_STAIRS",E_BLOCK_COBBLESTONE_STAIRS);
- tolua_constant(tolua_S,"E_BLOCK_WALLSIGN",E_BLOCK_WALLSIGN);
- tolua_constant(tolua_S,"E_BLOCK_LEVER",E_BLOCK_LEVER);
- tolua_constant(tolua_S,"E_BLOCK_STONE_PRESSURE_PLATE",E_BLOCK_STONE_PRESSURE_PLATE);
- tolua_constant(tolua_S,"E_BLOCK_IRON_DOOR",E_BLOCK_IRON_DOOR);
- tolua_constant(tolua_S,"E_BLOCK_WOODEN_PRESSURE_PLATE",E_BLOCK_WOODEN_PRESSURE_PLATE);
- tolua_constant(tolua_S,"E_BLOCK_REDSTONE_ORE",E_BLOCK_REDSTONE_ORE);
- tolua_constant(tolua_S,"E_BLOCK_REDSTONE_ORE_GLOWING",E_BLOCK_REDSTONE_ORE_GLOWING);
- tolua_constant(tolua_S,"E_BLOCK_REDSTONE_TORCH_OFF",E_BLOCK_REDSTONE_TORCH_OFF);
- tolua_constant(tolua_S,"E_BLOCK_REDSTONE_TORCH_ON",E_BLOCK_REDSTONE_TORCH_ON);
- tolua_constant(tolua_S,"E_BLOCK_STONE_BUTTON",E_BLOCK_STONE_BUTTON);
- tolua_constant(tolua_S,"E_BLOCK_SNOW",E_BLOCK_SNOW);
- tolua_constant(tolua_S,"E_BLOCK_ICE",E_BLOCK_ICE);
- tolua_constant(tolua_S,"E_BLOCK_SNOW_BLOCK",E_BLOCK_SNOW_BLOCK);
- tolua_constant(tolua_S,"E_BLOCK_CACTUS",E_BLOCK_CACTUS);
- tolua_constant(tolua_S,"E_BLOCK_CLAY",E_BLOCK_CLAY);
- tolua_constant(tolua_S,"E_BLOCK_SUGARCANE",E_BLOCK_SUGARCANE);
- tolua_constant(tolua_S,"E_BLOCK_REEDS",E_BLOCK_REEDS);
- tolua_constant(tolua_S,"E_BLOCK_JUKEBOX",E_BLOCK_JUKEBOX);
- tolua_constant(tolua_S,"E_BLOCK_FENCE",E_BLOCK_FENCE);
- tolua_constant(tolua_S,"E_BLOCK_PUMPKIN",E_BLOCK_PUMPKIN);
- tolua_constant(tolua_S,"E_BLOCK_NETHERRACK",E_BLOCK_NETHERRACK);
- tolua_constant(tolua_S,"E_BLOCK_SOULSAND",E_BLOCK_SOULSAND);
- tolua_constant(tolua_S,"E_BLOCK_GLOWSTONE",E_BLOCK_GLOWSTONE);
- tolua_constant(tolua_S,"E_BLOCK_NETHER_PORTAL",E_BLOCK_NETHER_PORTAL);
- tolua_constant(tolua_S,"E_BLOCK_JACK_O_LANTERN",E_BLOCK_JACK_O_LANTERN);
- tolua_constant(tolua_S,"E_BLOCK_CAKE",E_BLOCK_CAKE);
- tolua_constant(tolua_S,"E_BLOCK_REDSTONE_REPEATER_OFF",E_BLOCK_REDSTONE_REPEATER_OFF);
- tolua_constant(tolua_S,"E_BLOCK_REDSTONE_REPEATER_ON",E_BLOCK_REDSTONE_REPEATER_ON);
- tolua_constant(tolua_S,"E_BLOCK_STAINED_GLASS",E_BLOCK_STAINED_GLASS);
- tolua_constant(tolua_S,"E_BLOCK_TRAPDOOR",E_BLOCK_TRAPDOOR);
- tolua_constant(tolua_S,"E_BLOCK_SILVERFISH_EGG",E_BLOCK_SILVERFISH_EGG);
- tolua_constant(tolua_S,"E_BLOCK_STONE_BRICKS",E_BLOCK_STONE_BRICKS);
- tolua_constant(tolua_S,"E_BLOCK_HUGE_BROWN_MUSHROOM",E_BLOCK_HUGE_BROWN_MUSHROOM);
- tolua_constant(tolua_S,"E_BLOCK_HUGE_RED_MUSHROOM",E_BLOCK_HUGE_RED_MUSHROOM);
- tolua_constant(tolua_S,"E_BLOCK_IRON_BARS",E_BLOCK_IRON_BARS);
- tolua_constant(tolua_S,"E_BLOCK_GLASS_PANE",E_BLOCK_GLASS_PANE);
- tolua_constant(tolua_S,"E_BLOCK_MELON",E_BLOCK_MELON);
- tolua_constant(tolua_S,"E_BLOCK_PUMPKIN_STEM",E_BLOCK_PUMPKIN_STEM);
- tolua_constant(tolua_S,"E_BLOCK_MELON_STEM",E_BLOCK_MELON_STEM);
- tolua_constant(tolua_S,"E_BLOCK_VINES",E_BLOCK_VINES);
- tolua_constant(tolua_S,"E_BLOCK_FENCE_GATE",E_BLOCK_FENCE_GATE);
- tolua_constant(tolua_S,"E_BLOCK_BRICK_STAIRS",E_BLOCK_BRICK_STAIRS);
- tolua_constant(tolua_S,"E_BLOCK_STONE_BRICK_STAIRS",E_BLOCK_STONE_BRICK_STAIRS);
- tolua_constant(tolua_S,"E_BLOCK_MYCELIUM",E_BLOCK_MYCELIUM);
- tolua_constant(tolua_S,"E_BLOCK_LILY_PAD",E_BLOCK_LILY_PAD);
- tolua_constant(tolua_S,"E_BLOCK_NETHER_BRICK",E_BLOCK_NETHER_BRICK);
- tolua_constant(tolua_S,"E_BLOCK_NETHER_BRICK_FENCE",E_BLOCK_NETHER_BRICK_FENCE);
- tolua_constant(tolua_S,"E_BLOCK_NETHER_BRICK_STAIRS",E_BLOCK_NETHER_BRICK_STAIRS);
- tolua_constant(tolua_S,"E_BLOCK_NETHER_WART",E_BLOCK_NETHER_WART);
- tolua_constant(tolua_S,"E_BLOCK_ENCHANTMENT_TABLE",E_BLOCK_ENCHANTMENT_TABLE);
- tolua_constant(tolua_S,"E_BLOCK_BREWING_STAND",E_BLOCK_BREWING_STAND);
- tolua_constant(tolua_S,"E_BLOCK_CAULDRON",E_BLOCK_CAULDRON);
- tolua_constant(tolua_S,"E_BLOCK_END_PORTAL",E_BLOCK_END_PORTAL);
- tolua_constant(tolua_S,"E_BLOCK_END_PORTAL_FRAME",E_BLOCK_END_PORTAL_FRAME);
- tolua_constant(tolua_S,"E_BLOCK_END_STONE",E_BLOCK_END_STONE);
- tolua_constant(tolua_S,"E_BLOCK_DRAGON_EGG",E_BLOCK_DRAGON_EGG);
- tolua_constant(tolua_S,"E_BLOCK_REDSTONE_LAMP_OFF",E_BLOCK_REDSTONE_LAMP_OFF);
- tolua_constant(tolua_S,"E_BLOCK_REDSTONE_LAMP_ON",E_BLOCK_REDSTONE_LAMP_ON);
- tolua_constant(tolua_S,"E_BLOCK_DOUBLE_WOODEN_SLAB",E_BLOCK_DOUBLE_WOODEN_SLAB);
- tolua_constant(tolua_S,"E_BLOCK_WOODEN_SLAB",E_BLOCK_WOODEN_SLAB);
- tolua_constant(tolua_S,"E_BLOCK_COCOA_POD",E_BLOCK_COCOA_POD);
- tolua_constant(tolua_S,"E_BLOCK_SANDSTONE_STAIRS",E_BLOCK_SANDSTONE_STAIRS);
- tolua_constant(tolua_S,"E_BLOCK_EMERALD_ORE",E_BLOCK_EMERALD_ORE);
- tolua_constant(tolua_S,"E_BLOCK_ENDER_CHEST",E_BLOCK_ENDER_CHEST);
- tolua_constant(tolua_S,"E_BLOCK_TRIPWIRE_HOOK",E_BLOCK_TRIPWIRE_HOOK);
- tolua_constant(tolua_S,"E_BLOCK_TRIPWIRE",E_BLOCK_TRIPWIRE);
- tolua_constant(tolua_S,"E_BLOCK_EMERALD_BLOCK",E_BLOCK_EMERALD_BLOCK);
- tolua_constant(tolua_S,"E_BLOCK_SPRUCE_WOOD_STAIRS",E_BLOCK_SPRUCE_WOOD_STAIRS);
- tolua_constant(tolua_S,"E_BLOCK_BIRCH_WOOD_STAIRS",E_BLOCK_BIRCH_WOOD_STAIRS);
- tolua_constant(tolua_S,"E_BLOCK_JUNGLE_WOOD_STAIRS",E_BLOCK_JUNGLE_WOOD_STAIRS);
- tolua_constant(tolua_S,"E_BLOCK_COMMAND_BLOCK",E_BLOCK_COMMAND_BLOCK);
- tolua_constant(tolua_S,"E_BLOCK_BEACON",E_BLOCK_BEACON);
- tolua_constant(tolua_S,"E_BLOCK_COBBLESTONE_WALL",E_BLOCK_COBBLESTONE_WALL);
- tolua_constant(tolua_S,"E_BLOCK_FLOWER_POT",E_BLOCK_FLOWER_POT);
- tolua_constant(tolua_S,"E_BLOCK_CARROTS",E_BLOCK_CARROTS);
- tolua_constant(tolua_S,"E_BLOCK_POTATOES",E_BLOCK_POTATOES);
- tolua_constant(tolua_S,"E_BLOCK_WOODEN_BUTTON",E_BLOCK_WOODEN_BUTTON);
- tolua_constant(tolua_S,"E_BLOCK_HEAD",E_BLOCK_HEAD);
- tolua_constant(tolua_S,"E_BLOCK_ANVIL",E_BLOCK_ANVIL);
- tolua_constant(tolua_S,"E_BLOCK_TRAPPED_CHEST",E_BLOCK_TRAPPED_CHEST);
- tolua_constant(tolua_S,"E_BLOCK_LIGHT_WEIGHTED_PRESSURE_PLATE",E_BLOCK_LIGHT_WEIGHTED_PRESSURE_PLATE);
- tolua_constant(tolua_S,"E_BLOCK_HEAVY_WEIGHTED_PRESSURE_PLATE",E_BLOCK_HEAVY_WEIGHTED_PRESSURE_PLATE);
- tolua_constant(tolua_S,"E_BLOCK_INACTIVE_COMPARATOR",E_BLOCK_INACTIVE_COMPARATOR);
- tolua_constant(tolua_S,"E_BLOCK_ACTIVE_COMPARATOR",E_BLOCK_ACTIVE_COMPARATOR);
- tolua_constant(tolua_S,"E_BLOCK_DAYLIGHT_SENSOR",E_BLOCK_DAYLIGHT_SENSOR);
- tolua_constant(tolua_S,"E_BLOCK_BLOCK_OF_REDSTONE",E_BLOCK_BLOCK_OF_REDSTONE);
- tolua_constant(tolua_S,"E_BLOCK_NETHER_QUARTZ_ORE",E_BLOCK_NETHER_QUARTZ_ORE);
- tolua_constant(tolua_S,"E_BLOCK_HOPPER",E_BLOCK_HOPPER);
- tolua_constant(tolua_S,"E_BLOCK_QUARTZ_BLOCK",E_BLOCK_QUARTZ_BLOCK);
- tolua_constant(tolua_S,"E_BLOCK_QUARTZ_STAIRS",E_BLOCK_QUARTZ_STAIRS);
- tolua_constant(tolua_S,"E_BLOCK_ACTIVATOR_RAIL",E_BLOCK_ACTIVATOR_RAIL);
- tolua_constant(tolua_S,"E_BLOCK_DROPPER",E_BLOCK_DROPPER);
- tolua_constant(tolua_S,"E_BLOCK_STAINED_CLAY",E_BLOCK_STAINED_CLAY);
- tolua_constant(tolua_S,"E_BLOCK_STAINED_GLASS_PANE",E_BLOCK_STAINED_GLASS_PANE);
- tolua_constant(tolua_S,"E_BLOCK_NEW_LEAVES",E_BLOCK_NEW_LEAVES);
- tolua_constant(tolua_S,"E_BLOCK_NEW_LOG",E_BLOCK_NEW_LOG);
- tolua_constant(tolua_S,"E_BLOCK_ACACIA_WOOD_STAIRS",E_BLOCK_ACACIA_WOOD_STAIRS);
- tolua_constant(tolua_S,"E_BLOCK_DARK_OAK_WOOD_STAIRS",E_BLOCK_DARK_OAK_WOOD_STAIRS);
- tolua_constant(tolua_S,"E_BLOCK_HAY_BALE",E_BLOCK_HAY_BALE);
- tolua_constant(tolua_S,"E_BLOCK_CARPET",E_BLOCK_CARPET);
- tolua_constant(tolua_S,"E_BLOCK_HARDENED_CLAY",E_BLOCK_HARDENED_CLAY);
- tolua_constant(tolua_S,"E_BLOCK_BLOCK_OF_COAL",E_BLOCK_BLOCK_OF_COAL);
- tolua_constant(tolua_S,"E_BLOCK_PACKED_ICE",E_BLOCK_PACKED_ICE);
- tolua_constant(tolua_S,"E_BLOCK_BIG_FLOWER",E_BLOCK_BIG_FLOWER);
- tolua_constant(tolua_S,"E_BLOCK_NUMBER_OF_TYPES",E_BLOCK_NUMBER_OF_TYPES);
- tolua_constant(tolua_S,"E_BLOCK_MAX_TYPE_ID",E_BLOCK_MAX_TYPE_ID);
- tolua_constant(tolua_S,"E_BLOCK_YELLOW_FLOWER",E_BLOCK_YELLOW_FLOWER);
- tolua_constant(tolua_S,"E_BLOCK_RED_ROSE",E_BLOCK_RED_ROSE);
- tolua_constant(tolua_S,"E_BLOCK_LOCKED_CHEST",E_BLOCK_LOCKED_CHEST);
- tolua_constant(tolua_S,"E_ITEM_EMPTY",E_ITEM_EMPTY);
- tolua_constant(tolua_S,"E_ITEM_FIRST",E_ITEM_FIRST);
- tolua_constant(tolua_S,"E_ITEM_IRON_SHOVEL",E_ITEM_IRON_SHOVEL);
- tolua_constant(tolua_S,"E_ITEM_IRON_PICKAXE",E_ITEM_IRON_PICKAXE);
- tolua_constant(tolua_S,"E_ITEM_IRON_AXE",E_ITEM_IRON_AXE);
- tolua_constant(tolua_S,"E_ITEM_FLINT_AND_STEEL",E_ITEM_FLINT_AND_STEEL);
- tolua_constant(tolua_S,"E_ITEM_RED_APPLE",E_ITEM_RED_APPLE);
- tolua_constant(tolua_S,"E_ITEM_BOW",E_ITEM_BOW);
- tolua_constant(tolua_S,"E_ITEM_ARROW",E_ITEM_ARROW);
- tolua_constant(tolua_S,"E_ITEM_COAL",E_ITEM_COAL);
- tolua_constant(tolua_S,"E_ITEM_DIAMOND",E_ITEM_DIAMOND);
- tolua_constant(tolua_S,"E_ITEM_IRON",E_ITEM_IRON);
- tolua_constant(tolua_S,"E_ITEM_GOLD",E_ITEM_GOLD);
- tolua_constant(tolua_S,"E_ITEM_IRON_SWORD",E_ITEM_IRON_SWORD);
- tolua_constant(tolua_S,"E_ITEM_WOODEN_SWORD",E_ITEM_WOODEN_SWORD);
- tolua_constant(tolua_S,"E_ITEM_WOODEN_SHOVEL",E_ITEM_WOODEN_SHOVEL);
- tolua_constant(tolua_S,"E_ITEM_WOODEN_PICKAXE",E_ITEM_WOODEN_PICKAXE);
- tolua_constant(tolua_S,"E_ITEM_WOODEN_AXE",E_ITEM_WOODEN_AXE);
- tolua_constant(tolua_S,"E_ITEM_STONE_SWORD",E_ITEM_STONE_SWORD);
- tolua_constant(tolua_S,"E_ITEM_STONE_SHOVEL",E_ITEM_STONE_SHOVEL);
- tolua_constant(tolua_S,"E_ITEM_STONE_PICKAXE",E_ITEM_STONE_PICKAXE);
- tolua_constant(tolua_S,"E_ITEM_STONE_AXE",E_ITEM_STONE_AXE);
- tolua_constant(tolua_S,"E_ITEM_DIAMOND_SWORD",E_ITEM_DIAMOND_SWORD);
- tolua_constant(tolua_S,"E_ITEM_DIAMOND_SHOVEL",E_ITEM_DIAMOND_SHOVEL);
- tolua_constant(tolua_S,"E_ITEM_DIAMOND_PICKAXE",E_ITEM_DIAMOND_PICKAXE);
- tolua_constant(tolua_S,"E_ITEM_DIAMOND_AXE",E_ITEM_DIAMOND_AXE);
- tolua_constant(tolua_S,"E_ITEM_STICK",E_ITEM_STICK);
- tolua_constant(tolua_S,"E_ITEM_BOWL",E_ITEM_BOWL);
- tolua_constant(tolua_S,"E_ITEM_MUSHROOM_SOUP",E_ITEM_MUSHROOM_SOUP);
- tolua_constant(tolua_S,"E_ITEM_GOLD_SWORD",E_ITEM_GOLD_SWORD);
- tolua_constant(tolua_S,"E_ITEM_GOLD_SHOVEL",E_ITEM_GOLD_SHOVEL);
- tolua_constant(tolua_S,"E_ITEM_GOLD_PICKAXE",E_ITEM_GOLD_PICKAXE);
- tolua_constant(tolua_S,"E_ITEM_GOLD_AXE",E_ITEM_GOLD_AXE);
- tolua_constant(tolua_S,"E_ITEM_STRING",E_ITEM_STRING);
- tolua_constant(tolua_S,"E_ITEM_FEATHER",E_ITEM_FEATHER);
- tolua_constant(tolua_S,"E_ITEM_GUNPOWDER",E_ITEM_GUNPOWDER);
- tolua_constant(tolua_S,"E_ITEM_WOODEN_HOE",E_ITEM_WOODEN_HOE);
- tolua_constant(tolua_S,"E_ITEM_STONE_HOE",E_ITEM_STONE_HOE);
- tolua_constant(tolua_S,"E_ITEM_IRON_HOE",E_ITEM_IRON_HOE);
- tolua_constant(tolua_S,"E_ITEM_DIAMOND_HOE",E_ITEM_DIAMOND_HOE);
- tolua_constant(tolua_S,"E_ITEM_GOLD_HOE",E_ITEM_GOLD_HOE);
- tolua_constant(tolua_S,"E_ITEM_SEEDS",E_ITEM_SEEDS);
- tolua_constant(tolua_S,"E_ITEM_WHEAT",E_ITEM_WHEAT);
- tolua_constant(tolua_S,"E_ITEM_BREAD",E_ITEM_BREAD);
- tolua_constant(tolua_S,"E_ITEM_LEATHER_CAP",E_ITEM_LEATHER_CAP);
- tolua_constant(tolua_S,"E_ITEM_LEATHER_TUNIC",E_ITEM_LEATHER_TUNIC);
- tolua_constant(tolua_S,"E_ITEM_LEATHER_PANTS",E_ITEM_LEATHER_PANTS);
- tolua_constant(tolua_S,"E_ITEM_LEATHER_BOOTS",E_ITEM_LEATHER_BOOTS);
- tolua_constant(tolua_S,"E_ITEM_CHAIN_HELMET",E_ITEM_CHAIN_HELMET);
- tolua_constant(tolua_S,"E_ITEM_CHAIN_CHESTPLATE",E_ITEM_CHAIN_CHESTPLATE);
- tolua_constant(tolua_S,"E_ITEM_CHAIN_LEGGINGS",E_ITEM_CHAIN_LEGGINGS);
- tolua_constant(tolua_S,"E_ITEM_CHAIN_BOOTS",E_ITEM_CHAIN_BOOTS);
- tolua_constant(tolua_S,"E_ITEM_IRON_HELMET",E_ITEM_IRON_HELMET);
- tolua_constant(tolua_S,"E_ITEM_IRON_CHESTPLATE",E_ITEM_IRON_CHESTPLATE);
- tolua_constant(tolua_S,"E_ITEM_IRON_LEGGINGS",E_ITEM_IRON_LEGGINGS);
- tolua_constant(tolua_S,"E_ITEM_IRON_BOOTS",E_ITEM_IRON_BOOTS);
- tolua_constant(tolua_S,"E_ITEM_DIAMOND_HELMET",E_ITEM_DIAMOND_HELMET);
- tolua_constant(tolua_S,"E_ITEM_DIAMOND_CHESTPLATE",E_ITEM_DIAMOND_CHESTPLATE);
- tolua_constant(tolua_S,"E_ITEM_DIAMOND_LEGGINGS",E_ITEM_DIAMOND_LEGGINGS);
- tolua_constant(tolua_S,"E_ITEM_DIAMOND_BOOTS",E_ITEM_DIAMOND_BOOTS);
- tolua_constant(tolua_S,"E_ITEM_GOLD_HELMET",E_ITEM_GOLD_HELMET);
- tolua_constant(tolua_S,"E_ITEM_GOLD_CHESTPLATE",E_ITEM_GOLD_CHESTPLATE);
- tolua_constant(tolua_S,"E_ITEM_GOLD_LEGGINGS",E_ITEM_GOLD_LEGGINGS);
- tolua_constant(tolua_S,"E_ITEM_GOLD_BOOTS",E_ITEM_GOLD_BOOTS);
- tolua_constant(tolua_S,"E_ITEM_FLINT",E_ITEM_FLINT);
- tolua_constant(tolua_S,"E_ITEM_RAW_PORKCHOP",E_ITEM_RAW_PORKCHOP);
- tolua_constant(tolua_S,"E_ITEM_COOKED_PORKCHOP",E_ITEM_COOKED_PORKCHOP);
- tolua_constant(tolua_S,"E_ITEM_PAINTINGS",E_ITEM_PAINTINGS);
- tolua_constant(tolua_S,"E_ITEM_GOLDEN_APPLE",E_ITEM_GOLDEN_APPLE);
- tolua_constant(tolua_S,"E_ITEM_SIGN",E_ITEM_SIGN);
- tolua_constant(tolua_S,"E_ITEM_WOODEN_DOOR",E_ITEM_WOODEN_DOOR);
- tolua_constant(tolua_S,"E_ITEM_BUCKET",E_ITEM_BUCKET);
- tolua_constant(tolua_S,"E_ITEM_WATER_BUCKET",E_ITEM_WATER_BUCKET);
- tolua_constant(tolua_S,"E_ITEM_LAVA_BUCKET",E_ITEM_LAVA_BUCKET);
- tolua_constant(tolua_S,"E_ITEM_MINECART",E_ITEM_MINECART);
- tolua_constant(tolua_S,"E_ITEM_SADDLE",E_ITEM_SADDLE);
- tolua_constant(tolua_S,"E_ITEM_IRON_DOOR",E_ITEM_IRON_DOOR);
- tolua_constant(tolua_S,"E_ITEM_REDSTONE_DUST",E_ITEM_REDSTONE_DUST);
- tolua_constant(tolua_S,"E_ITEM_SNOWBALL",E_ITEM_SNOWBALL);
- tolua_constant(tolua_S,"E_ITEM_BOAT",E_ITEM_BOAT);
- tolua_constant(tolua_S,"E_ITEM_LEATHER",E_ITEM_LEATHER);
- tolua_constant(tolua_S,"E_ITEM_MILK",E_ITEM_MILK);
- tolua_constant(tolua_S,"E_ITEM_CLAY_BRICK",E_ITEM_CLAY_BRICK);
- tolua_constant(tolua_S,"E_ITEM_CLAY",E_ITEM_CLAY);
- tolua_constant(tolua_S,"E_ITEM_SUGARCANE",E_ITEM_SUGARCANE);
- tolua_constant(tolua_S,"E_ITEM_SUGAR_CANE",E_ITEM_SUGAR_CANE);
- tolua_constant(tolua_S,"E_ITEM_PAPER",E_ITEM_PAPER);
- tolua_constant(tolua_S,"E_ITEM_BOOK",E_ITEM_BOOK);
- tolua_constant(tolua_S,"E_ITEM_SLIMEBALL",E_ITEM_SLIMEBALL);
- tolua_constant(tolua_S,"E_ITEM_CHEST_MINECART",E_ITEM_CHEST_MINECART);
- tolua_constant(tolua_S,"E_ITEM_FURNACE_MINECART",E_ITEM_FURNACE_MINECART);
- tolua_constant(tolua_S,"E_ITEM_EGG",E_ITEM_EGG);
- tolua_constant(tolua_S,"E_ITEM_COMPASS",E_ITEM_COMPASS);
- tolua_constant(tolua_S,"E_ITEM_FISHING_ROD",E_ITEM_FISHING_ROD);
- tolua_constant(tolua_S,"E_ITEM_CLOCK",E_ITEM_CLOCK);
- tolua_constant(tolua_S,"E_ITEM_GLOWSTONE_DUST",E_ITEM_GLOWSTONE_DUST);
- tolua_constant(tolua_S,"E_ITEM_RAW_FISH",E_ITEM_RAW_FISH);
- tolua_constant(tolua_S,"E_ITEM_COOKED_FISH",E_ITEM_COOKED_FISH);
- tolua_constant(tolua_S,"E_ITEM_DYE",E_ITEM_DYE);
- tolua_constant(tolua_S,"E_ITEM_BONE",E_ITEM_BONE);
- tolua_constant(tolua_S,"E_ITEM_SUGAR",E_ITEM_SUGAR);
- tolua_constant(tolua_S,"E_ITEM_CAKE",E_ITEM_CAKE);
- tolua_constant(tolua_S,"E_ITEM_BED",E_ITEM_BED);
- tolua_constant(tolua_S,"E_ITEM_REDSTONE_REPEATER",E_ITEM_REDSTONE_REPEATER);
- tolua_constant(tolua_S,"E_ITEM_COOKIE",E_ITEM_COOKIE);
- tolua_constant(tolua_S,"E_ITEM_MAP",E_ITEM_MAP);
- tolua_constant(tolua_S,"E_ITEM_SHEARS",E_ITEM_SHEARS);
- tolua_constant(tolua_S,"E_ITEM_MELON_SLICE",E_ITEM_MELON_SLICE);
- tolua_constant(tolua_S,"E_ITEM_PUMPKIN_SEEDS",E_ITEM_PUMPKIN_SEEDS);
- tolua_constant(tolua_S,"E_ITEM_MELON_SEEDS",E_ITEM_MELON_SEEDS);
- tolua_constant(tolua_S,"E_ITEM_RAW_BEEF",E_ITEM_RAW_BEEF);
- tolua_constant(tolua_S,"E_ITEM_STEAK",E_ITEM_STEAK);
- tolua_constant(tolua_S,"E_ITEM_RAW_CHICKEN",E_ITEM_RAW_CHICKEN);
- tolua_constant(tolua_S,"E_ITEM_COOKED_CHICKEN",E_ITEM_COOKED_CHICKEN);
- tolua_constant(tolua_S,"E_ITEM_ROTTEN_FLESH",E_ITEM_ROTTEN_FLESH);
- tolua_constant(tolua_S,"E_ITEM_ENDER_PEARL",E_ITEM_ENDER_PEARL);
- tolua_constant(tolua_S,"E_ITEM_BLAZE_ROD",E_ITEM_BLAZE_ROD);
- tolua_constant(tolua_S,"E_ITEM_GHAST_TEAR",E_ITEM_GHAST_TEAR);
- tolua_constant(tolua_S,"E_ITEM_GOLD_NUGGET",E_ITEM_GOLD_NUGGET);
- tolua_constant(tolua_S,"E_ITEM_NETHER_WART",E_ITEM_NETHER_WART);
- tolua_constant(tolua_S,"E_ITEM_POTIONS",E_ITEM_POTIONS);
- tolua_constant(tolua_S,"E_ITEM_GLASS_BOTTLE",E_ITEM_GLASS_BOTTLE);
- tolua_constant(tolua_S,"E_ITEM_SPIDER_EYE",E_ITEM_SPIDER_EYE);
- tolua_constant(tolua_S,"E_ITEM_FERMENTED_SPIDER_EYE",E_ITEM_FERMENTED_SPIDER_EYE);
- tolua_constant(tolua_S,"E_ITEM_BLAZE_POWDER",E_ITEM_BLAZE_POWDER);
- tolua_constant(tolua_S,"E_ITEM_MAGMA_CREAM",E_ITEM_MAGMA_CREAM);
- tolua_constant(tolua_S,"E_ITEM_BREWING_STAND",E_ITEM_BREWING_STAND);
- tolua_constant(tolua_S,"E_ITEM_CAULDRON",E_ITEM_CAULDRON);
- tolua_constant(tolua_S,"E_ITEM_EYE_OF_ENDER",E_ITEM_EYE_OF_ENDER);
- tolua_constant(tolua_S,"E_ITEM_GLISTERING_MELON",E_ITEM_GLISTERING_MELON);
- tolua_constant(tolua_S,"E_ITEM_SPAWN_EGG",E_ITEM_SPAWN_EGG);
- tolua_constant(tolua_S,"E_ITEM_BOTTLE_O_ENCHANTING",E_ITEM_BOTTLE_O_ENCHANTING);
- tolua_constant(tolua_S,"E_ITEM_FIRE_CHARGE",E_ITEM_FIRE_CHARGE);
- tolua_constant(tolua_S,"E_ITEM_BOOK_AND_QUILL",E_ITEM_BOOK_AND_QUILL);
- tolua_constant(tolua_S,"E_ITEM_WRITTEN_BOOK",E_ITEM_WRITTEN_BOOK);
- tolua_constant(tolua_S,"E_ITEM_EMERALD",E_ITEM_EMERALD);
- tolua_constant(tolua_S,"E_ITEM_ITEM_FRAME",E_ITEM_ITEM_FRAME);
- tolua_constant(tolua_S,"E_ITEM_FLOWER_POT",E_ITEM_FLOWER_POT);
- tolua_constant(tolua_S,"E_ITEM_CARROT",E_ITEM_CARROT);
- tolua_constant(tolua_S,"E_ITEM_POTATO",E_ITEM_POTATO);
- tolua_constant(tolua_S,"E_ITEM_BAKED_POTATO",E_ITEM_BAKED_POTATO);
- tolua_constant(tolua_S,"E_ITEM_POISONOUS_POTATO",E_ITEM_POISONOUS_POTATO);
- tolua_constant(tolua_S,"E_ITEM_EMPTY_MAP",E_ITEM_EMPTY_MAP);
- tolua_constant(tolua_S,"E_ITEM_GOLDEN_CARROT",E_ITEM_GOLDEN_CARROT);
- tolua_constant(tolua_S,"E_ITEM_HEAD",E_ITEM_HEAD);
- tolua_constant(tolua_S,"E_ITEM_CARROT_ON_STICK",E_ITEM_CARROT_ON_STICK);
- tolua_constant(tolua_S,"E_ITEM_NETHER_STAR",E_ITEM_NETHER_STAR);
- tolua_constant(tolua_S,"E_ITEM_PUMPKIN_PIE",E_ITEM_PUMPKIN_PIE);
- tolua_constant(tolua_S,"E_ITEM_FIREWORK_ROCKET",E_ITEM_FIREWORK_ROCKET);
- tolua_constant(tolua_S,"E_ITEM_FIREWORK_STAR",E_ITEM_FIREWORK_STAR);
- tolua_constant(tolua_S,"E_ITEM_ENCHANTED_BOOK",E_ITEM_ENCHANTED_BOOK);
- tolua_constant(tolua_S,"E_ITEM_COMPARATOR",E_ITEM_COMPARATOR);
- tolua_constant(tolua_S,"E_ITEM_NETHER_BRICK",E_ITEM_NETHER_BRICK);
- tolua_constant(tolua_S,"E_ITEM_NETHER_QUARTZ",E_ITEM_NETHER_QUARTZ);
- tolua_constant(tolua_S,"E_ITEM_MINECART_WITH_TNT",E_ITEM_MINECART_WITH_TNT);
- tolua_constant(tolua_S,"E_ITEM_MINECART_WITH_HOPPER",E_ITEM_MINECART_WITH_HOPPER);
- tolua_constant(tolua_S,"E_ITEM_IRON_HORSE_ARMOR",E_ITEM_IRON_HORSE_ARMOR);
- tolua_constant(tolua_S,"E_ITEM_GOLD_HORSE_ARMOR",E_ITEM_GOLD_HORSE_ARMOR);
- tolua_constant(tolua_S,"E_ITEM_DIAMOND_HORSE_ARMOR",E_ITEM_DIAMOND_HORSE_ARMOR);
- tolua_constant(tolua_S,"E_ITEM_LEAD",E_ITEM_LEAD);
- tolua_constant(tolua_S,"E_ITEM_NAME_TAG",E_ITEM_NAME_TAG);
- tolua_constant(tolua_S,"E_ITEM_MINECART_WITH_COMMAND_BLOCK",E_ITEM_MINECART_WITH_COMMAND_BLOCK);
- tolua_constant(tolua_S,"E_ITEM_NUMBER_OF_CONSECUTIVE_TYPES",E_ITEM_NUMBER_OF_CONSECUTIVE_TYPES);
- tolua_constant(tolua_S,"E_ITEM_MAX_CONSECUTIVE_TYPE_ID",E_ITEM_MAX_CONSECUTIVE_TYPE_ID);
- tolua_constant(tolua_S,"E_ITEM_FIRST_DISC",E_ITEM_FIRST_DISC);
- tolua_constant(tolua_S,"E_ITEM_13_DISC",E_ITEM_13_DISC);
- tolua_constant(tolua_S,"E_ITEM_CAT_DISC",E_ITEM_CAT_DISC);
- tolua_constant(tolua_S,"E_ITEM_BLOCKS_DISC",E_ITEM_BLOCKS_DISC);
- tolua_constant(tolua_S,"E_ITEM_CHIRP_DISC",E_ITEM_CHIRP_DISC);
- tolua_constant(tolua_S,"E_ITEM_FAR_DISC",E_ITEM_FAR_DISC);
- tolua_constant(tolua_S,"E_ITEM_MALL_DISC",E_ITEM_MALL_DISC);
- tolua_constant(tolua_S,"E_ITEM_MELLOHI_DISC",E_ITEM_MELLOHI_DISC);
- tolua_constant(tolua_S,"E_ITEM_STAL_DISC",E_ITEM_STAL_DISC);
- tolua_constant(tolua_S,"E_ITEM_STRAD_DISC",E_ITEM_STRAD_DISC);
- tolua_constant(tolua_S,"E_ITEM_WARD_DISC",E_ITEM_WARD_DISC);
- tolua_constant(tolua_S,"E_ITEM_11_DISC",E_ITEM_11_DISC);
- tolua_constant(tolua_S,"E_ITEM_WAIT_DISC",E_ITEM_WAIT_DISC);
- tolua_constant(tolua_S,"E_ITEM_LAST_DISC_PLUS_ONE",E_ITEM_LAST_DISC_PLUS_ONE);
- tolua_constant(tolua_S,"E_ITEM_LAST_DISC",E_ITEM_LAST_DISC);
- tolua_constant(tolua_S,"E_ITEM_LAST",E_ITEM_LAST);
- tolua_constant(tolua_S,"E_META_BIG_FLOWER_SUNFLOWER",E_META_BIG_FLOWER_SUNFLOWER);
- tolua_constant(tolua_S,"E_META_BIG_FLOWER_LILAC",E_META_BIG_FLOWER_LILAC);
- tolua_constant(tolua_S,"E_META_BIG_FLOWER_DOUBLE_TALL_GRASS",E_META_BIG_FLOWER_DOUBLE_TALL_GRASS);
- tolua_constant(tolua_S,"E_META_BIG_FLOWER_LARGE_FERN",E_META_BIG_FLOWER_LARGE_FERN);
- tolua_constant(tolua_S,"E_META_BIG_FLOWER_ROSE_BUSH",E_META_BIG_FLOWER_ROSE_BUSH);
- tolua_constant(tolua_S,"E_META_BIG_FLOWER_PEONY",E_META_BIG_FLOWER_PEONY);
- tolua_constant(tolua_S,"E_META_CARPET_WHITE",E_META_CARPET_WHITE);
- tolua_constant(tolua_S,"E_META_CARPET_ORANGE",E_META_CARPET_ORANGE);
- tolua_constant(tolua_S,"E_META_CARPET_MAGENTA",E_META_CARPET_MAGENTA);
- tolua_constant(tolua_S,"E_META_CARPET_LIGHTBLUE",E_META_CARPET_LIGHTBLUE);
- tolua_constant(tolua_S,"E_META_CARPET_YELLOW",E_META_CARPET_YELLOW);
- tolua_constant(tolua_S,"E_META_CARPET_LIGHTGREEN",E_META_CARPET_LIGHTGREEN);
- tolua_constant(tolua_S,"E_META_CARPET_PINK",E_META_CARPET_PINK);
- tolua_constant(tolua_S,"E_META_CARPET_GRAY",E_META_CARPET_GRAY);
- tolua_constant(tolua_S,"E_META_CARPET_LIGHTGRAY",E_META_CARPET_LIGHTGRAY);
- tolua_constant(tolua_S,"E_META_CARPET_CYAN",E_META_CARPET_CYAN);
- tolua_constant(tolua_S,"E_META_CARPET_PURPLE",E_META_CARPET_PURPLE);
- tolua_constant(tolua_S,"E_META_CARPET_BLUE",E_META_CARPET_BLUE);
- tolua_constant(tolua_S,"E_META_CARPET_BROWN",E_META_CARPET_BROWN);
- tolua_constant(tolua_S,"E_META_CARPET_GREEN",E_META_CARPET_GREEN);
- tolua_constant(tolua_S,"E_META_CARPET_RED",E_META_CARPET_RED);
- tolua_constant(tolua_S,"E_META_CARPET_BLACK",E_META_CARPET_BLACK);
- tolua_constant(tolua_S,"E_META_CHEST_FACING_ZM",E_META_CHEST_FACING_ZM);
- tolua_constant(tolua_S,"E_META_CHEST_FACING_ZP",E_META_CHEST_FACING_ZP);
- tolua_constant(tolua_S,"E_META_CHEST_FACING_XM",E_META_CHEST_FACING_XM);
- tolua_constant(tolua_S,"E_META_CHEST_FACING_XP",E_META_CHEST_FACING_XP);
- tolua_constant(tolua_S,"E_META_DIRT_NORMAL",E_META_DIRT_NORMAL);
- tolua_constant(tolua_S,"E_META_DIRT_GRASSLESS",E_META_DIRT_GRASSLESS);
- tolua_constant(tolua_S,"E_META_DIRT_PODZOL",E_META_DIRT_PODZOL);
- tolua_constant(tolua_S,"E_META_DROPSPENSER_FACING_YM",E_META_DROPSPENSER_FACING_YM);
- tolua_constant(tolua_S,"E_META_DROPSPENSER_FACING_YP",E_META_DROPSPENSER_FACING_YP);
- tolua_constant(tolua_S,"E_META_DROPSPENSER_FACING_ZM",E_META_DROPSPENSER_FACING_ZM);
- tolua_constant(tolua_S,"E_META_DROPSPENSER_FACING_ZP",E_META_DROPSPENSER_FACING_ZP);
- tolua_constant(tolua_S,"E_META_DROPSPENSER_FACING_XM",E_META_DROPSPENSER_FACING_XM);
- tolua_constant(tolua_S,"E_META_DROPSPENSER_FACING_XP",E_META_DROPSPENSER_FACING_XP);
- tolua_constant(tolua_S,"E_META_DOUBLE_STONE_SLAB_STONE",E_META_DOUBLE_STONE_SLAB_STONE);
- tolua_constant(tolua_S,"E_META_DOUBLE_STONE_SLAB_SANDSTONE",E_META_DOUBLE_STONE_SLAB_SANDSTONE);
- tolua_constant(tolua_S,"E_META_DOUBLE_STONE_SLAB_WOODEN",E_META_DOUBLE_STONE_SLAB_WOODEN);
- tolua_constant(tolua_S,"E_META_DOUBLE_STONE_SLAB_COBBLESTONE",E_META_DOUBLE_STONE_SLAB_COBBLESTONE);
- tolua_constant(tolua_S,"E_META_DOUBLE_STONE_SLAB_BRICK",E_META_DOUBLE_STONE_SLAB_BRICK);
- tolua_constant(tolua_S,"E_META_DOUBLE_STONE_SLAB_STONE_BRICK",E_META_DOUBLE_STONE_SLAB_STONE_BRICK);
- tolua_constant(tolua_S,"E_META_DOUBLE_STONE_SLAB_NETHER_BRICK",E_META_DOUBLE_STONE_SLAB_NETHER_BRICK);
- tolua_constant(tolua_S,"E_META_DOUBLE_STONE_SLAB_STONE_SECRET",E_META_DOUBLE_STONE_SLAB_STONE_SECRET);
- tolua_constant(tolua_S,"E_META_FLOWER_POPPY",E_META_FLOWER_POPPY);
- tolua_constant(tolua_S,"E_META_FLOWER_BLUE_ORCHID",E_META_FLOWER_BLUE_ORCHID);
- tolua_constant(tolua_S,"E_META_FLOWER_ALLIUM",E_META_FLOWER_ALLIUM);
- tolua_constant(tolua_S,"E_META_FLOWER_RED_TULIP",E_META_FLOWER_RED_TULIP);
- tolua_constant(tolua_S,"E_META_FLOWER_ORANGE_TULIP",E_META_FLOWER_ORANGE_TULIP);
- tolua_constant(tolua_S,"E_META_FLOWER_WHITE_TULIP",E_META_FLOWER_WHITE_TULIP);
- tolua_constant(tolua_S,"E_META_FLOWER_PINK_TULIP",E_META_FLOWER_PINK_TULIP);
- tolua_constant(tolua_S,"E_META_FLOWER_OXEYE_DAISY",E_META_FLOWER_OXEYE_DAISY);
- tolua_constant(tolua_S,"E_META_HOPPER_FACING_YM",E_META_HOPPER_FACING_YM);
- tolua_constant(tolua_S,"E_META_HOPPER_UNATTACHED",E_META_HOPPER_UNATTACHED);
- tolua_constant(tolua_S,"E_META_HOPPER_FACING_ZM",E_META_HOPPER_FACING_ZM);
- tolua_constant(tolua_S,"E_META_HOPPER_FACING_ZP",E_META_HOPPER_FACING_ZP);
- tolua_constant(tolua_S,"E_META_HOPPER_FACING_XM",E_META_HOPPER_FACING_XM);
- tolua_constant(tolua_S,"E_META_HOPPER_FACING_XP",E_META_HOPPER_FACING_XP);
- tolua_constant(tolua_S,"E_META_LEAVES_APPLE",E_META_LEAVES_APPLE);
- tolua_constant(tolua_S,"E_META_LEAVES_CONIFER",E_META_LEAVES_CONIFER);
- tolua_constant(tolua_S,"E_META_LEAVES_BIRCH",E_META_LEAVES_BIRCH);
- tolua_constant(tolua_S,"E_META_LEAVES_JUNGLE",E_META_LEAVES_JUNGLE);
- tolua_constant(tolua_S,"E_META_LOG_APPLE",E_META_LOG_APPLE);
- tolua_constant(tolua_S,"E_META_LOG_CONIFER",E_META_LOG_CONIFER);
- tolua_constant(tolua_S,"E_META_LOG_BIRCH",E_META_LOG_BIRCH);
- tolua_constant(tolua_S,"E_META_LOG_JUNGLE",E_META_LOG_JUNGLE);
- tolua_constant(tolua_S,"E_META_NEW_LEAVES_ACACIA_WOOD",E_META_NEW_LEAVES_ACACIA_WOOD);
- tolua_constant(tolua_S,"E_META_NEW_LEAVES_DARK_OAK_WOOD",E_META_NEW_LEAVES_DARK_OAK_WOOD);
- tolua_constant(tolua_S,"E_META_NEW_LOG_ACACIA_WOOD",E_META_NEW_LOG_ACACIA_WOOD);
- tolua_constant(tolua_S,"E_META_NEW_LOG_DARK_OAK_WOOD",E_META_NEW_LOG_DARK_OAK_WOOD);
- tolua_constant(tolua_S,"E_META_PLANKS_APPLE",E_META_PLANKS_APPLE);
- tolua_constant(tolua_S,"E_META_PLANKS_CONIFER",E_META_PLANKS_CONIFER);
- tolua_constant(tolua_S,"E_META_PLANKS_BIRCH",E_META_PLANKS_BIRCH);
- tolua_constant(tolua_S,"E_META_PLANKS_JUNGLE",E_META_PLANKS_JUNGLE);
- tolua_constant(tolua_S,"E_META_RAIL_ZM_ZP",E_META_RAIL_ZM_ZP);
- tolua_constant(tolua_S,"E_META_RAIL_XM_XP",E_META_RAIL_XM_XP);
- tolua_constant(tolua_S,"E_META_RAIL_ASCEND_XP",E_META_RAIL_ASCEND_XP);
- tolua_constant(tolua_S,"E_META_RAIL_ASCEND_XM",E_META_RAIL_ASCEND_XM);
- tolua_constant(tolua_S,"E_META_RAIL_ASCEND_ZM",E_META_RAIL_ASCEND_ZM);
- tolua_constant(tolua_S,"E_META_RAIL_ASCEND_ZP",E_META_RAIL_ASCEND_ZP);
- tolua_constant(tolua_S,"E_META_RAIL_CURVED_ZP_XP",E_META_RAIL_CURVED_ZP_XP);
- tolua_constant(tolua_S,"E_META_RAIL_CURVED_ZP_XM",E_META_RAIL_CURVED_ZP_XM);
- tolua_constant(tolua_S,"E_META_RAIL_CURVED_ZM_XM",E_META_RAIL_CURVED_ZM_XM);
- tolua_constant(tolua_S,"E_META_RAIL_CURVED_ZM_XP",E_META_RAIL_CURVED_ZM_XP);
- tolua_constant(tolua_S,"E_META_SAND_NORMAL",E_META_SAND_NORMAL);
- tolua_constant(tolua_S,"E_META_SAND_RED",E_META_SAND_RED);
- tolua_constant(tolua_S,"E_META_SANDSTONE_NORMAL",E_META_SANDSTONE_NORMAL);
- tolua_constant(tolua_S,"E_META_SANDSTONE_ORNAMENT",E_META_SANDSTONE_ORNAMENT);
- tolua_constant(tolua_S,"E_META_SANDSTONE_SMOOTH",E_META_SANDSTONE_SMOOTH);
- tolua_constant(tolua_S,"E_META_SAPLING_APPLE",E_META_SAPLING_APPLE);
- tolua_constant(tolua_S,"E_META_SAPLING_CONIFER",E_META_SAPLING_CONIFER);
- tolua_constant(tolua_S,"E_META_SAPLING_BIRCH",E_META_SAPLING_BIRCH);
- tolua_constant(tolua_S,"E_META_SAPLING_JUNGLE",E_META_SAPLING_JUNGLE);
- tolua_constant(tolua_S,"E_META_SILVERFISH_EGG_STONE",E_META_SILVERFISH_EGG_STONE);
- tolua_constant(tolua_S,"E_META_SILVERFISH_EGG_COBBLESTONE",E_META_SILVERFISH_EGG_COBBLESTONE);
- tolua_constant(tolua_S,"E_META_SILVERFISH_EGG_STONE_BRICK",E_META_SILVERFISH_EGG_STONE_BRICK);
- tolua_constant(tolua_S,"E_META_SNOW_LAYER_ONE",E_META_SNOW_LAYER_ONE);
- tolua_constant(tolua_S,"E_META_SNOW_LAYER_TWO",E_META_SNOW_LAYER_TWO);
- tolua_constant(tolua_S,"E_META_SNOW_LAYER_THREE",E_META_SNOW_LAYER_THREE);
- tolua_constant(tolua_S,"E_META_SNOW_LAYER_FOUR",E_META_SNOW_LAYER_FOUR);
- tolua_constant(tolua_S,"E_META_SNOW_LAYER_FIVE",E_META_SNOW_LAYER_FIVE);
- tolua_constant(tolua_S,"E_META_SNOW_LAYER_SIX",E_META_SNOW_LAYER_SIX);
- tolua_constant(tolua_S,"E_META_SNOW_LAYER_SEVEN",E_META_SNOW_LAYER_SEVEN);
- tolua_constant(tolua_S,"E_META_SNOW_LAYER_EIGHT",E_META_SNOW_LAYER_EIGHT);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_WHITE",E_META_STAINED_CLAY_WHITE);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_ORANGE",E_META_STAINED_CLAY_ORANGE);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_MAGENTA",E_META_STAINED_CLAY_MAGENTA);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_LIGHTBLUE",E_META_STAINED_CLAY_LIGHTBLUE);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_YELLOW",E_META_STAINED_CLAY_YELLOW);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_LIGHTGREEN",E_META_STAINED_CLAY_LIGHTGREEN);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_PINK",E_META_STAINED_CLAY_PINK);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_GRAY",E_META_STAINED_CLAY_GRAY);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_LIGHTGRAY",E_META_STAINED_CLAY_LIGHTGRAY);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_CYAN",E_META_STAINED_CLAY_CYAN);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_PURPLE",E_META_STAINED_CLAY_PURPLE);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_BLUE",E_META_STAINED_CLAY_BLUE);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_BROWN",E_META_STAINED_CLAY_BROWN);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_GREEN",E_META_STAINED_CLAY_GREEN);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_RED",E_META_STAINED_CLAY_RED);
- tolua_constant(tolua_S,"E_META_STAINED_CLAY_BLACK",E_META_STAINED_CLAY_BLACK);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_WHITE",E_META_STAINED_GLASS_WHITE);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_ORANGE",E_META_STAINED_GLASS_ORANGE);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_MAGENTA",E_META_STAINED_GLASS_MAGENTA);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_LIGHTBLUE",E_META_STAINED_GLASS_LIGHTBLUE);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_YELLOW",E_META_STAINED_GLASS_YELLOW);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_LIGHTGREEN",E_META_STAINED_GLASS_LIGHTGREEN);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PINK",E_META_STAINED_GLASS_PINK);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_GRAY",E_META_STAINED_GLASS_GRAY);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_LIGHTGRAY",E_META_STAINED_GLASS_LIGHTGRAY);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_CYAN",E_META_STAINED_GLASS_CYAN);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PURPLE",E_META_STAINED_GLASS_PURPLE);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_BLUE",E_META_STAINED_GLASS_BLUE);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_BROWN",E_META_STAINED_GLASS_BROWN);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_GREEN",E_META_STAINED_GLASS_GREEN);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_RED",E_META_STAINED_GLASS_RED);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_BLACK",E_META_STAINED_GLASS_BLACK);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_WHITE",E_META_STAINED_GLASS_PANE_WHITE);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_ORANGE",E_META_STAINED_GLASS_PANE_ORANGE);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_MAGENTA",E_META_STAINED_GLASS_PANE_MAGENTA);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_LIGHTBLUE",E_META_STAINED_GLASS_PANE_LIGHTBLUE);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_YELLOW",E_META_STAINED_GLASS_PANE_YELLOW);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_LIGHTGREEN",E_META_STAINED_GLASS_PANE_LIGHTGREEN);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_PINK",E_META_STAINED_GLASS_PANE_PINK);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_GRAY",E_META_STAINED_GLASS_PANE_GRAY);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_LIGHTGRAY",E_META_STAINED_GLASS_PANE_LIGHTGRAY);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_CYAN",E_META_STAINED_GLASS_PANE_CYAN);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_PURPLE",E_META_STAINED_GLASS_PANE_PURPLE);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_BLUE",E_META_STAINED_GLASS_PANE_BLUE);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_BROWN",E_META_STAINED_GLASS_PANE_BROWN);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_GREEN",E_META_STAINED_GLASS_PANE_GREEN);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_RED",E_META_STAINED_GLASS_PANE_RED);
- tolua_constant(tolua_S,"E_META_STAINED_GLASS_PANE_BLACK",E_META_STAINED_GLASS_PANE_BLACK);
- tolua_constant(tolua_S,"E_META_STONE_SLAB_STONE",E_META_STONE_SLAB_STONE);
- tolua_constant(tolua_S,"E_META_STONE_SLAB_SANDSTONE",E_META_STONE_SLAB_SANDSTONE);
- tolua_constant(tolua_S,"E_META_STONE_SLAB_PLANKS",E_META_STONE_SLAB_PLANKS);
- tolua_constant(tolua_S,"E_META_STONE_SLAB_COBBLESTONE",E_META_STONE_SLAB_COBBLESTONE);
- tolua_constant(tolua_S,"E_META_STONE_SLAB_BRICK",E_META_STONE_SLAB_BRICK);
- tolua_constant(tolua_S,"E_META_STONE_SLAB_STONE_BRICK",E_META_STONE_SLAB_STONE_BRICK);
- tolua_constant(tolua_S,"E_META_STONE_SLAB_NETHER_BRICK",E_META_STONE_SLAB_NETHER_BRICK);
- tolua_constant(tolua_S,"E_META_STONE_SLAB_STONE_SECRET",E_META_STONE_SLAB_STONE_SECRET);
- tolua_constant(tolua_S,"E_META_STONE_BRICK_NORMAL",E_META_STONE_BRICK_NORMAL);
- tolua_constant(tolua_S,"E_META_STONE_BRICK_MOSSY",E_META_STONE_BRICK_MOSSY);
- tolua_constant(tolua_S,"E_META_STONE_BRICK_CRACKED",E_META_STONE_BRICK_CRACKED);
- tolua_constant(tolua_S,"E_META_STONE_BRICK_ORNAMENT",E_META_STONE_BRICK_ORNAMENT);
- tolua_constant(tolua_S,"E_META_TALL_GRASS_DEAD_SHRUB",E_META_TALL_GRASS_DEAD_SHRUB);
- tolua_constant(tolua_S,"E_META_TALL_GRASS_GRASS",E_META_TALL_GRASS_GRASS);
- tolua_constant(tolua_S,"E_META_TALL_GRASS_FERN",E_META_TALL_GRASS_FERN);
- tolua_constant(tolua_S,"E_META_TORCH_EAST",E_META_TORCH_EAST);
- tolua_constant(tolua_S,"E_META_TORCH_WEST",E_META_TORCH_WEST);
- tolua_constant(tolua_S,"E_META_TORCH_SOUTH",E_META_TORCH_SOUTH);
- tolua_constant(tolua_S,"E_META_TORCH_NORTH",E_META_TORCH_NORTH);
- tolua_constant(tolua_S,"E_META_TORCH_FLOOR",E_META_TORCH_FLOOR);
- tolua_constant(tolua_S,"E_META_TORCH_XM",E_META_TORCH_XM);
- tolua_constant(tolua_S,"E_META_TORCH_XP",E_META_TORCH_XP);
- tolua_constant(tolua_S,"E_META_TORCH_ZM",E_META_TORCH_ZM);
- tolua_constant(tolua_S,"E_META_TORCH_ZP",E_META_TORCH_ZP);
- tolua_constant(tolua_S,"E_META_WOODEN_DOUBLE_SLAB_APPLE",E_META_WOODEN_DOUBLE_SLAB_APPLE);
- tolua_constant(tolua_S,"E_META_WOODEN_DOUBLE_SLAB_CONIFER",E_META_WOODEN_DOUBLE_SLAB_CONIFER);
- tolua_constant(tolua_S,"E_META_WOODEN_DOUBLE_SLAB_BIRCH",E_META_WOODEN_DOUBLE_SLAB_BIRCH);
- tolua_constant(tolua_S,"E_META_WOODEN_DOUBLE_SLAB_JUNGLE",E_META_WOODEN_DOUBLE_SLAB_JUNGLE);
- tolua_constant(tolua_S,"E_META_WOODEN_DOUBLE_SLAB_ACACIA",E_META_WOODEN_DOUBLE_SLAB_ACACIA);
- tolua_constant(tolua_S,"E_META_WOODEN_DOUBLE_SLAB_DARK_OAK",E_META_WOODEN_DOUBLE_SLAB_DARK_OAK);
- tolua_constant(tolua_S,"E_META_WOODEN_SLAB_APPLE",E_META_WOODEN_SLAB_APPLE);
- tolua_constant(tolua_S,"E_META_WOODEN_SLAB_CONIFER",E_META_WOODEN_SLAB_CONIFER);
- tolua_constant(tolua_S,"E_META_WOODEN_SLAB_BIRCH",E_META_WOODEN_SLAB_BIRCH);
- tolua_constant(tolua_S,"E_META_WOODEN_SLAB_JUNGLE",E_META_WOODEN_SLAB_JUNGLE);
- tolua_constant(tolua_S,"E_META_WOODEN_SLAB_ACACIA",E_META_WOODEN_SLAB_ACACIA);
- tolua_constant(tolua_S,"E_META_WOODEN_SLAB_DARK_OAK",E_META_WOODEN_SLAB_DARK_OAK);
- tolua_constant(tolua_S,"E_META_WOOL_WHITE",E_META_WOOL_WHITE);
- tolua_constant(tolua_S,"E_META_WOOL_ORANGE",E_META_WOOL_ORANGE);
- tolua_constant(tolua_S,"E_META_WOOL_MAGENTA",E_META_WOOL_MAGENTA);
- tolua_constant(tolua_S,"E_META_WOOL_LIGHTBLUE",E_META_WOOL_LIGHTBLUE);
- tolua_constant(tolua_S,"E_META_WOOL_YELLOW",E_META_WOOL_YELLOW);
- tolua_constant(tolua_S,"E_META_WOOL_LIGHTGREEN",E_META_WOOL_LIGHTGREEN);
- tolua_constant(tolua_S,"E_META_WOOL_PINK",E_META_WOOL_PINK);
- tolua_constant(tolua_S,"E_META_WOOL_GRAY",E_META_WOOL_GRAY);
- tolua_constant(tolua_S,"E_META_WOOL_LIGHTGRAY",E_META_WOOL_LIGHTGRAY);
- tolua_constant(tolua_S,"E_META_WOOL_CYAN",E_META_WOOL_CYAN);
- tolua_constant(tolua_S,"E_META_WOOL_PURPLE",E_META_WOOL_PURPLE);
- tolua_constant(tolua_S,"E_META_WOOL_BLUE",E_META_WOOL_BLUE);
- tolua_constant(tolua_S,"E_META_WOOL_BROWN",E_META_WOOL_BROWN);
- tolua_constant(tolua_S,"E_META_WOOL_GREEN",E_META_WOOL_GREEN);
- tolua_constant(tolua_S,"E_META_WOOL_RED",E_META_WOOL_RED);
- tolua_constant(tolua_S,"E_META_WOOL_BLACK",E_META_WOOL_BLACK);
- tolua_constant(tolua_S,"E_META_COAL_NORMAL",E_META_COAL_NORMAL);
- tolua_constant(tolua_S,"E_META_COAL_CHARCOAL",E_META_COAL_CHARCOAL);
- tolua_constant(tolua_S,"E_META_DYE_BLACK",E_META_DYE_BLACK);
- tolua_constant(tolua_S,"E_META_DYE_RED",E_META_DYE_RED);
- tolua_constant(tolua_S,"E_META_DYE_GREEN",E_META_DYE_GREEN);
- tolua_constant(tolua_S,"E_META_DYE_BROWN",E_META_DYE_BROWN);
- tolua_constant(tolua_S,"E_META_DYE_BLUE",E_META_DYE_BLUE);
- tolua_constant(tolua_S,"E_META_DYE_PURPLE",E_META_DYE_PURPLE);
- tolua_constant(tolua_S,"E_META_DYE_CYAN",E_META_DYE_CYAN);
- tolua_constant(tolua_S,"E_META_DYE_LIGHTGRAY",E_META_DYE_LIGHTGRAY);
- tolua_constant(tolua_S,"E_META_DYE_GRAY",E_META_DYE_GRAY);
- tolua_constant(tolua_S,"E_META_DYE_PINK",E_META_DYE_PINK);
- tolua_constant(tolua_S,"E_META_DYE_LIGHTGREEN",E_META_DYE_LIGHTGREEN);
- tolua_constant(tolua_S,"E_META_DYE_YELLOW",E_META_DYE_YELLOW);
- tolua_constant(tolua_S,"E_META_DYE_LIGHTBLUE",E_META_DYE_LIGHTBLUE);
- tolua_constant(tolua_S,"E_META_DYE_MAGENTA",E_META_DYE_MAGENTA);
- tolua_constant(tolua_S,"E_META_DYE_ORANGE",E_META_DYE_ORANGE);
- tolua_constant(tolua_S,"E_META_DYE_WHITE",E_META_DYE_WHITE);
- tolua_constant(tolua_S,"E_META_GOLDEN_APPLE_NORMAL",E_META_GOLDEN_APPLE_NORMAL);
- tolua_constant(tolua_S,"E_META_GOLDEN_APPLE_ENCHANTED",E_META_GOLDEN_APPLE_ENCHANTED);
- tolua_constant(tolua_S,"E_META_RAW_FISH_FISH",E_META_RAW_FISH_FISH);
- tolua_constant(tolua_S,"E_META_RAW_FISH_SALMON",E_META_RAW_FISH_SALMON);
- tolua_constant(tolua_S,"E_META_RAW_FISH_CLOWNFISH",E_META_RAW_FISH_CLOWNFISH);
- tolua_constant(tolua_S,"E_META_RAW_FISH_PUFFERFISH",E_META_RAW_FISH_PUFFERFISH);
- tolua_constant(tolua_S,"E_META_COOKED_FISH_FISH",E_META_COOKED_FISH_FISH);
- tolua_constant(tolua_S,"E_META_COOKED_FISH_SALMON",E_META_COOKED_FISH_SALMON);
- tolua_constant(tolua_S,"E_META_COOKED_FISH_CLOWNFISH",E_META_COOKED_FISH_CLOWNFISH);
- tolua_constant(tolua_S,"E_META_COOKED_FISH_PUFFERFISH",E_META_COOKED_FISH_PUFFERFISH);
- tolua_constant(tolua_S,"E_META_TRACKS_X",E_META_TRACKS_X);
- tolua_constant(tolua_S,"E_META_TRACKS_Z",E_META_TRACKS_Z);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_PICKUP",E_META_SPAWN_EGG_PICKUP);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_EXPERIENCE_ORB",E_META_SPAWN_EGG_EXPERIENCE_ORB);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_LEASH_KNOT",E_META_SPAWN_EGG_LEASH_KNOT);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_PAINTING",E_META_SPAWN_EGG_PAINTING);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_ARROW",E_META_SPAWN_EGG_ARROW);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_SNOWBALL",E_META_SPAWN_EGG_SNOWBALL);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_FIREBALL",E_META_SPAWN_EGG_FIREBALL);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_SMALL_FIREBALL",E_META_SPAWN_EGG_SMALL_FIREBALL);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_ENDER_PEARL",E_META_SPAWN_EGG_ENDER_PEARL);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_EYE_OF_ENDER",E_META_SPAWN_EGG_EYE_OF_ENDER);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_SPLASH_POTION",E_META_SPAWN_EGG_SPLASH_POTION);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_EXP_BOTTLE",E_META_SPAWN_EGG_EXP_BOTTLE);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_ITEM_FRAME",E_META_SPAWN_EGG_ITEM_FRAME);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_WITHER_SKULL",E_META_SPAWN_EGG_WITHER_SKULL);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_PRIMED_TNT",E_META_SPAWN_EGG_PRIMED_TNT);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_FALLING_BLOCK",E_META_SPAWN_EGG_FALLING_BLOCK);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_FIREWORK",E_META_SPAWN_EGG_FIREWORK);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_BOAT",E_META_SPAWN_EGG_BOAT);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_MINECART",E_META_SPAWN_EGG_MINECART);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_MINECART_CHEST",E_META_SPAWN_EGG_MINECART_CHEST);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_MINECART_FURNACE",E_META_SPAWN_EGG_MINECART_FURNACE);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_MINECART_TNT",E_META_SPAWN_EGG_MINECART_TNT);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_MINECART_HOPPER",E_META_SPAWN_EGG_MINECART_HOPPER);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_MINECART_SPAWNER",E_META_SPAWN_EGG_MINECART_SPAWNER);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_CREEPER",E_META_SPAWN_EGG_CREEPER);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_SKELETON",E_META_SPAWN_EGG_SKELETON);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_SPIDER",E_META_SPAWN_EGG_SPIDER);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_GIANT",E_META_SPAWN_EGG_GIANT);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_ZOMBIE",E_META_SPAWN_EGG_ZOMBIE);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_SLIME",E_META_SPAWN_EGG_SLIME);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_GHAST",E_META_SPAWN_EGG_GHAST);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_ZOMBIE_PIGMAN",E_META_SPAWN_EGG_ZOMBIE_PIGMAN);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_ENDERMAN",E_META_SPAWN_EGG_ENDERMAN);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_CAVE_SPIDER",E_META_SPAWN_EGG_CAVE_SPIDER);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_SILVERFISH",E_META_SPAWN_EGG_SILVERFISH);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_BLAZE",E_META_SPAWN_EGG_BLAZE);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_MAGMA_CUBE",E_META_SPAWN_EGG_MAGMA_CUBE);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_ENDER_DRAGON",E_META_SPAWN_EGG_ENDER_DRAGON);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_WITHER",E_META_SPAWN_EGG_WITHER);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_BAT",E_META_SPAWN_EGG_BAT);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_WITCH",E_META_SPAWN_EGG_WITCH);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_PIG",E_META_SPAWN_EGG_PIG);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_SHEEP",E_META_SPAWN_EGG_SHEEP);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_COW",E_META_SPAWN_EGG_COW);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_CHICKEN",E_META_SPAWN_EGG_CHICKEN);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_SQUID",E_META_SPAWN_EGG_SQUID);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_WOLF",E_META_SPAWN_EGG_WOLF);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_MOOSHROOM",E_META_SPAWN_EGG_MOOSHROOM);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_SNOW_GOLEM",E_META_SPAWN_EGG_SNOW_GOLEM);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_OCELOT",E_META_SPAWN_EGG_OCELOT);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_IRON_GOLEM",E_META_SPAWN_EGG_IRON_GOLEM);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_HORSE",E_META_SPAWN_EGG_HORSE);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_VILLAGER",E_META_SPAWN_EGG_VILLAGER);
- tolua_constant(tolua_S,"E_META_SPAWN_EGG_ENDER_CRYSTAL",E_META_SPAWN_EGG_ENDER_CRYSTAL);
- tolua_constant(tolua_S,"dimNether",dimNether);
- tolua_constant(tolua_S,"dimOverworld",dimOverworld);
- tolua_constant(tolua_S,"dimEnd",dimEnd);
- tolua_constant(tolua_S,"dtAttack",dtAttack);
- tolua_constant(tolua_S,"dtRangedAttack",dtRangedAttack);
- tolua_constant(tolua_S,"dtLightning",dtLightning);
- tolua_constant(tolua_S,"dtFalling",dtFalling);
- tolua_constant(tolua_S,"dtDrowning",dtDrowning);
- tolua_constant(tolua_S,"dtSuffocating",dtSuffocating);
- tolua_constant(tolua_S,"dtStarving",dtStarving);
- tolua_constant(tolua_S,"dtCactusContact",dtCactusContact);
- tolua_constant(tolua_S,"dtLavaContact",dtLavaContact);
- tolua_constant(tolua_S,"dtPoisoning",dtPoisoning);
- tolua_constant(tolua_S,"dtOnFire",dtOnFire);
- tolua_constant(tolua_S,"dtFireContact",dtFireContact);
- tolua_constant(tolua_S,"dtInVoid",dtInVoid);
- tolua_constant(tolua_S,"dtPotionOfHarming",dtPotionOfHarming);
- tolua_constant(tolua_S,"dtEnderPearl",dtEnderPearl);
- tolua_constant(tolua_S,"dtAdmin",dtAdmin);
- tolua_constant(tolua_S,"dtPawnAttack",dtPawnAttack);
- tolua_constant(tolua_S,"dtEntityAttack",dtEntityAttack);
- tolua_constant(tolua_S,"dtMob",dtMob);
- tolua_constant(tolua_S,"dtMobAttack",dtMobAttack);
- tolua_constant(tolua_S,"dtArrowAttack",dtArrowAttack);
- tolua_constant(tolua_S,"dtArrow",dtArrow);
- tolua_constant(tolua_S,"dtProjectile",dtProjectile);
- tolua_constant(tolua_S,"dtFall",dtFall);
- tolua_constant(tolua_S,"dtDrown",dtDrown);
- tolua_constant(tolua_S,"dtSuffocation",dtSuffocation);
- tolua_constant(tolua_S,"dtStarvation",dtStarvation);
- tolua_constant(tolua_S,"dtHunger",dtHunger);
- tolua_constant(tolua_S,"dtCactus",dtCactus);
- tolua_constant(tolua_S,"dtCactuses",dtCactuses);
- tolua_constant(tolua_S,"dtCacti",dtCacti);
- tolua_constant(tolua_S,"dtLava",dtLava);
- tolua_constant(tolua_S,"dtPoison",dtPoison);
- tolua_constant(tolua_S,"dtBurning",dtBurning);
- tolua_constant(tolua_S,"dtInFire",dtInFire);
- tolua_constant(tolua_S,"dtPlugin",dtPlugin);
- tolua_constant(tolua_S,"esOther",esOther);
- tolua_constant(tolua_S,"esPrimedTNT",esPrimedTNT);
- tolua_constant(tolua_S,"esCreeper",esCreeper);
- tolua_constant(tolua_S,"esBed",esBed);
- tolua_constant(tolua_S,"esEnderCrystal",esEnderCrystal);
- tolua_constant(tolua_S,"esGhastFireball",esGhastFireball);
- tolua_constant(tolua_S,"esWitherSkullBlack",esWitherSkullBlack);
- tolua_constant(tolua_S,"esWitherSkullBlue",esWitherSkullBlue);
- tolua_constant(tolua_S,"esWitherBirth",esWitherBirth);
- tolua_constant(tolua_S,"esPlugin",esPlugin);
- tolua_function(tolua_S,"BlockStringToType",tolua_AllToLua_BlockStringToType00);
- tolua_function(tolua_S,"StringToItem",tolua_AllToLua_StringToItem00);
- tolua_function(tolua_S,"ItemToString",tolua_AllToLua_ItemToString00);
- tolua_function(tolua_S,"ItemTypeToString",tolua_AllToLua_ItemTypeToString00);
- tolua_function(tolua_S,"ItemToFullString",tolua_AllToLua_ItemToFullString00);
- tolua_function(tolua_S,"StringToBiome",tolua_AllToLua_StringToBiome00);
- tolua_function(tolua_S,"StringToMobType",tolua_AllToLua_StringToMobType00);
- tolua_function(tolua_S,"StringToDimension",tolua_AllToLua_StringToDimension00);
- tolua_function(tolua_S,"DamageTypeToString",tolua_AllToLua_DamageTypeToString00);
- tolua_function(tolua_S,"StringToDamageType",tolua_AllToLua_StringToDamageType00);
- tolua_function(tolua_S,"GetIniItemSet",tolua_AllToLua_GetIniItemSet00);
- tolua_function(tolua_S,"TrimString",tolua_AllToLua_TrimString00);
- tolua_function(tolua_S,"NoCaseCompare",tolua_AllToLua_NoCaseCompare00);
- tolua_function(tolua_S,"ReplaceString",tolua_AllToLua_ReplaceString00);
- tolua_function(tolua_S,"EscapeString",tolua_AllToLua_EscapeString00);
- tolua_function(tolua_S,"StripColorCodes",tolua_AllToLua_StripColorCodes00);
- tolua_array(tolua_S,"g_BlockLightValue",tolua_get_AllToLua_g_BlockLightValue,tolua_set_AllToLua_g_BlockLightValue);
- tolua_array(tolua_S,"g_BlockSpreadLightFalloff",tolua_get_AllToLua_g_BlockSpreadLightFalloff,tolua_set_AllToLua_g_BlockSpreadLightFalloff);
- tolua_array(tolua_S,"g_BlockTransparent",tolua_get_AllToLua_g_BlockTransparent,tolua_set_AllToLua_g_BlockTransparent);
- tolua_array(tolua_S,"g_BlockOneHitDig",tolua_get_AllToLua_g_BlockOneHitDig,tolua_set_AllToLua_g_BlockOneHitDig);
- tolua_array(tolua_S,"g_BlockPistonBreakable",tolua_get_AllToLua_g_BlockPistonBreakable,tolua_set_AllToLua_g_BlockPistonBreakable);
- tolua_array(tolua_S,"g_BlockIsSnowable",tolua_get_AllToLua_g_BlockIsSnowable,tolua_set_AllToLua_g_BlockIsSnowable);
- tolua_array(tolua_S,"g_BlockRequiresSpecialTool",tolua_get_AllToLua_g_BlockRequiresSpecialTool,tolua_set_AllToLua_g_BlockRequiresSpecialTool);
- tolua_array(tolua_S,"g_BlockIsSolid",tolua_get_AllToLua_g_BlockIsSolid,tolua_set_AllToLua_g_BlockIsSolid);
- tolua_array(tolua_S,"g_BlockIsTorchPlaceable",tolua_get_AllToLua_g_BlockIsTorchPlaceable,tolua_set_AllToLua_g_BlockIsTorchPlaceable);
- tolua_constant(tolua_S,"MAX_EXPERIENCE_ORB_SIZE",MAX_EXPERIENCE_ORB_SIZE);
- tolua_constant(tolua_S,"BLOCK_FACE_NONE",BLOCK_FACE_NONE);
- tolua_constant(tolua_S,"BLOCK_FACE_XM",BLOCK_FACE_XM);
- tolua_constant(tolua_S,"BLOCK_FACE_XP",BLOCK_FACE_XP);
- tolua_constant(tolua_S,"BLOCK_FACE_YM",BLOCK_FACE_YM);
- tolua_constant(tolua_S,"BLOCK_FACE_YP",BLOCK_FACE_YP);
- tolua_constant(tolua_S,"BLOCK_FACE_ZM",BLOCK_FACE_ZM);
- tolua_constant(tolua_S,"BLOCK_FACE_ZP",BLOCK_FACE_ZP);
- tolua_constant(tolua_S,"BLOCK_FACE_BOTTOM",BLOCK_FACE_BOTTOM);
- tolua_constant(tolua_S,"BLOCK_FACE_TOP",BLOCK_FACE_TOP);
- tolua_constant(tolua_S,"BLOCK_FACE_NORTH",BLOCK_FACE_NORTH);
- tolua_constant(tolua_S,"BLOCK_FACE_SOUTH",BLOCK_FACE_SOUTH);
- tolua_constant(tolua_S,"BLOCK_FACE_WEST",BLOCK_FACE_WEST);
- tolua_constant(tolua_S,"BLOCK_FACE_EAST",BLOCK_FACE_EAST);
- tolua_constant(tolua_S,"DIG_STATUS_STARTED",DIG_STATUS_STARTED);
- tolua_constant(tolua_S,"DIG_STATUS_CANCELLED",DIG_STATUS_CANCELLED);
- tolua_constant(tolua_S,"DIG_STATUS_FINISHED",DIG_STATUS_FINISHED);
- tolua_constant(tolua_S,"DIG_STATUS_DROP_HELD",DIG_STATUS_DROP_HELD);
- tolua_constant(tolua_S,"DIG_STATUS_SHOOT_EAT",DIG_STATUS_SHOOT_EAT);
- tolua_constant(tolua_S,"caLeftClick",caLeftClick);
- tolua_constant(tolua_S,"caRightClick",caRightClick);
- tolua_constant(tolua_S,"caShiftLeftClick",caShiftLeftClick);
- tolua_constant(tolua_S,"caShiftRightClick",caShiftRightClick);
- tolua_constant(tolua_S,"caNumber1",caNumber1);
- tolua_constant(tolua_S,"caNumber2",caNumber2);
- tolua_constant(tolua_S,"caNumber3",caNumber3);
- tolua_constant(tolua_S,"caNumber4",caNumber4);
- tolua_constant(tolua_S,"caNumber5",caNumber5);
- tolua_constant(tolua_S,"caNumber6",caNumber6);
- tolua_constant(tolua_S,"caNumber7",caNumber7);
- tolua_constant(tolua_S,"caNumber8",caNumber8);
- tolua_constant(tolua_S,"caNumber9",caNumber9);
- tolua_constant(tolua_S,"caMiddleClick",caMiddleClick);
- tolua_constant(tolua_S,"caDropKey",caDropKey);
- tolua_constant(tolua_S,"caCtrlDropKey",caCtrlDropKey);
- tolua_constant(tolua_S,"caLeftClickOutside",caLeftClickOutside);
- tolua_constant(tolua_S,"caRightClickOutside",caRightClickOutside);
- tolua_constant(tolua_S,"caLeftClickOutsideHoldNothing",caLeftClickOutsideHoldNothing);
- tolua_constant(tolua_S,"caRightClickOutsideHoldNothing",caRightClickOutsideHoldNothing);
- tolua_constant(tolua_S,"caLeftPaintBegin",caLeftPaintBegin);
- tolua_constant(tolua_S,"caRightPaintBegin",caRightPaintBegin);
- tolua_constant(tolua_S,"caLeftPaintProgress",caLeftPaintProgress);
- tolua_constant(tolua_S,"caRightPaintProgress",caRightPaintProgress);
- tolua_constant(tolua_S,"caLeftPaintEnd",caLeftPaintEnd);
- tolua_constant(tolua_S,"caRightPaintEnd",caRightPaintEnd);
- tolua_constant(tolua_S,"caDblClick",caDblClick);
- tolua_constant(tolua_S,"caUnknown",caUnknown);
- tolua_constant(tolua_S,"eGameMode_NotSet",eGameMode_NotSet);
- tolua_constant(tolua_S,"eGameMode_Survival",eGameMode_Survival);
- tolua_constant(tolua_S,"eGameMode_Creative",eGameMode_Creative);
- tolua_constant(tolua_S,"eGameMode_Adventure",eGameMode_Adventure);
- tolua_constant(tolua_S,"gmNotSet",gmNotSet);
- tolua_constant(tolua_S,"gmSurvival",gmSurvival);
- tolua_constant(tolua_S,"gmCreative",gmCreative);
- tolua_constant(tolua_S,"gmAdventure",gmAdventure);
- tolua_constant(tolua_S,"gmMax",gmMax);
- tolua_constant(tolua_S,"gmMin",gmMin);
- tolua_constant(tolua_S,"eWeather_Sunny",eWeather_Sunny);
- tolua_constant(tolua_S,"eWeather_Rain",eWeather_Rain);
- tolua_constant(tolua_S,"eWeather_ThunderStorm",eWeather_ThunderStorm);
- tolua_constant(tolua_S,"wSunny",wSunny);
- tolua_constant(tolua_S,"wRain",wRain);
- tolua_constant(tolua_S,"wThunderstorm",wThunderstorm);
- tolua_constant(tolua_S,"wStorm",wStorm);
- tolua_function(tolua_S,"ClickActionToString",tolua_AllToLua_ClickActionToString00);
- tolua_function(tolua_S,"IsValidBlock",tolua_AllToLua_IsValidBlock00);
- tolua_function(tolua_S,"IsValidItem",tolua_AllToLua_IsValidItem00);
- tolua_function(tolua_S,"AddFaceDirection",tolua_AllToLua_AddFaceDirection00);
- tolua_function(tolua_S,"NormalizeAngleDegrees",tolua_AllToLua_NormalizeAngleDegrees00);
- tolua_module(tolua_S,"ItemCategory",0);
- tolua_beginmodule(tolua_S,"ItemCategory");
- tolua_function(tolua_S,"IsPickaxe",tolua_AllToLua_ItemCategory_IsPickaxe00);
- tolua_function(tolua_S,"IsAxe",tolua_AllToLua_ItemCategory_IsAxe00);
- tolua_function(tolua_S,"IsSword",tolua_AllToLua_ItemCategory_IsSword00);
- tolua_function(tolua_S,"IsHoe",tolua_AllToLua_ItemCategory_IsHoe00);
- tolua_function(tolua_S,"IsShovel",tolua_AllToLua_ItemCategory_IsShovel00);
- tolua_function(tolua_S,"IsTool",tolua_AllToLua_ItemCategory_IsTool00);
- tolua_function(tolua_S,"IsHelmet",tolua_AllToLua_ItemCategory_IsHelmet00);
- tolua_function(tolua_S,"IsChestPlate",tolua_AllToLua_ItemCategory_IsChestPlate00);
- tolua_function(tolua_S,"IsLeggings",tolua_AllToLua_ItemCategory_IsLeggings00);
- tolua_function(tolua_S,"IsBoots",tolua_AllToLua_ItemCategory_IsBoots00);
- tolua_function(tolua_S,"IsArmor",tolua_AllToLua_ItemCategory_IsArmor00);
- tolua_endmodule(tolua_S);
- tolua_function(tolua_S,"IsBiomeNoDownfall",tolua_AllToLua_IsBiomeNoDownfall00);
- tolua_cclass(tolua_S,"cChatColor","cChatColor","",NULL);
- tolua_beginmodule(tolua_S,"cChatColor");
- tolua_variable(tolua_S,"Color",tolua_get_cChatColor_Color,NULL);
- tolua_variable(tolua_S,"Delimiter",tolua_get_cChatColor_Delimiter,NULL);
- tolua_variable(tolua_S,"Black",tolua_get_cChatColor_Black,NULL);
- tolua_variable(tolua_S,"Navy",tolua_get_cChatColor_Navy,NULL);
- tolua_variable(tolua_S,"Green",tolua_get_cChatColor_Green,NULL);
- tolua_variable(tolua_S,"Blue",tolua_get_cChatColor_Blue,NULL);
- tolua_variable(tolua_S,"Red",tolua_get_cChatColor_Red,NULL);
- tolua_variable(tolua_S,"Purple",tolua_get_cChatColor_Purple,NULL);
- tolua_variable(tolua_S,"Gold",tolua_get_cChatColor_Gold,NULL);
- tolua_variable(tolua_S,"LightGray",tolua_get_cChatColor_LightGray,NULL);
- tolua_variable(tolua_S,"Gray",tolua_get_cChatColor_Gray,NULL);
- tolua_variable(tolua_S,"DarkPurple",tolua_get_cChatColor_DarkPurple,NULL);
- tolua_variable(tolua_S,"LightGreen",tolua_get_cChatColor_LightGreen,NULL);
- tolua_variable(tolua_S,"LightBlue",tolua_get_cChatColor_LightBlue,NULL);
- tolua_variable(tolua_S,"Rose",tolua_get_cChatColor_Rose,NULL);
- tolua_variable(tolua_S,"LightPurple",tolua_get_cChatColor_LightPurple,NULL);
- tolua_variable(tolua_S,"Yellow",tolua_get_cChatColor_Yellow,NULL);
- tolua_variable(tolua_S,"White",tolua_get_cChatColor_White,NULL);
- tolua_variable(tolua_S,"Random",tolua_get_cChatColor_Random,NULL);
- tolua_variable(tolua_S,"Bold",tolua_get_cChatColor_Bold,NULL);
- tolua_variable(tolua_S,"Strikethrough",tolua_get_cChatColor_Strikethrough,NULL);
- tolua_variable(tolua_S,"Underlined",tolua_get_cChatColor_Underlined,NULL);
- tolua_variable(tolua_S,"Italic",tolua_get_cChatColor_Italic,NULL);
- tolua_variable(tolua_S,"Plain",tolua_get_cChatColor_Plain,NULL);
- tolua_function(tolua_S,"MakeColor",tolua_AllToLua_cChatColor_MakeColor00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cClientHandle","cClientHandle","",NULL);
- tolua_beginmodule(tolua_S,"cClientHandle");
- tolua_function(tolua_S,"GetPlayer",tolua_AllToLua_cClientHandle_GetPlayer00);
- tolua_function(tolua_S,"Kick",tolua_AllToLua_cClientHandle_Kick00);
- tolua_function(tolua_S,"SendBlockChange",tolua_AllToLua_cClientHandle_SendBlockChange00);
- tolua_function(tolua_S,"GetUsername",tolua_AllToLua_cClientHandle_GetUsername00);
- tolua_function(tolua_S,"SetUsername",tolua_AllToLua_cClientHandle_SetUsername00);
- tolua_function(tolua_S,"GetPing",tolua_AllToLua_cClientHandle_GetPing00);
- tolua_function(tolua_S,"SetViewDistance",tolua_AllToLua_cClientHandle_SetViewDistance00);
- tolua_function(tolua_S,"GetViewDistance",tolua_AllToLua_cClientHandle_GetViewDistance00);
- tolua_function(tolua_S,"GetUniqueID",tolua_AllToLua_cClientHandle_GetUniqueID00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"TakeDamageInfo","TakeDamageInfo","",NULL);
- tolua_beginmodule(tolua_S,"TakeDamageInfo");
- tolua_variable(tolua_S,"DamageType",tolua_get_TakeDamageInfo_DamageType,tolua_set_TakeDamageInfo_DamageType);
- tolua_variable(tolua_S,"Attacker",tolua_get_TakeDamageInfo_Attacker_ptr,tolua_set_TakeDamageInfo_Attacker_ptr);
- tolua_variable(tolua_S,"RawDamage",tolua_get_TakeDamageInfo_RawDamage,tolua_set_TakeDamageInfo_RawDamage);
- tolua_variable(tolua_S,"FinalDamage",tolua_get_TakeDamageInfo_FinalDamage,tolua_set_TakeDamageInfo_FinalDamage);
- tolua_variable(tolua_S,"Knockback",tolua_get_TakeDamageInfo_Knockback,tolua_set_TakeDamageInfo_Knockback);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cEntity","cEntity","",NULL);
- tolua_beginmodule(tolua_S,"cEntity");
- tolua_constant(tolua_S,"etEntity",cEntity::etEntity);
- tolua_constant(tolua_S,"etPlayer",cEntity::etPlayer);
- tolua_constant(tolua_S,"etPickup",cEntity::etPickup);
- tolua_constant(tolua_S,"etMonster",cEntity::etMonster);
- tolua_constant(tolua_S,"etFallingBlock",cEntity::etFallingBlock);
- tolua_constant(tolua_S,"etMinecart",cEntity::etMinecart);
- tolua_constant(tolua_S,"etBoat",cEntity::etBoat);
- tolua_constant(tolua_S,"etTNT",cEntity::etTNT);
- tolua_constant(tolua_S,"etProjectile",cEntity::etProjectile);
- tolua_constant(tolua_S,"etExpOrb",cEntity::etExpOrb);
- tolua_constant(tolua_S,"etMob",cEntity::etMob);
- tolua_function(tolua_S,"GetEntityType",tolua_AllToLua_cEntity_GetEntityType00);
- tolua_function(tolua_S,"IsPlayer",tolua_AllToLua_cEntity_IsPlayer00);
- tolua_function(tolua_S,"IsPickup",tolua_AllToLua_cEntity_IsPickup00);
- tolua_function(tolua_S,"IsMob",tolua_AllToLua_cEntity_IsMob00);
- tolua_function(tolua_S,"IsFallingBlock",tolua_AllToLua_cEntity_IsFallingBlock00);
- tolua_function(tolua_S,"IsMinecart",tolua_AllToLua_cEntity_IsMinecart00);
- tolua_function(tolua_S,"IsBoat",tolua_AllToLua_cEntity_IsBoat00);
- tolua_function(tolua_S,"IsTNT",tolua_AllToLua_cEntity_IsTNT00);
- tolua_function(tolua_S,"IsProjectile",tolua_AllToLua_cEntity_IsProjectile00);
- tolua_function(tolua_S,"IsA",tolua_AllToLua_cEntity_IsA00);
- tolua_function(tolua_S,"GetClass",tolua_AllToLua_cEntity_GetClass00);
- tolua_function(tolua_S,"GetClassStatic",tolua_AllToLua_cEntity_GetClassStatic00);
- tolua_function(tolua_S,"GetParentClass",tolua_AllToLua_cEntity_GetParentClass00);
- tolua_function(tolua_S,"GetWorld",tolua_AllToLua_cEntity_GetWorld00);
- tolua_function(tolua_S,"GetHeadYaw",tolua_AllToLua_cEntity_GetHeadYaw00);
- tolua_function(tolua_S,"GetHeight",tolua_AllToLua_cEntity_GetHeight00);
- tolua_function(tolua_S,"GetMass",tolua_AllToLua_cEntity_GetMass00);
- tolua_function(tolua_S,"GetPosition",tolua_AllToLua_cEntity_GetPosition00);
- tolua_function(tolua_S,"GetPosX",tolua_AllToLua_cEntity_GetPosX00);
- tolua_function(tolua_S,"GetPosY",tolua_AllToLua_cEntity_GetPosY00);
- tolua_function(tolua_S,"GetPosZ",tolua_AllToLua_cEntity_GetPosZ00);
- tolua_function(tolua_S,"GetRot",tolua_AllToLua_cEntity_GetRot00);
- tolua_function(tolua_S,"GetRotation",tolua_AllToLua_cEntity_GetRotation00);
- tolua_function(tolua_S,"GetYaw",tolua_AllToLua_cEntity_GetYaw00);
- tolua_function(tolua_S,"GetPitch",tolua_AllToLua_cEntity_GetPitch00);
- tolua_function(tolua_S,"GetRoll",tolua_AllToLua_cEntity_GetRoll00);
- tolua_function(tolua_S,"GetLookVector",tolua_AllToLua_cEntity_GetLookVector00);
- tolua_function(tolua_S,"GetSpeed",tolua_AllToLua_cEntity_GetSpeed00);
- tolua_function(tolua_S,"GetSpeedX",tolua_AllToLua_cEntity_GetSpeedX00);
- tolua_function(tolua_S,"GetSpeedY",tolua_AllToLua_cEntity_GetSpeedY00);
- tolua_function(tolua_S,"GetSpeedZ",tolua_AllToLua_cEntity_GetSpeedZ00);
- tolua_function(tolua_S,"GetWidth",tolua_AllToLua_cEntity_GetWidth00);
- tolua_function(tolua_S,"GetChunkX",tolua_AllToLua_cEntity_GetChunkX00);
- tolua_function(tolua_S,"GetChunkZ",tolua_AllToLua_cEntity_GetChunkZ00);
- tolua_function(tolua_S,"SetHeadYaw",tolua_AllToLua_cEntity_SetHeadYaw00);
- tolua_function(tolua_S,"SetHeight",tolua_AllToLua_cEntity_SetHeight00);
- tolua_function(tolua_S,"SetMass",tolua_AllToLua_cEntity_SetMass00);
- tolua_function(tolua_S,"SetPosX",tolua_AllToLua_cEntity_SetPosX00);
- tolua_function(tolua_S,"SetPosY",tolua_AllToLua_cEntity_SetPosY00);
- tolua_function(tolua_S,"SetPosZ",tolua_AllToLua_cEntity_SetPosZ00);
- tolua_function(tolua_S,"SetPosition",tolua_AllToLua_cEntity_SetPosition00);
- tolua_function(tolua_S,"SetPosition",tolua_AllToLua_cEntity_SetPosition01);
- tolua_function(tolua_S,"SetRot",tolua_AllToLua_cEntity_SetRot00);
- tolua_function(tolua_S,"SetRotation",tolua_AllToLua_cEntity_SetRotation00);
- tolua_function(tolua_S,"SetYaw",tolua_AllToLua_cEntity_SetYaw00);
- tolua_function(tolua_S,"SetPitch",tolua_AllToLua_cEntity_SetPitch00);
- tolua_function(tolua_S,"SetRoll",tolua_AllToLua_cEntity_SetRoll00);
- tolua_function(tolua_S,"SetSpeed",tolua_AllToLua_cEntity_SetSpeed00);
- tolua_function(tolua_S,"SetSpeed",tolua_AllToLua_cEntity_SetSpeed01);
- tolua_function(tolua_S,"SetSpeedX",tolua_AllToLua_cEntity_SetSpeedX00);
- tolua_function(tolua_S,"SetSpeedY",tolua_AllToLua_cEntity_SetSpeedY00);
- tolua_function(tolua_S,"SetSpeedZ",tolua_AllToLua_cEntity_SetSpeedZ00);
- tolua_function(tolua_S,"SetWidth",tolua_AllToLua_cEntity_SetWidth00);
- tolua_function(tolua_S,"AddPosX",tolua_AllToLua_cEntity_AddPosX00);
- tolua_function(tolua_S,"AddPosY",tolua_AllToLua_cEntity_AddPosY00);
- tolua_function(tolua_S,"AddPosZ",tolua_AllToLua_cEntity_AddPosZ00);
- tolua_function(tolua_S,"AddPosition",tolua_AllToLua_cEntity_AddPosition00);
- tolua_function(tolua_S,"AddPosition",tolua_AllToLua_cEntity_AddPosition01);
- tolua_function(tolua_S,"AddSpeed",tolua_AllToLua_cEntity_AddSpeed00);
- tolua_function(tolua_S,"AddSpeed",tolua_AllToLua_cEntity_AddSpeed01);
- tolua_function(tolua_S,"AddSpeedX",tolua_AllToLua_cEntity_AddSpeedX00);
- tolua_function(tolua_S,"AddSpeedY",tolua_AllToLua_cEntity_AddSpeedY00);
- tolua_function(tolua_S,"AddSpeedZ",tolua_AllToLua_cEntity_AddSpeedZ00);
- tolua_function(tolua_S,"HandleSpeedFromAttachee",tolua_AllToLua_cEntity_HandleSpeedFromAttachee00);
- tolua_function(tolua_S,"SteerVehicle",tolua_AllToLua_cEntity_SteerVehicle00);
- tolua_function(tolua_S,"GetUniqueID",tolua_AllToLua_cEntity_GetUniqueID00);
- tolua_function(tolua_S,"IsDestroyed",tolua_AllToLua_cEntity_IsDestroyed00);
- tolua_function(tolua_S,"Destroy",tolua_AllToLua_cEntity_Destroy00);
- tolua_function(tolua_S,"TakeDamage",tolua_AllToLua_cEntity_TakeDamage00);
- tolua_function(tolua_S,"TakeDamage",tolua_AllToLua_cEntity_TakeDamage01);
- tolua_function(tolua_S,"TakeDamage",tolua_AllToLua_cEntity_TakeDamage02);
- tolua_function(tolua_S,"GetGravity",tolua_AllToLua_cEntity_GetGravity00);
- tolua_function(tolua_S,"SetGravity",tolua_AllToLua_cEntity_SetGravity00);
- tolua_function(tolua_S,"SetRotationFromSpeed",tolua_AllToLua_cEntity_SetRotationFromSpeed00);
- tolua_function(tolua_S,"SetPitchFromSpeed",tolua_AllToLua_cEntity_SetPitchFromSpeed00);
- tolua_function(tolua_S,"GetRawDamageAgainst",tolua_AllToLua_cEntity_GetRawDamageAgainst00);
- tolua_function(tolua_S,"GetArmorCoverAgainst",tolua_AllToLua_cEntity_GetArmorCoverAgainst00);
- tolua_function(tolua_S,"GetKnockbackAmountAgainst",tolua_AllToLua_cEntity_GetKnockbackAmountAgainst00);
- tolua_function(tolua_S,"GetEquippedWeapon",tolua_AllToLua_cEntity_GetEquippedWeapon00);
- tolua_function(tolua_S,"GetEquippedHelmet",tolua_AllToLua_cEntity_GetEquippedHelmet00);
- tolua_function(tolua_S,"GetEquippedChestplate",tolua_AllToLua_cEntity_GetEquippedChestplate00);
- tolua_function(tolua_S,"GetEquippedLeggings",tolua_AllToLua_cEntity_GetEquippedLeggings00);
- tolua_function(tolua_S,"GetEquippedBoots",tolua_AllToLua_cEntity_GetEquippedBoots00);
- tolua_function(tolua_S,"KilledBy",tolua_AllToLua_cEntity_KilledBy00);
- tolua_function(tolua_S,"Heal",tolua_AllToLua_cEntity_Heal00);
- tolua_function(tolua_S,"GetHealth",tolua_AllToLua_cEntity_GetHealth00);
- tolua_function(tolua_S,"SetHealth",tolua_AllToLua_cEntity_SetHealth00);
- tolua_function(tolua_S,"SetMaxHealth",tolua_AllToLua_cEntity_SetMaxHealth00);
- tolua_function(tolua_S,"GetMaxHealth",tolua_AllToLua_cEntity_GetMaxHealth00);
- tolua_function(tolua_S,"StartBurning",tolua_AllToLua_cEntity_StartBurning00);
- tolua_function(tolua_S,"StopBurning",tolua_AllToLua_cEntity_StopBurning00);
- tolua_function(tolua_S,"TeleportToEntity",tolua_AllToLua_cEntity_TeleportToEntity00);
- tolua_function(tolua_S,"TeleportToCoords",tolua_AllToLua_cEntity_TeleportToCoords00);
- tolua_function(tolua_S,"IsOnFire",tolua_AllToLua_cEntity_IsOnFire00);
- tolua_function(tolua_S,"IsCrouched",tolua_AllToLua_cEntity_IsCrouched00);
- tolua_function(tolua_S,"IsRiding",tolua_AllToLua_cEntity_IsRiding00);
- tolua_function(tolua_S,"IsSprinting",tolua_AllToLua_cEntity_IsSprinting00);
- tolua_function(tolua_S,"IsRclking",tolua_AllToLua_cEntity_IsRclking00);
- tolua_function(tolua_S,"IsInvisible",tolua_AllToLua_cEntity_IsInvisible00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cPawn","cPawn","cEntity",NULL);
- tolua_beginmodule(tolua_S,"cPawn");
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cPlayer","cPlayer","cPawn",NULL);
- tolua_beginmodule(tolua_S,"cPlayer");
- tolua_constant(tolua_S,"MAX_HEALTH",cPlayer::MAX_HEALTH);
- tolua_constant(tolua_S,"MAX_FOOD_LEVEL",cPlayer::MAX_FOOD_LEVEL);
- tolua_constant(tolua_S,"EATING_TICKS",cPlayer::EATING_TICKS);
- tolua_constant(tolua_S,"MAX_AIR_LEVEL",cPlayer::MAX_AIR_LEVEL);
- tolua_constant(tolua_S,"DROWNING_TICKS",cPlayer::DROWNING_TICKS);
- tolua_function(tolua_S,"SetCurrentExperience",tolua_AllToLua_cPlayer_SetCurrentExperience00);
- tolua_function(tolua_S,"DeltaExperience",tolua_AllToLua_cPlayer_DeltaExperience00);
- tolua_function(tolua_S,"GetXpLifetimeTotal",tolua_AllToLua_cPlayer_GetXpLifetimeTotal00);
- tolua_function(tolua_S,"GetCurrentXp",tolua_AllToLua_cPlayer_GetCurrentXp00);
- tolua_function(tolua_S,"GetXpLevel",tolua_AllToLua_cPlayer_GetXpLevel00);
- tolua_function(tolua_S,"GetXpPercentage",tolua_AllToLua_cPlayer_GetXpPercentage00);
- tolua_function(tolua_S,"XpForLevel",tolua_AllToLua_cPlayer_XpForLevel00);
- tolua_function(tolua_S,"CalcLevelFromXp",tolua_AllToLua_cPlayer_CalcLevelFromXp00);
- tolua_function(tolua_S,"GetEyeHeight",tolua_AllToLua_cPlayer_GetEyeHeight00);
- tolua_function(tolua_S,"GetEyePosition",tolua_AllToLua_cPlayer_GetEyePosition00);
- tolua_function(tolua_S,"IsOnGround",tolua_AllToLua_cPlayer_IsOnGround00);
- tolua_function(tolua_S,"GetStance",tolua_AllToLua_cPlayer_GetStance00);
- tolua_function(tolua_S,"GetInventory",tolua_AllToLua_cPlayer_GetInventory00);
- tolua_function(tolua_S,"GetEquippedItem",tolua_AllToLua_cPlayer_GetEquippedItem00);
- tolua_function(tolua_S,"GetThrowStartPos",tolua_AllToLua_cPlayer_GetThrowStartPos00);
- tolua_function(tolua_S,"GetThrowSpeed",tolua_AllToLua_cPlayer_GetThrowSpeed00);
- tolua_function(tolua_S,"GetGameMode",tolua_AllToLua_cPlayer_GetGameMode00);
- tolua_function(tolua_S,"GetEffectiveGameMode",tolua_AllToLua_cPlayer_GetEffectiveGameMode00);
- tolua_function(tolua_S,"SetGameMode",tolua_AllToLua_cPlayer_SetGameMode00);
- tolua_function(tolua_S,"IsGameModeCreative",tolua_AllToLua_cPlayer_IsGameModeCreative00);
- tolua_function(tolua_S,"IsGameModeSurvival",tolua_AllToLua_cPlayer_IsGameModeSurvival00);
- tolua_function(tolua_S,"IsGameModeAdventure",tolua_AllToLua_cPlayer_IsGameModeAdventure00);
- tolua_function(tolua_S,"GetIP",tolua_AllToLua_cPlayer_GetIP00);
- tolua_function(tolua_S,"ForceSetSpeed",tolua_AllToLua_cPlayer_ForceSetSpeed00);
- tolua_function(tolua_S,"MoveTo",tolua_AllToLua_cPlayer_MoveTo00);
- tolua_function(tolua_S,"GetWindow",tolua_AllToLua_cPlayer_GetWindow00);
- tolua_function(tolua_S,"CloseWindow",tolua_AllToLua_cPlayer_CloseWindow00);
- tolua_function(tolua_S,"CloseWindowIfID",tolua_AllToLua_cPlayer_CloseWindowIfID00);
- tolua_function(tolua_S,"GetClientHandle",tolua_AllToLua_cPlayer_GetClientHandle00);
- tolua_function(tolua_S,"SendMessage",tolua_AllToLua_cPlayer_SendMessage00);
- tolua_function(tolua_S,"GetName",tolua_AllToLua_cPlayer_GetName00);
- tolua_function(tolua_S,"SetName",tolua_AllToLua_cPlayer_SetName00);
- tolua_function(tolua_S,"AddToGroup",tolua_AllToLua_cPlayer_AddToGroup00);
- tolua_function(tolua_S,"RemoveFromGroup",tolua_AllToLua_cPlayer_RemoveFromGroup00);
- tolua_function(tolua_S,"CanUseCommand",tolua_AllToLua_cPlayer_CanUseCommand00);
- tolua_function(tolua_S,"HasPermission",tolua_AllToLua_cPlayer_HasPermission00);
- tolua_function(tolua_S,"IsInGroup",tolua_AllToLua_cPlayer_IsInGroup00);
- tolua_function(tolua_S,"GetColor",tolua_AllToLua_cPlayer_GetColor00);
- tolua_function(tolua_S,"TossItem",tolua_AllToLua_cPlayer_TossItem00);
- tolua_function(tolua_S,"Heal",tolua_AllToLua_cPlayer_Heal00);
- tolua_function(tolua_S,"GetFoodLevel",tolua_AllToLua_cPlayer_GetFoodLevel00);
- tolua_function(tolua_S,"GetFoodSaturationLevel",tolua_AllToLua_cPlayer_GetFoodSaturationLevel00);
- tolua_function(tolua_S,"GetFoodTickTimer",tolua_AllToLua_cPlayer_GetFoodTickTimer00);
- tolua_function(tolua_S,"GetFoodExhaustionLevel",tolua_AllToLua_cPlayer_GetFoodExhaustionLevel00);
- tolua_function(tolua_S,"GetFoodPoisonedTicksRemaining",tolua_AllToLua_cPlayer_GetFoodPoisonedTicksRemaining00);
- tolua_function(tolua_S,"GetAirLevel",tolua_AllToLua_cPlayer_GetAirLevel00);
- tolua_function(tolua_S,"IsSatiated",tolua_AllToLua_cPlayer_IsSatiated00);
- tolua_function(tolua_S,"SetFoodLevel",tolua_AllToLua_cPlayer_SetFoodLevel00);
- tolua_function(tolua_S,"SetFoodSaturationLevel",tolua_AllToLua_cPlayer_SetFoodSaturationLevel00);
- tolua_function(tolua_S,"SetFoodTickTimer",tolua_AllToLua_cPlayer_SetFoodTickTimer00);
- tolua_function(tolua_S,"SetFoodExhaustionLevel",tolua_AllToLua_cPlayer_SetFoodExhaustionLevel00);
- tolua_function(tolua_S,"SetFoodPoisonedTicksRemaining",tolua_AllToLua_cPlayer_SetFoodPoisonedTicksRemaining00);
- tolua_function(tolua_S,"Feed",tolua_AllToLua_cPlayer_Feed00);
- tolua_function(tolua_S,"AddFoodExhaustion",tolua_AllToLua_cPlayer_AddFoodExhaustion00);
- tolua_function(tolua_S,"FoodPoison",tolua_AllToLua_cPlayer_FoodPoison00);
- tolua_function(tolua_S,"IsEating",tolua_AllToLua_cPlayer_IsEating00);
- tolua_function(tolua_S,"IsFlying",tolua_AllToLua_cPlayer_IsFlying00);
- tolua_function(tolua_S,"Respawn",tolua_AllToLua_cPlayer_Respawn00);
- tolua_function(tolua_S,"SetVisible",tolua_AllToLua_cPlayer_SetVisible00);
- tolua_function(tolua_S,"IsVisible",tolua_AllToLua_cPlayer_IsVisible00);
- tolua_function(tolua_S,"MoveToWorld",tolua_AllToLua_cPlayer_MoveToWorld00);
- tolua_function(tolua_S,"LoadPermissionsFromDisk",tolua_AllToLua_cPlayer_LoadPermissionsFromDisk00);
- tolua_function(tolua_S,"GetMaxSpeed",tolua_AllToLua_cPlayer_GetMaxSpeed00);
- tolua_function(tolua_S,"GetNormalMaxSpeed",tolua_AllToLua_cPlayer_GetNormalMaxSpeed00);
- tolua_function(tolua_S,"GetSprintingMaxSpeed",tolua_AllToLua_cPlayer_GetSprintingMaxSpeed00);
- tolua_function(tolua_S,"SetNormalMaxSpeed",tolua_AllToLua_cPlayer_SetNormalMaxSpeed00);
- tolua_function(tolua_S,"SetSprintingMaxSpeed",tolua_AllToLua_cPlayer_SetSprintingMaxSpeed00);
- tolua_function(tolua_S,"SetCrouch",tolua_AllToLua_cPlayer_SetCrouch00);
- tolua_function(tolua_S,"SetSprint",tolua_AllToLua_cPlayer_SetSprint00);
- tolua_function(tolua_S,"SetFlying",tolua_AllToLua_cPlayer_SetFlying00);
- tolua_function(tolua_S,"SetCanFly",tolua_AllToLua_cPlayer_SetCanFly00);
- tolua_function(tolua_S,"IsSwimming",tolua_AllToLua_cPlayer_IsSwimming00);
- tolua_function(tolua_S,"IsSubmerged",tolua_AllToLua_cPlayer_IsSubmerged00);
- tolua_function(tolua_S,"CanFly",tolua_AllToLua_cPlayer_CanFly00);
- tolua_endmodule(tolua_S);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"cPickup","cPickup","cEntity",tolua_collect_cPickup);
- #else
- tolua_cclass(tolua_S,"cPickup","cPickup","cEntity",NULL);
- #endif
- tolua_beginmodule(tolua_S,"cPickup");
- tolua_function(tolua_S,"new",tolua_AllToLua_cPickup_new00);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cPickup_new00_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cPickup_new00_local);
- tolua_function(tolua_S,"GetItem",tolua_AllToLua_cPickup_GetItem00);
- tolua_function(tolua_S,"CollectedBy",tolua_AllToLua_cPickup_CollectedBy00);
- tolua_function(tolua_S,"GetAge",tolua_AllToLua_cPickup_GetAge00);
- tolua_function(tolua_S,"IsCollected",tolua_AllToLua_cPickup_IsCollected00);
- tolua_function(tolua_S,"IsPlayerCreated",tolua_AllToLua_cPickup_IsPlayerCreated00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cProjectileEntity","cProjectileEntity","cEntity",NULL);
- tolua_beginmodule(tolua_S,"cProjectileEntity");
- tolua_constant(tolua_S,"pkArrow",cProjectileEntity::pkArrow);
- tolua_constant(tolua_S,"pkSnowball",cProjectileEntity::pkSnowball);
- tolua_constant(tolua_S,"pkEgg",cProjectileEntity::pkEgg);
- tolua_constant(tolua_S,"pkGhastFireball",cProjectileEntity::pkGhastFireball);
- tolua_constant(tolua_S,"pkFireCharge",cProjectileEntity::pkFireCharge);
- tolua_constant(tolua_S,"pkEnderPearl",cProjectileEntity::pkEnderPearl);
- tolua_constant(tolua_S,"pkExpBottle",cProjectileEntity::pkExpBottle);
- tolua_constant(tolua_S,"pkSplashPotion",cProjectileEntity::pkSplashPotion);
- tolua_constant(tolua_S,"pkFirework",cProjectileEntity::pkFirework);
- tolua_constant(tolua_S,"pkWitherSkull",cProjectileEntity::pkWitherSkull);
- tolua_constant(tolua_S,"pkFishingFloat",cProjectileEntity::pkFishingFloat);
- tolua_function(tolua_S,"GetProjectileKind",tolua_AllToLua_cProjectileEntity_GetProjectileKind00);
- tolua_function(tolua_S,"GetCreator",tolua_AllToLua_cProjectileEntity_GetCreator00);
- tolua_function(tolua_S,"GetMCAClassName",tolua_AllToLua_cProjectileEntity_GetMCAClassName00);
- tolua_function(tolua_S,"IsInGround",tolua_AllToLua_cProjectileEntity_IsInGround00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cArrowEntity","cArrowEntity","cProjectileEntity",NULL);
- tolua_beginmodule(tolua_S,"cArrowEntity");
- tolua_constant(tolua_S,"psNoPickup",cArrowEntity::psNoPickup);
- tolua_constant(tolua_S,"psInSurvivalOrCreative",cArrowEntity::psInSurvivalOrCreative);
- tolua_constant(tolua_S,"psInCreative",cArrowEntity::psInCreative);
- tolua_function(tolua_S,"GetPickupState",tolua_AllToLua_cArrowEntity_GetPickupState00);
- tolua_function(tolua_S,"SetPickupState",tolua_AllToLua_cArrowEntity_SetPickupState00);
- tolua_function(tolua_S,"GetDamageCoeff",tolua_AllToLua_cArrowEntity_GetDamageCoeff00);
- tolua_function(tolua_S,"SetDamageCoeff",tolua_AllToLua_cArrowEntity_SetDamageCoeff00);
- tolua_function(tolua_S,"CanPickup",tolua_AllToLua_cArrowEntity_CanPickup00);
- tolua_function(tolua_S,"IsCritical",tolua_AllToLua_cArrowEntity_IsCritical00);
- tolua_function(tolua_S,"SetIsCritical",tolua_AllToLua_cArrowEntity_SetIsCritical00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cThrownEggEntity","cThrownEggEntity","cProjectileEntity",NULL);
- tolua_beginmodule(tolua_S,"cThrownEggEntity");
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cThrownEnderPearlEntity","cThrownEnderPearlEntity","cProjectileEntity",NULL);
- tolua_beginmodule(tolua_S,"cThrownEnderPearlEntity");
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cThrownSnowballEntity","cThrownSnowballEntity","cProjectileEntity",NULL);
- tolua_beginmodule(tolua_S,"cThrownSnowballEntity");
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cExpBottleEntity","cExpBottleEntity","cProjectileEntity",NULL);
- tolua_beginmodule(tolua_S,"cExpBottleEntity");
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cFireworkEntity","cFireworkEntity","cProjectileEntity",NULL);
- tolua_beginmodule(tolua_S,"cFireworkEntity");
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cGhastFireballEntity","cGhastFireballEntity","cProjectileEntity",NULL);
- tolua_beginmodule(tolua_S,"cGhastFireballEntity");
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cFireChargeEntity","cFireChargeEntity","cProjectileEntity",NULL);
- tolua_beginmodule(tolua_S,"cFireChargeEntity");
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cTNTEntity","cTNTEntity","cEntity",NULL);
- tolua_beginmodule(tolua_S,"cTNTEntity");
- tolua_function(tolua_S,"GetCounterTime",tolua_AllToLua_cTNTEntity_GetCounterTime00);
- tolua_function(tolua_S,"GetMaxFuseTime",tolua_AllToLua_cTNTEntity_GetMaxFuseTime00);
- tolua_endmodule(tolua_S);
- tolua_constant(tolua_S,"E_EFFECT_SPEED",E_EFFECT_SPEED);
- tolua_constant(tolua_S,"E_EFFECT_SLOWNESS",E_EFFECT_SLOWNESS);
- tolua_constant(tolua_S,"E_EFFECT_HASTE",E_EFFECT_HASTE);
- tolua_constant(tolua_S,"E_EFFECT_MINING_FATIGUE",E_EFFECT_MINING_FATIGUE);
- tolua_constant(tolua_S,"E_EFFECT_STENGTH",E_EFFECT_STENGTH);
- tolua_constant(tolua_S,"E_EFFECT_INSTANT_HEALTH",E_EFFECT_INSTANT_HEALTH);
- tolua_constant(tolua_S,"E_EFFECT_INSTANT_DAMAGE",E_EFFECT_INSTANT_DAMAGE);
- tolua_constant(tolua_S,"E_EFFECT_JUMP_BOOST",E_EFFECT_JUMP_BOOST);
- tolua_constant(tolua_S,"E_EFFECT_NAUSEA",E_EFFECT_NAUSEA);
- tolua_constant(tolua_S,"E_EFFECT_REGENERATION",E_EFFECT_REGENERATION);
- tolua_constant(tolua_S,"E_EFFECT_RESISTANCE",E_EFFECT_RESISTANCE);
- tolua_constant(tolua_S,"E_EFFECT_FIRE_RESISTANCE",E_EFFECT_FIRE_RESISTANCE);
- tolua_constant(tolua_S,"E_EFFECT_WATER_BREATHING",E_EFFECT_WATER_BREATHING);
- tolua_constant(tolua_S,"E_EFFECT_INVISIBILITY",E_EFFECT_INVISIBILITY);
- tolua_constant(tolua_S,"E_EFFECT_BLINDNESS",E_EFFECT_BLINDNESS);
- tolua_constant(tolua_S,"E_EFFECT_NIGHT_VISION",E_EFFECT_NIGHT_VISION);
- tolua_constant(tolua_S,"E_EFFECT_HUNGER",E_EFFECT_HUNGER);
- tolua_constant(tolua_S,"E_EFFECT_WEAKNESS",E_EFFECT_WEAKNESS);
- tolua_constant(tolua_S,"E_EFFECT_POISON",E_EFFECT_POISON);
- tolua_constant(tolua_S,"E_EFFECT_WITHER",E_EFFECT_WITHER);
- tolua_constant(tolua_S,"E_EFFECT_HEALTH_BOOST",E_EFFECT_HEALTH_BOOST);
- tolua_constant(tolua_S,"E_EFFECT_ABSORPTION",E_EFFECT_ABSORPTION);
- tolua_constant(tolua_S,"E_EFFECT_SATURATION",E_EFFECT_SATURATION);
- tolua_cclass(tolua_S,"cServer","cServer","",NULL);
- tolua_beginmodule(tolua_S,"cServer");
- tolua_function(tolua_S,"GetDescription",tolua_AllToLua_cServer_GetDescription00);
- tolua_function(tolua_S,"GetMaxPlayers",tolua_AllToLua_cServer_GetMaxPlayers00);
- tolua_function(tolua_S,"GetNumPlayers",tolua_AllToLua_cServer_GetNumPlayers00);
- tolua_function(tolua_S,"SetMaxPlayers",tolua_AllToLua_cServer_SetMaxPlayers00);
- tolua_function(tolua_S,"IsHardcore",tolua_AllToLua_cServer_IsHardcore00);
- tolua_function(tolua_S,"GetServerID",tolua_AllToLua_cServer_GetServerID00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cWorld","cWorld","",NULL);
- tolua_beginmodule(tolua_S,"cWorld");
- tolua_function(tolua_S,"GetTicksUntilWeatherChange",tolua_AllToLua_cWorld_GetTicksUntilWeatherChange00);
- tolua_function(tolua_S,"GetWorldAge",tolua_AllToLua_cWorld_GetWorldAge00);
- tolua_function(tolua_S,"GetTimeOfDay",tolua_AllToLua_cWorld_GetTimeOfDay00);
- tolua_function(tolua_S,"SetTicksUntilWeatherChange",tolua_AllToLua_cWorld_SetTicksUntilWeatherChange00);
- tolua_function(tolua_S,"SetTimeOfDay",tolua_AllToLua_cWorld_SetTimeOfDay00);
- tolua_function(tolua_S,"GetGameMode",tolua_AllToLua_cWorld_GetGameMode00);
- tolua_function(tolua_S,"IsGameModeCreative",tolua_AllToLua_cWorld_IsGameModeCreative00);
- tolua_function(tolua_S,"IsGameModeSurvival",tolua_AllToLua_cWorld_IsGameModeSurvival00);
- tolua_function(tolua_S,"IsGameModeAdventure",tolua_AllToLua_cWorld_IsGameModeAdventure00);
- tolua_function(tolua_S,"IsPVPEnabled",tolua_AllToLua_cWorld_IsPVPEnabled00);
- tolua_function(tolua_S,"IsDeepSnowEnabled",tolua_AllToLua_cWorld_IsDeepSnowEnabled00);
- tolua_function(tolua_S,"ShouldLavaSpawnFire",tolua_AllToLua_cWorld_ShouldLavaSpawnFire00);
- tolua_function(tolua_S,"GetDimension",tolua_AllToLua_cWorld_GetDimension00);
- tolua_function(tolua_S,"GetHeight",tolua_AllToLua_cWorld_GetHeight00);
- tolua_function(tolua_S,"BroadcastChat",tolua_AllToLua_cWorld_BroadcastChat00);
- tolua_function(tolua_S,"BroadcastSoundEffect",tolua_AllToLua_cWorld_BroadcastSoundEffect00);
- tolua_function(tolua_S,"BroadcastSoundParticleEffect",tolua_AllToLua_cWorld_BroadcastSoundParticleEffect00);
- tolua_function(tolua_S,"UnloadUnusedChunks",tolua_AllToLua_cWorld_UnloadUnusedChunks00);
- tolua_function(tolua_S,"RegenerateChunk",tolua_AllToLua_cWorld_RegenerateChunk00);
- tolua_function(tolua_S,"GenerateChunk",tolua_AllToLua_cWorld_GenerateChunk00);
- tolua_function(tolua_S,"SetBlock",tolua_AllToLua_cWorld_SetBlock00);
- tolua_function(tolua_S,"FastSetBlock",tolua_AllToLua_cWorld_FastSetBlock00);
- tolua_function(tolua_S,"QueueSetBlock",tolua_AllToLua_cWorld_QueueSetBlock00);
- tolua_function(tolua_S,"GetBlock",tolua_AllToLua_cWorld_GetBlock00);
- tolua_function(tolua_S,"GetBlockMeta",tolua_AllToLua_cWorld_GetBlockMeta00);
- tolua_function(tolua_S,"SetBlockMeta",tolua_AllToLua_cWorld_SetBlockMeta00);
- tolua_function(tolua_S,"GetBlockSkyLight",tolua_AllToLua_cWorld_GetBlockSkyLight00);
- tolua_function(tolua_S,"GetBlockBlockLight",tolua_AllToLua_cWorld_GetBlockBlockLight00);
- tolua_function(tolua_S,"FastSetBlock",tolua_AllToLua_cWorld_FastSetBlock01);
- tolua_function(tolua_S,"GetBlock",tolua_AllToLua_cWorld_GetBlock01);
- tolua_function(tolua_S,"GetBlockMeta",tolua_AllToLua_cWorld_GetBlockMeta01);
- tolua_function(tolua_S,"SetBlockMeta",tolua_AllToLua_cWorld_SetBlockMeta01);
- tolua_function(tolua_S,"SpawnItemPickups",tolua_AllToLua_cWorld_SpawnItemPickups00);
- tolua_function(tolua_S,"SpawnItemPickups",tolua_AllToLua_cWorld_SpawnItemPickups01);
- tolua_function(tolua_S,"SpawnFallingBlock",tolua_AllToLua_cWorld_SpawnFallingBlock00);
- tolua_function(tolua_S,"SpawnExperienceOrb",tolua_AllToLua_cWorld_SpawnExperienceOrb00);
- tolua_function(tolua_S,"SpawnPrimedTNT",tolua_AllToLua_cWorld_SpawnPrimedTNT00);
- tolua_function(tolua_S,"DigBlock",tolua_AllToLua_cWorld_DigBlock00);
- tolua_function(tolua_S,"SendBlockTo",tolua_AllToLua_cWorld_SendBlockTo00);
- tolua_function(tolua_S,"GetSpawnX",tolua_AllToLua_cWorld_GetSpawnX00);
- tolua_function(tolua_S,"GetSpawnY",tolua_AllToLua_cWorld_GetSpawnY00);
- tolua_function(tolua_S,"GetSpawnZ",tolua_AllToLua_cWorld_GetSpawnZ00);
- tolua_function(tolua_S,"WakeUpSimulators",tolua_AllToLua_cWorld_WakeUpSimulators00);
- tolua_function(tolua_S,"WakeUpSimulatorsInArea",tolua_AllToLua_cWorld_WakeUpSimulatorsInArea00);
- tolua_function(tolua_S,"DoExplosionAt",tolua_AllToLua_cWorld_DoExplosionAt00);
- tolua_function(tolua_S,"UseBlockEntity",tolua_AllToLua_cWorld_UseBlockEntity00);
- tolua_function(tolua_S,"GrowTree",tolua_AllToLua_cWorld_GrowTree00);
- tolua_function(tolua_S,"GrowTreeFromSapling",tolua_AllToLua_cWorld_GrowTreeFromSapling00);
- tolua_function(tolua_S,"GrowTreeByBiome",tolua_AllToLua_cWorld_GrowTreeByBiome00);
- tolua_function(tolua_S,"GrowRipePlant",tolua_AllToLua_cWorld_GrowRipePlant00);
- tolua_function(tolua_S,"GrowCactus",tolua_AllToLua_cWorld_GrowCactus00);
- tolua_function(tolua_S,"GrowMelonPumpkin",tolua_AllToLua_cWorld_GrowMelonPumpkin00);
- tolua_function(tolua_S,"GrowSugarcane",tolua_AllToLua_cWorld_GrowSugarcane00);
- tolua_function(tolua_S,"GetBiomeAt",tolua_AllToLua_cWorld_GetBiomeAt00);
- tolua_function(tolua_S,"GetName",tolua_AllToLua_cWorld_GetName00);
- tolua_function(tolua_S,"GetIniFileName",tolua_AllToLua_cWorld_GetIniFileName00);
- tolua_function(tolua_S,"QueueSaveAllChunks",tolua_AllToLua_cWorld_QueueSaveAllChunks00);
- tolua_function(tolua_S,"GetNumChunks",tolua_AllToLua_cWorld_GetNumChunks00);
- tolua_function(tolua_S,"GetGeneratorQueueLength",tolua_AllToLua_cWorld_GetGeneratorQueueLength00);
- tolua_function(tolua_S,"GetLightingQueueLength",tolua_AllToLua_cWorld_GetLightingQueueLength00);
- tolua_function(tolua_S,"GetStorageLoadQueueLength",tolua_AllToLua_cWorld_GetStorageLoadQueueLength00);
- tolua_function(tolua_S,"GetStorageSaveQueueLength",tolua_AllToLua_cWorld_GetStorageSaveQueueLength00);
- tolua_function(tolua_S,"QueueBlockForTick",tolua_AllToLua_cWorld_QueueBlockForTick00);
- tolua_function(tolua_S,"CastThunderbolt",tolua_AllToLua_cWorld_CastThunderbolt00);
- tolua_function(tolua_S,"SetWeather",tolua_AllToLua_cWorld_SetWeather00);
- tolua_function(tolua_S,"ChangeWeather",tolua_AllToLua_cWorld_ChangeWeather00);
- tolua_function(tolua_S,"GetWeather",tolua_AllToLua_cWorld_GetWeather00);
- tolua_function(tolua_S,"IsWeatherSunny",tolua_AllToLua_cWorld_IsWeatherSunny00);
- tolua_function(tolua_S,"IsWeatherRain",tolua_AllToLua_cWorld_IsWeatherRain00);
- tolua_function(tolua_S,"IsWeatherStorm",tolua_AllToLua_cWorld_IsWeatherStorm00);
- tolua_function(tolua_S,"IsWeatherWet",tolua_AllToLua_cWorld_IsWeatherWet00);
- tolua_function(tolua_S,"SetNextBlockTick",tolua_AllToLua_cWorld_SetNextBlockTick00);
- tolua_function(tolua_S,"GetMaxSugarcaneHeight",tolua_AllToLua_cWorld_GetMaxSugarcaneHeight00);
- tolua_function(tolua_S,"GetMaxCactusHeight",tolua_AllToLua_cWorld_GetMaxCactusHeight00);
- tolua_function(tolua_S,"IsBlockDirectlyWatered",tolua_AllToLua_cWorld_IsBlockDirectlyWatered00);
- tolua_function(tolua_S,"SpawnMob",tolua_AllToLua_cWorld_SpawnMob00);
- tolua_function(tolua_S,"CreateProjectile",tolua_AllToLua_cWorld_CreateProjectile00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cInventory","cInventory","cItemGrid::cListener",NULL);
- tolua_beginmodule(tolua_S,"cInventory");
- tolua_constant(tolua_S,"invArmorCount",cInventory::invArmorCount);
- tolua_constant(tolua_S,"invInventoryCount",cInventory::invInventoryCount);
- tolua_constant(tolua_S,"invHotbarCount",cInventory::invHotbarCount);
- tolua_constant(tolua_S,"invArmorOffset",cInventory::invArmorOffset);
- tolua_constant(tolua_S,"invInventoryOffset",cInventory::invInventoryOffset);
- tolua_constant(tolua_S,"invHotbarOffset",cInventory::invHotbarOffset);
- tolua_constant(tolua_S,"invNumSlots",cInventory::invNumSlots);
- tolua_function(tolua_S,"Clear",tolua_AllToLua_cInventory_Clear00);
- tolua_function(tolua_S,"HowManyCanFit",tolua_AllToLua_cInventory_HowManyCanFit00);
- tolua_function(tolua_S,"HowManyCanFit",tolua_AllToLua_cInventory_HowManyCanFit01);
- tolua_function(tolua_S,"AddItem",tolua_AllToLua_cInventory_AddItem00);
- tolua_function(tolua_S,"AddItems",tolua_AllToLua_cInventory_AddItems00);
- tolua_function(tolua_S,"RemoveOneEquippedItem",tolua_AllToLua_cInventory_RemoveOneEquippedItem00);
- tolua_function(tolua_S,"HowManyItems",tolua_AllToLua_cInventory_HowManyItems00);
- tolua_function(tolua_S,"HasItems",tolua_AllToLua_cInventory_HasItems00);
- tolua_function(tolua_S,"GetArmorGrid",tolua_AllToLua_cInventory_GetArmorGrid00);
- tolua_function(tolua_S,"GetInventoryGrid",tolua_AllToLua_cInventory_GetInventoryGrid00);
- tolua_function(tolua_S,"GetHotbarGrid",tolua_AllToLua_cInventory_GetHotbarGrid00);
- tolua_function(tolua_S,"GetOwner",tolua_AllToLua_cInventory_GetOwner00);
- tolua_function(tolua_S,"CopyToItems",tolua_AllToLua_cInventory_CopyToItems00);
- tolua_function(tolua_S,"GetSlot",tolua_AllToLua_cInventory_GetSlot00);
- tolua_function(tolua_S,"GetArmorSlot",tolua_AllToLua_cInventory_GetArmorSlot00);
- tolua_function(tolua_S,"GetInventorySlot",tolua_AllToLua_cInventory_GetInventorySlot00);
- tolua_function(tolua_S,"GetHotbarSlot",tolua_AllToLua_cInventory_GetHotbarSlot00);
- tolua_function(tolua_S,"GetEquippedItem",tolua_AllToLua_cInventory_GetEquippedItem00);
- tolua_function(tolua_S,"SetSlot",tolua_AllToLua_cInventory_SetSlot00);
- tolua_function(tolua_S,"SetArmorSlot",tolua_AllToLua_cInventory_SetArmorSlot00);
- tolua_function(tolua_S,"SetInventorySlot",tolua_AllToLua_cInventory_SetInventorySlot00);
- tolua_function(tolua_S,"SetHotbarSlot",tolua_AllToLua_cInventory_SetHotbarSlot00);
- tolua_function(tolua_S,"SetEquippedSlotNum",tolua_AllToLua_cInventory_SetEquippedSlotNum00);
- tolua_function(tolua_S,"GetEquippedSlotNum",tolua_AllToLua_cInventory_GetEquippedSlotNum00);
- tolua_function(tolua_S,"ChangeSlotCount",tolua_AllToLua_cInventory_ChangeSlotCount00);
- tolua_function(tolua_S,"DamageItem",tolua_AllToLua_cInventory_DamageItem00);
- tolua_function(tolua_S,"DamageEquippedItem",tolua_AllToLua_cInventory_DamageEquippedItem00);
- tolua_function(tolua_S,"GetEquippedHelmet",tolua_AllToLua_cInventory_GetEquippedHelmet00);
- tolua_function(tolua_S,"GetEquippedChestplate",tolua_AllToLua_cInventory_GetEquippedChestplate00);
- tolua_function(tolua_S,"GetEquippedLeggings",tolua_AllToLua_cInventory_GetEquippedLeggings00);
- tolua_function(tolua_S,"GetEquippedBoots",tolua_AllToLua_cInventory_GetEquippedBoots00);
- tolua_endmodule(tolua_S);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"cEnchantments","cEnchantments","",tolua_collect_cEnchantments);
- #else
- tolua_cclass(tolua_S,"cEnchantments","cEnchantments","",NULL);
- #endif
- tolua_beginmodule(tolua_S,"cEnchantments");
- tolua_constant(tolua_S,"enchProtection",cEnchantments::enchProtection);
- tolua_constant(tolua_S,"enchFireProtection",cEnchantments::enchFireProtection);
- tolua_constant(tolua_S,"enchFeatherFalling",cEnchantments::enchFeatherFalling);
- tolua_constant(tolua_S,"enchBlastProtection",cEnchantments::enchBlastProtection);
- tolua_constant(tolua_S,"enchProjectileProtection",cEnchantments::enchProjectileProtection);
- tolua_constant(tolua_S,"enchRespiration",cEnchantments::enchRespiration);
- tolua_constant(tolua_S,"enchAquaAffinity",cEnchantments::enchAquaAffinity);
- tolua_constant(tolua_S,"enchThorns",cEnchantments::enchThorns);
- tolua_constant(tolua_S,"enchSharpness",cEnchantments::enchSharpness);
- tolua_constant(tolua_S,"enchSmite",cEnchantments::enchSmite);
- tolua_constant(tolua_S,"enchBaneOfArthropods",cEnchantments::enchBaneOfArthropods);
- tolua_constant(tolua_S,"enchKnockback",cEnchantments::enchKnockback);
- tolua_constant(tolua_S,"enchFireAspect",cEnchantments::enchFireAspect);
- tolua_constant(tolua_S,"enchLooting",cEnchantments::enchLooting);
- tolua_constant(tolua_S,"enchEfficiency",cEnchantments::enchEfficiency);
- tolua_constant(tolua_S,"enchSilkTouch",cEnchantments::enchSilkTouch);
- tolua_constant(tolua_S,"enchUnbreaking",cEnchantments::enchUnbreaking);
- tolua_constant(tolua_S,"enchFortune",cEnchantments::enchFortune);
- tolua_constant(tolua_S,"enchPower",cEnchantments::enchPower);
- tolua_constant(tolua_S,"enchPunch",cEnchantments::enchPunch);
- tolua_constant(tolua_S,"enchFlame",cEnchantments::enchFlame);
- tolua_constant(tolua_S,"enchInfinity",cEnchantments::enchInfinity);
- tolua_constant(tolua_S,"enchLuckOfTheSea",cEnchantments::enchLuckOfTheSea);
- tolua_constant(tolua_S,"enchLure",cEnchantments::enchLure);
- tolua_function(tolua_S,"new",tolua_AllToLua_cEnchantments_new00);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cEnchantments_new00_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cEnchantments_new00_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_cEnchantments_new01);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cEnchantments_new01_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cEnchantments_new01_local);
- tolua_function(tolua_S,"AddFromString",tolua_AllToLua_cEnchantments_AddFromString00);
- tolua_function(tolua_S,"ToString",tolua_AllToLua_cEnchantments_ToString00);
- tolua_function(tolua_S,"GetLevel",tolua_AllToLua_cEnchantments_GetLevel00);
- tolua_function(tolua_S,"SetLevel",tolua_AllToLua_cEnchantments_SetLevel00);
- tolua_function(tolua_S,"Clear",tolua_AllToLua_cEnchantments_Clear00);
- tolua_function(tolua_S,"IsEmpty",tolua_AllToLua_cEnchantments_IsEmpty00);
- tolua_function(tolua_S,"StringToEnchantmentID",tolua_AllToLua_cEnchantments_StringToEnchantmentID00);
- tolua_function(tolua_S,".eq",tolua_AllToLua_cEnchantments__eq00);
- tolua_endmodule(tolua_S);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"cItem","cItem","",tolua_collect_cItem);
- #else
- tolua_cclass(tolua_S,"cItem","cItem","",NULL);
- #endif
- tolua_beginmodule(tolua_S,"cItem");
- tolua_function(tolua_S,"new",tolua_AllToLua_cItem_new00);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cItem_new00_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cItem_new00_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_cItem_new01);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cItem_new01_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cItem_new01_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_cItem_new02);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cItem_new02_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cItem_new02_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_cItem_new03);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cItem_new03_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cItem_new03_local);
- tolua_function(tolua_S,"Empty",tolua_AllToLua_cItem_Empty00);
- tolua_function(tolua_S,"Clear",tolua_AllToLua_cItem_Clear00);
- tolua_function(tolua_S,"IsEmpty",tolua_AllToLua_cItem_IsEmpty00);
- tolua_function(tolua_S,"IsEqual",tolua_AllToLua_cItem_IsEqual00);
- tolua_function(tolua_S,"IsSameType",tolua_AllToLua_cItem_IsSameType00);
- tolua_function(tolua_S,"CopyOne",tolua_AllToLua_cItem_CopyOne00);
- tolua_function(tolua_S,"AddCount",tolua_AllToLua_cItem_AddCount00);
- tolua_function(tolua_S,"GetMaxDamage",tolua_AllToLua_cItem_GetMaxDamage00);
- tolua_function(tolua_S,"DamageItem",tolua_AllToLua_cItem_DamageItem00);
- tolua_function(tolua_S,"IsDamageable",tolua_AllToLua_cItem_IsDamageable00);
- tolua_function(tolua_S,"IsStackableWith",tolua_AllToLua_cItem_IsStackableWith00);
- tolua_function(tolua_S,"IsFullStack",tolua_AllToLua_cItem_IsFullStack00);
- tolua_function(tolua_S,"GetMaxStackSize",tolua_AllToLua_cItem_GetMaxStackSize00);
- tolua_variable(tolua_S,"m_ItemType",tolua_get_cItem_m_ItemType,tolua_set_cItem_m_ItemType);
- tolua_variable(tolua_S,"m_ItemCount",tolua_get_cItem_m_ItemCount,tolua_set_cItem_m_ItemCount);
- tolua_variable(tolua_S,"m_ItemDamage",tolua_get_cItem_m_ItemDamage,tolua_set_cItem_m_ItemDamage);
- tolua_variable(tolua_S,"m_Enchantments",tolua_get_cItem_m_Enchantments,tolua_set_cItem_m_Enchantments);
- tolua_endmodule(tolua_S);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"cItems","cItems","",tolua_collect_cItems);
- #else
- tolua_cclass(tolua_S,"cItems","cItems","",NULL);
- #endif
- tolua_beginmodule(tolua_S,"cItems");
- tolua_function(tolua_S,"new",tolua_AllToLua_cItems_new00);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cItems_new00_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cItems_new00_local);
- tolua_function(tolua_S,"Get",tolua_AllToLua_cItems_Get00);
- tolua_function(tolua_S,"Set",tolua_AllToLua_cItems_Set00);
- tolua_function(tolua_S,"Add",tolua_AllToLua_cItems_Add00);
- tolua_function(tolua_S,"Delete",tolua_AllToLua_cItems_Delete00);
- tolua_function(tolua_S,"Clear",tolua_AllToLua_cItems_Clear00);
- tolua_function(tolua_S,"Size",tolua_AllToLua_cItems_Size00);
- tolua_function(tolua_S,"Set",tolua_AllToLua_cItems_Set01);
- tolua_function(tolua_S,"Add",tolua_AllToLua_cItems_Add01);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cItemGrid","cItemGrid","",NULL);
- tolua_beginmodule(tolua_S,"cItemGrid");
- tolua_function(tolua_S,"GetWidth",tolua_AllToLua_cItemGrid_GetWidth00);
- tolua_function(tolua_S,"GetHeight",tolua_AllToLua_cItemGrid_GetHeight00);
- tolua_function(tolua_S,"GetNumSlots",tolua_AllToLua_cItemGrid_GetNumSlots00);
- tolua_function(tolua_S,"GetSlotNum",tolua_AllToLua_cItemGrid_GetSlotNum00);
- tolua_function(tolua_S,"GetSlot",tolua_AllToLua_cItemGrid_GetSlot00);
- tolua_function(tolua_S,"GetSlot",tolua_AllToLua_cItemGrid_GetSlot01);
- tolua_function(tolua_S,"SetSlot",tolua_AllToLua_cItemGrid_SetSlot00);
- tolua_function(tolua_S,"SetSlot",tolua_AllToLua_cItemGrid_SetSlot01);
- tolua_function(tolua_S,"SetSlot",tolua_AllToLua_cItemGrid_SetSlot02);
- tolua_function(tolua_S,"SetSlot",tolua_AllToLua_cItemGrid_SetSlot03);
- tolua_function(tolua_S,"EmptySlot",tolua_AllToLua_cItemGrid_EmptySlot00);
- tolua_function(tolua_S,"EmptySlot",tolua_AllToLua_cItemGrid_EmptySlot01);
- tolua_function(tolua_S,"IsSlotEmpty",tolua_AllToLua_cItemGrid_IsSlotEmpty00);
- tolua_function(tolua_S,"IsSlotEmpty",tolua_AllToLua_cItemGrid_IsSlotEmpty01);
- tolua_function(tolua_S,"Clear",tolua_AllToLua_cItemGrid_Clear00);
- tolua_function(tolua_S,"HowManyCanFit",tolua_AllToLua_cItemGrid_HowManyCanFit00);
- tolua_function(tolua_S,"AddItem",tolua_AllToLua_cItemGrid_AddItem00);
- tolua_function(tolua_S,"AddItems",tolua_AllToLua_cItemGrid_AddItems00);
- tolua_function(tolua_S,"ChangeSlotCount",tolua_AllToLua_cItemGrid_ChangeSlotCount00);
- tolua_function(tolua_S,"ChangeSlotCount",tolua_AllToLua_cItemGrid_ChangeSlotCount01);
- tolua_function(tolua_S,"RemoveOneItem",tolua_AllToLua_cItemGrid_RemoveOneItem00);
- tolua_function(tolua_S,"RemoveOneItem",tolua_AllToLua_cItemGrid_RemoveOneItem01);
- tolua_function(tolua_S,"HowManyItems",tolua_AllToLua_cItemGrid_HowManyItems00);
- tolua_function(tolua_S,"HasItems",tolua_AllToLua_cItemGrid_HasItems00);
- tolua_function(tolua_S,"GetFirstEmptySlot",tolua_AllToLua_cItemGrid_GetFirstEmptySlot00);
- tolua_function(tolua_S,"GetFirstUsedSlot",tolua_AllToLua_cItemGrid_GetFirstUsedSlot00);
- tolua_function(tolua_S,"GetLastEmptySlot",tolua_AllToLua_cItemGrid_GetLastEmptySlot00);
- tolua_function(tolua_S,"GetLastUsedSlot",tolua_AllToLua_cItemGrid_GetLastUsedSlot00);
- tolua_function(tolua_S,"GetNextEmptySlot",tolua_AllToLua_cItemGrid_GetNextEmptySlot00);
- tolua_function(tolua_S,"GetNextUsedSlot",tolua_AllToLua_cItemGrid_GetNextUsedSlot00);
- tolua_function(tolua_S,"CopyToItems",tolua_AllToLua_cItemGrid_CopyToItems00);
- tolua_function(tolua_S,"DamageItem",tolua_AllToLua_cItemGrid_DamageItem00);
- tolua_function(tolua_S,"DamageItem",tolua_AllToLua_cItemGrid_DamageItem01);
- tolua_endmodule(tolua_S);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"cBlockEntity","cBlockEntity","",tolua_collect_cBlockEntity);
- #else
- tolua_cclass(tolua_S,"cBlockEntity","cBlockEntity","",NULL);
- #endif
- tolua_beginmodule(tolua_S,"cBlockEntity");
- tolua_function(tolua_S,"GetPosX",tolua_AllToLua_cBlockEntity_GetPosX00);
- tolua_function(tolua_S,"GetPosY",tolua_AllToLua_cBlockEntity_GetPosY00);
- tolua_function(tolua_S,"GetPosZ",tolua_AllToLua_cBlockEntity_GetPosZ00);
- tolua_function(tolua_S,"GetBlockType",tolua_AllToLua_cBlockEntity_GetBlockType00);
- tolua_function(tolua_S,"GetWorld",tolua_AllToLua_cBlockEntity_GetWorld00);
- tolua_function(tolua_S,"GetChunkX",tolua_AllToLua_cBlockEntity_GetChunkX00);
- tolua_function(tolua_S,"GetChunkZ",tolua_AllToLua_cBlockEntity_GetChunkZ00);
- tolua_function(tolua_S,"GetRelX",tolua_AllToLua_cBlockEntity_GetRelX00);
- tolua_function(tolua_S,"GetRelZ",tolua_AllToLua_cBlockEntity_GetRelZ00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cBlockEntityWithItems","cBlockEntityWithItems","cBlockEntity",NULL);
- tolua_beginmodule(tolua_S,"cBlockEntityWithItems");
- tolua_function(tolua_S,"GetSlot",tolua_AllToLua_cBlockEntityWithItems_GetSlot00);
- tolua_function(tolua_S,"GetSlot",tolua_AllToLua_cBlockEntityWithItems_GetSlot01);
- tolua_function(tolua_S,"SetSlot",tolua_AllToLua_cBlockEntityWithItems_SetSlot00);
- tolua_function(tolua_S,"SetSlot",tolua_AllToLua_cBlockEntityWithItems_SetSlot01);
- tolua_function(tolua_S,"GetContents",tolua_AllToLua_cBlockEntityWithItems_GetContents00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cChestEntity","cChestEntity","cBlockEntityWithItems",NULL);
- tolua_beginmodule(tolua_S,"cChestEntity");
- tolua_constant(tolua_S,"ContentsHeight",cChestEntity::ContentsHeight);
- tolua_constant(tolua_S,"ContentsWidth",cChestEntity::ContentsWidth);
- tolua_variable(tolua_S,"__cBlockEntityWindowOwner__",tolua_get_cChestEntity___cBlockEntityWindowOwner__,NULL);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cDropSpenserEntity","cDropSpenserEntity","cBlockEntityWithItems",NULL);
- tolua_beginmodule(tolua_S,"cDropSpenserEntity");
- tolua_constant(tolua_S,"ContentsHeight",cDropSpenserEntity::ContentsHeight);
- tolua_constant(tolua_S,"ContentsWidth",cDropSpenserEntity::ContentsWidth);
- tolua_function(tolua_S,"AddDropSpenserDir",tolua_AllToLua_cDropSpenserEntity_AddDropSpenserDir00);
- tolua_function(tolua_S,"Activate",tolua_AllToLua_cDropSpenserEntity_Activate00);
- tolua_function(tolua_S,"SetRedstonePower",tolua_AllToLua_cDropSpenserEntity_SetRedstonePower00);
- tolua_variable(tolua_S,"__cBlockEntityWindowOwner__",tolua_get_cDropSpenserEntity___cBlockEntityWindowOwner__,NULL);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cDispenserEntity","cDispenserEntity","cDropSpenserEntity",NULL);
- tolua_beginmodule(tolua_S,"cDispenserEntity");
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cDropperEntity","cDropperEntity","cDropSpenserEntity",NULL);
- tolua_beginmodule(tolua_S,"cDropperEntity");
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cFurnaceEntity","cFurnaceEntity","cBlockEntityWithItems",NULL);
- tolua_beginmodule(tolua_S,"cFurnaceEntity");
- tolua_constant(tolua_S,"fsInput",cFurnaceEntity::fsInput);
- tolua_constant(tolua_S,"fsFuel",cFurnaceEntity::fsFuel);
- tolua_constant(tolua_S,"fsOutput",cFurnaceEntity::fsOutput);
- tolua_constant(tolua_S,"ContentsWidth",cFurnaceEntity::ContentsWidth);
- tolua_constant(tolua_S,"ContentsHeight",cFurnaceEntity::ContentsHeight);
- tolua_function(tolua_S,"GetInputSlot",tolua_AllToLua_cFurnaceEntity_GetInputSlot00);
- tolua_function(tolua_S,"GetFuelSlot",tolua_AllToLua_cFurnaceEntity_GetFuelSlot00);
- tolua_function(tolua_S,"GetOutputSlot",tolua_AllToLua_cFurnaceEntity_GetOutputSlot00);
- tolua_function(tolua_S,"SetInputSlot",tolua_AllToLua_cFurnaceEntity_SetInputSlot00);
- tolua_function(tolua_S,"SetFuelSlot",tolua_AllToLua_cFurnaceEntity_SetFuelSlot00);
- tolua_function(tolua_S,"SetOutputSlot",tolua_AllToLua_cFurnaceEntity_SetOutputSlot00);
- tolua_function(tolua_S,"GetTimeCooked",tolua_AllToLua_cFurnaceEntity_GetTimeCooked00);
- tolua_function(tolua_S,"GetCookTimeLeft",tolua_AllToLua_cFurnaceEntity_GetCookTimeLeft00);
- tolua_function(tolua_S,"GetFuelBurnTimeLeft",tolua_AllToLua_cFurnaceEntity_GetFuelBurnTimeLeft00);
- tolua_function(tolua_S,"HasFuelTimeLeft",tolua_AllToLua_cFurnaceEntity_HasFuelTimeLeft00);
- tolua_variable(tolua_S,"__cBlockEntityWindowOwner__",tolua_get_cFurnaceEntity___cBlockEntityWindowOwner__,NULL);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cHopperEntity","cHopperEntity","cBlockEntityWithItems",NULL);
- tolua_beginmodule(tolua_S,"cHopperEntity");
- tolua_constant(tolua_S,"ContentsHeight",cHopperEntity::ContentsHeight);
- tolua_constant(tolua_S,"ContentsWidth",cHopperEntity::ContentsWidth);
- tolua_constant(tolua_S,"TICKS_PER_TRANSFER",cHopperEntity::TICKS_PER_TRANSFER);
- tolua_variable(tolua_S,"__cBlockEntityWindowOwner__",tolua_get_cHopperEntity___cBlockEntityWindowOwner__,NULL);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cJukeboxEntity","cJukeboxEntity","cBlockEntity",NULL);
- tolua_beginmodule(tolua_S,"cJukeboxEntity");
- tolua_function(tolua_S,"GetRecord",tolua_AllToLua_cJukeboxEntity_GetRecord00);
- tolua_function(tolua_S,"SetRecord",tolua_AllToLua_cJukeboxEntity_SetRecord00);
- tolua_function(tolua_S,"PlayRecord",tolua_AllToLua_cJukeboxEntity_PlayRecord00);
- tolua_function(tolua_S,"EjectRecord",tolua_AllToLua_cJukeboxEntity_EjectRecord00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cNoteEntity","cNoteEntity","cBlockEntity",NULL);
- tolua_beginmodule(tolua_S,"cNoteEntity");
- tolua_function(tolua_S,"GetPitch",tolua_AllToLua_cNoteEntity_GetPitch00);
- tolua_function(tolua_S,"SetPitch",tolua_AllToLua_cNoteEntity_SetPitch00);
- tolua_function(tolua_S,"IncrementPitch",tolua_AllToLua_cNoteEntity_IncrementPitch00);
- tolua_function(tolua_S,"MakeSound",tolua_AllToLua_cNoteEntity_MakeSound00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cSignEntity","cSignEntity","cBlockEntity",NULL);
- tolua_beginmodule(tolua_S,"cSignEntity");
- tolua_function(tolua_S,"SetLines",tolua_AllToLua_cSignEntity_SetLines00);
- tolua_function(tolua_S,"SetLine",tolua_AllToLua_cSignEntity_SetLine00);
- tolua_function(tolua_S,"GetLine",tolua_AllToLua_cSignEntity_GetLine00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"HTTPFormData","HTTPFormData","",NULL);
- tolua_beginmodule(tolua_S,"HTTPFormData");
- tolua_variable(tolua_S,"Name",tolua_get_HTTPFormData_Name,tolua_set_HTTPFormData_Name);
- tolua_variable(tolua_S,"Value",tolua_get_HTTPFormData_Value,tolua_set_HTTPFormData_Value);
- tolua_variable(tolua_S,"Type",tolua_get_HTTPFormData_Type,tolua_set_HTTPFormData_Type);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"HTTPRequest","HTTPRequest","",NULL);
- tolua_beginmodule(tolua_S,"HTTPRequest");
- tolua_variable(tolua_S,"Method",tolua_get_HTTPRequest_Method,tolua_set_HTTPRequest_Method);
- tolua_variable(tolua_S,"Path",tolua_get_HTTPRequest_Path,tolua_set_HTTPRequest_Path);
- tolua_variable(tolua_S,"Username",tolua_get_HTTPRequest_Username,tolua_set_HTTPRequest_Username);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"HTTPTemplateRequest","HTTPTemplateRequest","",NULL);
- tolua_beginmodule(tolua_S,"HTTPTemplateRequest");
- tolua_variable(tolua_S,"Request",tolua_get_HTTPTemplateRequest_Request,tolua_set_HTTPTemplateRequest_Request);
- tolua_endmodule(tolua_S);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"sWebAdminPage","sWebAdminPage","",tolua_collect_sWebAdminPage);
- #else
- tolua_cclass(tolua_S,"sWebAdminPage","sWebAdminPage","",NULL);
- #endif
- tolua_beginmodule(tolua_S,"sWebAdminPage");
- tolua_variable(tolua_S,"Content",tolua_get_sWebAdminPage_Content,tolua_set_sWebAdminPage_Content);
- tolua_variable(tolua_S,"PluginName",tolua_get_sWebAdminPage_PluginName,tolua_set_sWebAdminPage_PluginName);
- tolua_variable(tolua_S,"TabName",tolua_get_sWebAdminPage_TabName,tolua_set_sWebAdminPage_TabName);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cWebAdmin","cWebAdmin","cHTTPServer::cCallbacks",NULL);
- tolua_beginmodule(tolua_S,"cWebAdmin");
- tolua_function(tolua_S,"GetPage",tolua_AllToLua_cWebAdmin_GetPage00);
- tolua_function(tolua_S,"GetDefaultPage",tolua_AllToLua_cWebAdmin_GetDefaultPage00);
- tolua_function(tolua_S,"GetBaseURL",tolua_AllToLua_cWebAdmin_GetBaseURL00);
- tolua_function(tolua_S,"GetHTMLEscapedString",tolua_AllToLua_cWebAdmin_GetHTMLEscapedString00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cRoot","cRoot","",NULL);
- tolua_beginmodule(tolua_S,"cRoot");
- tolua_function(tolua_S,"Get",tolua_AllToLua_cRoot_Get00);
- tolua_function(tolua_S,"GetServer",tolua_AllToLua_cRoot_GetServer00);
- tolua_function(tolua_S,"GetDefaultWorld",tolua_AllToLua_cRoot_GetDefaultWorld00);
- tolua_function(tolua_S,"GetWorld",tolua_AllToLua_cRoot_GetWorld00);
- tolua_function(tolua_S,"CreateAndInitializeWorld",tolua_AllToLua_cRoot_CreateAndInitializeWorld00);
- tolua_function(tolua_S,"GetPrimaryServerVersion",tolua_AllToLua_cRoot_GetPrimaryServerVersion00);
- tolua_function(tolua_S,"SetPrimaryServerVersion",tolua_AllToLua_cRoot_SetPrimaryServerVersion00);
- tolua_function(tolua_S,"GetGroupManager",tolua_AllToLua_cRoot_GetGroupManager00);
- tolua_function(tolua_S,"GetCraftingRecipes",tolua_AllToLua_cRoot_GetCraftingRecipes00);
- tolua_function(tolua_S,"GetFurnaceFuelBurnTime",tolua_AllToLua_cRoot_GetFurnaceFuelBurnTime00);
- tolua_function(tolua_S,"GetWebAdmin",tolua_AllToLua_cRoot_GetWebAdmin00);
- tolua_function(tolua_S,"GetPluginManager",tolua_AllToLua_cRoot_GetPluginManager00);
- tolua_function(tolua_S,"QueueExecuteConsoleCommand",tolua_AllToLua_cRoot_QueueExecuteConsoleCommand00);
- tolua_function(tolua_S,"GetTotalChunkCount",tolua_AllToLua_cRoot_GetTotalChunkCount00);
- tolua_function(tolua_S,"SaveAllChunks",tolua_AllToLua_cRoot_SaveAllChunks00);
- tolua_function(tolua_S,"BroadcastChat",tolua_AllToLua_cRoot_BroadcastChat00);
- tolua_function(tolua_S,"GetProtocolVersionTextFromInt",tolua_AllToLua_cRoot_GetProtocolVersionTextFromInt00);
- tolua_function(tolua_S,"GetVirtualRAMUsage",tolua_AllToLua_cRoot_GetVirtualRAMUsage00);
- tolua_function(tolua_S,"GetPhysicalRAMUsage",tolua_AllToLua_cRoot_GetPhysicalRAMUsage00);
- tolua_endmodule(tolua_S);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"Vector3f","Vector3f","",tolua_collect_Vector3f);
- #else
- tolua_cclass(tolua_S,"Vector3f","Vector3f","",NULL);
- #endif
- tolua_beginmodule(tolua_S,"Vector3f");
- tolua_function(tolua_S,"new",tolua_AllToLua_Vector3f_new00);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_Vector3f_new00_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_Vector3f_new00_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_Vector3f_new01);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_Vector3f_new01_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_Vector3f_new01_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_Vector3f_new02);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_Vector3f_new02_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_Vector3f_new02_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_Vector3f_new03);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_Vector3f_new03_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_Vector3f_new03_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_Vector3f_new04);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_Vector3f_new04_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_Vector3f_new04_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_Vector3f_new05);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_Vector3f_new05_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_Vector3f_new05_local);
- tolua_function(tolua_S,"Set",tolua_AllToLua_Vector3f_Set00);
- tolua_function(tolua_S,"Normalize",tolua_AllToLua_Vector3f_Normalize00);
- tolua_function(tolua_S,"NormalizeCopy",tolua_AllToLua_Vector3f_NormalizeCopy00);
- tolua_function(tolua_S,"NormalizeCopy",tolua_AllToLua_Vector3f_NormalizeCopy01);
- tolua_function(tolua_S,"Length",tolua_AllToLua_Vector3f_Length00);
- tolua_function(tolua_S,"SqrLength",tolua_AllToLua_Vector3f_SqrLength00);
- tolua_function(tolua_S,"Dot",tolua_AllToLua_Vector3f_Dot00);
- tolua_function(tolua_S,"Cross",tolua_AllToLua_Vector3f_Cross00);
- tolua_function(tolua_S,"Equals",tolua_AllToLua_Vector3f_Equals00);
- tolua_function(tolua_S,".add",tolua_AllToLua_Vector3f__add00);
- tolua_function(tolua_S,".add",tolua_AllToLua_Vector3f__add01);
- tolua_function(tolua_S,".sub",tolua_AllToLua_Vector3f__sub00);
- tolua_function(tolua_S,".sub",tolua_AllToLua_Vector3f__sub01);
- tolua_function(tolua_S,".mul",tolua_AllToLua_Vector3f__mul00);
- tolua_function(tolua_S,".mul",tolua_AllToLua_Vector3f__mul01);
- tolua_variable(tolua_S,"x",tolua_get_Vector3f_x,tolua_set_Vector3f_x);
- tolua_variable(tolua_S,"y",tolua_get_Vector3f_y,tolua_set_Vector3f_y);
- tolua_variable(tolua_S,"z",tolua_get_Vector3f_z,tolua_set_Vector3f_z);
- tolua_endmodule(tolua_S);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"Vector3d","Vector3d","",tolua_collect_Vector3d);
- #else
- tolua_cclass(tolua_S,"Vector3d","Vector3d","",NULL);
- #endif
- tolua_beginmodule(tolua_S,"Vector3d");
- tolua_function(tolua_S,"new",tolua_AllToLua_Vector3d_new00);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_Vector3d_new00_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_Vector3d_new00_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_Vector3d_new01);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_Vector3d_new01_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_Vector3d_new01_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_Vector3d_new02);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_Vector3d_new02_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_Vector3d_new02_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_Vector3d_new03);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_Vector3d_new03_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_Vector3d_new03_local);
- tolua_function(tolua_S,"Set",tolua_AllToLua_Vector3d_Set00);
- tolua_function(tolua_S,"Normalize",tolua_AllToLua_Vector3d_Normalize00);
- tolua_function(tolua_S,"NormalizeCopy",tolua_AllToLua_Vector3d_NormalizeCopy00);
- tolua_function(tolua_S,"NormalizeCopy",tolua_AllToLua_Vector3d_NormalizeCopy01);
- tolua_function(tolua_S,"Length",tolua_AllToLua_Vector3d_Length00);
- tolua_function(tolua_S,"SqrLength",tolua_AllToLua_Vector3d_SqrLength00);
- tolua_function(tolua_S,"Dot",tolua_AllToLua_Vector3d_Dot00);
- tolua_function(tolua_S,"Cross",tolua_AllToLua_Vector3d_Cross00);
- tolua_function(tolua_S,"LineCoeffToXYPlane",tolua_AllToLua_Vector3d_LineCoeffToXYPlane00);
- tolua_function(tolua_S,"LineCoeffToXZPlane",tolua_AllToLua_Vector3d_LineCoeffToXZPlane00);
- tolua_function(tolua_S,"LineCoeffToYZPlane",tolua_AllToLua_Vector3d_LineCoeffToYZPlane00);
- tolua_function(tolua_S,"Equals",tolua_AllToLua_Vector3d_Equals00);
- tolua_function(tolua_S,".add",tolua_AllToLua_Vector3d__add00);
- tolua_function(tolua_S,".add",tolua_AllToLua_Vector3d__add01);
- tolua_function(tolua_S,".sub",tolua_AllToLua_Vector3d__sub00);
- tolua_function(tolua_S,".sub",tolua_AllToLua_Vector3d__sub01);
- tolua_function(tolua_S,".mul",tolua_AllToLua_Vector3d__mul00);
- tolua_function(tolua_S,".mul",tolua_AllToLua_Vector3d__mul01);
- tolua_function(tolua_S,".div",tolua_AllToLua_Vector3d__div00);
- tolua_variable(tolua_S,"x",tolua_get_Vector3d_x,tolua_set_Vector3d_x);
- tolua_variable(tolua_S,"y",tolua_get_Vector3d_y,tolua_set_Vector3d_y);
- tolua_variable(tolua_S,"z",tolua_get_Vector3d_z,tolua_set_Vector3d_z);
- tolua_variable(tolua_S,"EPS",tolua_get_Vector3d_EPS,NULL);
- tolua_variable(tolua_S,"NO_INTERSECTION",tolua_get_Vector3d_NO_INTERSECTION,NULL);
- tolua_endmodule(tolua_S);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"Vector3i","Vector3i","",tolua_collect_Vector3i);
- #else
- tolua_cclass(tolua_S,"Vector3i","Vector3i","",NULL);
- #endif
- tolua_beginmodule(tolua_S,"Vector3i");
- tolua_function(tolua_S,"new",tolua_AllToLua_Vector3i_new00);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_Vector3i_new00_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_Vector3i_new00_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_Vector3i_new01);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_Vector3i_new01_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_Vector3i_new01_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_Vector3i_new02);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_Vector3i_new02_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_Vector3i_new02_local);
- tolua_function(tolua_S,"Set",tolua_AllToLua_Vector3i_Set00);
- tolua_function(tolua_S,"Length",tolua_AllToLua_Vector3i_Length00);
- tolua_function(tolua_S,"SqrLength",tolua_AllToLua_Vector3i_SqrLength00);
- tolua_function(tolua_S,"Equals",tolua_AllToLua_Vector3i_Equals00);
- tolua_function(tolua_S,"Equals",tolua_AllToLua_Vector3i_Equals01);
- tolua_variable(tolua_S,"x",tolua_get_Vector3i_x,tolua_set_Vector3i_x);
- tolua_variable(tolua_S,"y",tolua_get_Vector3i_y,tolua_set_Vector3i_y);
- tolua_variable(tolua_S,"z",tolua_get_Vector3i_z,tolua_set_Vector3i_z);
- tolua_endmodule(tolua_S);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"cCuboid","cCuboid","",tolua_collect_cCuboid);
- #else
- tolua_cclass(tolua_S,"cCuboid","cCuboid","",NULL);
- #endif
- tolua_beginmodule(tolua_S,"cCuboid");
- tolua_variable(tolua_S,"p1",tolua_get_cCuboid_p1,tolua_set_cCuboid_p1);
- tolua_variable(tolua_S,"p2",tolua_get_cCuboid_p2,tolua_set_cCuboid_p2);
- tolua_function(tolua_S,"new",tolua_AllToLua_cCuboid_new00);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cCuboid_new00_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cCuboid_new00_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_cCuboid_new01);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cCuboid_new01_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cCuboid_new01_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_cCuboid_new02);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cCuboid_new02_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cCuboid_new02_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_cCuboid_new03);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cCuboid_new03_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cCuboid_new03_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_cCuboid_new04);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cCuboid_new04_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cCuboid_new04_local);
- tolua_function(tolua_S,"Assign",tolua_AllToLua_cCuboid_Assign00);
- tolua_function(tolua_S,"Sort",tolua_AllToLua_cCuboid_Sort00);
- tolua_function(tolua_S,"DifX",tolua_AllToLua_cCuboid_DifX00);
- tolua_function(tolua_S,"DifY",tolua_AllToLua_cCuboid_DifY00);
- tolua_function(tolua_S,"DifZ",tolua_AllToLua_cCuboid_DifZ00);
- tolua_function(tolua_S,"DoesIntersect",tolua_AllToLua_cCuboid_DoesIntersect00);
- tolua_function(tolua_S,"IsInside",tolua_AllToLua_cCuboid_IsInside00);
- tolua_function(tolua_S,"IsInside",tolua_AllToLua_cCuboid_IsInside01);
- tolua_function(tolua_S,"IsInside",tolua_AllToLua_cCuboid_IsInside02);
- tolua_function(tolua_S,"IsCompletelyInside",tolua_AllToLua_cCuboid_IsCompletelyInside00);
- tolua_function(tolua_S,"Move",tolua_AllToLua_cCuboid_Move00);
- tolua_function(tolua_S,"IsSorted",tolua_AllToLua_cCuboid_IsSorted00);
- tolua_endmodule(tolua_S);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"cBoundingBox","cBoundingBox","",tolua_collect_cBoundingBox);
- #else
- tolua_cclass(tolua_S,"cBoundingBox","cBoundingBox","",NULL);
- #endif
- tolua_beginmodule(tolua_S,"cBoundingBox");
- tolua_function(tolua_S,"new",tolua_AllToLua_cBoundingBox_new00);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cBoundingBox_new00_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cBoundingBox_new00_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_cBoundingBox_new01);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cBoundingBox_new01_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cBoundingBox_new01_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_cBoundingBox_new02);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cBoundingBox_new02_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cBoundingBox_new02_local);
- tolua_function(tolua_S,"new",tolua_AllToLua_cBoundingBox_new03);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cBoundingBox_new03_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cBoundingBox_new03_local);
- tolua_function(tolua_S,"Move",tolua_AllToLua_cBoundingBox_Move00);
- tolua_function(tolua_S,"Move",tolua_AllToLua_cBoundingBox_Move01);
- tolua_function(tolua_S,"Expand",tolua_AllToLua_cBoundingBox_Expand00);
- tolua_function(tolua_S,"DoesIntersect",tolua_AllToLua_cBoundingBox_DoesIntersect00);
- tolua_function(tolua_S,"Union",tolua_AllToLua_cBoundingBox_Union00);
- tolua_function(tolua_S,"IsInside",tolua_AllToLua_cBoundingBox_IsInside00);
- tolua_function(tolua_S,"IsInside",tolua_AllToLua_cBoundingBox_IsInside01);
- tolua_function(tolua_S,"IsInside",tolua_AllToLua_cBoundingBox_IsInside02);
- tolua_function(tolua_S,"IsInside",tolua_AllToLua_cBoundingBox_IsInside03);
- tolua_function(tolua_S,"IsInside",tolua_AllToLua_cBoundingBox_IsInside04);
- tolua_function(tolua_S,"IsInside",tolua_AllToLua_cBoundingBox_IsInside05);
- tolua_function(tolua_S,"CalcLineIntersection",tolua_AllToLua_cBoundingBox_CalcLineIntersection00);
- tolua_function(tolua_S,"CalcLineIntersection",tolua_AllToLua_cBoundingBox_CalcLineIntersection01);
- tolua_endmodule(tolua_S);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"cTracer","cTracer","",tolua_collect_cTracer);
- #else
- tolua_cclass(tolua_S,"cTracer","cTracer","",NULL);
- #endif
- tolua_beginmodule(tolua_S,"cTracer");
- tolua_variable(tolua_S,"BlockHitPosition",tolua_get_cTracer_BlockHitPosition,tolua_set_cTracer_BlockHitPosition);
- tolua_variable(tolua_S,"HitNormal",tolua_get_cTracer_HitNormal,tolua_set_cTracer_HitNormal);
- tolua_variable(tolua_S,"RealHit",tolua_get_cTracer_RealHit,tolua_set_cTracer_RealHit);
- tolua_function(tolua_S,"new",tolua_AllToLua_cTracer_new00);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cTracer_new00_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cTracer_new00_local);
- tolua_function(tolua_S,"delete",tolua_AllToLua_cTracer_delete00);
- tolua_function(tolua_S,"Trace",tolua_AllToLua_cTracer_Trace00);
- tolua_function(tolua_S,"Trace",tolua_AllToLua_cTracer_Trace01);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cGroup","cGroup","",NULL);
- tolua_beginmodule(tolua_S,"cGroup");
- tolua_function(tolua_S,"SetName",tolua_AllToLua_cGroup_SetName00);
- tolua_function(tolua_S,"GetName",tolua_AllToLua_cGroup_GetName00);
- tolua_function(tolua_S,"SetColor",tolua_AllToLua_cGroup_SetColor00);
- tolua_function(tolua_S,"AddCommand",tolua_AllToLua_cGroup_AddCommand00);
- tolua_function(tolua_S,"AddPermission",tolua_AllToLua_cGroup_AddPermission00);
- tolua_function(tolua_S,"InheritFrom",tolua_AllToLua_cGroup_InheritFrom00);
- tolua_function(tolua_S,"HasCommand",tolua_AllToLua_cGroup_HasCommand00);
- tolua_function(tolua_S,"GetColor",tolua_AllToLua_cGroup_GetColor00);
- tolua_endmodule(tolua_S);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"cBlockArea","cBlockArea","",tolua_collect_cBlockArea);
- #else
- tolua_cclass(tolua_S,"cBlockArea","cBlockArea","",NULL);
- #endif
- tolua_beginmodule(tolua_S,"cBlockArea");
- tolua_constant(tolua_S,"baTypes",cBlockArea::baTypes);
- tolua_constant(tolua_S,"baMetas",cBlockArea::baMetas);
- tolua_constant(tolua_S,"baLight",cBlockArea::baLight);
- tolua_constant(tolua_S,"baSkyLight",cBlockArea::baSkyLight);
- tolua_constant(tolua_S,"msOverwrite",cBlockArea::msOverwrite);
- tolua_constant(tolua_S,"msFillAir",cBlockArea::msFillAir);
- tolua_constant(tolua_S,"msImprint",cBlockArea::msImprint);
- tolua_constant(tolua_S,"msLake",cBlockArea::msLake);
- tolua_function(tolua_S,"new",tolua_AllToLua_cBlockArea_new00);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cBlockArea_new00_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cBlockArea_new00_local);
- tolua_function(tolua_S,"delete",tolua_AllToLua_cBlockArea_delete00);
- tolua_function(tolua_S,"Clear",tolua_AllToLua_cBlockArea_Clear00);
- tolua_function(tolua_S,"Create",tolua_AllToLua_cBlockArea_Create00);
- tolua_function(tolua_S,"Create",tolua_AllToLua_cBlockArea_Create01);
- tolua_function(tolua_S,"SetOrigin",tolua_AllToLua_cBlockArea_SetOrigin00);
- tolua_function(tolua_S,"Read",tolua_AllToLua_cBlockArea_Read00);
- tolua_function(tolua_S,"Read",tolua_AllToLua_cBlockArea_Read01);
- tolua_function(tolua_S,"Write",tolua_AllToLua_cBlockArea_Write00);
- tolua_function(tolua_S,"Write",tolua_AllToLua_cBlockArea_Write01);
- tolua_function(tolua_S,"CopyTo",tolua_AllToLua_cBlockArea_CopyTo00);
- tolua_function(tolua_S,"CopyFrom",tolua_AllToLua_cBlockArea_CopyFrom00);
- tolua_function(tolua_S,"DumpToRawFile",tolua_AllToLua_cBlockArea_DumpToRawFile00);
- tolua_function(tolua_S,"LoadFromSchematicFile",tolua_AllToLua_cBlockArea_LoadFromSchematicFile00);
- tolua_function(tolua_S,"SaveToSchematicFile",tolua_AllToLua_cBlockArea_SaveToSchematicFile00);
- tolua_function(tolua_S,"Crop",tolua_AllToLua_cBlockArea_Crop00);
- tolua_function(tolua_S,"Expand",tolua_AllToLua_cBlockArea_Expand00);
- tolua_function(tolua_S,"Merge",tolua_AllToLua_cBlockArea_Merge00);
- tolua_function(tolua_S,"Fill",tolua_AllToLua_cBlockArea_Fill00);
- tolua_function(tolua_S,"FillRelCuboid",tolua_AllToLua_cBlockArea_FillRelCuboid00);
- tolua_function(tolua_S,"RelLine",tolua_AllToLua_cBlockArea_RelLine00);
- tolua_function(tolua_S,"RotateCCW",tolua_AllToLua_cBlockArea_RotateCCW00);
- tolua_function(tolua_S,"RotateCW",tolua_AllToLua_cBlockArea_RotateCW00);
- tolua_function(tolua_S,"MirrorXY",tolua_AllToLua_cBlockArea_MirrorXY00);
- tolua_function(tolua_S,"MirrorXZ",tolua_AllToLua_cBlockArea_MirrorXZ00);
- tolua_function(tolua_S,"MirrorYZ",tolua_AllToLua_cBlockArea_MirrorYZ00);
- tolua_function(tolua_S,"RotateCCWNoMeta",tolua_AllToLua_cBlockArea_RotateCCWNoMeta00);
- tolua_function(tolua_S,"RotateCWNoMeta",tolua_AllToLua_cBlockArea_RotateCWNoMeta00);
- tolua_function(tolua_S,"MirrorXYNoMeta",tolua_AllToLua_cBlockArea_MirrorXYNoMeta00);
- tolua_function(tolua_S,"MirrorXZNoMeta",tolua_AllToLua_cBlockArea_MirrorXZNoMeta00);
- tolua_function(tolua_S,"MirrorYZNoMeta",tolua_AllToLua_cBlockArea_MirrorYZNoMeta00);
- tolua_function(tolua_S,"SetRelBlockType",tolua_AllToLua_cBlockArea_SetRelBlockType00);
- tolua_function(tolua_S,"SetBlockType",tolua_AllToLua_cBlockArea_SetBlockType00);
- tolua_function(tolua_S,"SetRelBlockMeta",tolua_AllToLua_cBlockArea_SetRelBlockMeta00);
- tolua_function(tolua_S,"SetBlockMeta",tolua_AllToLua_cBlockArea_SetBlockMeta00);
- tolua_function(tolua_S,"SetRelBlockLight",tolua_AllToLua_cBlockArea_SetRelBlockLight00);
- tolua_function(tolua_S,"SetBlockLight",tolua_AllToLua_cBlockArea_SetBlockLight00);
- tolua_function(tolua_S,"SetRelBlockSkyLight",tolua_AllToLua_cBlockArea_SetRelBlockSkyLight00);
- tolua_function(tolua_S,"SetBlockSkyLight",tolua_AllToLua_cBlockArea_SetBlockSkyLight00);
- tolua_function(tolua_S,"GetRelBlockType",tolua_AllToLua_cBlockArea_GetRelBlockType00);
- tolua_function(tolua_S,"GetBlockType",tolua_AllToLua_cBlockArea_GetBlockType00);
- tolua_function(tolua_S,"GetRelBlockMeta",tolua_AllToLua_cBlockArea_GetRelBlockMeta00);
- tolua_function(tolua_S,"GetBlockMeta",tolua_AllToLua_cBlockArea_GetBlockMeta00);
- tolua_function(tolua_S,"GetRelBlockLight",tolua_AllToLua_cBlockArea_GetRelBlockLight00);
- tolua_function(tolua_S,"GetBlockLight",tolua_AllToLua_cBlockArea_GetBlockLight00);
- tolua_function(tolua_S,"GetRelBlockSkyLight",tolua_AllToLua_cBlockArea_GetRelBlockSkyLight00);
- tolua_function(tolua_S,"GetBlockSkyLight",tolua_AllToLua_cBlockArea_GetBlockSkyLight00);
- tolua_function(tolua_S,"SetBlockTypeMeta",tolua_AllToLua_cBlockArea_SetBlockTypeMeta00);
- tolua_function(tolua_S,"SetRelBlockTypeMeta",tolua_AllToLua_cBlockArea_SetRelBlockTypeMeta00);
- tolua_function(tolua_S,"GetBlockTypeMeta",tolua_AllToLua_cBlockArea_GetBlockTypeMeta00);
- tolua_function(tolua_S,"GetRelBlockTypeMeta",tolua_AllToLua_cBlockArea_GetRelBlockTypeMeta00);
- tolua_function(tolua_S,"GetSizeX",tolua_AllToLua_cBlockArea_GetSizeX00);
- tolua_function(tolua_S,"GetSizeY",tolua_AllToLua_cBlockArea_GetSizeY00);
- tolua_function(tolua_S,"GetSizeZ",tolua_AllToLua_cBlockArea_GetSizeZ00);
- tolua_function(tolua_S,"GetOriginX",tolua_AllToLua_cBlockArea_GetOriginX00);
- tolua_function(tolua_S,"GetOriginY",tolua_AllToLua_cBlockArea_GetOriginY00);
- tolua_function(tolua_S,"GetOriginZ",tolua_AllToLua_cBlockArea_GetOriginZ00);
- tolua_function(tolua_S,"GetDataTypes",tolua_AllToLua_cBlockArea_GetDataTypes00);
- tolua_function(tolua_S,"HasBlockTypes",tolua_AllToLua_cBlockArea_HasBlockTypes00);
- tolua_function(tolua_S,"HasBlockMetas",tolua_AllToLua_cBlockArea_HasBlockMetas00);
- tolua_function(tolua_S,"HasBlockLights",tolua_AllToLua_cBlockArea_HasBlockLights00);
- tolua_function(tolua_S,"HasBlockSkyLights",tolua_AllToLua_cBlockArea_HasBlockSkyLights00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cChunkDesc","cChunkDesc","",NULL);
- tolua_beginmodule(tolua_S,"cChunkDesc");
- tolua_function(tolua_S,"GetChunkX",tolua_AllToLua_cChunkDesc_GetChunkX00);
- tolua_function(tolua_S,"GetChunkZ",tolua_AllToLua_cChunkDesc_GetChunkZ00);
- tolua_function(tolua_S,"FillBlocks",tolua_AllToLua_cChunkDesc_FillBlocks00);
- tolua_function(tolua_S,"SetBlockTypeMeta",tolua_AllToLua_cChunkDesc_SetBlockTypeMeta00);
- tolua_function(tolua_S,"GetBlockTypeMeta",tolua_AllToLua_cChunkDesc_GetBlockTypeMeta00);
- tolua_function(tolua_S,"SetBlockType",tolua_AllToLua_cChunkDesc_SetBlockType00);
- tolua_function(tolua_S,"GetBlockType",tolua_AllToLua_cChunkDesc_GetBlockType00);
- tolua_function(tolua_S,"SetBlockMeta",tolua_AllToLua_cChunkDesc_SetBlockMeta00);
- tolua_function(tolua_S,"GetBlockMeta",tolua_AllToLua_cChunkDesc_GetBlockMeta00);
- tolua_function(tolua_S,"SetBiome",tolua_AllToLua_cChunkDesc_SetBiome00);
- tolua_function(tolua_S,"GetBiome",tolua_AllToLua_cChunkDesc_GetBiome00);
- tolua_function(tolua_S,"SetHeight",tolua_AllToLua_cChunkDesc_SetHeight00);
- tolua_function(tolua_S,"GetHeight",tolua_AllToLua_cChunkDesc_GetHeight00);
- tolua_function(tolua_S,"SetUseDefaultBiomes",tolua_AllToLua_cChunkDesc_SetUseDefaultBiomes00);
- tolua_function(tolua_S,"IsUsingDefaultBiomes",tolua_AllToLua_cChunkDesc_IsUsingDefaultBiomes00);
- tolua_function(tolua_S,"SetUseDefaultHeight",tolua_AllToLua_cChunkDesc_SetUseDefaultHeight00);
- tolua_function(tolua_S,"IsUsingDefaultHeight",tolua_AllToLua_cChunkDesc_IsUsingDefaultHeight00);
- tolua_function(tolua_S,"SetUseDefaultComposition",tolua_AllToLua_cChunkDesc_SetUseDefaultComposition00);
- tolua_function(tolua_S,"IsUsingDefaultComposition",tolua_AllToLua_cChunkDesc_IsUsingDefaultComposition00);
- tolua_function(tolua_S,"SetUseDefaultStructures",tolua_AllToLua_cChunkDesc_SetUseDefaultStructures00);
- tolua_function(tolua_S,"IsUsingDefaultStructures",tolua_AllToLua_cChunkDesc_IsUsingDefaultStructures00);
- tolua_function(tolua_S,"SetUseDefaultFinish",tolua_AllToLua_cChunkDesc_SetUseDefaultFinish00);
- tolua_function(tolua_S,"IsUsingDefaultFinish",tolua_AllToLua_cChunkDesc_IsUsingDefaultFinish00);
- tolua_function(tolua_S,"WriteBlockArea",tolua_AllToLua_cChunkDesc_WriteBlockArea00);
- tolua_function(tolua_S,"ReadBlockArea",tolua_AllToLua_cChunkDesc_ReadBlockArea00);
- tolua_function(tolua_S,"GetMaxHeight",tolua_AllToLua_cChunkDesc_GetMaxHeight00);
- tolua_function(tolua_S,"FillRelCuboid",tolua_AllToLua_cChunkDesc_FillRelCuboid00);
- tolua_function(tolua_S,"FillRelCuboid",tolua_AllToLua_cChunkDesc_FillRelCuboid01);
- tolua_function(tolua_S,"ReplaceRelCuboid",tolua_AllToLua_cChunkDesc_ReplaceRelCuboid00);
- tolua_function(tolua_S,"ReplaceRelCuboid",tolua_AllToLua_cChunkDesc_ReplaceRelCuboid01);
- tolua_function(tolua_S,"FloorRelCuboid",tolua_AllToLua_cChunkDesc_FloorRelCuboid00);
- tolua_function(tolua_S,"FloorRelCuboid",tolua_AllToLua_cChunkDesc_FloorRelCuboid01);
- tolua_function(tolua_S,"RandomFillRelCuboid",tolua_AllToLua_cChunkDesc_RandomFillRelCuboid00);
- tolua_function(tolua_S,"RandomFillRelCuboid",tolua_AllToLua_cChunkDesc_RandomFillRelCuboid01);
- tolua_function(tolua_S,"GetBlockEntity",tolua_AllToLua_cChunkDesc_GetBlockEntity00);
- tolua_endmodule(tolua_S);
- #ifdef __cplusplus
- tolua_cclass(tolua_S,"cCraftingGrid","cCraftingGrid","",tolua_collect_cCraftingGrid);
- #else
- tolua_cclass(tolua_S,"cCraftingGrid","cCraftingGrid","",NULL);
- #endif
- tolua_beginmodule(tolua_S,"cCraftingGrid");
- tolua_function(tolua_S,"new",tolua_AllToLua_cCraftingGrid_new00);
- tolua_function(tolua_S,"new_local",tolua_AllToLua_cCraftingGrid_new00_local);
- tolua_function(tolua_S,".call",tolua_AllToLua_cCraftingGrid_new00_local);
- tolua_function(tolua_S,"GetWidth",tolua_AllToLua_cCraftingGrid_GetWidth00);
- tolua_function(tolua_S,"GetHeight",tolua_AllToLua_cCraftingGrid_GetHeight00);
- tolua_function(tolua_S,"GetItem",tolua_AllToLua_cCraftingGrid_GetItem00);
- tolua_function(tolua_S,"SetItem",tolua_AllToLua_cCraftingGrid_SetItem00);
- tolua_function(tolua_S,"SetItem",tolua_AllToLua_cCraftingGrid_SetItem01);
- tolua_function(tolua_S,"Clear",tolua_AllToLua_cCraftingGrid_Clear00);
- tolua_function(tolua_S,"ConsumeGrid",tolua_AllToLua_cCraftingGrid_ConsumeGrid00);
- tolua_function(tolua_S,"Dump",tolua_AllToLua_cCraftingGrid_Dump00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cCraftingRecipe","cCraftingRecipe","",NULL);
- tolua_beginmodule(tolua_S,"cCraftingRecipe");
- tolua_function(tolua_S,"Clear",tolua_AllToLua_cCraftingRecipe_Clear00);
- tolua_function(tolua_S,"GetIngredientsWidth",tolua_AllToLua_cCraftingRecipe_GetIngredientsWidth00);
- tolua_function(tolua_S,"GetIngredientsHeight",tolua_AllToLua_cCraftingRecipe_GetIngredientsHeight00);
- tolua_function(tolua_S,"GetIngredient",tolua_AllToLua_cCraftingRecipe_GetIngredient00);
- tolua_function(tolua_S,"GetResult",tolua_AllToLua_cCraftingRecipe_GetResult00);
- tolua_function(tolua_S,"SetResult",tolua_AllToLua_cCraftingRecipe_SetResult00);
- tolua_function(tolua_S,"SetResult",tolua_AllToLua_cCraftingRecipe_SetResult01);
- tolua_function(tolua_S,"SetIngredient",tolua_AllToLua_cCraftingRecipe_SetIngredient00);
- tolua_function(tolua_S,"SetIngredient",tolua_AllToLua_cCraftingRecipe_SetIngredient01);
- tolua_function(tolua_S,"ConsumeIngredients",tolua_AllToLua_cCraftingRecipe_ConsumeIngredients00);
- tolua_function(tolua_S,"Dump",tolua_AllToLua_cCraftingRecipe_Dump00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cWindow","cWindow","",NULL);
- tolua_beginmodule(tolua_S,"cWindow");
- tolua_constant(tolua_S,"wtInventory",cWindow::wtInventory);
- tolua_constant(tolua_S,"wtChest",cWindow::wtChest);
- tolua_constant(tolua_S,"wtWorkbench",cWindow::wtWorkbench);
- tolua_constant(tolua_S,"wtFurnace",cWindow::wtFurnace);
- tolua_constant(tolua_S,"wtDropSpenser",cWindow::wtDropSpenser);
- tolua_constant(tolua_S,"wtEnchantment",cWindow::wtEnchantment);
- tolua_constant(tolua_S,"wtBrewery",cWindow::wtBrewery);
- tolua_constant(tolua_S,"wtNPCTrade",cWindow::wtNPCTrade);
- tolua_constant(tolua_S,"wtBeacon",cWindow::wtBeacon);
- tolua_constant(tolua_S,"wtAnvil",cWindow::wtAnvil);
- tolua_constant(tolua_S,"wtHopper",cWindow::wtHopper);
- tolua_constant(tolua_S,"wtAnimalChest",cWindow::wtAnimalChest);
- tolua_function(tolua_S,"GetWindowID",tolua_AllToLua_cWindow_GetWindowID00);
- tolua_function(tolua_S,"GetWindowType",tolua_AllToLua_cWindow_GetWindowType00);
- tolua_function(tolua_S,"GetSlot",tolua_AllToLua_cWindow_GetSlot00);
- tolua_function(tolua_S,"SetSlot",tolua_AllToLua_cWindow_SetSlot00);
- tolua_function(tolua_S,"IsSlotInPlayerMainInventory",tolua_AllToLua_cWindow_IsSlotInPlayerMainInventory00);
- tolua_function(tolua_S,"IsSlotInPlayerHotbar",tolua_AllToLua_cWindow_IsSlotInPlayerHotbar00);
- tolua_function(tolua_S,"IsSlotInPlayerInventory",tolua_AllToLua_cWindow_IsSlotInPlayerInventory00);
- tolua_function(tolua_S,"GetWindowTitle",tolua_AllToLua_cWindow_GetWindowTitle00);
- tolua_function(tolua_S,"SetWindowTitle",tolua_AllToLua_cWindow_SetWindowTitle00);
- tolua_function(tolua_S,"SetProperty",tolua_AllToLua_cWindow_SetProperty00);
- tolua_function(tolua_S,"SetProperty",tolua_AllToLua_cWindow_SetProperty01);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cMonster","cMonster","cPawn",NULL);
- tolua_beginmodule(tolua_S,"cMonster");
- tolua_constant(tolua_S,"mtInvalidType",cMonster::mtInvalidType);
- tolua_constant(tolua_S,"mtBat",cMonster::mtBat);
- tolua_constant(tolua_S,"mtBlaze",cMonster::mtBlaze);
- tolua_constant(tolua_S,"mtCaveSpider",cMonster::mtCaveSpider);
- tolua_constant(tolua_S,"mtChicken",cMonster::mtChicken);
- tolua_constant(tolua_S,"mtCow",cMonster::mtCow);
- tolua_constant(tolua_S,"mtCreeper",cMonster::mtCreeper);
- tolua_constant(tolua_S,"mtEnderDragon",cMonster::mtEnderDragon);
- tolua_constant(tolua_S,"mtEnderman",cMonster::mtEnderman);
- tolua_constant(tolua_S,"mtGhast",cMonster::mtGhast);
- tolua_constant(tolua_S,"mtGiant",cMonster::mtGiant);
- tolua_constant(tolua_S,"mtHorse",cMonster::mtHorse);
- tolua_constant(tolua_S,"mtIronGolem",cMonster::mtIronGolem);
- tolua_constant(tolua_S,"mtMagmaCube",cMonster::mtMagmaCube);
- tolua_constant(tolua_S,"mtMooshroom",cMonster::mtMooshroom);
- tolua_constant(tolua_S,"mtOcelot",cMonster::mtOcelot);
- tolua_constant(tolua_S,"mtPig",cMonster::mtPig);
- tolua_constant(tolua_S,"mtSheep",cMonster::mtSheep);
- tolua_constant(tolua_S,"mtSilverfish",cMonster::mtSilverfish);
- tolua_constant(tolua_S,"mtSkeleton",cMonster::mtSkeleton);
- tolua_constant(tolua_S,"mtSlime",cMonster::mtSlime);
- tolua_constant(tolua_S,"mtSnowGolem",cMonster::mtSnowGolem);
- tolua_constant(tolua_S,"mtSpider",cMonster::mtSpider);
- tolua_constant(tolua_S,"mtSquid",cMonster::mtSquid);
- tolua_constant(tolua_S,"mtVillager",cMonster::mtVillager);
- tolua_constant(tolua_S,"mtWitch",cMonster::mtWitch);
- tolua_constant(tolua_S,"mtWither",cMonster::mtWither);
- tolua_constant(tolua_S,"mtWolf",cMonster::mtWolf);
- tolua_constant(tolua_S,"mtZombie",cMonster::mtZombie);
- tolua_constant(tolua_S,"mtZombiePigman",cMonster::mtZombiePigman);
- tolua_constant(tolua_S,"mfHostile",cMonster::mfHostile);
- tolua_constant(tolua_S,"mfPassive",cMonster::mfPassive);
- tolua_constant(tolua_S,"mfAmbient",cMonster::mfAmbient);
- tolua_constant(tolua_S,"mfWater",cMonster::mfWater);
- tolua_constant(tolua_S,"mfMaxplusone",cMonster::mfMaxplusone);
- tolua_function(tolua_S,"GetMobType",tolua_AllToLua_cMonster_GetMobType00);
- tolua_function(tolua_S,"GetMobFamily",tolua_AllToLua_cMonster_GetMobFamily00);
- tolua_function(tolua_S,"MobTypeToString",tolua_AllToLua_cMonster_MobTypeToString00);
- tolua_function(tolua_S,"StringToMobType",tolua_AllToLua_cMonster_StringToMobType00);
- tolua_function(tolua_S,"FamilyFromType",tolua_AllToLua_cMonster_FamilyFromType00);
- tolua_function(tolua_S,"GetSpawnDelay",tolua_AllToLua_cMonster_GetSpawnDelay00);
- tolua_endmodule(tolua_S);
- tolua_cclass(tolua_S,"cLineBlockTracer","cLineBlockTracer","",NULL);
- tolua_beginmodule(tolua_S,"cLineBlockTracer");
- tolua_endmodule(tolua_S);
- tolua_endmodule(tolua_S);
- return 1;
-}
-
-
-#if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
- TOLUA_API int luaopen_AllToLua (lua_State* tolua_S) {
- return tolua_AllToLua_open(tolua_S);
-};
-#endif
-
diff --git a/src/Bindings/Bindings.h b/src/Bindings/Bindings.h
deleted file mode 100644
index 2fbd53dcc..000000000
--- a/src/Bindings/Bindings.h
+++ /dev/null
@@ -1,8 +0,0 @@
-/*
-** Lua binding: AllToLua
-** Generated automatically by tolua++-1.0.92 on 12/18/13 16:09:11.
-*/
-
-/* Exported function */
-TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S);
-
diff --git a/src/Bindings/CMakeLists.txt b/src/Bindings/CMakeLists.txt
new file mode 100644
index 000000000..49a6aa4e8
--- /dev/null
+++ b/src/Bindings/CMakeLists.txt
@@ -0,0 +1,16 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+ ADD_CUSTOM_COMMAND(
+#add any new generated bindings here
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/Bindings.cpp ${CMAKE_CURRENT_BINARY_DIR}/Bindings.h
+#command execuded to regerate bindings
+ COMMAND tolua -L virtual_method_hooks.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg
+#add any new generation dependencies here
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/virtual_method_hooks.lua ${CMAKE_CURRENT_SOURCE_DIR}/AllToLua.pkg tolua
+ )
+
+add_library(Bindings PluginManager LuaState WebPlugin Bindings)
diff --git a/src/Blocks/CMakeLists.txt b/src/Blocks/CMakeLists.txt
new file mode 100644
index 000000000..6fededb65
--- /dev/null
+++ b/src/Blocks/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+add_library(Blocks BlockHandler)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 000000000..b2376731e
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,36 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++03")
+endif()
+
+include_directories (SYSTEM "${PROJECT_SOURCE_DIR}/../lib/")
+include_directories (SYSTEM "${PROJECT_SOURCE_DIR}/../lib/jsoncpp/include")
+
+add_subdirectory(OSSupport)
+add_subdirectory(HTTPServer)
+add_subdirectory(Bindings)
+add_subdirectory(Items)
+add_subdirectory(Blocks)
+add_subdirectory(Protocol)
+add_subdirectory(Generating)
+add_subdirectory(WorldStorage)
+add_subdirectory(Mobs)
+add_subdirectory(Entities)
+add_subdirectory(Simulator)
+add_subdirectory(UI)
+
+
+file(GLOB SOURCE
+ "*.cpp"
+)
+
+list(REMOVE_ITEM SOURCE "${PROJECT_SOURCE_DIR}/StackWalker.cpp" "${PROJECT_SOURCE_DIR}/LeakFinder.cpp")
+
+add_executable(../MCServer/MCServer ${SOURCE})
+
+target_link_libraries(../MCServer/MCServer OSSupport HTTPServer iniFile Bindings Items Blocks)
+target_link_libraries(../MCServer/MCServer Protocol Generating WorldStorage jsoncpp cryptopp)
+target_link_libraries(../MCServer/MCServer Mobs Entities Simulator UI zlib)
diff --git a/src/Entities/CMakeLists.txt b/src/Entities/CMakeLists.txt
new file mode 100644
index 000000000..85cc45494
--- /dev/null
+++ b/src/Entities/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+file(GLOB SOURCE
+ "*.cpp"
+)
+
+add_library(Entities ${SOURCE})
diff --git a/src/Generating/CMakeLists.txt b/src/Generating/CMakeLists.txt
new file mode 100644
index 000000000..e1ba299fc
--- /dev/null
+++ b/src/Generating/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+file(GLOB SOURCE
+ "*.cpp"
+)
+
+add_library(Generating ${SOURCE})
diff --git a/src/HTTPServer/CMakeLists.txt b/src/HTTPServer/CMakeLists.txt
new file mode 100644
index 000000000..b94aa5306
--- /dev/null
+++ b/src/HTTPServer/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+add_library(HTTPServer HTTPServer HTTPConnection HTTPFormParser HTTPMessage MultipartParser)
diff --git a/src/Items/CMakeLists.txt b/src/Items/CMakeLists.txt
new file mode 100644
index 000000000..44a9f594f
--- /dev/null
+++ b/src/Items/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+add_library(Items ItemHandler)
diff --git a/src/Mobs/CMakeLists.txt b/src/Mobs/CMakeLists.txt
new file mode 100644
index 000000000..87fbfd2fc
--- /dev/null
+++ b/src/Mobs/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+file(GLOB SOURCE
+ "*.cpp"
+)
+
+add_library(Mobs ${SOURCE})
diff --git a/src/OSSupport/CMakeLists.txt b/src/OSSupport/CMakeLists.txt
new file mode 100644
index 000000000..8eeff9d9b
--- /dev/null
+++ b/src/OSSupport/CMakeLists.txt
@@ -0,0 +1,10 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+file(GLOB SOURCE
+ "*.cpp"
+)
+
+add_library(OSSupport ${SOURCE})
diff --git a/src/Protocol/CMakeLists.txt b/src/Protocol/CMakeLists.txt
new file mode 100644
index 000000000..53dc295c0
--- /dev/null
+++ b/src/Protocol/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+add_library(Protocol ProtocolRecognizer)
diff --git a/src/Simulator/CMakeLists.txt b/src/Simulator/CMakeLists.txt
new file mode 100644
index 000000000..4f3f1ad0e
--- /dev/null
+++ b/src/Simulator/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+file(GLOB SOURCE
+ "*.cpp"
+)
+
+add_library(Simulator ${SOURCE})
diff --git a/src/UI/CMakeLists.txt b/src/UI/CMakeLists.txt
new file mode 100644
index 000000000..cef2a9f35
--- /dev/null
+++ b/src/UI/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+file(GLOB SOURCE
+ "*.cpp"
+)
+
+add_library(UI ${SOURCE})
diff --git a/src/WorldStorage/CMakeLists.txt b/src/WorldStorage/CMakeLists.txt
new file mode 100644
index 000000000..d431bdf6a
--- /dev/null
+++ b/src/WorldStorage/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+file(GLOB SOURCE
+ "*.cpp"
+)
+
+add_library(WorldStorage ${SOURCE})