Skip to content
Snippets Groups Projects
  1. Jan 26, 2016
    • Inuyasha's avatar
      fix bad lstring usage in map header lua · f559b509
      Inuyasha authored and colette's avatar colette committed
      This is not how you use pushlstring! This is actually sending uninitialized memory to Lua, which is making scripts have inconsistent results (duh?)
      
      c/o JTE: "Tell Red they're a doofus."
      f559b509
    • Monster Iestyn's avatar
      Use modulo, not bitwise AND. My fault once again, whoops. · f2f8906a
      Monster Iestyn authored and colette's avatar colette committed
      The point here is ColorOpposite(MAXSKINCOLORS) would have given an actual result of its own since MAXSKINCOLORS & MAXSKINCOLORS is still MAXSKINCOLORS. This shouldn't happen though, as both Color_Opposite[MAXSKINCOLORS*2] and Color_Opposite[MAXSKINCOLOR*2+1] aren't defined.
      f2f8906a
    • Inuyasha's avatar
      objectplace stability fix · 0f2a0927
      Inuyasha authored and colette's avatar colette committed
      Objectplace reallocates the mapthings list to add one more mapthing. By itself there's no problem with this.
      But, mobj->spawnpoint is a pointer to the mapthing's location in the mapthings list.
      So by reallocating the mapthings list, all references to mobj->spawnpoints point to freed memory.
      
      ... Oops.
      
      Now when objectplace reallocates the mapthings list it actually corrects the locations of all mobj's spawnpoints to point to the new list.
      
      Hooray, you can use NiGHTS objectplace again if you really want to.
      0f2a0927
  2. Jan 24, 2016
  3. Jan 23, 2016
  4. Jan 22, 2016
  5. Jan 21, 2016
  6. Jan 20, 2016
  7. Jan 17, 2016
    • wolfs's avatar
      Block the use of ../ and ..\\ · c9fe83b9
      wolfs authored
      ...and remove io.popen(), cause that shit is DANGEROUS.
      c9fe83b9
    • wolfs's avatar
      Reimplement I/O library · eb7c36d7
      wolfs authored
      Note: I/O library is fully functioning in this state, but lacks security restrictions. We'll get to those later ;)
      eb7c36d7
  8. Jan 16, 2016
  9. Jan 14, 2016
  10. Jan 12, 2016
    • Monster Iestyn's avatar
      Fixed implicit declaration of some functions if compiling without OpenGL support · 22cf800f
      Monster Iestyn authored
      Not related to Wolfy's problems afaik... this branch seems to be turning into a misc compiling fixes branch now
      22cf800f
    • Monster Iestyn's avatar
      Removed void typedef for GLPatch_t used when HWRENDER is undefined · de576c56
      Monster Iestyn authored
      Apparently all parts of the source code that require GLPatch_t are themselves used only if HWRENDER is defined. Do I need to say more?
      
      Not sure if this will fix Wolfy's latest problem or not though
      de576c56
    • Monster Iestyn's avatar
      Fixed what appears to be a minor including error in sdl/i_system.c · 997ae7dc
      Monster Iestyn authored
      Basically, Wolfy's linux (non-CMake) compiling apparently fails here, and config.in.h actually lives outside of the sdl folder. Blame a particular someone for blindly copy+pasting these includes in this file without considering the consequences when adding support for CMake everywhere.
      997ae7dc
    • Monster Iestyn's avatar
      Merge branch 'some-small-compiling-fix' into 'master' · 554c6289
      Monster Iestyn authored
      Some small compiling fix
      
      ~~See commit description for details, I'm not repeating it all here with different words.~~
      
      ~~Needs testing before we actually merge the changes in, I don't have anything besides Windows so I can't actually try this fix out for myself sadly. :(~~
      
      This was originally a quick branch I made to fix a problem so that @wolfy852  could compile with Linux on some thing of his ...turned out not to be the only problem, and then I found a slightly unrelated problem altogether. So it's now a small assortment of compiling-related fixes.
      
      Also should be merged to next, which is hopefully obvious.
      
      See merge request !29
      554c6289
  11. Jan 11, 2016
Loading