Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 27, 2015
  1. Edoardo Prezioso

    - Fixed build with FMOD 4.40.x-4.42.x.

    edward-san authored
    The 'Prologic' speakermode enumeration is removed since 4.40, not 4.44.
    This makes possible to build it on linux x64, as the latest version of FMOD which has the dedicated linux64 download link is 4.42.
Commits on Feb 7, 2015
  1. Edoardo Prezioso

    Remove redundant code in polydoor swing code.

    edward-san authored
    'Perpetual' check does not make sense for poly doors.
Commits on Jan 26, 2015
  1. Edoardo Prezioso

    - Fixed a very old issue with rotating polydoors.

    edward-san authored
    This happened when the polydoor was open. If a mobj blocked the poly door, such that the door could not move from its open position, the poly door could rotate a little bit more than needed, making the door partially closing when the door managed to close later.
Commits on Jan 24, 2015
  1. Edoardo Prezioso
Commits on Jan 8, 2015
  1. Edoardo Prezioso

    - Added zero tag handling for Pillar actions.

    edward-san authored
    Pillar actions will refer to the back sector if the tag is set to 0.
Commits on Jan 6, 2015
  1. Edoardo Prezioso
Commits on Jan 5, 2015
  1. Edoardo Prezioso

    - Fixed another erroneous FString comparison.

    edward-san authored
    A comparison between an FString object and 'NULL' doesn't check for the emptiness of the examined string.
Commits on Dec 10, 2014
  1. Edoardo Prezioso

    - Various CMake fixes for two problems.

    edward-san authored
    1) Don't show OSX_COCOA_BACKEND option if the host is not OSX;
    2) Don't use the '-msse' compiler flag in dumb/ if the architecture does not support it.
Commits on Nov 25, 2014
  1. Edoardo Prezioso

    - Oops comment typo.

    edward-san authored
  2. Edoardo Prezioso

    - Add new function for the new slope calculations.

    edward-san authored
    Fixed also two MSVC warnings.
  3. Edoardo Prezioso

    - Fix the division by 0, improve comments.

    edward-san authored
    - Avoid doing the division if the result would be outside the ]0,1<<24[ range:
    -- if the numerator is nonpositive, ie <=0, truncate the result to 0,
    -- if the numerator is greater or equal than the denominator, the result will be outside the allowed range, hence truncate the result to 1<<24.
    -- otherwise, the result will be inside the range. Knowing that the denominator is greater than the numerator, if the numerator has the last 24 bits non zero, the denominator can't be less than 1<<24, hence the denominator won't be truncated to 0.
    - Add comment details to help who doesn't know math. Big deal!
Commits on Nov 16, 2014
  1. Edoardo Prezioso

    - Improve the 64 bit incompatibility patch.

    edward-san authored
    - Reorder the operands. First the numerator, then the denominator :) .
    - Add a comment regarding the motivations for this change.
Commits on Nov 14, 2014
  1. Edoardo Prezioso
Commits on Nov 8, 2014
  1. Edoardo Prezioso

    - Port an empty version of 'A_FaceConsolePlayer'.

    edward-san authored
    Hissies will be happy now.
Commits on Nov 7, 2014
  1. Edoardo Prezioso

    Backport 'A_FaceConsolePlayer' from zandronum.

    edward-san authored
    By Dusk, who authorized me to do this.
Commits on Sep 26, 2014
  1. Edoardo Prezioso

    - Fixed a possible uninitialized condition.

    edward-san authored
    In the function R_RebuildViewInterpolation, the pointer 'iview' was not initialized when the player or its camera were NULL, hence 'iview == NULL' was garbage. Also, the function FindPastViewer does not return NULL, hence the mentioned check is not needed at all. Just return early if the player camera does not exist.
Commits on Sep 15, 2014
  1. Edoardo Prezioso

    - Fixed miscompilation with Clang 3.5.0.

    edward-san authored
    The optimizer miscompiles the function FBehavior::LoadScriptsDirectory and causes random crashes when zdoom is run with wads containing scripts.
    As said in the comment, I just hope that the Clang devs fix it for the next patching release, ie 3.5.1.
Commits on Jul 18, 2014
  1. Edoardo Prezioso

    - Remove a duplicate of a custom offsetof macro.

    edward-san authored
    It's already defined in cmdlib.h .
