Commit graph

19365 commits

Author SHA1 Message Date
alexey.lysiuk
515742033e - fixed inverted menu setting for 'Disable menu clean scaling'
https://forum.zdoom.org/viewtopic.php?t=70475
2020-11-01 10:47:48 +02:00
alexey.lysiuk
18bf807ab3 - fixed crash when drawing status bar on automap
https://forum.zdoom.org/viewtopic.php?t=70480
2020-11-01 10:39:52 +02:00
alexey.lysiuk
ecf0701481 - fixed zipdir inability to update empty zip file
https://forum.zdoom.org/viewtopic.php?t=70468
2020-11-01 10:24:22 +02:00
alexey.lysiuk
ff9a56dc0b - fixed issue with parsing useowncoloradd UDMF flags 2020-10-31 19:14:22 +02:00
alexey.lysiuk
b8b93e0dd8 - fixed most of implicit fallthrough compilation warnings
src/common/console/c_console.cpp:1032:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/common/console/c_console.cpp:958:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/common/scripting/backend/codegen.cpp:2969:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/common/scripting/frontend/zcc_compile.cpp:2656:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/common/scripting/frontend/zcc_compile.cpp:521:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/common/scripting/jit/jit_math.cpp:966:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/d_main.cpp:1538:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/d_main.cpp:1549:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/d_main.cpp:3820:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/gameconfigfile.cpp:544:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/gamedata/p_xlat.cpp:193:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/gamedata/p_xlat.cpp:200:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/gamedata/p_xlat.cpp:210:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/g_game.cpp:1145:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/maploader/maploader.cpp:2142:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/menu/doommenu.cpp:159:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/m_cheat.cpp:109:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/mapthinkers/a_ceiling.cpp:254:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/mapthinkers/a_floor.cpp:322:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/mapthinkers/a_floor.cpp:330:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/mapthinkers/a_floor.cpp:344:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/mapthinkers/a_plats.cpp:129:47: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/mapthinkers/a_plats.cpp:284:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/p_acs.cpp:6302:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/p_acs.cpp:8111:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/p_spec.cpp:344:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/scripting/decorate/thingdef_parse.cpp:1343:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/scripting/zscript/zcc_compile_doom.cpp:298:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/wi_stuff.cpp:463:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
2020-10-31 13:37:51 +02:00
alexey.lysiuk
112640e6c0 - fixed compilation warnings reported by GCC and Clang
src/common/menu/menudef.cpp:785:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
src/playsim/p_pspr.cpp:178:3: warning: field 'processPending' will be initialized after field 'HAlign' [-Wreorder]
2020-10-31 13:37:51 +02:00
Christoph Oelckers
841a9b3017 - 4.6 pre 2020-10-31 12:29:47 +01:00
Christoph Oelckers
53a6b9ee59 - moved status bar base class to 'common'. 2020-10-31 12:24:15 +01:00
Christoph Oelckers
e6c96bcb75 - move VM exports to the proper class. 2020-10-31 12:24:14 +01:00
Christoph Oelckers
1169922bf0 - building the new base class. 2020-10-31 12:24:14 +01:00
Christoph Oelckers
783d532bbe - moved the script exports to the base class as wello. 2020-10-31 12:24:14 +01:00
Christoph Oelckers
be5d25a7b1 - moved all shareable script sources to their own folder in gzdoom.pk3. 2020-10-31 12:24:13 +01:00
Christoph Oelckers
196d3c32bb - moved the drawing utilities to the abstact base statusbar function. 2020-10-31 12:24:13 +01:00
Christoph Oelckers
3f61ab7fbf - moved FormatNumber to the generic base class. 2020-10-31 12:24:13 +01:00
Christoph Oelckers
fd6b7f9274 - split out the generic parts of the crosshair drawer. 2020-10-31 12:24:12 +01:00
Christoph Oelckers
44793e1509 - text update. 2020-10-31 10:05:54 +01:00
alexey.lysiuk
46b980c213 - fixed warnings in image scroller core script
Script warning, "gzdoom.pk3:zscript/ui/menu/imagescroller.zs" line 113:
Truncation of floating point value
Script warning, "gzdoom.pk3:zscript/ui/menu/imagescroller.zs" line 122:
Truncation of floating point value
2020-10-30 14:58:50 +02:00
Player701
08302146d7 - Extended AddOptionMenu to allow inserting items before or after a specific menu item 2020-10-29 11:21:39 +01:00
Player701
e276431336 - Implemented AddListMenu MENUDEF directive to allow extending list menus.
Syntax: AddListMenu "MenuName" [<before|after> "SubMenuName"] { ... }

By default, new items will be added to the end of the menu. Specifying before/after allows inserting items before or after a specific submenu item.
2020-10-28 21:45:04 +01:00
Christoph Oelckers
d4d187e27b - removed the limiter flags again and addressed the underlying problem properly.
The real issue is that the number of unattenuated sounds was unchecked and the near limit never kicked in.
To do this properly it is necessary to adjust the limit distance by the attenuation - zero attenuation must mean infinite distance and for high attenuations the distance must be lowered for limiting to work as intended.
The limit for the Doom boss sounds was increased to 4 to compensate for this change.

