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
2fea171ad7
Update synthesis.sh with local changes from server. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5926 1a8010ca-5511-0410-912e-c29ae57300e0
2016-11-07 01:09:07 +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
hendricks266
52e6cd09cf
C-CON: Fix addlogvar command, broken in r5835.
...
git-svn-id: https://svn.eduke32.com/eduke32@5895 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:47 +00:00
hendricks266
c8f1e9bf37
C-CON: Allow gamestartup to read in one additional parameter (MAXFLAMETHROWERAMMO). Do nothing with it yet.
...
git-svn-id: https://svn.eduke32.com/eduke32@5894 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:44 +00:00
hendricks266
3ce371d84d
C-CON: Implement "ifplaybackon" conditional, used by World Tour to determine if the replay feature is enabled. In our case, it is always false.
...
git-svn-id: https://svn.eduke32.com/eduke32@5893 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:41 +00:00
hendricks266
259d51bec0
Replace all "g_scriptVersion == 14" with "g_scriptVersion >= 14".
...
git-svn-id: https://svn.eduke32.com/eduke32@5892 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:38 +00:00
hendricks266
9ce6cd2009
Apply the same bugfix as r4947 to XA sounds so that they only loop when intended.
...
git-svn-id: https://svn.eduke32.com/eduke32@5891 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:35 +00:00
hendricks266
5381e729f8
Add a new aligned mode to alphatabs by defining numalphatabs to be a power of two minus one.
...
This provides fractionally better correspondence between 0-255 alpha values and blend table IDs.
git-svn-id: https://svn.eduke32.com/eduke32@5890 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:32 +00:00
hendricks266
9906b71023
Rigor-up the handling of 0% and 100% alpha with alphatabs in 8-bit.
...
git-svn-id: https://svn.eduke32.com/eduke32@5889 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:33:30 +00:00
hendricks266
8a1f1f2ede
GL .blend support.
...
Consult me if you are interested in this feature.
TODO: Polymer.
git-svn-id: https://svn.eduke32.com/eduke32@5888 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 07:55:23 +00:00
hendricks266
2025aab189
In 8-bit, change the precedence of .alpha and .blend.
...
Previously: Non-zero alpha stacked with cstat translucency in an imitation of Polymost, potentially clobbering .blend if alphatabs are used.
Now: If cstat translucency is active, .alpha is ignored.
git-svn-id: https://svn.eduke32.com/eduke32@5887 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 07:55:18 +00:00
hendricks266
4d08f4d433
Cosmetic changes to some blend/alpha related code.
...
git-svn-id: https://svn.eduke32.com/eduke32@5886 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 07:55:13 +00:00
terminx
d7328f738d
Minor changes to gamevar error handling
...
git-svn-id: https://svn.eduke32.com/eduke32@5885 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 00:15:18 +00:00
terminx
b18db99691
Exterminate the smurfs! This fixes the problem where everything in the game was drastically hue shifted on certain hardware configurations, particularly the Raspberry Pi.
...
git-svn-id: https://svn.eduke32.com/eduke32@5884 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 00:15:14 +00:00
terminx
231c22d654
Misc cleanup. Removed ability to use .CON files found in the .GRP when the .CON files found in the directory can't be compiled.
...
git-svn-id: https://svn.eduke32.com/eduke32@5883 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 00:15:10 +00:00
terminx
cf6790b23e
Fix MSVC warnings
...
git-svn-id: https://svn.eduke32.com/eduke32@5882 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 00:15:06 +00:00