Commits on Jul 17, 2014
  1. Edoardo Prezioso

    - Fixed: wrong FString empty string check.

    edward-san authored
    Even when '+logfile' argument was omitted, the console would print 'Could not start log', because 'logfile != NULL' was used as a check for the presence of '+logfile' argument, but the internal buffer of FString is never NULL, so the right check is 'logfile.isNotEmpty()'.
    While I'm at it, I fixed another bad check for 'pagename'.
Commits on Jul 1, 2014
  1. Edoardo Prezioso

    - Miscellaneous CMakeLists.txt fixes.

    edward-san authored
    - fixed a CMake warning about uninitialized use of the variable CROSS_EXPORTS in the tools subfolder when CMAKE_CROSSCOMPILING is off;
    - fixed a variable typo: CMAKE_CURRENTY_BINARY_DIR instead of CMAKE_CURRENT_BINARY_DIR;
    - in src/CMakeLists.txt, fixed a missing merge of a portion of code from maint branch to master.
Commits on Jun 25, 2014
  1. Edoardo Prezioso

    - Simplify CMake GCC and Clang checking.

    edward-san authored
    Introduce the variable 'ZD_CMAKE_COMPILER_IS_GNUC(XX)_COMPATIBLE' and replace any occurrence of '"${CMAKE_C(XX)_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_C(XX)_COMPILER_ID}" STREQUAL "Clang"' with it. This makes it possible to add more GCC compatible compilers in just one place.
Commits on Jun 23, 2014
  1. Edoardo Prezioso

    - Enable 'language' feature on unix targets.

    edward-san authored
    The sdl version of the function 'SetLanguageIDs' is very limited, comparing to the win32 counterpart, as it will try to accept only the language codes (ie 'enu', 'fr', 'ptb', etc). If a different string is provided, zdoom will default its language to English.
Commits on May 25, 2014
  1. Edoardo Prezioso

    - Shut up GCC aggressive optimizer warnings.

    edward-san authored
    From what I can see, GCC would miscompile the involved loops, because the index variable is 'signed int' and the multiplication with an unsigned would cause signed overflow (undefined behavior). Change the index variable type to 'unsigned int' to expect unsigned overflow (conformant to standard).
Commits on May 24, 2014
  1. Edoardo Prezioso
Commits on Mar 16, 2014
  1. Edoardo Prezioso

    - Fixed new[]/delete mismatch in FNodeBuilder

    edward-san authored
    Found with address sanitizer.
Commits on Mar 1, 2014
  1. Edoardo Prezioso

    - Fixed useless 'array != NULL' check.

    edward-san authored
    - 'notranslate != NULL' is completely useless, because 'notranslate' is an array, hence removed.
    - I interpreted 'SbarInfoScript != NULL' as a typo, since 1)in the next expression inside the condition there's a dereference to 'SBarInfoScript[SCRIPT_CUSTOM]' and 2)'SBarInfoScript[SCRIPT_CUSTOM]' is checked against 'NULL', in line 352, and then dereferenced when introducing 'cstype'.
Commits on Jan 18, 2014
  1. Edoardo Prezioso
Commits on Jan 17, 2014
  1. Edoardo Prezioso
  2. Edoardo Prezioso
  3. Edoardo Prezioso

    - Remove clang check from GCC-related workaround

    edward-san authored
    It caused a clang warning/error regarding the non-existing flags '-fno-tree-dominator-opts' and '-fno-tree-fre'.
  4. Edoardo Prezioso

    - Fixed scanf in IWAD picker without GTK

    edward-san authored
    If you try to kill the program with Ctrl-C, it would run the first IWAD available in the list instead of closing it.
Commits on Jan 13, 2014
  1. Edoardo Prezioso

    Fixed signed overflow issue, which caused a non-intended aggressive o…

    edward-san authored
    …ptimization by GCC 4.8. Also, negative values of the 'limit' parameter in both ACS UniqueTID() and in 'utid' CCMD are ignored and replaced by 0.
Commits on Aug 25, 2013
  1. Edoardo Prezioso

    Shut up warnings from the customized DUMB code.

    edward-san authored Randy Heit committed
  2. Edoardo Prezioso

    - Merge DUMB commit d31fb2084659b64d07eb0644d9bacfd67059d066 to zdoom.

    edward-san authored Randy Heit committed
        Fixed C++11 compilation error on Mac OS X
Commits on Jul 31, 2013
  1. Edoardo Prezioso
Something went wrong with that request. Please try again.