Änderungen

Summary

  1. Lua mode fixes (#1087) (commit: 6859ece) (details)
Commit 6859eceed2492617897334250251326c3890ee41 by noreply
Lua mode fixes (#1087)

- Lua config is now applied to w3i even if no buildMapData is present
- Player config gets correctly injected into the script in lua mode
- Use // floor division operator for translating integer division
- Use math.tointeger to ensure correct representation of integers, aligning them with Jass
- Standard library has been adjusted to not rely on integer underflow wrapping
(commit: 6859ece)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstio/languageserver/requests/RunMap.java (diff)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/translation/lua/translation/ExprTranslation.java (diff)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstio/languageserver/requests/MapRequest.java (diff)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstio/languageserver/ProjectConfigBuilder.java (diff)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/translation/lua/translation/LuaTranslator.java (diff)
The file was modifiedde.peeeq.wurstscript/parserspec/lua.parseq (diff)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/translation/lua/printing/LuaPrinter.java (diff)