Commit Graph

5780 Commits

Author SHA1 Message Date
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
hendricks266 dcc542c6fc Lunatic: Fix build, part 4. BlimpSpawnSprites --> g_blimpSpawnItems
git-svn-id: https://svn.eduke32.com/eduke32@5987 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:29:17 +00:00
hendricks266 7167706837 Lunatic: Fix build, part 3. P_SetWeaponGamevars should be static inline when placed in a header included from multiple objects.
git-svn-id: https://svn.eduke32.com/eduke32@5986 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:29:14 +00:00
hendricks266 e9ac1401c3 Lunatic: Fix build, part 2. clip.h needs to know about usectortype and uwalltype.
git-svn-id: https://svn.eduke32.com/eduke32@5985 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:29:11 +00:00
hendricks266 7c76b0fc42 Lunatic, KenBuild, SW: window([xy])([12]) --> windowxy$2.$1
git-svn-id: https://svn.eduke32.com/eduke32@5984 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-05 05:29:06 +00:00
hendricks266 3f15f87dc2 Remove $(ARCH) from COMMONFLAGS, except under Darwin. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5983 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-01 17:44:56 +00:00
hendricks266 9af63dc497 Fix warning: enumeral and non-enumeral type in conditional expression [-Wextra]
DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@5982 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-01 13:23:41 +00:00
hendricks266 533c017e93 sdlayer: Explicitly name our entry point SDL_main on Wii.
git-svn-id: https://svn.eduke32.com/eduke32@5981 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-01 13:23:38 +00:00
hendricks266 fa37e062b1 Fix some int/int32_t confusion where linking to external libraries is concerned, at least as exposed by building with devkitPPC r28.
git-svn-id: https://svn.eduke32.com/eduke32@5980 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-01 13:23:35 +00:00
hendricks266 0a14982d4e Some recent cleanup changed uses of int32_t to int, but missed changing every function prototype. This is very bad when int != int32_t.
git-svn-id: https://svn.eduke32.com/eduke32@5979 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-01 13:23:29 +00:00
hendricks266 c90ef554be Make SDL_config_wii.h #include <stdint.h> instead of defining its own types, because devkitPPC r28 changed the definitions and/or added an error for when they conflict.
git-svn-id: https://svn.eduke32.com/eduke32@5978 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-01 13:23:23 +00:00
hendricks266 59a75539e0 Adjust wiibuild.bat to not use MinGW or MSYS paths.
git-svn-id: https://svn.eduke32.com/eduke32@5977 1a8010ca-5511-0410-912e-c29ae57300e0
2017-01-01 13:23:18 +00:00
hendricks266 b107d3e0de sdlayer: Clean up wm_msgbox and wm_ynbox and fix them under GTK. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5976 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-29 02:57:33 +00:00
hendricks266 346f391d4a Mac: 32-bit builds give trouble with the supposed equivalence of CGRect/Size and NSRect/Size. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5975 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 20:02:51 +00:00
hendricks266 66f353fbf5 Extend SE 26 to use the value provided by a GPSPEED, if any.
git-svn-id: https://svn.eduke32.com/eduke32@5974 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:03:00 +00:00
hendricks266 9627f24d54 CON: Remove bounds check on rotatesprite coordinates.
git-svn-id: https://svn.eduke32.com/eduke32@5973 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:02:56 +00:00
hendricks266 0b75ca3ec1 Windows: Perform keyboard layout switching whenever window focus is gained or lost.
git-svn-id: https://svn.eduke32.com/eduke32@5972 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:02:53 +00:00
hendricks266 fefd94d8ef Windows: Make layout switch duplicate guard bidirectional.
git-svn-id: https://svn.eduke32.com/eduke32@5971 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:02:49 +00:00
hendricks266 d0611405e9 Windows: Refactor keyboard layout switching code into winbits.c and clean it up. No functional changes.
git-svn-id: https://svn.eduke32.com/eduke32@5970 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:02:45 +00:00
hendricks266 735405ed7a sdlayer: Call SDL_StopTextInput immediately after initialization so IMEs do not interfere with gameplay keypresses.
An example of is on Mac, where holding the 'A' key caused a small overlay with accented forms of the character to appear.

