Skip to content
Snippets Groups Projects
  1. Mar 10, 2016
  2. Mar 09, 2016
  3. Mar 07, 2016
  4. Mar 04, 2016
    • wolfs's avatar
      Merge branch 'lua-sector-lines' into 'next' · e769b788
      wolfs authored
      Lua sector lines
      
      Adds support for "sector.lines" in Lua, an array containing all the linedefs in a particular sector variable:
      
      #sector.lines returns the number of lines in the sector.
      
      sector.lines\[ _i_ \] (e.g. sector.lines[0], sector.lines[1], sector.lines[2], etc ....) gives you individual linedefs in the sector. If the number you supply is equal to or greater than #sector.lines, this returns nil.
      
      Test script for your benefit: (see comments)
      
      Type "luatest" in console in any level and you'll get a few print messages that tests these features for sectors[0]
      
      See merge request !32
      e769b788
    • wolfs's avatar
      Merge branch 'new-SOC-lump-names' into 'next' · 7eaf3cf2
      wolfs authored
      SOC_**** lump name support
      
      Exactly what it says on the tin: lumps with "SOC_" prefix now are read as SOC lumps like with MAINCFG/OBJCTCFG. Go nuts.
      
      As a bonus, I've changed things with SOC lump detection so MAINCFG, OBJCTCFG and the new SOC_**** lumps are loaded in the order you find them in WAD files (rather than an arbitrary load-MAINCFG-then-load-OBJCTCFG thing as before). All of these are still loaded after Lua scripts though, mind.
      
      See merge request !38
      7eaf3cf2
    • wolfs's avatar
      Merge branch 'Lua-video-lib-expansion' into 'next' · 891c7843
      wolfs authored
      Lua video lib expansion
      
      New video/drawer library functions for hud.add to use:
      
      v.width() and v.height() return the screen width and height respectively (in other words you get the screen resolution), while v.renderer() returns the string for the renderer used ("software", "opengl", or "none").
      
      Possibly add more stuff later, but for now these things at the least can be merged in next
      
      See merge request !40
      891c7843
    • Monster Iestyn's avatar
      Merge branch 'playerspawn-hook' into 'next' · 4302cfaa
      Monster Iestyn authored
      Add PlayerSpawn hook to Lua
      
      I don't know how I did this but I did. Something about staring at code from 3AM till 5AM...
      
      Here's a test script too:
      
      ```Lua
      addHook("PlayerSpawn", function(player) player.health = 99 end)
      
      ```
      
      See merge request !48
      4302cfaa
    • Inuyasha's avatar
      Merge branch 'version-constants' into 'next' · e6f7b8ab
      Inuyasha authored
      Version constants for Lua
      
      Pretty simple thing. Allows scripters to use VERSION, SUBVERSION, and VERSIONSTRING to check the game's version and potentially futureproof scripts. Have tested and confirmed working on my end.
      
      See merge request !55
      e6f7b8ab
    • Inuyasha's avatar
      Merge branch 'backport_unslot-music' into 'next' · a8bca89d
      Inuyasha authored
      BACKPORT: removal of music slots
      
      Relevant commits cherry-picked. Basically everything except the internal music track name switches.
      
      See merge request !43
      a8bca89d
  5. Mar 03, 2016
  6. Mar 01, 2016
  7. Feb 29, 2016
  8. Feb 27, 2016
    • wolfs's avatar
      Update names in credits · c3166e40
      wolfs authored
      Same as the commit in internal, minus toaster's name (by request, of course.)
      c3166e40
  9. Feb 26, 2016
Loading