ZZYZX
0953f11a04
Normalize mouse events received by the modder through EventHandlers
2019-11-30 15:15:28 +01:00
alexey.lysiuk
e67e6b21c0
- added ability to force internal alternative HUD
...
Set hud_althud_forceinternal CVAR to disable unwanted HUD customizations
2019-11-26 16:48:08 +01:00
alexey.lysiuk
1a4f62c54f
- added ability to set custom alternative HUD
...
Use GAMEINFO key 'althudclass' to specify own class derived from AltHud
https://forum.zdoom.org/viewtopic.php?t=66422
2019-11-26 16:47:54 +01:00
Rachael Alexanderson
ed654150eb
- add cvar 'cl_customizeinvulmap' - changes the invulnerability… ( #972 )
...
* - add cvar 'cl_disableinvertedcolormap' - changes the invulnerability sphere to instead be a regular desaturated colormap that transitions from deep blue to pale yellow
* - add menu option for cl_disableinvertedcolormap
* - added customization for invulnerability colormap
* - fixed custom colormap being calculated incorrectly
* - disable custom invulnerability map before the main game loop
# Conflicts:
# src/d_main.cpp
2019-11-26 14:53:19 +01:00
alexey.lysiuk
7160219b63
- exported several Wads.GetLump...() methods to ZScript
...
* GetLumpName() returns 8-characters lump name
* GetLumpFullName() returns full name with path and extension
* GetLumpNamespace() returns lump's namespace
* GetNumLumps() returns total number of lumps
https://forum.zdoom.org/viewtopic.php?t=66285
2019-11-25 18:16:42 +01:00
Player701
d7542a8cd9
- Implemented scale parameter for BaseStatusBar::DrawString
...
# Conflicts:
# src/g_statusbar/shared_sbar.cpp
# Conflicts:
# src/g_statusbar/shared_sbar.cpp
2019-11-25 12:10:58 +01:00
drfrag
0228a596de
- Allow joystick input in the background by default. It's always allowed for XInput controllers and they work as DInput ones with DInput support disabled.
...
Besides on SDL1 they always worked like that.
2019-11-22 19:44:22 +01:00
alexey.lysiuk
21079752ba
- fixed missing checks for function calls from DECORATE
...
State functions could call ZScript code with incompatible self pointer, e.g. weapon's function could be called with self pointed to player pawn
DECORATE scripts that contain such errors are no longer accepted
https://forum.zdoom.org/viewtopic.php?t=66429
2019-11-21 18:04:03 +01:00
drfrag
4977e6af1f
- add native FlipLineSideRefs(line)
...
- FlipLineSideRefs should only work on single-sided lines
(patch by Rachael)
2019-11-16 14:01:47 +01:00
drfrag
74aa1763e6
Revert "- no, we do not want to use global variables to pass parameters around..."
...
This reverts commit 26a782031c
.
Not applicable and caused lighting problems with models.
2019-11-16 13:35:23 +01:00
PaulyB
787f06d7f3
Added 'NoKeyboardCheats' option to IWADINFO
...
This is useful for IWADs that do not want to use the hardcoded engine cheats. This can still be overriden with the 'allcheats' CVAR
2019-11-13 19:34:44 +01:00
Rachael Alexanderson
3c030527af
- cl_blockcheats added to 'nocheat' check
2019-11-13 19:34:41 +01:00
Rachael Alexanderson
4878da381b
- new zscript function 'SetLineVertexes(line, v1, v2)'
...
- scriptify 'FlipLine' completely using new function, remove native version
# Conflicts:
# src/maploader/postprocessor.cpp
2019-11-13 19:34:39 +01:00
3saster
7b454ef6c2
Added 'nocheats' CVAR ( #969 )
...
This CVAR disables all classic cheats (i.e. keyboard cheats). This prevents keypresses from being eaten due to attempting to read cheats
2019-11-13 19:34:34 +01:00
drfrag
44aeb56932
- add 'FlipLine' to 'LevelPostProcessor'
...
(patch by Rachael)
2019-11-13 19:34:28 +01:00
alexey.lysiuk
05f36cafc8
- extended level post-processing with special string arguments
...
# Conflicts:
# src/maploader/maploader.cpp
2019-11-13 19:34:26 +01:00
alexey.lysiuk
dca15d56c8
- extended level post-processing with thing IDs
...
# Conflicts:
# src/maploader/maploader.cpp
2019-11-13 19:34:23 +01:00
alexey.lysiuk
814483f5b8
- level post-processor cleanup
...
# Conflicts:
# src/maploader/maploader.cpp
2019-11-13 19:34:21 +01:00
alexey.lysiuk
7f1166e833
- level post-processor can now add new things
...
# Conflicts:
# src/maploader/maploader.cpp
2019-11-13 19:34:18 +01:00
alexey.lysiuk
05f0b76f8e
- extended level post-processing with specials and arguments
...
# Conflicts:
# src/maploader/maploader.cpp
2019-11-13 19:34:16 +01:00
alexey.lysiuk
09e7fe5fb4
- extended level post-processing with editor numbers and angles
...
# Conflicts:
# src/maploader/maploader.cpp
2019-11-13 19:34:13 +01:00
alexey.lysiuk
20098ca90b
- added things related getters to level post-processing
...
New functions cover existing interface only
Unsigned integers are now used instead signed for indices and bitfields
# Conflicts:
# src/maploader/maploader.cpp
2019-11-13 19:34:11 +01:00
drfrag
91859bc6fa
- added generic level post-processing script class
...
It was extracted from LevelCompatibility class, and native code was moved accordingly
(original patch by _mental_)
# Conflicts:
# src/compatibility.cpp
2019-11-13 19:33:49 +01:00
drfrag
033f0ca43e
Revert "- add 'flipline' function to levelcompatibility"
...
This reverts commit 1a85206983
.
Revert "- implement the following functions under LevelCompatibility:"
This reverts commit 6537eca669
.
2019-11-13 19:31:42 +01:00
alexey.lysiuk
29e4f34de6
- improved handling of return value mismatches
...
Prohibit returning more values than declared in function
The exception is a void function returning one value, but only for compatibility with old scripts
https://forum.zdoom.org/viewtopic.php?t=66341
2019-11-13 19:29:45 +01:00
Player701
f2202cca4f
- Fixed erroneous "Return type mismatch error" when returning value of derived type
2019-11-13 19:29:42 +01:00
Chronos Ouroboros
7bc42a30be
Fixed mixins.
2019-11-06 17:51:00 +01:00
alexey.lysiuk
4e5ffb5db9
- fixed: IfGame else branch was ignored in MENUDEF
...
https://forum.zdoom.org/viewtopic.php?t=66282
2019-11-06 17:50:57 +01:00
Christoph Oelckers
a487829932
- fixed bad variable name for lump filter
2019-11-06 17:50:54 +01:00
Christoph Oelckers
fb14f39d88
- fixed: lump filters without any dot in the name did not work.
2019-11-06 17:50:51 +01:00
drfrag
2e336b756a
- Fixed stretching for 256 and 240 pixels tall skies in software.
2019-11-02 21:13:15 +01:00
Chronos Ouroboros
9403fa2f48
Fixed a bug in the flagdef processing code.
2019-11-02 10:48:09 +01:00
Chronos Ouroboros
8b52477cd5
Added mixins for classes.
2019-11-02 10:48:05 +01:00
alexey.lysiuk
85fe6c5aaa
- adjusted collision detection for item pickups
...
Use vanilla condition for a thing with MF_SPECIAL flag to fix inability to grab it when item's top is at the same height as sector's floor from it can be picked up
https://forum.zdoom.org/viewtopic.php?t=60181&start=88#p1122935
2019-10-31 17:40:03 +01:00
drfrag
3e0fa5cc1b
- Bumped ZScript version to be the same as in GZDoom as Graf suggested.
2019-10-31 17:37:54 +01:00
drfrag
9ea43c4b14
- Fixed taking screenshots in menus with Space when Sys_Rq is set as screenshot key.
...
Thanks randi!
2019-10-31 17:05:33 +01:00
alexey.lysiuk
015eb3404a
- fixed radius attack that may inflict damage twice
...
https://forum.zdoom.org/viewtopic.php?t=66191
2019-10-28 12:14:32 +01:00
drfrag
46ebeeb7d5
- After the ill-fated 3.83 this is 3.83a.
2019-10-27 19:45:24 +01:00
Christoph Oelckers
2ec4331afe
- sort CVAR output in config alphabetically instead of randomly dumping them in their internal order.
2019-10-27 14:07:04 +01:00
Chronos Ouroboros
2351ae8317
Fixed ZScript's Screen.DrawLine using the wrong color when drawing pure black.
2019-10-26 23:09:25 +02:00
alexey.lysiuk
edcc0dc4ab
- fixed usage of uninitialized object in BlockLinesIterator
...
DBlockLinesIterator::check was used by FMultiBlockLinesIterator before it was constructed
https://forum.zdoom.org/viewtopic.php?t=66224
# Conflicts:
# src/scripting/vmiterators.cpp
2019-10-26 12:15:00 +02:00
drfrag
0907972c2f
Revert "- allow the language table to supersede the title patches, if appropriate"
...
This reverts commit 2b51e8d5dd
.
# Conflicts:
# src/g_hub.cpp
# src/g_level.cpp
# src/p_setup.cpp
# src/wi_stuff.cpp
# src/wi_stuff.h
# wadsrc/static/zscript/ui/statscreen/types.zs
Revert "- fixed: The wbstartstruct that gets passed to the level summary screen needs to be static"
This reverts commit 4a563f449d
.
# Conflicts:
# src/g_level.cpp
Revert "- Fixed compilation."
This reverts commit 149a294a49
.
# Conflicts:
# src/g_level.cpp
Revert "- Fixed game finales not being shown after the intermission."
This reverts commit 55af0b11c6
.
All this didn't make sense without localization and caused problems with intermissions and endings, it was incompatible with the old code without the level refactor.
2019-10-25 16:23:42 +02:00
alexey.lysiuk
d2fe30cd93
- added Visual Studio debugger visualization for several types
2019-10-24 13:25:22 +02:00
alexey.lysiuk
cde65bbfe9
- removed hardcoded width limit for screenshots
...
https://forum.zdoom.org/viewtopic.php?t=66204
2019-10-24 13:25:19 +02:00
Chronos Ouroboros
632708bccb
Fixed dynamic arrays as function arguments.
2019-10-24 13:25:16 +02:00
drfrag
68569d14c3
- Change how the 'randi' cheat works.
2019-10-23 11:52:49 +02:00
alexey.lysiuk
62d3f61bac
- do not accept read-only variable as out argument
...
https://forum.zdoom.org/viewtopic.php?t=66179
2019-10-22 10:59:34 +02:00
alexey.lysiuk
c9641ce335
- fixed variable's stack offset for implicit dynarray clearing
...
https://forum.zdoom.org/viewtopic.php?t=66187
https://forum.zdoom.org/viewtopic.php?t=66189
https://forum.zdoom.org/viewtopic.php?t=66198
2019-10-22 10:59:31 +02:00
Chronos Ouroboros
93d111ef29
Fixed Vector2/3 out parameters in the ZScript compiler.
2019-10-22 10:59:28 +02:00
alexey.lysiuk
ef06ef5977
- added explicit clearing of global VM stask
...
When exception is thrown from JITed code, VM stask isn't cleared during unwinding
It needs to be clear explicitly to avoid memory leaks and references to destructed objects on shutdown
https://forum.zdoom.org/viewtopic.php?t=66172
# Conflicts:
# src/dthinker.cpp
2019-10-22 10:59:25 +02:00
Christoph Oelckers
5ded0aadf0
- fixed GetLineX/GetLineY ACS implementation
...
# Conflicts:
# src/p_acs.cpp
2019-10-22 10:59:16 +02:00
Christoph Oelckers
f15a52b1e7
- when adding some minmum lateral movement to trigger collision detection, do not just set Vel.X but actually use a vector pointing in the proper facing direction of the actor.
2019-10-22 10:59:13 +02:00
Christoph Oelckers
1170e07124
- fixed: MF8_RECREATELIGHTS must be processed in pause mode as well.
...
When issuing a netevent from the console the game is in pause mode, and if this removes a light it would have crashed the game.
2019-10-22 10:59:09 +02:00
alexey.lysiuk
9aff83cfdc
- implicitly clear local dynamic arrays
...
https://forum.zdoom.org/viewtopic.php?t=62710
2019-10-20 12:30:00 +02:00
drfrag
b52ac9b556
Revert "AsmJit update"
...
This reverts commit 275ecb2623
.
This had to be reverted because it breaks exception handling which is a critical problem.
With the updated code any exception thrown inside code that had a JITed call stack would crash.
2019-10-20 11:34:23 +02:00
alexey.lysiuk
a6eb3f3016
- added access check for state functions
...
Private functions cannot be called from derived classes anymore
https://forum.zdoom.org/viewtopic.php?t=66158
2019-10-19 16:47:59 +02:00
alexey.lysiuk
7132b1a67c
- fixed SPC music looping after update to GME 0.6.2
...
Why was the default player setup changed at all?
https://forum.zdoom.org/viewtopic.php?t=65863
2019-10-18 11:19:27 +02:00
Christoph Oelckers
e2387d0741
- fixed: The dynamic lights must be initialized before the first frame is ticked.
...
Otherwise they only show up after the first frame.
# Conflicts:
# src/p_setup.cpp
2019-10-17 11:10:19 +02:00
Major Cooke
62b3ed7d75
Fixed CheckBossDeath not checking for actor replacements.
...
- A_BossDeath relies upon this function in particular.
- This completes CheckReplacee's purpose, allowing for varied actors to count as one particular actor, such as a Fatso for map07 and avoid lowering the walls until they are all dead.
2019-10-15 22:57:55 +02:00
drfrag
80442db4fe
- Yet even more missing null pointer checks, PB still crashed.
2019-10-15 14:45:52 +02:00
alexey.lysiuk
8c110541b1
- fixed crash with DMSS_INFLICTORDMGTYPE flag and no inflictor
...
https://forum.zdoom.org/viewtopic.php?t=66110
2019-10-14 12:18:11 +02:00
alexey.lysiuk
d5451fd281
- added dynamic loading of FluidSynth 2.x
...
# Conflicts:
# src/sound/mididevices/music_fluidsynth_mididevice.cpp
2019-10-14 12:01:03 +02:00
drfrag
af566f2d52
- More missing null pointer checks.
2019-10-14 11:49:06 +02:00
drfrag
0a9b20062a
- Fixed compilation on non Windows platforms.
2019-10-13 12:54:16 +02:00
alexey.lysiuk
5691d1d3b9
- made GL nodes loader more resilient to broken data
...
https://forum.zdoom.org/viewtopic.php?t=66086
# Conflicts:
# src/p_glnodes.cpp
2019-10-13 11:44:43 +02:00
drfrag
7ae0df931e
- Added the 'quickunsetslot' command to unset the quicksave slot.
2019-10-09 16:01:58 +02:00
drfrag
cc22109e95
- Fixed capped tall skies not working (Heretic and Hexen).
2019-10-09 13:10:52 +02:00
drfrag
302b9a768a
- Fixed sky stretching for the new freelook limit.
2019-10-09 13:10:35 +02:00
drfrag
d48a886f8b
- Added missing null pointer checks to fix the PB crash.
2019-10-07 20:36:08 +02:00
drfrag
d200c171ca
Revert "- Fixed bad NULL return value in AActor::StaticSpawn."
...
This reverts commit d5352fa550
.
In master AActor::StaticSpawn now can't return NULL but there are still some null pointer checks.
2019-10-07 20:04:00 +02:00
drfrag
d5352fa550
- Fixed bad NULL return value in AActor::StaticSpawn.
...
Fixes crash with PB.
2019-10-07 11:50:42 +02:00
drfrag
4a8d216f94
- This is version 3.83.
2019-10-06 21:11:48 +02:00
drfrag
8227e795c5
- Fixed crash with quicksave rotation enabled (read out of array bounds).
2019-10-04 17:07:39 +02:00
Alexander
a44f80c19d
add m_quickexit option for quick exit in game menu
...
Default: off (false)
When this option is enabled (true), then exiting the game from
main menu and by menu_quit command doesn't require confirmation
and doesn't play sound.
# Conflicts:
# wadsrc/static/menudef.txt
2019-09-30 21:38:51 +02:00
Rachael Alexanderson
6537eca669
- implement the following functions under LevelCompatibility:
...
GetNumMapThings, GetMapThingPos, GetMapThingAngle, SetMapThingAngle
# Conflicts:
# src/maploader/compatibility.cpp
2019-09-28 15:01:23 +02:00
Rachael Alexanderson
1a85206983
- add 'flipline' function to levelcompatibility
...
# Conflicts:
# src/maploader/compatibility.cpp
2019-09-28 14:56:12 +02:00
Christoph Oelckers
fd072db274
- adapted the PSX XA decoder from EDuke32 as a music format in GZDoom.
...
Libsndfile cannot decode this format but tries to play these files as regular WAVs and turns them into noise (Both are in a RIFF container.)
# Conflicts:
# src/sound/musicformats/music_xa.cpp
2019-09-28 14:20:29 +02:00
Christoph Oelckers
09d26a9e64
- moved a few CCMDs from i_sound.cpp to s_sound.cpp.
2019-09-28 14:20:26 +02:00
Christoph Oelckers
bd3e8c0a99
- split off all music code from s_sound.cpp
...
# Conflicts:
# src/CMakeLists.txt
# src/fragglescript/t_func.cpp
# src/fragglescript/t_load.cpp
# src/g_level.cpp
# src/g_levellocals.h
# src/g_shared/a_dynlight.cpp
# src/intermission/intermission.cpp
# src/p_saveg.cpp
# src/posix/cocoa/i_main.mm
# src/s_sound.cpp
# src/win32/st_start.cpp
# Conflicts:
# src/win32/st_start.cpp
2019-09-28 14:20:21 +02:00
drfrag
c12d5795d2
- Block the scale factor for low detail mode.
2019-09-25 12:33:24 +02:00
alexey.lysiuk
6a3b50c561
- fixed potential resetting of bindings
...
Quitting GZDoom during initialization could lead to unbound game controls
https://forum.zdoom.org/viewtopic.php?t=65945
2019-09-25 11:58:03 +02:00
drfrag
7f3616e8d8
Added low detail mode (160x200) to the preset scale modes.
...
UI looks horizontally stretched tough.
2019-09-25 11:46:55 +02:00
alexey.lysiuk
2e87aef815
- fixed C++ compilation flags applied to C files
...
This had an effect on 32-bit targets without SSE support
2019-09-24 13:51:06 +02:00
alexey.lysiuk
1871350c59
- fixed crash when setting sound pitch on non-existing channel
...
This applies to a lack of free channels, -nosound command line switch, missing OpenAL library, sound initialization failures, ...
https://forum.zdoom.org/viewtopic.php?t=65926
2019-09-23 15:10:58 +02:00
drfrag
9a3d87cafb
- Added PrtSc key support for Linux and MacOS, at least in theory.
2019-09-22 22:55:44 +02:00
drfrag
a1e19657f9
- Added support for PrtSc and cosmetic changes.
2019-09-22 19:34:56 +02:00
Alexander
6535f837b7
implement taking screen shots in menus
...
# Conflicts:
# wadsrc/static/zscript/ui/menu/menu.zs
2019-09-22 12:45:32 +02:00
drfrag
55af0b11c6
- Fixed game finales not being shown after the intermission.
2019-09-21 14:27:13 +02:00
Christoph Oelckers
6d69785838
- fixed uninitialized variable.
...
# Conflicts:
# src/gamedata/fonts/font.cpp
# src/v_text.cpp
2019-09-21 12:33:00 +02:00
drfrag
734225e67f
- Fixed compilation.
2019-09-20 22:20:08 +02:00
Christoph Oelckers
a82ee857e5
- fixed a few warnings.
...
# Conflicts:
# src/scripting/vmthunks.cpp
2019-09-20 22:20:05 +02:00
alexey.lysiuk
9b84a97a1d
- fixed compilation with MSVC
...
src\gamedata\resourcefiles\resourcefile.h(77): error C4716: 'FResourceLump::FillCache': must return a value
2019-09-20 22:18:36 +02:00
Christoph Oelckers
3aa615e960
- extended lump injection to allow injecting data into a PWAD's directory, not just the IWAD.
...
# Conflicts:
# src/w_wad.cpp
# src/w_wad.h
2019-09-20 22:18:33 +02:00
Christoph Oelckers
8980ff688c
- generate a hash identifier for each loaded resource file.
...
This is not useful by itself but can be used for adding new features later, e.g. mod-wide compatibility settings or file specific lump replacement or injection.
# Conflicts:
# src/resourcefiles/resourcefile.cpp
# Conflicts:
# src/resourcefiles/resourcefile.cpp
2019-09-20 22:18:29 +02:00
drfrag
b5bb5fa0bd
- Fixed another crash in the software renderer now with transparent sprites (Stronghold STR12), it's a bit hacky and now you get a white flash instead.
2019-09-17 18:48:31 +02:00
Christoph Oelckers
f25dadbaf2
- fixed: sector lights could access the sector before it was set.
2019-09-16 18:42:07 +02:00
Marisa Kirisame
ca35bdc33c
Fix for LineTrace not setting its starting sector based on its offset.
2019-09-16 01:28:11 +02:00
drfrag
400444f7df
- Fixed savegame slot selection for real: wrong check and ancient bug.
2019-09-16 01:01:40 +02:00
drfrag
974d11a161
- Fixed savegame slot selection bug.
2019-09-15 15:56:28 +02:00
drfrag
ca537d716b
- Disable models by default only for the classic software renderer with the r_models_carmack CVAR. Performance is not affected in SoftPoly.
2019-09-15 12:54:59 +02:00