Commit graph

6417 commits

Author SHA1 Message Date
hendricks266
26e740c0b7 Eliminate many cases of duplication of compat.h's functionality.
git-svn-id: https://svn.eduke32.com/eduke32@6067 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-19 22:15:56 +00:00
hendricks266
225be10f61 Define NOMINMAX in windows_inc.h.
git-svn-id: https://svn.eduke32.com/eduke32@6066 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-19 22:15:50 +00:00
hendricks266
d4ee6d00c8 Route inclusion of all Windows headers through a new header, windows_inc.h.
This allows us to make certain guarantees about limits on the extent of namespace pollution these headers introduce.

git-svn-id: https://svn.eduke32.com/eduke32@6065 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-19 22:15:44 +00:00
hendricks266
79279780a5 More of the previous commit, because VS can be frustrating.
git-svn-id: https://svn.eduke32.com/eduke32@6064 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-19 22:15:32 +00:00
hendricks266
1aaf246527 Limit what startwin.game.cpp needs to include.
git-svn-id: https://svn.eduke32.com/eduke32@6063 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-19 22:15:29 +00:00
hendricks266
3faa84f6d4 Remove dead code for selecting sound settings from the Windows startup window.
git-svn-id: https://svn.eduke32.com/eduke32@6062 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-19 22:15:23 +00:00
hendricks266
d43fb548cf Abolish all " ={ " when assigning a struct. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6061 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-05 20:58:33 +00:00
terminx
5d77a4ac06 Fix compiler specified for synthesis. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6060 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-03 23:03:06 +00:00
hendricks266
3811f7f0e6 Try fixing synthesis.sh.
git-svn-id: https://svn.eduke32.com/eduke32@6059 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-03 22:18:45 +00:00
hendricks266
12ef7e9f8d Some tweaks to the cleanup.
git-svn-id: https://svn.eduke32.com/eduke32@6058 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-03 21:59:45 +00:00
hendricks266
57aeeaceec I hoped ./ prefixes would work in a ignore on Windows.
git-svn-id: https://svn.eduke32.com/eduke32@6057 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-01 10:34:01 +00:00
hendricks266
417b047cf3 Bring the previous commit into effect.
git-svn-id: https://svn.eduke32.com/eduke32@6056 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-01 10:20:54 +00:00
hendricks266
1cc9d13ccf The great repository rearrangement of 2017.
Files moved but not modified. Changes to follow in a subsequent commit.

You down with CPP?

git-svn-id: https://svn.eduke32.com/eduke32@6055 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-01 10:01:11 +00:00
hendricks266
05985da5a3 Delete more empty folders. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6054 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-24 02:53:05 +00:00
hendricks266
30af5d2247 Remove empty folders. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6053 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 22:56:46 +00:00
hendricks266
7694c641e9 Makefile: Delete the default suffixes, to possible help avoid internal Make race conditions.
git-svn-id: https://svn.eduke32.com/eduke32@6052 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:24:21 +00:00
hendricks266
05a3b230aa Makefile: Only pass APPNAME and APPBASENAME to the preprocessor if a value for them was passed in.
Keeping compiler invocation clutter to a minimum is good.

git-svn-id: https://svn.eduke32.com/eduke32@6051 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:21:42 +00:00
hendricks266
382404f813 SW: Fix audiolib bindings, again.
git-svn-id: https://svn.eduke32.com/eduke32@6050 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:21:40 +00:00
hendricks266
4faab2beb8 SW: Fix some vec2_t stuff I missed.
git-svn-id: https://svn.eduke32.com/eduke32@6049 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:21:36 +00:00
hendricks266
3adfd6a4bd SW: "new" --> "New"
git-svn-id: https://svn.eduke32.com/eduke32@6048 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:21:32 +00:00
hendricks266
4fe09ad530 Restore tmulscale* to pragmas.h. SW needs it.
git-svn-id: https://svn.eduke32.com/eduke32@6047 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:21:26 +00:00
hendricks266
c166424a86 Restructure pragmas*.h to eliminate duplicates of the generalized C code in the architecture-specific files.
git-svn-id: https://svn.eduke32.com/eduke32@6046 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:21:22 +00:00
hendricks266
13024a8d79 Normalize the general versions of the pragmas in pragmas.h with any improvements found in duplicates spread throughout the architecture specific files.
Note: One change made here is the elimination of unnecessary verbose upcasts.

