dxx-rebirth/common/include
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
..
editor Remove unused CENTER_STRING_LENGTH 2016-07-09 17:58:35 +00:00
3d.h Mark global constants as constexpr 2016-07-23 04:10:42 +00:00
args.h Fix inverted sense of -use_players_dir 2016-07-22 02:25:17 +00:00
byteutil.h Mark global constants as constexpr 2016-07-23 04:10:42 +00:00
compiler-addressof.h
compiler-array.h Remove support for array other than std::array 2016-07-31 22:25:49 +00:00
compiler-begin.h
compiler-exchange.h
compiler-integer_sequence.h
compiler-lengthof.h
compiler-make_unique.h
compiler-range_for.h Require C++11 range-based for 2016-08-08 00:07:19 +00:00
compiler-static_assert.h Make assert_equal inherit integral_constant 2016-07-15 03:43:01 +00:00
compiler-type_traits.h Move <type_traits> test to Cxx11RequiredFeature 2016-08-08 00:07:20 +00:00
console.h Convert various static const expressions to constexpr 2016-07-16 16:52:04 +00:00
countarray.h
digi_audio.h Move some digi symbols to dcx 2016-07-15 03:43:02 +00:00
digi_mixer.h Move some digi symbols to dcx 2016-07-15 03:43:02 +00:00
digi_mixer_music.h
dsx-ns.h Move namespace dsx handling to dsx-ns.h 2016-03-19 19:08:10 +00:00
dxxerror.h Include file+line in UserError output 2016-04-03 17:50:42 +00:00
event.h
fmtcheck.h Rename fmtcheck macros to follow standard conventions 2016-07-15 03:43:03 +00:00
func.h
fwd-event.h
fwd-gr.h Pass bm_mode to gr_init_bitmap 2016-05-28 17:31:27 +00:00
fwd-partial_range.h
fwd-valptridx.h Add file/line to valptridx output when available 2016-04-06 03:34:13 +00:00
fwd-vecmat.h Move namespace dsx handling to dsx-ns.h 2016-03-19 19:08:10 +00:00
fwd-window.h
gr.h Make cv_fade_level unsigned 2016-05-28 17:31:26 +00:00
grdef.h Remove unnecessary gr_setcolor calls 2016-02-12 04:02:28 +00:00
hash.h
hmp.h
iff.h Convert various static const expressions to constexpr 2016-07-16 16:52:04 +00:00
ignorecase.h
internal.h Move OGL_VIEWPORT assignments above glViewport 2016-05-28 17:31:26 +00:00
interp.h Mark global constants as constexpr 2016-07-23 04:10:42 +00:00
joy.h Move namespace dsx handling to dsx-ns.h 2016-03-19 19:08:10 +00:00
jukebox.h
key.h Move namespace dsx handling to dsx-ns.h 2016-03-19 19:08:10 +00:00
loadgl.h Remove unused loadgl typedefs 2016-08-22 00:31:15 +00:00
makesig.h Rewrite parenthesized uses of old-style numeric casts to static_cast 2016-07-31 22:25:49 +00:00
maths.h Remove useless cast in f2db 2016-07-15 03:43:02 +00:00
messagebox.h
mouse.h
ntstring.h
null_sentinel_iterator.h
ogl_extensions.h
ogl_init.h Pass canvas to ogl_upixelc 2016-05-28 17:31:26 +00:00
ogl_sync.h
pack.h Remove unused inherit_void_ptr_handler 2016-07-15 03:43:01 +00:00
palette.h Move namespace dsx handling to dsx-ns.h 2016-03-19 19:08:10 +00:00
partial_range.h
pcx.h Propagate bm_mode::linear into bald_guy_load 2016-05-28 17:31:26 +00:00
physfs-serial.h
physfs_list.h Include fwd-partial_range.h in physfs_list.h 2016-08-06 19:55:23 +00:00
physfsx.h Remove char[N] overload for PHYSFSX_getRealPath 2016-08-06 19:55:25 +00:00
poison.h
pstypes.h
rbaudio.h
reverse.h
rle.h Move namespace dsx handling to dsx-ns.h 2016-03-19 19:08:10 +00:00
serial.h Flatten some serial type hierarchy 2016-08-06 19:55:24 +00:00
strutil.h Move namespace dsx handling to dsx-ns.h 2016-03-19 19:08:10 +00:00
texmap.h Mark global constants as constexpr 2016-07-23 04:10:42 +00:00
timer.h
u_mem.h Move namespace dsx handling to dsx-ns.h 2016-03-19 19:08:10 +00:00
ui.h Prefer make_unique over raw new 2016-08-06 19:55:24 +00:00
valptridx.h Remove obsolete arguments from DEFINE_VALPTRIDX_SUBTYPE 2016-04-06 03:34:13 +00:00
varutil.h
vecmat.h
window.h Convert various static const expressions to constexpr 2016-07-16 16:52:04 +00:00