Permalink
Commits on Jan 22, 2017
  1. Fixed warning reported by GCC/Clang when optimization is enabled

    src/scripting/codegeneration/codegen.cpp:4097:12: warning: variable 'cast' is used uninitialized whenever 'if' condition is false
    alexey-lysiuk committed Jan 22, 2017
  2. Fixed returning of value from TakeInventory() function

    Issuing take CCMD no longer causes assertion failure at src/scripting/vm/vmexec.h:662
    assert(numret == C && "Number of parameters returned differs from what was expected by the caller")
    alexey-lysiuk committed Jan 22, 2017
  3. Fixed missing xBRZ menu options on platforms without MMX support

    xBRZ texture resize modes are no longer removed from menu for targets with HAVE_MMX undefined
    alexey-lysiuk committed Jan 22, 2017
  4. - restored a line of code that got lost when fixing the parameter che…

    …cks in CallStateChain.
    committed Jan 22, 2017
Commits on Jan 21, 2017
  1. - removed the bogus SetPointer method from PClassPointer.

    This was blocking proper bookkeeping of class pointer variables, in particular it rendered PointerSubstitution ineffective.
    committed Jan 21, 2017
  2. - fixed: FResourceFile::OpenResourceFile did not close the opened fil…

    …e in case it contained invalid data.
    committed Jan 21, 2017
  3. Fixed compiler warning reported by GGC/Clang

    No more 'warning: comparison of integers of different signs: int and unsigned long'
    alexey-lysiuk committed Jan 21, 2017
  4. - don't let P_DamageMobj return negative values.

    This serves no purpose, there's not a single place in the code which checks for it, but if that negative values goes unchecked to functions that expect an actually meaningful value for damage inflicted, some bad results can happen. If no damage is inflicted, a proper 0 needs to be returned so that the value can actually be worked with. The return value was a ZDoom invention, it is completely unclear why -1 was chosen if some kind of protection rendered the damage ineffective.
    committed Jan 21, 2017
  5. - fixed: Without letting CMake find OpenGL, under Windows the library…

    … must be added manually to the project or linker errors will happen.
    committed Jan 21, 2017
  6. - fix uninitialized variable.

    committed Jan 21, 2017
  7. Apparently 'name = something' gets parsed as a Type. Fixed CustomSpri…

    …te actor again.
    ZZYZX committed with Jan 21, 2017
  8. Fixed CustomSprite actor

    ZZYZX committed with Jan 21, 2017
  9. Implemented static methods in String struct. Implemented String.Forma…

    …t and String.AppendFormat. Implemented native vararg methods for the future.
    ZZYZX committed with Jan 21, 2017
  10. - Make OpenGL library link fully dynamic on Unix.

    Also, remove all the OpenGL CMake checks, because they're not needed anymore.
    edward-san committed with Blzut3 Jan 11, 2017
Commits on Jan 20, 2017
  1. - moved the draw functions which are exclusively used by the Strife s…

    …tatus bar into strife_sbar.cpp to get them out of the way. They are not expected to survive anyway.
    committed Jan 20, 2017
  2. - fix spelling error.

    committed Jan 20, 2017
  3. - fixed: The script wrapper for AActor::TakeInventory erroneously cal…

    …led RemoveInventory, not TakeInventory.
    committed Jan 20, 2017
  4. - fixed: With some functions moved to Weapon, Dehacked needs to check…

    … Weapon, not StateProvider to find its code pointers.
    committed Jan 20, 2017
  5. - fixed: The BurningBarrel has been replaced with something blue in F…

    …reedoom so adjust the light for that.
    committed Jan 20, 2017
  6. - let A_SpawnProjectile, A_FireProjectile, A_SpawnItem(Ex) and A_Thro…

    …wGrenade return the spawned actors to the calling code.
    
    - fixed the return type checks in CallStateChain. These made some bogus assumptions about what return prototypes to support and would have skipped any multi-return function whose first argument was actually usable.
    committed Jan 20, 2017