# Conflicts:
#	src/common/audio/sound/oalsound.cpp
2020-10-28 21:30:25 +01:00
alexey.lysiuk
2ebf38c9c9 - removed duplicated line of code 2020-10-28 09:52:56 +02:00
Christoph Oelckers
f25896021e - added the missing image scroller class.
MENUDEF handling was already present for it but the implementation was not.
2020-10-28 07:23:42 +01:00
Rachael Alexanderson
ef47abda74 - remove the IWADINFO definition to fix an un-offsetted status bar, since it's done unconditionally now 2020-10-28 06:27:30 +01:00
Rachael Alexanderson
d240d87f48 - update to current (as of now) version of widepix 2020-10-27 23:21:11 -04:00
Christoph Oelckers
fb0a40e0f0 - enable OpenAL's sound volume normalizer. 2020-10-27 20:36:17 +01:00
Christoph Oelckers
0b7fb453ab - normalize line endings. 2020-10-27 18:47:53 +01:00
Rachael Alexanderson
b67130a713 - force git to store Windows files with native line-endings. it cannot be trusted to handle crlf correctly. 2020-10-27 12:53:59 -04:00
Rachael Alexanderson
2312fb0322 - fix HDR shader, again 2020-10-27 11:52:17 -04:00
Rachael Alexanderson
6770def806 Merge commit 'refs/pull/1227/head' of https://github.com/coelckers/gzdoom 2020-10-27 10:42:42 -04:00
Rachael Alexanderson
928295bb7f - add submodule for widescreen to Nash's WidePix repository 2020-10-27 10:23:12 -04:00
Rachael Alexanderson
9afffba515 - fix HDR shader 2020-10-27 09:58:38 -04:00
drfrag
0562dfb554 - Rename menudef.txt for the simple menu to be loaded after. 2020-10-27 12:11:23 +01:00
Rachael Alexanderson
470c06aacb - rename the title in the simplified 'Display Options' menu to be Display Options 2020-10-26 12:28:57 -04:00
Rachael Alexanderson
34c57ab6be - add 'loadwidescreen' to gameinfo, works exactly like 'loadbrightmaps' or 'loadlights' 2020-10-26 10:08:34 -04:00
Rachael Alexanderson
7479648083 - add widescreen loader, and a bare pk3 2020-10-26 09:56:58 -04:00
Marisa Kirisame
c933d02034
Linetrace properly reports 3D line hits as "middle" part (#1228)
* Linetrace properly reports 3D line hits as "middle" part, as was intended.

* Typo fix
2020-10-26 04:24:04 -04:00
Rachael Alexanderson
11954ef1ad - add simplified 'miscelaneous' menu 2020-10-26 04:20:37 -04:00
Rachael Alexanderson
b33e009209 - add sv_alwaysspawnmulti to the menu 2020-10-26 03:40:54 -04:00
Rachael Alexanderson
98282f710f - oops, missed this 2020-10-26 03:36:24 -04:00
Rachael Alexanderson
190173bc44 - add 'writeini' console command to the menu. Not committing this to master right now, since a release is pending and this requires a translation. 2020-10-26 03:36:24 -04:00
Rachael Alexanderson
5b03e86a2b - add 'sv_alwaysspawnmulti' dmflags2 2020-10-26 03:33:02 -04:00
Christoph Oelckers
d850ca6a0e - fixed: MENUDEF did not take recusive parsing into account when checking the default scaling mode. 2020-10-26 06:27:24 +01:00
Christoph Oelckers
6a9bfa2cb3 - do not use the border flat for the fullscreen console. 2020-10-26 06:15:13 +01:00
Rachael Alexanderson
b3e020c087 - fixed: accidentally unconditional multiplayer spawns 2020-10-25 17:10:57 -04:00
Rachael Alexanderson
e7e4365d3a - minor adjustments to the simplified menu 2020-10-25 16:10:22 -04:00
nashmuhandes
6e692e5571 Allow retrieval of the custom Crush state in WorldThingGround 2020-10-25 20:10:52 +01:00
nashmuhandes
7285c5aca8 Added WorldThingGround event to hook into the actor at exact moment its corpse spawns gibs upon being crushed. 2020-10-25 20:10:52 +01:00
Christoph Oelckers
54f85d4caa - made the sinmple options menu switchable.
Also ensure that custom mods pick up the simple version if enabled.
2020-10-25 17:07:03 +01:00
Christoph Oelckers
d0f9ccb09a - language update. 2020-10-25 16:59:47 +01:00
Christoph Oelckers
f67d5edbbf - fixed option menu positioning.
Calculations are done in screen space, so the clean multiplier here was wrong.
2020-10-25 16:42:03 +01:00