Commit graph

19209 commits

Author SHA1 Message Date
Player701
a4b6d5612f
- Force node rebuilding for Akeldama MAP26 (bad subsectors) (#1206) 2020-10-09 01:43:37 -04:00
Rachael Alexanderson
a2f0c27651 - add option to texture hqresize resize model skins. 2020-10-08 00:30:12 -04:00
Player701
4aec72be5d - Do not error out if some states are missing in an abstract weapon class 2020-10-06 20:07:04 +02:00
Christoph Oelckers
756caede51 - fixed misnamed variable and removed restriction for draw pass in GetFullscreenRect. 2020-10-05 18:32:16 +02:00
Christoph Oelckers
9a994482b1 - store extended sector info directly in FLevelLocals.
This is safer than using the first sector's reference.
2020-10-05 00:39:21 +02:00
Christoph Oelckers
497c474fee - transform mouse coordinates for menu with fullscreen scale 2020-10-05 00:03:00 +02:00
Christoph Oelckers
63a338fd73 - changed display in key binding menu to list all bound keys for an action, not just the first two. 2020-10-04 19:28:20 +02:00
Christoph Oelckers
f6eac89677 - fixed some text issues with Hacx and Harmony.
One Harmony text had an incorrect label and Hacx must be loaded after the IWAD which has a language lump of its own.
2020-10-04 19:25:50 +02:00
Christoph Oelckers
f3d75469c9 - moved two native player menu functions out of the main menu class.
These manipulate entries of that menu and have no business being called from anywhere else than this menu and its subclasses.
2020-10-04 19:08:14 +02:00
Christoph Oelckers
43eb7d61e7 - helper function for setting up the summary screen. 2020-10-04 15:14:30 +02:00
Christoph Oelckers
b902440535 - default summary screen's clean scale to false. 2020-10-04 15:14:11 +02:00
Christoph Oelckers
ce25b5bc41 - fixed: The scripted DrawFrame export should not be subjected to ui_screenborder_classic_scaling.
This affected the generic player display where the frame was far too wide.
At most it needs to be an option if properly corrected.
2020-10-04 15:05:00 +02:00
Christoph Oelckers
f1b0f32786 - add an option to the ListMenu class to draw to a fixed virtual screen size.
This allows proper dimensions in the stock menus and should make menu layout for mods a lot easier because coordinates are more predictable than with the clean factors.
The feature is opt-in for custom content. As long as only stock elements are used, the menu will be able to switch between both on its own, but as soon as custom classes or custom elements are used, the virtual size must be declared explicitly, defaulting to clean scaling.
2020-10-04 15:03:29 +02:00
Christoph Oelckers
acd71f7019 - groundwork for menus with a fixed virtual screen size. 2020-10-04 09:16:20 +02:00
Christoph Oelckers
89cc69710c - added config migration handling for the changes to adl_volume_model. 2020-10-04 08:20:42 +02:00
Wohlstand
8f8a30a62b Added new parameters in favor of libADLMIDI and libOPNMIDI update
# Conflicts:
#	wadsrc/static/language.csv
2020-10-04 08:15:33 +02:00
Wohlstand
4bfcbb4b18 libADLMIDI: Fixed a mistake with Volume Model setup
Don't set a bank number instead of a volume model!
2020-10-04 08:14:23 +02:00
Wohlstand
432c01d730 Re-compute all sound delays inside of GENMIDI.GS.wopl 2020-10-04 08:14:22 +02:00
Wohlstand
2d1c16a0d1 Added a short ReadME for all banks 2020-10-04 08:14:22 +02:00
Wohlstand
6d178f9f67 Updated the set of extra FM banks 2020-10-04 08:14:22 +02:00
Wohlstand
8b70c75362 Updated default xg.wopn bank 2020-10-04 08:14:21 +02:00
Christoph Oelckers
f9ee465741 - backport of some enhancements for Cyrillic font support for Raze.
Now the identical looking characters can be mapped to their Latin counterpart if they do not have their own glyphs.
2020-10-04 08:11:56 +02:00
Player701
ffb4c52c96 - Added NORANDOMPUFFZ flag to A_Saw 2020-10-04 08:07:13 +02:00
nashmuhandes
56a387ac82 - Fix weapon bobbing interpolation
There was a visual issue where the weapon bobbing would only start interpolating after the player's movement velocity exceeds a certain value.

(Thanks to @Doom2fan for the solution)
2020-10-04 08:06:34 +02:00
Christoph Oelckers
ff62d7a8a3 - made sysCallbacks a value variable instead of a pointer to simplify the checks for it. 2020-10-03 16:47:47 +02:00
Christoph Oelckers
1b3ef19100 - minor cleanup on "Configure Controls"
* Merged chat and scoreboard bindings into a "Multiplayer" submenu.
* Reordered items by importance. Chat at position #2 was nonsense.
* Moved weapon state actions from "Action" to "Weapon" menu, because the menu was already quite large and these are not standard actions.
2020-10-03 13:52:34 +02:00
Christoph Oelckers
2016f56a7e - added a new scaling mode to the level summary screen to scale to a given size.
In this mode the clean scaling factors are ignored and content is always scaled to fit the screen as efficently as possible.
For the default summary screens an option was added to use this mode, which is a lot closer to the original look of this screen.
It is not 100% identical because it still factors in the author, if given and long level names that may be broken into multiple lines of text.
2020-10-03 13:32:18 +02:00
Christoph Oelckers
fbf57e0c1d - fixed some scaling inconsistencies in the summary screen.
The background size wasn't taken into account for the splats and the widescreen check never verified the height of the background image.
It will now unconditionally use the new widescreen expansion mode for everything to reduce problems, use the background's display size for positioning overlays and only in the case of 200 pixel tall images perform widescreen positioning adjustment.
2020-10-03 09:07:29 +02:00
Christoph Oelckers
bd68ef917e - this too. 2020-10-03 08:54:41 +02:00
Christoph Oelckers
91406aa48b - fixed compilation.
Forgot to save these before the last commit. :(
2020-10-03 08:54:21 +02:00
Christoph Oelckers
c1e04b29d1 - AActor size reduction
* a few shorter fields were moved into alignment gaps
* the visible angles are now stored as floats. Since these are only used for rendering the loss of precision is negligible, but this shortens AActor by 16 bytes alone.
2020-10-03 08:23:36 +02:00
Nikolay Ambartsumov
a72fdd7e3e Add MaxSlopeSteepness actor property 2020-10-03 07:53:55 +02:00
Nikolay Ambartsumov
5aeda2b139 Add optional filtering to listmaps CCMD output 2020-10-03 07:38:03 +02:00
Nikolay Ambartsumov
da97b51c35 Show CVar's default value in addition to current 2020-10-03 07:37:08 +02:00
Rachael Alexanderson
9fbfee3b2d - mark m_noprescale as removed in defcvars also 2020-10-02 20:09:41 -04:00
alexey.lysiuk
2cb1438f93 - forced node rebuild for two Memento Mori maps
https://forum.zdoom.org/viewtopic.php?t=70037
2020-10-01 11:02:59 +03:00
nashmuhandes
f467e4bc33 Add grayed-out support to sliders 2020-09-30 18:27:50 +02:00
Rachael Alexanderson
e2e176e0be - remove old 'mouse_sensitivity' cvar completely, it's no longer needed
- update defcvars parser so it no longer looks for it
2020-09-30 01:05:37 -04:00
C.W. Betts
b07c9550cf Update iwadpicker_cocoa.mm
Use proper integer types for ObjC protocols.
2020-09-29 21:47:10 +02:00
Christoph Oelckers
da4e791a3f - delete the FraggleScript thinker in G_NewInit.
If this isn't done it can later cause problems when being taken down by GC
2020-09-28 23:08:48 +02:00
Christoph Oelckers
92d630eb45 - keep mouse coordinates as floats for as long as possible. 2020-09-28 22:12:44 +02:00
Christoph Oelckers
3cfd19b2ef - removed const that erorred out. 2020-09-28 21:38:48 +02:00
Christoph Oelckers
51518d63a4 - cleanup of mouse input code and removal of all magic factors.
Sensitivity scaling of both axes is now exposed as a raw factor to the user instead of obscuring it behind an unclear 'prescale' boolean.
This also consolidates the coordinate processing code to prevent such discrepancies as were present here from happening again.
Migration code for old config settings is present so that this change does not affect existing configurations.
2020-09-28 21:13:34 +02:00
Christoph Oelckers
cd6ef67209 - fixed sounds not stopping in sound sequences.
The sound sequence code used S_GetSoundPlayingInfo incorrectly, so let it check for a valid sound ID first to restore the old behavior.
2020-09-28 18:38:05 +02:00
Christoph Oelckers
cd20ecaae0 - fixed sounds not being serialized for hub travel.
Sound stopping was done in the wrong place - this killed the sound before they could be serialized for hub travel.
The sound may only be stopped *after* calling G_DoCompleted.
2020-09-27 22:29:07 +02:00
Christoph Oelckers
043de8c780 Revert "- avoid double linking to and unlinking from the world for actors."
This reverts commit 8fc9f1e5ef.

As I already feared, this does not work right. The entire linking/unlinking code is simply too fragile. So no protection here against inept tinkering.
2020-09-27 19:56:50 +02:00
Christoph Oelckers
3ef806c2e9 - do not set CTF_Indexed for the software canvas and do not check for the shader to make decisions.
Always check the flag.
2020-09-27 19:55:04 +02:00
alexey.lysiuk
99a0ab2372 - restored old mouse scaling for Cocoa backend
This reverts commit cc07c56c36.
2020-09-27 17:25:28 +03:00
Rachael Alexanderson
c6639427dc - fix compilation in vs2017
(for some reason it was unable to figure out the overrides for 'lumpname' in the function g_level.cpp/CalcMapName, even though this is a very old function)
2020-09-27 10:22:40 -04:00
Christoph Oelckers
5595eb6280 Revert "- make SDL mouse scaling match that of Windows for consistency."
This reverts commit 8578c11789.

This caused more problems than it cured.
2020-09-27 16:20:17 +02:00