git-svn-id: https://svn.eduke32.com/eduke32@5969 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:02:41 +00:00
hendricks266 be22de78ad sdlayer: Place SDL_KEYDOWN events into keyasciififo[] when SDL_TEXTINPUT events are disabled.
This way, SDL_StopTextInput() does not break text entry for code that uses keyasciififo[] but does not currently call SDL_StartTextInput(), or if it cannot, such as Duke's cheat entry.

Technically we could revert r5326 and r5331, but since we only currently have support for showing ASCII text glyphs as bitmap fonts in ART tiles, there is no point to showing an IME on platforms that don't need an on-screen keyboard.

git-svn-id: https://svn.eduke32.com/eduke32@5968 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:02:38 +00:00
hendricks266 2b38557f49 Mac: Make the startup windows responsive and actively updating while in "show message log, the program is working" mode.
git-svn-id: https://svn.eduke32.com/eduke32@5967 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:02:34 +00:00
hendricks266 d1f6dbeaea Mac: Programmatically create the primary program menu since we no longer have a nib or a modal window to do it for us.
git-svn-id: https://svn.eduke32.com/eduke32@5966 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:02:31 +00:00
hendricks266 25f2a5f457 Mac: Change the startup windows display the window normally and start a mini runloop instead of calling using runModalForWindow.
This way, the Quit function works.

git-svn-id: https://svn.eduke32.com/eduke32@5965 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:02:27 +00:00
hendricks266 dc1bbcd419 Mac: Port the startup window to entirely programmatic code. Death to nibs!
git-svn-id: https://svn.eduke32.com/eduke32@5964 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:02:22 +00:00
hendricks266 e520f74894 Mac: Remove more vestiges of SDLMain from SDL 2.0 builds.
git-svn-id: https://svn.eduke32.com/eduke32@5963 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:02:14 +00:00
hendricks266 736ed925b0 sdlayer: Disable a missed instance of sysgamma under EDUKE32_GLES, not just __ANDROID__.
git-svn-id: https://svn.eduke32.com/eduke32@5962 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:02:10 +00:00
hendricks266 2c96410b39 Address a number of harmless instances of "code never reached" identified by Xcode.
git-svn-id: https://svn.eduke32.com/eduke32@5961 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:02:06 +00:00
hendricks266 5c17259a71 Add newlines at EOF to files that need them.
git-svn-id: https://svn.eduke32.com/eduke32@5960 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:02:01 +00:00
hendricks266 a31ad532dd Fix an error introduced in cleanup of the WWII GI Devastator weapon reload animation, as pointed out by Xcode.
Also perform similar cleanup on a similar line elsewhere.

