Tag: #luajit (6) Clear filter ×

1 story

x86-64 beta catches up: ALT+F4, DrawPoly errors, SetPos touch events and more

Commit bb0975 on the x86-64 beta brings over the main changes from 5–12 October: the surface.DrawPoly error on fewer than 3 vertices, the mcore rope fix, ALT+F4 closing the game, the getmetatable() LuaJIT fix, the map compiler updates, Entity:SetPos running trigger touch events, menu state library removal, the HQ Eli face and the other fixes listed in commits 185851, efb205, 7be067, 71ca28, c18cba and 693484.

1 story

nighty on LuaJIT versions, a lua_shared fork and Jolt physics

In #developer-talk, nighty said the main branch uses LuaJIT 2.0.4 and the x86-64 beta uses LuaJIT 2.1 beta 3. Zaurzo added that 64-bit main uses the same LuaJIT as x86-64. nighty described his lua_shared fork: it targets a custom language but should run existing GMod Lua exactly like stock, and isn't public yet. Its threading is worker-based, with message passing between separate Lua states. He also showed Jolt physics experiments.

2 stories

1 story

1 story

ALT+F4 now closes the game; map compile tools get TF2 limits and T-junction softcap

Commit efb205 on main enables ALT+F4 to close the game, makes Entity:Get/SetNetworkAngles exist serverside, applies the requested getmetatable() LuaJIT fix and brings several map compiler limits and fixes over from TF2.

Details
  • Enable ALT+F4 closing the game
  • Get/SetNetworkAngles exist serverside for consistency, and check for reasonable values
  • Apply "that getmetatable() LuaJIT fix someone wanted"
  • Handle context menu errors when the "originator" panel is removed
  • Fixed engine.LightStyle only updating static props once (community contribution)
  • Removed non-functional map compile tool parameters (-novconfig, -vproject, -x360/-nox360, -xbox, VBSP -virtualdispphysics); -tmpout moved from VVIS to VBSP; some undocumented VBSP params documented
  • Added -noTJuncsDetail to VBSP from TF2
  • Applied the T-junction limit softcap (community contribution) so the compiler no longer just stops
  • MAX_MAP_TEXINFO bumped to the new TF2 limit (16k → 32k)
  • Removed redundant VRAD code, fixed VRAD potentially adding new planes; VBSP detail sprite limit raised (2 million → 2 billion)
  • r_DrawBeams 2 now affects sprite trails (wireframe)