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
terminx
48a2152660
Potentially speed up drawing md3s with transparency in Polymost
...
git-svn-id: https://svn.eduke32.com/eduke32@5881 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 00:15:01 +00:00
hendricks266
6780fecfdc
Duke: Don't unpause sounds when exiting the menu back to a Game Paused state.
...
git-svn-id: https://svn.eduke32.com/eduke32@5880 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-03 02:43:57 +00:00
hendricks266
f046d6bef4
Menus: Remove the Polymer aspect ratio option, as it was always broken, and I don't know what purpose it has besides configuring non-square pixel stretching, which we have a long way to go in terms of configuring anyway.
...
Use r_pr_customaspect from the console instead.
git-svn-id: https://svn.eduke32.com/eduke32@5879 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-03 02:43:54 +00:00
hendricks266
0feb1e0273
Menus: Fix the Widescreen and Texture Mode video settings to use my menu system properly.
...
git-svn-id: https://svn.eduke32.com/eduke32@5878 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-03 02:43:51 +00:00
hendricks266
07d759234d
Some float optimizations in the engine.
...
git-svn-id: https://svn.eduke32.com/eduke32@5877 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-03 02:43:48 +00:00
hendricks266
b768c35175
Ensure the cached float cast variables introduced in r4656 are updated any time the integer versions are.
...
This fixes the infinite loop when viewing an HUD model at a point when displayrooms is not running, such as the main menu upon initial game load.
git-svn-id: https://svn.eduke32.com/eduke32@5876 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-03 02:43:42 +00:00
terminx
f5363194ff
Fix detection of menu sounds in EVENT_SOUND
...
git-svn-id: https://svn.eduke32.com/eduke32@5875 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-18 03:54:45 +00:00
terminx
543e7f67c2
Change default unfiltered texture mode to 0 (no mipmaps)
...
git-svn-id: https://svn.eduke32.com/eduke32@5874 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-18 03:54:21 +00:00
hendricks266
68d6bb8af5
Fix clang Windows build. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5873 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-17 19:58:03 +00:00
hendricks266
12f2c9c198
Fix mistake in r5862. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5872 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-17 19:57:58 +00:00
hendricks266
03a8877f55
Fix erroneous display of MESSAGES: ON when it should be OFF.
...
git-svn-id: https://svn.eduke32.com/eduke32@5871 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:58:46 +00:00
hendricks266
295c654740
Fix TEST_SYNC_KEY macro to always return 1 or 0.
...
git-svn-id: https://svn.eduke32.com/eduke32@5870 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:45 +00:00
hendricks266
c5247983e7
Makefile: Allow an invocation like make CC=clang-3.8
to work properly.
...
git-svn-id: https://svn.eduke32.com/eduke32@5869 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:42 +00:00
hendricks266
e99dbb858e
Fix undefined behavior: null pointer passed as argument which is declared to never be null
...
git-svn-id: https://svn.eduke32.com/eduke32@5868 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:39 +00:00
hendricks266
388c3832cd
Loop optimizations in screencapture
...
git-svn-id: https://svn.eduke32.com/eduke32@5867 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:36 +00:00
hendricks266
63030036ba
Address warning: variable might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
...
git-svn-id: https://svn.eduke32.com/eduke32@5866 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:33 +00:00
hendricks266
278eb6ded8
Fix -Wmisleading-indentation warnings in rawinput.c.
...
git-svn-id: https://svn.eduke32.com/eduke32@5865 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:30 +00:00
hendricks266
9363f7d023
Makefile: Only apply $(ARCH) processing code on Macs.
...
git-svn-id: https://svn.eduke32.com/eduke32@5864 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:27 +00:00
hendricks266
dcbb2891ae
Fix warning: suggest parentheses around '&&' within '||' [-Wparentheses]
...
git-svn-id: https://svn.eduke32.com/eduke32@5863 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:24 +00:00
hendricks266
1b906d74dd
Fix USE_OPENGL=0 build.
...
git-svn-id: https://svn.eduke32.com/eduke32@5862 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:21 +00:00
hendricks266
6f194b7f7c
Fix pausing MIDI music on Windows, regressed in r5817.
...
git-svn-id: https://svn.eduke32.com/eduke32@5861 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:09 +00:00
terminx
559a34e875
Support saving specified CON arrays in map states
...
git-svn-id: https://svn.eduke32.com/eduke32@5860 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-10 05:21:01 +00:00
terminx
e2fd26ca2e
Mapster32: block ctrl-x and ctrl-shift-x from working if you have unsaved changes
...
git-svn-id: https://svn.eduke32.com/eduke32@5859 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-10 05:20:55 +00:00
hendricks266
972c92dc6a
Fix ghost tsprite bug introduced in previous commit.
...
git-svn-id: https://svn.eduke32.com/eduke32@5858 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-09 12:01:30 +00:00
hendricks266
bca7e1a91e
Finish what r5484 started but got reverted in r5723. Cstat 1024 now works properly in Polymost without causing any side effects in Classic. It remains unimplemented in Polymer.
...
git-svn-id: https://svn.eduke32.com/eduke32@5857 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-09 03:12:23 +00:00
hendricks266
b73f2f3e17
Reinstitute the cosmetic cleanups that should have been a separate commit from r5484 and were reverted in r5723.
...
git-svn-id: https://svn.eduke32.com/eduke32@5856 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-09 03:12:20 +00:00
hendricks266
750ceb932c
Fix MIDI playback on Windows, broken in r5817.
...
The main fix here is GET_NEXT_EVENT.
git-svn-id: https://svn.eduke32.com/eduke32@5855 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-09 03:12:15 +00:00
terminx
07cbae15c9
Fix autoaim. Oops.
...
git-svn-id: https://svn.eduke32.com/eduke32@5854 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 04:25:36 +00:00
terminx
b3273dbebf
Cleanups
...
git-svn-id: https://svn.eduke32.com/eduke32@5853 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 04:25:32 +00:00
hendricks266
4a6676dd87
Fix warning: signed and unsigned type in conditional expression [-Wsign-compare]
...
git-svn-id: https://svn.eduke32.com/eduke32@5852 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 02:15:37 +00:00
hendricks266
da52bac304
Fix a bug in r5826 regarding display of the WWII GI rocket launcher.
...
git-svn-id: https://svn.eduke32.com/eduke32@5851 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 02:15:34 +00:00
hendricks266
d466b2ae51
Add bit 1 to action flags: use the viewpoint's position relative to the actor when calculating which rotation to display, instead of the viewpoint's angle, for viewtypes 2/3/4/8. 5/7 already do this.
...
git-svn-id: https://svn.eduke32.com/eduke32@5850 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 02:15:31 +00:00
hendricks266
d8ce0f042d
CON: Add an optional sixth parameter, a flags bitfield, to action definitions. Bump BYTEVERSION.
...
git-svn-id: https://svn.eduke32.com/eduke32@5849 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 02:15:28 +00:00
hendricks266
abd1523477
Enumify stuff having to do with action parameters.
...
git-svn-id: https://svn.eduke32.com/eduke32@5848 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 02:15:23 +00:00