Go to file
Kp 655d0e6714 Remove unused loadgl typedefs
Per request from Mako88, remove unused loadgl typedefs.  loadgl.h
was imported from elsewhere and defines typedefs for many functions
that Descent does not use.  Some of these are guarded by WINVER
conditionals and, in Mako88's unspecified environment, defining WINVER
to expose these results in a build failure because the guarded typedef
requires a type that is not defined by the environment.

Compensate for that by removing all unused gl typedefs.

    # Save the results to a file, then run the file separately.  This
    # avoids any chance that sed might try to edit the file while later
    # searches are still running.
    git grep 'typedef .*OGLFUNCCALL \*' common/include/loadgl.h | sed -e 's/^.*OGLFUNCCALL \*//' -e 's/).*$//' | while read f; do
        if ! git grep -q 'DEFVAR\s'"$f"'\>' -- common/include/loadgl.h; then
            echo "/\\<$f\\>/d"
        fi
    done > unused.sed
    sed -i common/include/loadgl.h -f unused.sed
2016-08-22 00:31:15 +00:00
common Remove unused loadgl typedefs 2016-08-22 00:31:15 +00:00
contrib Update Xcode project file listing (for editing purposes) 2016-03-06 13:05:37 +08:00
d1x-rebirth Switch ab_load to use inttypes format macros 2016-08-19 03:41:41 +00:00
d2x-rebirth Add helper macro to handle printf .* conversion for 32/64 2016-08-19 03:41:41 +00:00
Documentation Update documentation and test to exclude <gcc-4.9 2016-08-14 23:47:26 +00:00
similar Include inttypes.h in playsave.cpp 2016-08-20 22:28:43 +00:00
.gitignore ignore XCode user data 2014-12-06 22:43:12 -08:00
COPYING.txt
GPL-3.txt
INSTALL.markdown Add basic instructions on building Rebirth 2015-09-26 21:17:14 +00:00
SConstruct Fix wording of linker diagnostic report 2016-08-22 00:31:15 +00:00