Commit graph

19189 commits

Author SHA1 Message Date
Christoph Oelckers
840b8451bd - moved checks whether to draw the notify buffer out of the class into the calling function. 2020-10-25 09:29:01 +01:00
Christoph Oelckers
194824f810 - some fixes for the console.
* it is now possible to switch back to the main intro loop from the fullscreen console.
* do not distort the background of the fullscreen console. Always draw the console on top of what the main loop currently displays with a translucent black overlay.
* do not use the CONPIC for the fullscreen console as it tends to be more of a distraction than an asset when filling the entire screen.
* cleaned up c_console.cpp and moved several pieces of code unrelated to actual console management out of it.
2020-10-25 09:17:31 +01:00
azamorapl
7676ed641c Expose changing sidedef wallpart flags to zscript 2020-10-25 06:27:20 +01:00
Christoph Oelckers
eab3289043 - only return at the end of the MAP07SPECIAL block. 2020-10-24 21:19:52 +02:00
Christoph Oelckers
838733af4a - do not use the GetFullscreenRect function as a native scripting function 2020-10-24 21:19:20 +02:00
Christoph Oelckers
bc2b0a0252 - added flag option menu item by Accensus. 2020-10-24 17:49:56 +02:00
Christoph Oelckers
8872f863d4 - refinement of the statusbar offset fix to only affect unscaled textures. 2020-10-24 17:11:44 +02:00
Christoph Oelckers
79944ca76a - made status bar offset fixing unconditional.
I think it is inevitable that such status bars will appear in mods sooner or later and with the old code it is virtually impossible to create a wide status bar that displays properly but gets subjected to this code.
2020-10-24 16:59:57 +02:00
Christoph Oelckers
ce17f1aa49 - made the vertical scroller widescreen aware as well. 2020-10-24 15:47:13 +02:00
Christoph Oelckers
e1af278b37 - adapt the bunny scroller to widescreen images.
This only concerns the actual horizontal scroller. The vertical one still needs work and the "The End" screen only works if the second picture of the scroller is the full widescreen image because this page is done as a regular single image page which does not know anything about widescreen asset replacements.
2020-10-24 15:31:45 +02:00
Christoph Oelckers
30e71c7c16 - fixed: Crushing generic floors must use crush mode 2.
This is how Doom always worked. Mode 1 is not useful for one-time crushing effects.
2020-10-24 13:14:00 +02:00
Christoph Oelckers
148e7cd361 - fixed edge case where both Mancubus and Arachnotron have the same replacement and trigger a boss action. 2020-10-24 12:57:41 +02:00
drfrag
36189027b0 - Fixed wrong number of lines displayed in the menu. 2020-10-24 12:34:49 +02:00
Christoph Oelckers
8901929305 - fixed placement of "PAR" text on statistics screen. 2020-10-24 12:23:54 +02:00
Christoph Oelckers
54ddb400a5 - fixed fullscreen scaling for narrow aspect ratios. 2020-10-24 12:07:05 +02:00
Christoph Oelckers
74925783aa - default to fullscreen mode 3.
The option still remains for cases where it does not work but the cases where mode 3 causes real problems are rare.
All I could find were a handful of poor intermission pics in some old mods which aren't worth keeping this artificial limitation.
2020-10-24 11:36:50 +02:00
Player701
63035d5031 - Prevent calling abstract functions via Super or parent class name qualifiers at compile time 2020-10-19 11:20:50 +02:00
Player701
761dea8640 - Implemented ZScript abstract functions 2020-10-19 08:24:43 +02:00
Nikolay Ambartsumov
628d23a688 Fix crossing multiple lineportals on same tic 2020-10-19 08:21:08 +02:00
alexey.lysiuk
34a8a9302f - removed obsolete probing of C++ standard for GCC and Clang
CMake try_compile() function still requires explicit command line option
2020-10-18 11:34:39 +03:00
Nikolay Ambartsumov
5ece08d12e Make bMaskRotation angles portal-aware 2020-10-18 07:35:10 +02:00
alexey.lysiuk
0b2588190a - fixed floating point value truncation warning
Script warning, "gzdoom.pk3:zscript/ui/menu/messagebox.zs" line 128:
Truncation of floating point value

