MajorCooke
4f522c0ac3
View Angles (Part 1 - Redux) ( #1002 )
...
* Added ViewAngle/Pitch/Roll properties to actors.
- These are offsets for camera angles that allow turning the camera without affecting aim or movement direction.
- Added A_SetView<Angle/Pitch/Roll>, which will set the view direction.
- Added ABSVIEWANGLES flag, used to make the view absolute instead of an offset.
* Converted functions to be direct-native.
2020-08-28 13:47:22 +02:00
alexey.lysiuk
cebca2d93d
- do not report missing camera target if its TID is zero
...
This handles the case with setting TID of thing to follow after camera spawning, e.g. via ACS
https://forum.zdoom.org/viewtopic.php?t=69690
2020-08-28 13:46:52 +02:00
Nash Muhandes
c2f220132d
Allow conversation menu cursor graphic replacement. ( #1134 )
...
If "graphics/DialogReplyCursor.png" is present, it will be used for the reply cursor. Otherwise, the default ConFont cursor is used.
# Conflicts:
# wadsrc/static/zscript/ui/menu/conversationmenu.zs
2020-08-28 13:43:24 +02:00
Ed the Bat
83eeaac940
Optional override for SetSlot and ClearPlayerClasses
...
With this, a decade-long struggle can now be ended.
# Conflicts:
# src/keysections.cpp
# wadsrc/static/menudef.txt
2020-08-28 13:42:40 +02:00
drfrag
a020070bf0
- Add game load message.
2020-08-24 18:31:31 +02:00
drfrag
f9bd158211
- Ported the COMPATF2_OLD_RANDOM_GENERATOR compatibility flag from Zandronum and added it to the Doom (Strict) compatibility mode.
...
Added new compatflag "old random generator", controlled by the new CVAR compat_oldrandom. If this is enabled, the original Doom random table is used to generate random integers in [0,255], which should make for instance the SSG cause a little more damage.
2020-08-24 16:11:07 +02:00
Kevin Caccamo
4fac2e3ebc
Fix the health bar on Strife status bar ( #1080 )
...
* Fix the health bar on Strife status bar
Now, if the player's health is above 100, the green health bar won't be shortened any more.
* Fix the bar properly
Now, the blue and green bars don't overlap. Also, health above 100 goes from right to left, like in Strife: Veteran Edition.
2020-08-08 16:15:25 +02:00
Blue Shadow
2cc9c0bbde
- fixed: the minotaur spawned its floor flames regardless of the setting of compat_minotaur
...
A_MinotaurAtk3 was checking against the CVAR instead of the compatibility flag constant.
# Conflicts:
# wadsrc/static/zscript/actors/raven/minotaur.zs
2020-07-28 13:26:55 +02:00
drfrag
f02d0d44d9
- Missing strings.
2020-07-22 02:33:46 +02:00
Rachael Alexanderson
bddbe608f6
- add menu options for 'sv_alwaystally'
...
# Conflicts:
# wadsrc/static/menudef.txt
# Conflicts:
# wadsrc/static/menudef.txt
2020-07-22 02:33:44 +02:00
Major Cooke
b9e2063a65
Begin TICRATE conversion.
...
- Moved TICRATE from Thinker to Object in ZScript so status bars have access to it.
# Conflicts:
# src/p_effect.h
# wadsrc/static/zscript/base.zs
2020-07-15 19:03:44 +02:00
Christoph Oelckers
70de6ff165
- added more contrast to the Cream font color.
...
This brightened the darkest colors to the point that all font looked totally washed out and devoid of any texture.
2020-07-10 14:58:54 +02:00
Rachael Alexanderson
de2d564c98
- change recent /0 fix to conform to UDMF specs
...
# Conflicts:
# src/playsim/p_spec.cpp
2020-06-25 16:07:20 +02:00
Farkas Péter
ee94d3b627
Rename MAP31 and MAP32 back in Doom 2: Unity Edition ( #1127 )
2020-06-25 16:07:18 +02:00
drfrag
5e65a9d6b9
- Deleted old unused stuff.
2020-06-19 11:54:07 +02:00
Christoph Oelckers
cd74e70739
- fixed: Inventory items that are terminated by GoAwayAndDie must be removed from the blockmap and sector lists.
...
Since they were just scheduled for delayed deletion any map related action they can trigger is unwanted.
2020-06-19 11:54:05 +02:00
Christoph Oelckers
5ad11d7587
- let blastradius work without an effect actor.
2020-06-13 01:49:25 +02:00
drfrag
fded4b3fdc
- Fixed number of DrawTextureTags didn't match in ZScript.
2020-06-12 19:25:19 +02:00
drfrag
38a0e31ef4
- Delete hidden skill levels.
2020-06-11 11:22:55 +02:00
Christoph Oelckers
68d95befd4
- mapped "Smooth mouse" back to m_filter CVAR and removed smooth_mouse.
...
The option effectively disables per frame mouse checks.
The motivation to add it was that many wireless mice 10-15 years ago had update rates of less than 35Hz, and on these it was necessary to sync mouse input with the playsim to properly interpolate between updates.
Today this is totally useless and even counterproductive because modern mice have significantly higher update rates, so this option no longer smoothes things but instead makes the mouse feel more choppy.
2020-06-10 13:54:09 +02:00
drfrag
d4dba5ed3f
- Add fake missing DTA_Desaturate DrawTexture tag.
2020-06-09 19:41:28 +02:00
drfrag
796c25b056
- Add missing DrawTextureTags.
...
DTA_FlipY, DTA_SrcX, DTA_SrcY, DTA_SrcWidth and DTA_SrcHeight.
2020-06-09 18:42:52 +02:00
Kevin Caccamo
8081f6fcbe
Fix Bag of Holding not increasing Firemace ammo capacity
2020-06-08 15:50:35 +02:00
alexey.lysiuk
a0758d6a92
- fixed incomplete disabling of number field menu option
...
https://forum.zdoom.org/viewtopic.php?t=68075
2020-06-07 15:09:07 +02:00
Alexander Kromm
d28ba37af2
make various getter and pure-math methods clearscope, and where applicable, const
...
Original PR: https://github.com/coelckers/gzdoom/pull/532
Status of the original PR
1. Actor
- [already in] deltaangle
- [already in] absangle
- [already in] AngleToVector
- [already in] RotateVector
- [already in] Normalize180
- [already in] BobSin
- [already in] GetDefaultSpeed
- [this PR] GetBobOffset
- [this PR] InStateSequence
- [already in] FindState
- [already in] GetDropItems
- [this PR] DistanceBySpeed
- [this PR] AccuracyFactor
- [not in original PR, for PlayerInfo.isTotallyFrozen] isFrozen
2. PlayerInfo
- [this PR] GetUserName
- [this PR] GetColor
- [this PR] GetDisplayColor
- [this PR] GetColorSet
- [this PR] GetPlayerClassNum
- [this PR] GetSkin
- [this PR] GetNeverSwitch
- [this PR] GetGender
- [this PR] GetTeam
- [this PR] GetAutoaim
- [this PR] GetNoAutostartMap
- [this PR] GetClassicFlight
- [this PR] IsTotallyFrozen
3. C++ methods, to match ZScript:
- [scriptified] AActor::AccuracyFactor() to Actor.AccuracyFactor
- [this PR] AActor::DistanceBySpeed(AActor *, double) — it is a combination of getter and pure math
- [this PR] AActor::Distance2D(AActor *, bool) — called by DistanceBySpeed
- [this PR] AActor::Distance2D(AActor *, double, double, bool) — called by DistanceBySpeed
- [not in original PR, for PlayerInfo.isTotallyFrozen] AActor::isFrozen
# Conflicts:
# src/actor.h
# src/actorinlines.h
2020-06-07 14:34:48 +02:00
Christoph Oelckers
90476761a4
- manually merged PR for kill count in Requiem MAP23.
2020-06-07 14:34:26 +02:00
Christoph Oelckers
0a5919aa02
- there is no mace ammo in the bag of holding.
2020-06-07 14:34:23 +02:00
Christoph Oelckers
3106b46481
- advanced coordinate control for overlays over DTA_Fullscreen images.
...
Manually merged, there were severe conflicts.
# Conflicts:
# src/textures/textures.h
# src/v_draw.cpp
# src/v_video.h
2020-06-07 14:15:59 +02:00
Christoph Oelckers
ebc4e2215f
- fixed: the last frame of the intermission screen wasn't rendered.
2020-06-07 13:28:14 +02:00
Christoph Oelckers
96cd602de1
- added a compatibility option for a bad teleporter in the final Strife map.
2020-06-07 13:28:10 +02:00
drfrag
61e198f83d
- Missing string for Brazilian Portuguese (Daniel).
2020-06-03 14:50:53 +02:00
drfrag
a695d6ee34
- Change default key bindings: add arrow keys to the left-handed preset and set mouse3 to activate items for the modern presets.
2020-06-03 12:21:01 +02:00
drfrag
049090a314
- Missing string.
2020-06-01 10:39:13 +02:00
Hugo Locurcio
03c9906b55
Add a cvar to control weapon bobbing while firing
...
This simulates a feature found in Crispy Doom, which keeps the
weapon bobbing while firing. This leads to a "smoother" appearance
which may look a bit prettier to some people.
The default value of 0 preserves the old behavior.
2020-06-01 10:39:09 +02:00
Christoph Oelckers
b731a0e2c4
- fixed use of Powerup.Strength in PowerInvisibility.
...
An integer division made the feature useless.
2020-05-26 00:30:09 +02:00
drfrag
aa224a7448
- Fixed jump key in Hexen for the modern keyboard presets.
2020-05-21 20:13:57 +02:00
drfrag
3df769c9d5
- Replace the "IJKL" keyboard preset with "OKL;".
2020-05-19 14:20:57 +02:00
alexey.lysiuk
2f50d5521a
- fixed aiming camera that didn't follow target
...
https://forum.zdoom.org/viewtopic.php?t=68600
2020-05-18 14:23:43 +02:00
alexey.lysiuk
8dd30ab922
- restored warning about missing aiming camera target
2020-05-18 14:23:41 +02:00
drfrag
2f3be44470
- Restored original colors for player setup icon backdrop.
2020-05-17 14:04:43 +02:00
Major Cooke
36bf930575
Enforce the reflective flag as well.
2020-05-17 02:10:14 +02:00
Major Cooke
ac015c4bb9
Fixed an issue where multiple invulnerability powerups could cancel each other out from just one expiring.
2020-05-17 02:10:12 +02:00
drfrag
88c7f60cbc
- Add updated Brazilian Portuguese translation by Daniel Lemos.
2020-05-08 18:10:15 +02:00
Mekboss
b658d4c225
Fix MSVS compile bug and add offset parameter for SprayDecal
...
# Conflicts:
# src/g_shared/a_sharedglobal.h
2020-05-08 14:52:56 +02:00
Mekboss
6e30ac5f3c
Replace function variables to DVector3
...
# Conflicts:
# src/g_shared/a_sharedglobal.h
2020-05-08 14:52:53 +02:00
Mekboss
bfe367fb20
Add optional direction parameters for SprayDecal and its A_SprayDecal zscript counterpart
...
# Conflicts:
# src/g_shared/a_sharedglobal.h
2020-05-08 14:52:51 +02:00
drfrag
9554958801
- Fixed missing compatibility string.
...
# Conflicts:
# wadsrc/static/language.enu
2020-05-03 18:42:53 +02:00
drfrag
6a3f2b59cd
- Fixed compatibility flags not working in scripting.
2020-05-03 18:40:48 +02:00
alexey.lysiuk
80b3f8dcbe
- fixed secondary ammo display in strife status bar
...
https://forum.zdoom.org/viewtopic.php?t=68315
2020-05-03 18:40:45 +02:00
Cacodemon345
19b125ca3a
Fix bouncing missiles not dealing damage when hitting top/bottom ( #1068 )
...
* Fix bouncing missiles not dealing damage when hitting top/bottom
2020-04-30 11:45:45 +02:00
arookas
dec6a03caf
Add option to invert mouse x
2020-04-30 11:45:43 +02:00
nashmuhandes
81820961d4
Apply alpha to the background texture in DrawBar
2020-04-30 11:45:41 +02:00
nashmuhandes
5ef009bfd5
Add an alpha parameter to StatusBar.DrawBar
2020-04-30 11:45:39 +02:00
Skepticist
1799209052
Added a number of maps that can make use of the MTF_NOCOUNT flag
...
All but the Hell Revealed case are thanks to Skepticist from Doomworld
2020-04-28 02:23:03 +02:00
PaulyB
e59fe8e01f
Added MTF_NOCOUNT to spawn flags
2020-04-28 02:22:44 +02:00
Christoph Oelckers
411b287cd9
- block off the Substitute function by making it private to the 3 classes that really need it.
2020-04-19 21:39:25 +02:00
Christoph Oelckers
a953578484
- made 3D floor damage transfers optional by adding a new flag bit (2048) and made that mode automatic for the old ZDoom-based light only transfer special.
...
# Conflicts:
# src/maploader/specials.cpp
2020-04-19 15:18:54 +02:00
drfrag
518abb2363
- Missing string.
2020-04-08 23:32:41 +02:00
Blue
86927074c9
Added $OPTVAL_MBFSTRICT to menudef.txt, and added corresponding case 7 to the compatmode cvar in d_main.cpp
2020-04-08 23:32:40 +02:00
Erick Tenorio
5ce63a92da
- REQUIEM.WAD fixes ( #1050 )
...
Fixes for various maps in the Requiem megawad.
Idgames: https://www.doomworld.com/idgames/levels/doom2/megawads/requiem
2020-04-04 18:47:41 +02:00
drfrag
c1f6e70fb3
- Missed a bit for stat screens (fixes Guncaster Vindicated).
2020-04-04 18:17:35 +02:00
Christoph Oelckers
ca18bccb0b
- fixed another typo.
...
# Conflicts:
# wadsrc/static/zscript/base.zs
2020-03-25 13:58:49 +01:00
drfrag
2f8c959ece
- Remove 1K Deaths skill from the menu and restore original Heretic Nightmare.
2020-03-24 02:39:09 +01:00
nashmuhandes
72ecc11e8d
Added Actor.CopyBloodColor to copy another existing actor's blood color.
2020-03-24 01:36:58 +01:00
nashmuhandes
315efb2b97
Add help messages for most of the deprecated stuff in ZScript.
...
# Conflicts:
# wadsrc/static/zscript/actors/actor.zs
# wadsrc/static/zscript/base.zs
# wadsrc/static/zscript/destructible.zs
# wadsrc/static/zscript/mapdata.zs
# Conflicts:
# wadsrc/static/zscript/base.zs
2020-03-16 11:07:29 +01:00
alexey.lysiuk
eaa7e392d7
- fixed FLineTraceData scripting definition
...
https://forum.zdoom.org/viewtopic.php?t=67795
# Conflicts:
# src/scripting/thingdef_data.cpp
2020-03-14 19:15:27 +01:00
Christoph Oelckers
9fe9552023
- fixed A_FireCGun.
2020-03-11 20:18:45 +01:00
Christoph Oelckers
4e40c4dfa9
- fixed: player_t::GetPSprite cannot guarantee success
...
As a consequence it must return null in the failure case instead of asserting and all calls to this function must check for the failure case.
2020-03-11 20:18:43 +01:00
Alexander Kromm
c91c542c23
fix Dictionary and DictionaryIterator memory leaks
...
# Conflicts:
# src/version.h
2020-03-09 00:33:48 +01:00
Major Cooke
c467539014
Changed Pre/Post(Un)Morph to take the other actor and a boolean indicating direction.
...
- 'current' is true for the actor that is the new body, false for the old body.
2020-03-09 00:28:05 +01:00
Major Cooke
8712d7c237
Added Pre(Un)Morph and Post(Un)Morph functions.
...
- cls: The other class's cast type which the actor is transitioning from/to.
2020-03-09 00:28:03 +01:00
Rachael Alexanderson
673e52f02f
- fix debug assertion, cleanup vestigial A_PlaySound addition
2020-03-04 09:46:09 +01:00
Rachael Alexanderson
c9476e6188
- remove addition from deprecated A_PlaySound
2020-03-03 10:58:50 +01:00
Rachael Alexanderson
4625925a69
- ported over Nash's startTime for A_StartSound
2020-03-03 10:58:46 +01:00
Major Cooke
45c80916bc
Added A_StopSounds(int chanmin, int chanmax).
...
- If both channels are 0, completely silences the actor.
- Adapted A_StopAllSounds to call A_StopSounds(0,0);
2020-03-01 20:27:03 +01:00
Major Cooke
3e77f9a6bd
Added A_StopAllSounds.
2020-02-29 20:02:17 +01:00
drfrag
797037fcde
Oops, fixed default bindings not being loaded from pwads.
...
# Conflicts:
# src/console/c_bind.cpp
2020-02-28 19:14:52 +01:00
drfrag
bf8a5621eb
- Missed bindings for other games.
2020-02-28 16:31:06 +01:00
drfrag
fa5902b538
- Add support for several control layouts.
2020-02-28 12:44:13 +01:00
Major Cooke
116a935b71
Added source, inflictor and damage flags to AbsorbDamage.
2020-02-11 00:55:21 +01:00
Zain Aamer
44ea61a280
Clearscope Index()
...
For Vertex, Side, Line and Sector
2020-02-11 00:55:17 +01:00
alexey.lysiuk
b8395e5b59
- fixed wrong arguments of a few A_StartSound() calls
...
https://forum.zdoom.org/viewtopic.php?t=67074
2020-01-24 15:20:35 +01:00
Rachael Alexanderson
76fffe288c
- add support for xbox 360 versions of Doom/Doom2
...
# Conflicts:
# wadsrc_extra/static/iwadinfo.txt
2020-01-24 15:20:21 +01:00
3saster
5a3e04e2e3
Plutonia 2 Compatibility Fixes ( #1026 )
...
* Plutonia 2 MAP20 fix
* Plutonia 2 MAP27 fix
* Plutonia 2 MAP05 fix
* Plutonia 2 MAP23 fix
* Plutonia 2 MAP24 fix
2020-01-22 12:27:53 +01:00
alexey.lysiuk
7d7bf3dee9
- fixed resetting of music volume after closing dialogue
...
https://forum.zdoom.org/viewtopic.php?t=67035
2020-01-21 12:17:56 +01:00
alexey.lysiuk
7d0df9fe3f
- exposed Level.MusicVolume to ZScript
2020-01-21 12:17:54 +01:00
Rachael Alexanderson
f058d62b62
- fixed: oops, show NRFTL on the episode selection menu for Doom2:Unity, if nerve.wad is loaded
2020-01-19 01:33:51 +01:00
Christoph Oelckers
8ffadb64b5
- precache a few sounds being referenced in common game code.
...
- define misc/secret for Hexen, too. By now there are some mods defining secrets for the game so this sound should be present there.
2020-01-18 11:23:24 +01:00
Alexander Kromm
dd40d4f6f6
make enter key toggle Option Search mode too
2020-01-17 13:02:12 +01:00
drfrag
004b48d62f
- Blind attempt at adding support for 4 XInput controllers.
2020-01-13 13:19:34 +01:00
Rachael Alexanderson
07bc5d233e
- implement player setup background by Enjay
2020-01-12 20:51:41 +01:00
Christoph Oelckers
0c2ee0ffea
- added missing render style constants to ZScript.
2020-01-12 12:59:46 +01:00
Rachael Alexanderson
ad4770a803
- add support for new Bethesda.Net Unity Edition wads
...
- they can be extracted with this utility: https://github.com/kevansevans/Unity-Doom-Ripper
# Conflicts:
# wadsrc_extra/static/iwadinfo.txt
2020-01-12 00:46:44 +01:00
Christoph Oelckers
37db863bab
- fixed: menu sounds no longer got the CHANF_UI flag.
2020-01-07 19:55:55 +01:00
Christoph Oelckers
286cda2bb5
- bumped ZScript version to 4.3 and silenced the remaining deprecation warnings.
...
# Conflicts:
# wadsrc/static/zscript.txt
2020-01-07 19:37:00 +01:00
Christoph Oelckers
5229a84047
- deprecated A_PlaySound for real and transitoned the internal scripts to A_StartSound
...
# Conflicts:
# wadsrc_extra/static/filter/harmony/decorate.txt
2020-01-07 19:36:57 +01:00
Christoph Oelckers
ce1f4427cc
- cleaned up the parameters of A_StartSound.
...
There were two booleans that could be merged into the flag word.
This also fixes a bug with CHAN_NOSTOP not working for local sounds because it checked the wrong sound source for the playing sound.
2020-01-07 19:36:52 +01:00
Christoph Oelckers
41d192ed98
- fixed two missing commas in DEHSUPP.
2020-01-06 21:57:06 +01:00
Christoph Oelckers
16bd5e9619
- added the Dehacked extensions from Crispy/Doom Retro.
...
All empty placeholders for mods to fill in, no new functionality.
2020-01-06 21:57:04 +01:00
Alexander Kromm
032c6a534b
export dictionary iterator
2020-01-06 21:57:02 +01:00