equal
deleted
inserted
replaced
819 |
819 |
820 // open internal libraries |
820 // open internal libraries |
821 luaopen_base(luaState); |
821 luaopen_base(luaState); |
822 luaopen_string(luaState); |
822 luaopen_string(luaState); |
823 luaopen_math(luaState); |
823 luaopen_math(luaState); |
|
824 luaopen_table(luaState); |
824 |
825 |
825 // import some variables |
826 // import some variables |
826 ScriptSetInteger('LAND_WIDTH', LAND_WIDTH); |
827 ScriptSetInteger('LAND_WIDTH', LAND_WIDTH); |
827 ScriptSetInteger('LAND_HEIGHT', LAND_HEIGHT); |
828 ScriptSetInteger('LAND_HEIGHT', LAND_HEIGHT); |
828 |
829 |