Permalink
Switch branches/tags
Nothing to show
Commits on Jan 21, 2018
  1. Merge pull request #11 from tkoeppe/flexi

    TTimo committed Jan 21, 2018
    Use flexible array members
  2. Visual Studio 2017

    TTimo committed Jan 21, 2018
  3. Change winding_t and bspbrush_t to use flexible array members rather …

    tkoeppe committed Jan 21, 2018
    …than size-1 arrays.
    
    The arrays were always meant to be variably sized, and objects are only ever allocated dynamically. Object size computations are simplified with this change.
    
    Flexible arrays were introduced in C99, so this change means that we will require a C99-conforming compiler henceforth.
Commits on Aug 20, 2016
  1. more cleanups

    TTimo committed Aug 20, 2016
Commits on Aug 16, 2016
  1. Finish fixup of MAX_PATH

    TTimo committed Aug 16, 2016
Commits on Aug 13, 2016
  1. Merge pull request #9 from tkoeppe/static

    TTimo committed Aug 13, 2016
    [bspc.c] Change directory variables to have static storage
  2. [bspc.c] Change directory variables to have static storage; they're

    tkoeppe committed Aug 2, 2016
    quite large for automatic storage.
  3. Merge pull request #6 from tkoeppe/comma

    TTimo committed Aug 13, 2016
    [l_bsp_{hl,q1}.c] Fix erroneous use of comma operator
  4. Merge pull request #7 from tkoeppe/deadcode

    TTimo committed Aug 13, 2016
    [bspc.c] Delete dead code and commented code
  5. Merge pull request #8 from tkoeppe/loop_ub

    TTimo committed Aug 13, 2016
    [l_bsp_{q1,q2,sin}.c] Fix undefined behaviour in array access
  6. cleanup MAX_PATH usage

    TTimo committed Aug 13, 2016
  7. Merge pull request #10 from tkoeppe/hash

    TTimo committed Aug 13, 2016
    [l_bsp_hl.c] Reactivate (and fix) FastChecksum function
Commits on Aug 2, 2016
Commits on Aug 1, 2016
Commits on May 7, 2016
  1. Merge pull request #5 from Qfusion/master

    TTimo committed May 7, 2016
    A bunch of x64/WIN64 fixes
Commits on May 2, 2016
  1. A bunch of x64/WIN64 fixes

    viciious committed May 2, 2016
Commits on Apr 23, 2016
  1. Merge pull request #4 from Qfusion/qfbsp

    TTimo committed Apr 23, 2016
    Add FBSP support to bspc and squash a few bugs along the way
Commits on Apr 14, 2016
Commits on Dec 25, 2015
  1. Upgrade to Visual Studio 2015

    TTimo committed Dec 25, 2015
  2. Merge pull request #1 from neogeographica/loadaasfile_fix

    TTimo committed Dec 25, 2015
    make AAS_LoadAASFile work with zero-sized lumps
  3. Merge pull request #2 from neogeographica/custom_cfg_fields

    TTimo committed Dec 25, 2015
    update fields in the example custom config file
  4. Merge pull request #3 from neogeographica/xplat_checksum_fix

    TTimo committed Dec 25, 2015
    fix checksum calculation on non-Windows platforms
Commits on Oct 19, 2013
  1. fix checksum calculation on non-Windows platforms

    neogeographica committed Oct 19, 2013
    With bspc built on OS X or Centos, a generated aas file for a given bsp
    is exactly the same as when generated on Windows, except for the
    checksum.
    
    The reason is that on those platforms, the UINT4 data type defined in
    md4.c is 8 bytes in size rather than 4 bytes.
    
    Changing that type definition from "unsigned long int" to "unsigned int"
    makes the data type 4 bytes in size on all three platforms, resulting in
    correct & identical aas files for all three.
    
    It's not a bulletproof way of specifying a 4-byte int, but as far as I
    know it should be 4 bytes on any current platform that could build & run
    bspc.
Commits on Sep 30, 2013
  1. make AAS_LoadAASFile work with zero-sized lumps

    neogeographica committed Sep 30, 2013
    AAS_LoadAASLump will return 0/NULL in an error case. However it will also
    return the input buffer pointer if length is 0, and the input buffer pointer
    may be 0/NULL in the case where AAS_LoadAASLump is meant to allocate memory.
    
    This means that it can return 0/NULL in a perfectly legal case where the lump
    length is 0. Since AAS_LoadAASFile inteprets this as a fatal error, that's
    bad.
    
    I'm not sure how to best disambiguate this, but a low-touch fix is for the
    caller of AAS_LoadAASLump to be OK with a returned NULL pointer if the lump
    length is 0.
    
    Also: added a missing break statement to avoid a spurious "don't know what to
    do" message when using the aasinfo switch.
  2. update fields in the example custom config file

    neogeographica committed Sep 30, 2013
    The settings in cfgq3.c had diverged from the actual fields and defaults in
    these ways:
    - extra field phys_maxacceleration
    - missing fields phys_walkaccelerate, phys_swimaccelerate, rs_maxfallheight
    - different defaults for phys_airaccelerate, phys_maxstep, phys_maxwaterjump
    
    Also the code in aas_cfg.[ch] for reading the settings was missing
    rs_maxfallheight.
    
    It's brittle to require multiple different files to agree on these fields, but
    rather than fix that issue this is just a band-aid to bring things back into
    alignment so that custom configs based on the example file can be used again.
Commits on Aug 22, 2013
  1. upgrayde

    TTimo committed Aug 22, 2013
Commits on Jun 30, 2013
  1. upgrade to 2012

    TTimo committed Jun 30, 2013
Commits on Oct 7, 2012
Commits on Jul 31, 2012
  1. QuakeLive fix-ups.

    QBall147 authored and bnoordhuis committed Jul 31, 2012