git-svn-id: https://svn.eduke32.com/eduke32@6045 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:21:18 +00:00
hendricks266
91e6c10a59 SW: Fix allocache parameters.
git-svn-id: https://svn.eduke32.com/eduke32@6044 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:21:15 +00:00
hendricks266
a6dbb7987c SW: Replace some stuff we removed from MACT.
git-svn-id: https://svn.eduke32.com/eduke32@6043 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:21:11 +00:00
hendricks266
64ba5ed84d SW: Fix C uspritetype errors.
git-svn-id: https://svn.eduke32.com/eduke32@6042 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:21:08 +00:00
hendricks266
0f19c98264 SW: Fix signedness of buffers related to makepalookup.
git-svn-id: https://svn.eduke32.com/eduke32@6041 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:21:04 +00:00
hendricks266
5f703e91b7 SW: Fix typos in r5551.
git-svn-id: https://svn.eduke32.com/eduke32@6040 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:21:01 +00:00
hendricks266
0b692792a0 Build tools: Add map2stl by Ken Silverman.
git-svn-id: https://svn.eduke32.com/eduke32@6039 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:57 +00:00
hendricks266
6b6167c148 Build tools: Fix warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
git-svn-id: https://svn.eduke32.com/eduke32@6038 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:54 +00:00
hendricks266
05b311b72a Build tools: Fix warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual]
git-svn-id: https://svn.eduke32.com/eduke32@6037 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:49 +00:00
hendricks266
5038fb3bc1 Build tools: Fix build of generateicon.
git-svn-id: https://svn.eduke32.com/eduke32@6036 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:46 +00:00
hendricks266
43c1363181 weapons.con.sample: Use full precision when applying weapon scaling.
git-svn-id: https://svn.eduke32.com/eduke32@6035 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:42 +00:00
hendricks266
df13c2f8cb weapons.con.sample: Add internal temp variables for rotatesprite parameters that the subroutines need to modify. This fixes weapon scaling.
git-svn-id: https://svn.eduke32.com/eduke32@6034 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:39 +00:00
hendricks266
1157557426 weapons.con.sample: Rename hud_G_Draw_temp* to hud_int_temp*.
git-svn-id: https://svn.eduke32.com/eduke32@6033 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:36 +00:00
hendricks266
71b27a82bc weapons.con.sample: Only setvar RETURN -1 for values of drawweapon that we actually handle. (Currently all of them, but this is more future-proof.)
git-svn-id: https://svn.eduke32.com/eduke32@6032 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:33 +00:00
hendricks266
bbd0f09f90 weapons.con.sample: No need to andvar before getting a sine value. The source does that for us.
git-svn-id: https://svn.eduke32.com/eduke32@6031 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:30 +00:00
hendricks266
cddba00a96 weapons.con.sample: Fix operation on wrong variable in tripbomb code.
git-svn-id: https://svn.eduke32.com/eduke32@6030 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:27 +00:00
hendricks266
cf07e079e8 weapons.con.sample: Fix some indentation issues.
git-svn-id: https://svn.eduke32.com/eduke32@6029 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:23 +00:00
hendricks266
507aff0ec0 G_DrawTileScaled: Shift the draw offsets left by 16 before applying weapon scaling
git-svn-id: https://svn.eduke32.com/eduke32@6028 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:20 +00:00
hendricks266
906d060c23 SDL2: Fix handling of the numpad keys.
git-svn-id: https://svn.eduke32.com/eduke32@6027 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:17 +00:00
hendricks266
b82ea38a92 Add xmp.c to Android.mk.
git-svn-id: https://svn.eduke32.com/eduke32@6026 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:14 +00:00
hendricks266
0ccc1e9a34 Fix disabling the Polymer checkbox in the Win32 startup window when POLYMER=0.
git-svn-id: https://svn.eduke32.com/eduke32@6025 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:12 +00:00
hendricks266
083fb3cac3 Makefile: Use the override keyword when implicitly disabling Polymer and libvpx when USE_OPENGL=0.
git-svn-id: https://svn.eduke32.com/eduke32@6024 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:08 +00:00
hendricks266
777d764702 Don't define getangle as __fastcall under Lunatic in order to avoid "Warning: resolving _getangle by linking to @getangle@8".
git-svn-id: https://svn.eduke32.com/eduke32@6023 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-23 11:20:03 +00:00
terminx
13c8ef2e93 Fix issue where vertical mouse aiming couldn't be enabled in the menu if in_aimmode was set to 1.
git-svn-id: https://svn.eduke32.com/eduke32@6022 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-18 22:23:36 +00:00
terminx
e8e34de6ef Rename ud.tickrate to ud.showfps internally. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6021 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-18 22:23:20 +00:00
terminx
ff0efd8f34 Gut most of MACT keyboard.c in favor of stuff in its header (keyboard.h)
git-svn-id: https://svn.eduke32.com/eduke32@6020 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-18 22:23:03 +00:00
terminx
ce7d4cb9b3 Inconsequential cleanup. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6019 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-18 22:22:50 +00:00
terminx
2917efad7c Remove MACT mouse.c. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6018 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-18 22:22:35 +00:00