git-svn-id: https://svn.eduke32.com/eduke32@5959 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:01:57 +00:00
hendricks266 d6ace49d54 Apple: Fix Xcode build due to accumulated file additions and moves.
git-svn-id: https://svn.eduke32.com/eduke32@5958 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:01:54 +00:00
hendricks266 11864d8440 Apple: Accept Xcode's suggestions for changes to our project file.
git-svn-id: https://svn.eduke32.com/eduke32@5957 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:01:51 +00:00
hendricks266 d002849b47 Change the type of functions touching vsync setting back to int32_t. Since it is serialized to disk, an explicit size type is important.
git-svn-id: https://svn.eduke32.com/eduke32@5956 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:01:48 +00:00
hendricks266 7380202636 Fix a warning with SDL_TARGET=1 builds.
git-svn-id: https://svn.eduke32.com/eduke32@5955 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:01:44 +00:00
hendricks266 d232f2364b Fix USE_OPENGL=0 RENDERTYPE=WIN and USE_OPENGL=0 SDL_TARGET=1 builds.
git-svn-id: https://svn.eduke32.com/eduke32@5954 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:01:40 +00:00
hendricks266 158fcb5e01 Rename vsync_render and "sdl_vsync" to vsync_renderlayer. An "sdl_" prefix should be used sparingly.
git-svn-id: https://svn.eduke32.com/eduke32@5953 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:01:36 +00:00
hendricks266 e258ca51f8 Rename E_PostInitTables back to E_PostInit and move it back to where it belongs in engine.c (i.e. preinitengine, initengine, "postinitengine"). It should not have been changed.
git-svn-id: https://svn.eduke32.com/eduke32@5952 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:01:32 +00:00
hendricks266 d2934c4ba5 Win32 Startup Window: This should be tokenized.
git-svn-id: https://svn.eduke32.com/eduke32@5951 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:01:28 +00:00
hendricks266 c102a6620a Fix problems with handling of the default crosshair color.
git-svn-id: https://svn.eduke32.com/eduke32@5950 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:01:24 +00:00
hendricks266 c20e41d0c8 Restore pre-r5821 floor glass behavior: nothing.
git-svn-id: https://svn.eduke32.com/eduke32@5949 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-26 06:01:18 +00:00
terminx ec25bfa281 Fix transparent masked walls in Polymost
git-svn-id: https://svn.eduke32.com/eduke32@5948 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-04 22:53:56 +00:00
terminx 164d5b83a8 Cvar fix
git-svn-id: https://svn.eduke32.com/eduke32@5947 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-04 22:53:51 +00:00
terminx 872d506d95 Change OSD_CvarModified() to rely on a CVAR_MODIFIED flag set in osdcmd_cvar_set(), instead of merely comparing the current value to the default value. This leaves the storing of the default value (dval in osdcvar_t) in place for use in future features that haven't been programmed yet.
git-svn-id: https://svn.eduke32.com/eduke32@5946 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-01 04:06:40 +00:00
terminx 7d15f7fff7 Remove camera distance from the calculation for how much to offset sprites to avoid z buffer fighting.
git-svn-id: https://svn.eduke32.com/eduke32@5945 1a8010ca-5511-0410-912e-c29ae57300e0
2016-12-01 04:06:34 +00:00
hendricks266 1c18f9d4de Fix linking of mdpause variable with POLYMER=0 in screens.c, exposed by Visual Studio. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5944 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-29 07:56:18 +00:00
hendricks266 7a96542c40 Makefile: Fix STARTUP_WINDOW=0 on Windows so that the resource objects are built, but the editor's startup window is not. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5943 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-28 04:35:34 +00:00
hendricks266 0cf64500c1 Makefile: Extend STARTUP_WINDOW to GTK. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5942 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-28 04:35:31 +00:00
hendricks266 a7cc4e8419 Makefile: Fold OSX_STARTUPWINDOW into STARTUP_WINDOW. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5941 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-28 04:35:27 +00:00
hendricks266 d8f31187e1 Avoid unused variable warning with the startup window disabled. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5940 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-28 04:35:21 +00:00
terminx d7d28ca24e Fixes build error with winlayer. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5939 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-18 05:29:51 +00:00
terminx be6069fc6d Support vsync in classic mode (SDL 2.x only), and properly handle failure to enable "adaptive" vsync on systems that don't support it.
git-svn-id: https://svn.eduke32.com/eduke32@5938 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-15 21:55:30 +00:00
terminx cd8775dd28 Fixes issue where freezing GREENSLIME repeatedly would increase the player's kill counter by one each time
git-svn-id: https://svn.eduke32.com/eduke32@5937 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-15 21:55:25 +00:00
terminx 6e94f29ee2 Default internal frame wait counter to 17ms to match the default r_maxfps value of 60. Fixes issue where the framerate counter wasn't enforced after setting it to 60 and restarting the game.
git-svn-id: https://svn.eduke32.com/eduke32@5936 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-15 21:55:22 +00:00
terminx 643b9962a6 Fix menu option for pixel doubling
git-svn-id: https://svn.eduke32.com/eduke32@5935 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-15 21:55:14 +00:00
terminx fc2b9118e4 Fixes issue where sounds weren't pausing when pausing the game
git-svn-id: https://svn.eduke32.com/eduke32@5934 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-15 21:55:09 +00:00
terminx 0bdbc463c0 Fixes issue with picnum 0 sprites used as map geometry
git-svn-id: https://svn.eduke32.com/eduke32@5933 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-14 23:47:11 +00:00
terminx 55532bb571 Fixes an issue with enemies waking up when using security cameras
git-svn-id: https://svn.eduke32.com/eduke32@5932 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-14 23:47:06 +00:00
terminx d9f3d4410c Add libxmp-lite support to Makefile.msvc.
git-svn-id: https://svn.eduke32.com/eduke32@5931 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-09 22:51:45 +00:00
terminx 31fa18aab0 Fix a couple of issues with savemapstate/loadmapstate.
git-svn-id: https://svn.eduke32.com/eduke32@5930 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-09 22:51:42 +00:00
terminx f3ac89af1b Change default anisotropic filtering setting to the max for the user's system. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5929 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-09 22:51:39 +00:00
terminx 466f3aca30 Support building without a startup window through the Makefile. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5928 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-09 22:51:33 +00:00
hendricks266 4ca5e25e2c Add support for MOD, XM, IT, and S3M tracker music through libxmp-lite.
Building with support must be manually enabled by invoking make with HAVE_XMP=1 on platforms other than Windows, because libxmp-lite is not common in package managers. This setup will be improved in the future.

