Commit graph

6037 commits

Author SHA1 Message Date
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
terminx
150aeccf28 Rename a couple of things in the VS project. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6017 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-18 22:22:20 +00:00
terminx
396a04fe15 This seems to fix a Polymost rendering error in which certain polygons touching the sides of the screen would fail to render from some angles. YMMV.
git-svn-id: https://svn.eduke32.com/eduke32@6016 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-18 22:22:10 +00:00
terminx
7dcd59b35b Remove some unused definitions. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6015 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-18 22:22:00 +00:00
terminx
652b467389 Remove red/blue 3d mode from Polymost. This hadn't been enabled in a long time and I'm not sure if it even worked anymore. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6014 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-18 22:21:51 +00:00
terminx
28d6086bb0 Split DROIDMENU #define into EDUKE32_SIMPLE_MENU and EDUKE32_ANDROID_MENU. EDUKE32_ANDROID_MENU depends on EDUKE32_SIMPLE_MENU being set, and EDUKE32_SIMPLE_MENU does what you would expect: simplifies the menu options available by removing things not typically found in shipping games. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6013 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-18 22:21:40 +00:00
terminx
d281d34801 Fix problem with standalone builds not finding their data when the startup window is disabled. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6012 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-18 22:21:31 +00:00
terminx
129539a49d Fix MSVC build problem. This needs to be looked at further. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6011 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-18 22:21:23 +00:00
terminx
bc13f9dd39 Add APPBASENAME to Makefile.common, controlling the resulting binary's default .cfg file name and .log file name. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6010 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-18 22:21:16 +00:00
terminx
0c5d9f8cbe Initial work on standalone (non-Duke3D) binary support.
git-svn-id: https://svn.eduke32.com/eduke32@6009 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-18 22:21:08 +00:00
terminx
00e39e3ffe Support compiling with a custom application name with make APPNAME="something". DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6008 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-18 22:20:58 +00:00
hendricks266
8e7939fdc2 Bump LuaJIT to git HEAD >= 2.0.4. BUILD_LUNATIC.
git-svn-id: https://svn.eduke32.com/eduke32@6007 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:30:34 +00:00
hendricks266
030bc75786 Windows: Update libvpx to 1.6.0.
git-svn-id: https://svn.eduke32.com/eduke32@6006 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:30:27 +00:00
hendricks266
cbf188e02e We have not needed to disable the stack protector when building Windows libs for a while.
git-svn-id: https://svn.eduke32.com/eduke32@6005 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:30:20 +00:00
hendricks266
dd0597c500 Replace wiibuild.bat with wiibuild.sh.
git-svn-id: https://svn.eduke32.com/eduke32@6004 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:30:17 +00:00
hendricks266
5f54576961 Uncomment copytilepiece(). KenBuild uses it.
git-svn-id: https://svn.eduke32.com/eduke32@6003 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:30:14 +00:00
hendricks266
c23a9be920 KenBuild: clipinsidebox takes a vec2_t now
git-svn-id: https://svn.eduke32.com/eduke32@6002 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:30:11 +00:00
hendricks266
a001d67512 KenBuild: tspritetype --> uspritetype
git-svn-id: https://svn.eduke32.com/eduke32@6001 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:30:07 +00:00
hendricks266
534c98a7b0 Lunatic: Remove guard against building in C++ mode. We now support both!
git-svn-id: https://svn.eduke32.com/eduke32@6000 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:30:04 +00:00
hendricks266
93edc7a241 Fix the interaction between the definitions of the NEW_MAP_FORMAT structs and the structure trackers.
git-svn-id: https://svn.eduke32.com/eduke32@5999 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:30:00 +00:00
hendricks266
d67b3edd06 buildtypes.h: Replace the *TYPE macros with a StructName concatenation function.
git-svn-id: https://svn.eduke32.com/eduke32@5998 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:29:57 +00:00
hendricks266
b7ee7d404c Add extern "C" to screentext.h so that Lunatic can see its symbols when building as C++.
git-svn-id: https://svn.eduke32.com/eduke32@5997 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:29:54 +00:00
hendricks266
d5ab48ab6b Lunatic: Fix build, part 13. Disable inaccurate assertion.
git-svn-id: https://svn.eduke32.com/eduke32@5996 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:29:51 +00:00
hendricks266
dc10cd210b Lunatic: Fix build, part 12. playerswhenstarted --> g_mostConcurrentPlayers
git-svn-id: https://svn.eduke32.com/eduke32@5995 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:29:47 +00:00
hendricks266
21ac609dd9 Lunatic: Fix build, part 11. g_spriteDeleteQueueSize --> g_deleteQueueSize
git-svn-id: https://svn.eduke32.com/eduke32@5994 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:29:44 +00:00
hendricks266
d267ae71de Lunatic: Fix build, part 10. g_currentFrameRate --> g_frameRate
git-svn-id: https://svn.eduke32.com/eduke32@5993 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:29:40 +00:00
hendricks266
ca3449bd52 Lunatic: Fix build, part 9. ScriptQuotes --> apStrings
git-svn-id: https://svn.eduke32.com/eduke32@5992 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:29:37 +00:00
hendricks266
e036de108d Lunatic: Fix build, part 8. MapInfo --> g_mapInfo
git-svn-id: https://svn.eduke32.com/eduke32@5991 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:29:33 +00:00
hendricks266
9f41addab0 Lunatic: Fix build, part 7. M_ChangeMenu --> Menu_Change
git-svn-id: https://svn.eduke32.com/eduke32@5990 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:29:29 +00:00
hendricks266
aa89d88569 Add S_StopAllSounds function, guaranteed to be present at link time, whether stubbed (for KenBuild's editor) or calling audiolib's FX_StopAllSounds (for Lunatic).
Also, m32exec should not directly touch audiolib. Only sounds_mapster32.c should interacti with it. KenBuild and its editor do not link to audiolib.

git-svn-id: https://svn.eduke32.com/eduke32@5989 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:29:25 +00:00
hendricks266
22f73a9ab5 Lunatic: Fix build, part 5. EpisodeNames --> g_volumeNames
git-svn-id: https://svn.eduke32.com/eduke32@5988 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:29:20 +00:00