mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
bcd0d80bb5
git-svn-id: https://svn.eduke32.com/eduke32@2034 1a8010ca-5511-0410-912e-c29ae57300e0
21 lines
462 B
Text
21 lines
462 B
Text
-- test script for ELua/Lunatic Interpreter
|
|
|
|
print('--- ELua Test script ---')
|
|
|
|
local i
|
|
|
|
print('tweaking sector pals')
|
|
for i = 0, gv.numsectors/2 do
|
|
sector[i].floorpal = 1;
|
|
sector[i].ceilingpal = 2;
|
|
end
|
|
|
|
print(gv.numsectors)
|
|
print(gv.numwalls)
|
|
|
|
print('--- end test script ---')
|
|
|
|
--sector[-1].ceilingpal = 4; -- this must FAIL!
|
|
--sector[0].wallnum = 0; -- as must this
|
|
--gv.numsectors = 4 -- and this
|
|
--sector[4] = sector[6] -- this is forbidden, too
|