https://forum.zdoom.org/viewtopic.php?t=70258
2020-10-17 17:47:06 +03:00
Christoph Oelckers
4fdbe81a13 - fixed infinite loop with list menus that have no selectable item. 2020-10-17 15:21:20 +02:00
Christoph Oelckers
565a5acd85 - changed order of identifier types to be checked to what it was in 4.3 2020-10-17 15:13:14 +02:00
Christoph Oelckers
28a12d2597 - fixed update check for shadow map tree.
This should only flag the tree as new if it is different from the last one.
This not only caused issues with dynamic updates but also made the renderer recreate the tree's data structures repeatedly.
2020-10-17 15:01:05 +02:00
Christoph Oelckers
9649fb9b75 - menu entries for the clean scaling CVARs. 2020-10-17 14:29:24 +02:00
Christoph Oelckers
14e94aa6c1 - added localization fallback handling for the BigFont in menu items and captions. 2020-10-17 14:00:29 +02:00
Christoph Oelckers
473072d556 - doubled the default for horizontal mouse sensitivity.
This seems to fit more systems.
2020-10-17 13:10:09 +02:00
Christoph Oelckers
fb8bc9876c - clear the button state when entering chat mode.
Since the game cannot be controlled while typing a chat the state must be reset to prevent residual state from triggering actions afterward.
2020-10-17 13:07:30 +02:00
alexey.lysiuk
d4bb2fa418 - fixed detection of Apple's Clang 2020-10-17 13:33:22 +03:00
Christoph Oelckers
0478838a9d fixed side_t::SetSpecialColor.
This never set the needed flags to make the color appear.
2020-10-17 12:28:22 +02:00
Christoph Oelckers
38df70f4bc - clear intermediate entries when inserting an object beyond the end of an array. 2020-10-17 12:08:55 +02:00
Christoph Oelckers
3b45f1ceb8 - reinstated accidentally deleted AddTranslation declaration. 2020-10-17 11:43:49 +02:00
Christoph Oelckers
0526e0e04e - fixed: Array.Insert must zero all elements before the new one if something gets inserted outside the existing range. 2020-10-17 11:40:51 +02:00
Christoph Oelckers
d6e962c91e - upgraded code base to C++17.
Mainly to allow using 'if constexpr'.
Older CI compiler setups like GCC 5 for Linux were removed as a consequence.
Windows 32 bit was also removed because there are no plans to do any more 32 bit releases of GZDoom.
2020-10-17 11:39:59 +02:00
Christoph Oelckers
a89afe61f2 - use a few static asserts instead of runtime asserts in the VM's type code. 2020-10-17 10:18:37 +02:00
Christoph Oelckers
4ac7588488 - did a bit of AActor reshuffling so that the new thruBits can be placed into a previously existing alignment gap. 2020-10-17 09:54:31 +02:00
Major Cooke
60f0d35477 Added ThruBits. 2020-10-17 09:51:24 +02:00
Player701
69da5c23a3 - Fixed: Server CVars did not immediately revert to their saved values upon loading a save file.
https://forum.zdoom.org/viewtopic.php?f=2&t=70190
2020-10-17 09:23:39 +02:00
Christoph Oelckers
adf306d5b2 - added a new 'Translate' struct which wraps the native methods of 'Translation'.
This is for use in actors where the name 'Translation' is shadowed by a local member variable.
2020-10-17 09:22:27 +02:00
Christoph Oelckers
19444194a5 - added missing decal assignments to the medium macs spheres for Heretic. 2020-10-17 09:14:58 +02:00
Christoph Oelckers
8e1b091cf3 - disabled negative gravity check.
According to reports on the forum this does not cause bad behavior.
2020-10-17 09:11:44 +02:00
Christoph Oelckers
34c3a851b7 - fixed some floating point truncation warnings. 2020-10-17 09:09:59 +02:00
Christoph Oelckers
824d4bd9e3 - fixed: MenuDelegateBase.DrawCaption did not check the 'drawit' flag. 2020-10-17 08:48:24 +02:00
Christoph Oelckers
e636c8044d - fixed menu sound. 2020-10-16 23:25:28 +02:00
Christoph Oelckers
65c52b9825 - Backend update. 2020-10-16 23:25:18 +02:00
Christoph Oelckers
ef7a7cc39d - moved console command line buffer tab completion into their own files.
- layout fixes in load/save menu and confirmation screen.
2020-10-16 22:57:30 +02:00
Christoph Oelckers
a6842b6482 - ensure that sfxinfo_t is always fully initialized, regardless how the setup is performed.
The recent pitch additions did not do this on all possible paths.
2020-10-16 22:57:30 +02:00
Christoph Oelckers
4deb7593b5 - final update of menu code from Raze. 2020-10-16 22:57:30 +02:00
Christoph Oelckers
fa4ab53e7c - script side support for menu transitions. 2020-10-16 22:57:29 +02:00