Commit graph

3649 commits

Author SHA1 Message Date
drfrag
9ce3ba1313 - Fake grayed-out support for sliders. 2020-10-01 14:27:31 +02:00
drfrag
8671c39358 - Missing string. 2020-09-27 23:23:51 +02:00
Christoph Oelckers
99fcfbdce0 - version bump for last commit.
# Conflicts:
#	wadsrc_extra/static/filter/harmony/zscript.txt
2020-09-27 20:53:29 +02:00
Player701
6fa409825b - Implement return type covariance for ZScript virtual functions
# Conflicts:
#	src/dobjtype.h
#	wadsrc_extra/static/filter/harmony/zscript.txt
2020-09-27 20:53:28 +02:00
makise-homura
9e28aeac14 Add species parameter to A_RadiusThrust
This is the last parameter for A_RadiusThrust() DECORATE function.
If it is omitted or none, then A_RadiusThrust will behave as usual.

If it is set for some species name, it witt thrust only that species.
Of course, these species should be +VULNERABLE to be thrustable.
2020-09-27 20:53:23 +02:00
Sterling Parker
13f4636387 Add PlayerSpawned() event (#1118)
* Add PlayerSpawned() event

* add playerspawned to DStaticEventHandler

* Define PlyerSpawned() correctly
# Conflicts:
#	src/events.cpp
#	src/events.h
#	src/p_mobj.cpp
2020-09-27 20:53:14 +02:00
Christoph Oelckers
de1302db7b - transmit the actual run mode in BT_RUN, because BT_SPEED was poorly designed.
# Conflicts:
#	src/g_game.cpp
2020-09-27 00:23:55 +02:00
Christoph Oelckers
7d3abb8d41 - fixed: Artiflash is not translatable. 2020-09-26 21:50:17 +02:00
Player701
ee3ef788a5 Exported FLevelLocals::ChangeLevel to ZScript
# Conflicts:
#	wadsrc/static/zscript/base.zs
2020-09-21 00:38:11 +02:00
Player701
0eed9bf413 Fixed inability to achieve 100% kills in BTSX E2 MAP06 2020-09-20 11:03:13 +02:00
Rachael Alexanderson
4bfeb54be0 - add missing SPAC constants 2020-09-19 13:42:40 +02:00
drfrag
258d9dde25 - add support for the (as of now) newest version of the Unity re-releases
# Conflicts:
#	src/gi.h
#	src/win32/i_steam.cpp
#	wadsrc_extra/static/iwadinfo.txt

(with Rachael's flag and hacked JPL's fix)

# Conflicts:
#	src/gi.h
2020-09-05 00:01:53 +02:00
Sterling Parker
e65d7b4aee change BloodSmear2 decal to use correct graphic
BloodSmear2 is an exact copypaste of BloodSmear1 despite the existence of the BSMEAR2 graphic.
2020-09-03 00:55:18 +02:00
Marisa Kirisame
0bc5bccb3b Add Travelled virtual for PlayerPawn, akin to the same function for Inventory. (#1169) 2020-09-02 13:56:24 +02:00
Marisa Kirisame
0255ee7719 Add Pre/PostTeleport virtuals, for special handling of actor teleportation. 2020-09-02 13:56:22 +02:00
drfrag
74cffeb84f - Add the DF2_NO_COOP_THING_SPAWNDM flag to prevent spawning MP things in coop. 2020-08-29 17:57:24 +02:00
3saster
26f2bfe3fd Implemented Clock Class (#977)
* Simplified some stuff, made up-to-date

* Dealt with DST problems

* Made SystemTime.Format clearscope, as there is no reason for this function to be limited to the ui
# Conflicts:
#	wadsrc/static/zscript/ui/statusbar/alt_hud.zs
2020-08-28 17:20:28 +02:00
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