git-svn-id: https://svn.eduke32.com/eduke32@5927 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-08 02:59:05 +00:00
terminx f79993a7c9 Mapster32: support sprite blending mode and statnum in clipboard.
git-svn-id: https://svn.eduke32.com/eduke32@5925 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-01 01:35:41 +00:00
terminx 959099b852 Remove Menu_MouseWithinBounds() in favor of negating the result of Menu_MouseOutsideBounds().
git-svn-id: https://svn.eduke32.com/eduke32@5924 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-01 01:35:36 +00:00
terminx 54b22b182a Rename menu functions to what I consider to be more sane names. No other changes.
git-svn-id: https://svn.eduke32.com/eduke32@5923 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-01 01:35:32 +00:00
terminx 1139c58e27 Add menu option to control r_maxfps, default r_maxfps to 60, add cvar for pixel doubling (r_pixeldoubling).
git-svn-id: https://svn.eduke32.com/eduke32@5922 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-01 01:35:24 +00:00
hendricks266 b6b6d1e370 sdlayer: Remove disabling certain mouse features under debug builds. It makes mouse aiming unusable.
If you need to release the mouse for some reason when you can't pull down the console (such as hitting a breakpoint), execute "grabmouse_low(0)" from your debugger. Alt+Tab is your friend.

DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@5921 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-29 16:59:34 +00:00
hendricks266 6798cb05ee Makefile: Remove -fno-pic from everywhere. This should fix building on Ubuntu 16.10 and any other platform that has PIE enabled.
git-svn-id: https://svn.eduke32.com/eduke32@5920 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-29 16:59:31 +00:00
hendricks266 ccb7a93a7c Makefile: Revert r5864 and move some code introduced in r5762 to a later Mac-only block so that architecture detection is not broken on Linux.
git-svn-id: https://svn.eduke32.com/eduke32@5919 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-29 16:59:28 +00:00
hendricks266 42bb07cace sdlayer: Work around warning: signed and unsigned type in conditional expression [-Wsign-compare] indirectly caused by the SDL 2.0.5 headers making all preprocessor macro literals unsigned.
git-svn-id: https://svn.eduke32.com/eduke32@5918 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-29 16:59:26 +00:00
hendricks266 a25198d913 Engine: Add #ifdef USE_OPENGL forgotten in r5024 that causes an OOB access in scansector() and glitchy mirrors with USE_OPENGL=0.
git-svn-id: https://svn.eduke32.com/eduke32@5917 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-29 16:59:21 +00:00
hendricks266 b064563a23 Amend r5911 to use undefinetile instead of only zeroing out the MIRROR tile's dimensions.
git-svn-id: https://svn.eduke32.com/eduke32@5916 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-25 05:43:56 +00:00
hendricks266 67d84df899 Extend undefinetile to also remove voxels, hightile (including skyboxes) and models.
git-svn-id: https://svn.eduke32.com/eduke32@5915 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-25 05:43:53 +00:00
hendricks266 b74c0abd8d Engine: Add vox_undefine().
git-svn-id: https://svn.eduke32.com/eduke32@5914 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-25 05:43:50 +00:00
hendricks266 8a995219de Amend r5910 so that the problem is mitigated even when the map load takes place with a different renderer.
git-svn-id: https://svn.eduke32.com/eduke32@5913 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-25 05:43:46 +00:00
hendricks266 1940940f81 Revert a formatting change from r5725.
git-svn-id: https://svn.eduke32.com/eduke32@5912 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-25 05:43:42 +00:00
hendricks266 5e63453301 Duke: Move the nulling of the MIRROR tile to after defs are parsed so that tilefromtexture does not interfere with mirror function.
git-svn-id: https://svn.eduke32.com/eduke32@5911 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-24 21:30:39 +00:00
hendricks266 da6bc22d35 Polymost: Clear wsprinfo[] upon map load. This should address some remaining instances of wall-ornamented sprite z-fighting.
git-svn-id: https://svn.eduke32.com/eduke32@5910 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-24 21:30:34 +00:00
hendricks266 6c6fdec733 To avoid potential compiler bugs when inlining inline assembly, remove the asm variants of msqrtasm and always use the C version. Compilers generate equivalent or better assembly, and the function is used exactly once, in a routine called during startup.
git-svn-id: https://svn.eduke32.com/eduke32@5909 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-23 19:47:36 +00:00
hendricks266 95452a5a8a C-CON and M32script: Only accept hex literals beginning with '0' and not any other digit.
git-svn-id: https://svn.eduke32.com/eduke32@5908 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-23 19:47:33 +00:00
hendricks266 e24941f0c7 Defs: Fix the parser so tokens with 'x' or 'X' as a second character are only treated as hex constants when the first character is '0'. Introduced in r5822.
git-svn-id: https://svn.eduke32.com/eduke32@5907 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-23 19:47:29 +00:00
hendricks266 94f615cc52 Defs: Fix the off-by-one error when printing line numbers.
git-svn-id: https://svn.eduke32.com/eduke32@5906 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-23 19:47:23 +00:00
hendricks266 d4640b1806 Windows: SDL 2.0.5
git-svn-id: https://svn.eduke32.com/eduke32@5905 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-20 06:26:36 +00:00
hendricks266 843ac9c924 sdlayer: Don't set the window icon from code if we are linked with SDL >= 2.0.5 on Windows, since it will now automatically use the first icon in the exe.
git-svn-id: https://svn.eduke32.com/eduke32@5904 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-20 06:26:20 +00:00
hendricks266 86201254bd sdlayer: Add EDUKE32_SDL_LINKED_PREREQ macro.
git-svn-id: https://svn.eduke32.com/eduke32@5903 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-20 06:26:17 +00:00
hendricks266 1d7c67fd68 sdlayer: Disable Windows thread naming because it interferes with debugging.
git-svn-id: https://svn.eduke32.com/eduke32@5902 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-20 06:26:14 +00:00
hendricks266 942964ec3d Implement "divscale" and "scalevar" (scale()) in C-CON and "scalevar" in M32script.
git-svn-id: https://svn.eduke32.com/eduke32@5901 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-20 06:26:10 +00:00
hendricks266 60231e53a4 Duke: Adjust alphatabs checking to activate features when numalphatabs >= 15 instead of 16 so that my precise mode can be used.
git-svn-id: https://svn.eduke32.com/eduke32@5900 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-20 06:26:04 +00:00
hendricks266 c9de8faefb AudioLib: Fix improper matching of loop tags with initial substrings of them, and add proper support for LOOP as a synonym of LOOP_START.
git-svn-id: https://svn.eduke32.com/eduke32@5899 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:59 +00:00
hendricks266 8169365820 Bump PSKYOFF_MAX from 4 to 8.
git-svn-id: https://svn.eduke32.com/eduke32@5898 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:56 +00:00
hendricks266 fc1deb5e3d Defs: Add "yoffset" subtoken to "multipsky".
git-svn-id: https://svn.eduke32.com/eduke32@5897 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:53 +00:00
hendricks266 527181f151 Re-enable the use of psky_t's yoffset.
git-svn-id: https://svn.eduke32.com/eduke32@5896 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:50 +00:00