Christoph Oelckers
6444a7535c
- fixed use of Powerup.Strength in PowerInvisibility.
...
An integer division made the feature useless.
2020-05-25 16:43:01 +02:00
Rachael Alexanderson
58b3cb0971
Merge branch 'master' of https://github.com/coelckers/gzdoom into texture_rework
2020-05-18 23:13:37 -04:00
alexey.lysiuk
1fd2ea46d2
- fixed aiming camera that didn't follow target
...
https://forum.zdoom.org/viewtopic.php?t=68600
2020-05-18 14:00:48 +03:00
alexey.lysiuk
0631670a66
- restored warning about missing aiming camera target
2020-05-18 13:58:22 +03:00
Major Cooke
079e7ee4e9
Enforce the reflective flag as well.
2020-05-10 10:48:32 +02:00
Major Cooke
b70bc2b152
Fixed an issue where multiple invulnerability powerups could cancel each other out from just one expiring.
2020-05-10 10:48:32 +02:00
Rachael Alexanderson
192882f63a
Merge branch 'master' of https://github.com/coelckers/gzdoom into texture_rework
2020-05-07 04:32:46 -04:00
Mekboss
4807f4240b
Fix MSVS compile bug and add offset parameter for SprayDecal
2020-05-07 09:35:48 +02:00
Mekboss
0e9ca3c850
Replace function variables to DVector3
2020-05-07 09:35:48 +02:00
Mekboss
ba43244764
Add optional direction parameters for SprayDecal and its A_SprayDecal zscript counterpart
2020-05-07 09:35:48 +02:00
alexey.lysiuk
331f3d85d6
- fixed secondary ammo display in strife status bar
...
https://forum.zdoom.org/viewtopic.php?t=68315
2020-04-30 16:26:12 +03:00
Cacodemon345
4b4ff8dd0e
Fix bouncing missiles not dealing damage when hitting top/bottom ( #1068 )
...
* Fix bouncing missiles not dealing damage when hitting top/bottom
2020-04-30 08:55:09 +02:00
arookas
6b70cad6e1
Add option to invert mouse x
2020-04-30 08:54:10 +02:00
nashmuhandes
d563b0339c
Apply alpha to the background texture in DrawBar
2020-04-29 21:01:13 -03:00
nashmuhandes
f65a97322e
Add an alpha parameter to StatusBar.DrawBar
2020-04-29 21:01:13 -03:00
Christoph Oelckers
9be63a5093
Merge branch 'master' into texture_rework
2020-04-29 08:04:15 +02:00
Christoph Oelckers
ddef3f7b98
- made video base code game independent
2020-04-28 22:54:53 +02:00
Skepticist
3377486b8e
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-27 20:30:37 +02:00
PaulyB
573b2958c6
Added MTF_NOCOUNT to spawn flags
2020-04-27 20:30:37 +02:00
Christoph Oelckers
f8dcb09ff0
- moved postprocessing shaders to their own folder.
2020-04-26 21:22:57 +02:00
Christoph Oelckers
686aa9779d
- moved VR code and IntRect to 'common'
2020-04-26 10:26:29 +02:00
alexey.lysiuk
62d4bbbe65
- restored Wads.GetNumLumps() scripted function
...
https://forum.zdoom.org/viewtopic.php?t=68300
2020-04-21 10:07:24 +03:00
Christoph Oelckers
5d49faf190
Merge branch 'master' into texture_rework
2020-04-19 21:15:28 +02:00
Christoph Oelckers
4fb6b7c7d4
- block off the Substitute function by making it private to the 3 classes that really need it.
2020-04-19 21:08:24 +02:00
Christoph Oelckers
0eb68177ca
Merge branch 'master' into texture_rework
2020-04-19 18:07:16 +02:00
Christoph Oelckers
e63871d6f5
- 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.
2020-04-19 13:40:21 +02:00
Christoph Oelckers
7c46dace03
- this still doesn't work on Vulkan. :(
2020-04-19 10:57:44 +02:00
Christoph Oelckers
8381092cce
- major shader rework
...
* handle brightmaps in the main shader instead of keeping separate instances around.
* added detail and glow layers from Raze.
* fixed material setup which could not guarantee that everything was initialized correctly.
* for warped textures, warp all layers. With this brightmaps finally work on warped textures.
Note: Vulkan reports a "device lost" error with this which still needs to be investigated.
2020-04-19 10:57:43 +02:00
Major Cooke
a56177f178
Begin TICRATE conversion.
...
- Moved TICRATE from Thinker to Object in ZScript so status bars have access to it.
2020-04-12 22:43:33 +02:00
Christoph Oelckers
3454314bb1
- separated the Doom specific parts from the compiler backend into a separate file, these parts now get invoked via callback hooks.
2020-04-11 20:20:55 +02:00
Christoph Oelckers
32300f7d26
- use translation slot 0 for reserved content, like font translations.
2020-04-11 20:20:39 +02:00
Christoph Oelckers
80c6d5b276
- renamed more stuff and also moved the Strife teaser voice handling out of the file system.
2020-04-11 14:00:19 +02:00
Christoph Oelckers
30577e8a50
- Text update.
2020-04-11 14:00:07 +02:00
Blue
52f1c8a0d1
Added $OPTVAL_MBFSTRICT to menudef.txt, and added corresponding case 7 to the compatmode cvar in d_main.cpp
2020-04-08 18:51:38 +02:00
Lucy Phipps
2c1a42ae55
remove gl_texture_usehires since it's unused now
...
GLTEXMNU_ENABLEHIRES in language.csv is unused too
2020-04-05 13:22:32 +01:00
Erick Tenorio
b2a17dfdc2
- REQUIEM.WAD fixes ( #1050 )
...
Fixes for various maps in the Requiem megawad.
Idgames: https://www.doomworld.com/idgames/levels/doom2/megawads/requiem
2020-04-02 05:35:51 -04:00
nashmuhandes
cb6514cc05
Added Actor.CopyBloodColor to copy another existing actor's blood color.
2020-03-23 21:04:59 +01:00
Christoph Oelckers
828cba13a1
- changed translation management so that the fonts also use translation IDs.
2020-03-16 17:23:30 +01:00
Christoph Oelckers
a50a5101bc
- fixed another typo.
2020-03-15 15:56:35 +01:00
Christoph Oelckers
0c04cddd28
- allow specifying full palettes in translation definitions.
2020-03-15 10:22:42 +01:00
nashmuhandes
7a141f3aa3
Add help messages for most of the deprecated stuff in ZScript.
2020-03-14 12:56:03 +02:00
alexey.lysiuk
f46e80e2b4
- fixed FLineTraceData scripting definition
...
https://forum.zdoom.org/viewtopic.php?t=67795
2020-03-14 12:51:06 +02:00
Christoph Oelckers
4201c4fbb5
- fixed A_FireCGun.
2020-03-11 19:47:23 +01:00
Christoph Oelckers
a638cfbd6e
- 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 00:56:29 +01:00
Alexander Kromm
3607ffaf66
fix Dictionary and DictionaryIterator memory leaks
2020-03-08 18:46:37 +01:00
Major Cooke
70f9b649aa
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-08 15:29:09 +01:00
Major Cooke
33b343ef31
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-08 15:29:09 +01:00
Rachael Alexanderson
178cf40428
- fix debug assertion, cleanup vestigial A_PlaySound addition
2020-03-03 22:50:01 -05:00
Rachael Alexanderson
3d3a29979b
- remove addition from deprecated A_PlaySound
2020-03-02 22:15:37 +01:00
Rachael Alexanderson
1b80b7bf2f
- ported over Nash's startTime for A_StartSound
2020-03-02 22:15:37 +01:00
Major Cooke
4cf7c6351d
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 19:42:21 +01:00
Major Cooke
55284d46bf
Added A_StopAllSounds.
2020-02-29 19:19:51 +01:00
Christoph Oelckers
9f83195460
- added Romanian to the language selection menu.
2020-02-20 19:02:59 +01:00
Christoph Oelckers
653336de24
- fix character substitution for mixed case fonts and text update.
2020-02-16 13:51:31 +01:00
Christoph Oelckers
94bc68c514
- Greek characters for old console font.
2020-02-16 09:37:58 +01:00
Chronos Ouroboros
bb42d58427
Revert "Added support for standard DamageFactor property on Armor, PowerProtection and PowerDamage items."
...
This reverts commit e781cb4043
.
2020-02-10 15:38:12 -03:00
Major Cooke
e781cb4043
Added support for standard DamageFactor property on Armor, PowerProtection and PowerDamage items.
2020-02-09 19:07:52 +01:00
Major Cooke
39a9a48ad6
Added source, inflictor and damage flags to AbsorbDamage.
2020-02-09 19:07:52 +01:00
Chronos Ouroboros
b453c87b72
Merge pull request #683 from ZippeyKeys12/clearscopeindex
...
Clearscope Index()
2020-02-08 03:07:06 -03:00
alexey.lysiuk
081cf814b0
- fixed wrong arguments of a few A_StartSound() calls
...
https://forum.zdoom.org/viewtopic.php?t=67074
2020-01-24 11:57:01 +02:00
Christoph Oelckers
142e3c7df7
- text update.
2020-01-23 18:35:27 +01:00
Rachael Alexanderson
e8c69d2757
- add support for xbox 360 versions of Doom/Doom2
2020-01-23 18:23:25 +01:00
3saster
729ff8fa8f
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 07:47:17 +01:00
alexey.lysiuk
3b8ddb6b9b
- fixed resetting of music volume after closing dialogue
...
https://forum.zdoom.org/viewtopic.php?t=67035
2020-01-20 22:05:15 +01:00
alexey.lysiuk
0d758014dd
- exposed Level.MusicVolume to ZScript
2020-01-20 22:05:15 +01:00
Rachael Alexanderson
09016b7c05
- fixed: oops, show NRFTL on the episode selection menu for Doom2:Unity, if nerve.wad is loaded
2020-01-18 17:55:43 -05:00
Christoph Oelckers
9bbd09b78f
- 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 09:28:39 +01:00
Rachael Alexanderson
039196bcb3
- rename vid_scalemode 0 to 'normal'
2020-01-17 09:25:27 -05:00
Alexander Kromm
1f011cda7f
make enter key toggle Option Search mode too
2020-01-16 17:53:28 +01:00
Christoph Oelckers
0c368a6498
- text update.
2020-01-13 23:12:02 +01:00
Rachael Alexanderson
c6ea10f03f
- implement player setup background by Enjay
2020-01-12 19:21:31 +01:00
Christoph Oelckers
3e9a43d7f0
- added missing render style constants to ZScript.
2020-01-12 12:02:26 +01:00
Rachael Alexanderson
6df9e39152
- add support for new Bethesda.Net Unity Edition wads
...
- they can be extracted with this utility: https://github.com/kevansevans/Unity-Doom-Ripper
2020-01-10 16:36:01 -05:00
alexey.lysiuk
7e050010aa
- removed obsolete softpoly render modes
...
https://forum.zdoom.org/viewtopic.php?t=66888
2020-01-06 14:31:34 +02:00
Christoph Oelckers
847cbcc0c3
- Text update.
2020-01-04 21:09:02 +01:00
Christoph Oelckers
58acbfb6b5
- added Esperanto menu option.
2020-01-04 21:00:39 +01:00
Christoph Oelckers
4646273569
- fixed: menu sounds no longer got the CHANF_UI flag.
2020-01-04 19:36:22 +01:00
Christoph Oelckers
c0b9bb6e76
- bumped ZScript version to 4.3 and silenced the remaining deprecation warnings.
2020-01-04 14:25:56 +01:00
Christoph Oelckers
4a67bfcddb
- deprecated A_PlaySound for real and transitoned the internal scripts to A_StartSound
2020-01-04 14:25:55 +01:00
Christoph Oelckers
b7e1a35e6f
- 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-04 14:25:55 +01:00
Alexander Kromm
60026ba4f2
export dictionary iterator
2020-01-01 08:39:25 +01:00
Christoph Oelckers
7156611643
- fixed two missing commas in DEHSUPP.
2019-12-31 23:27:00 +01:00
Christoph Oelckers
f647f3c132
- added the Dehacked extensions from Crispy/Doom Retro.
...
All empty placeholders for mods to fill in, no new functionality.
2019-12-31 21:13:18 +01:00
Rachael Alexanderson
4bc923dddf
- slight rearrange of vid_scalemode and menu update
2019-12-31 10:41:30 -05:00
Chronos Ouroboros
b4ba7dfec2
Fixed a regression in DoTakeInventory. (the C++ code just ignored the null pointer, but ZScript can't do that)
2019-12-30 12:37:33 -03:00
Alexander Kromm
bd1892120d
add Dictionary.Remove(String key) function
2019-12-30 14:57:37 +01:00
Cacodemon345
7fd27bc925
Add PSPF_PLAYERTRANSLATED flag (makes a PSprite layer translated to the user's color)
2019-12-30 13:05:38 +01:00
Christoph Oelckers
d08bb93b84
- elimintated all cases from the ZScript code where channel indices and flags were combined into one parameter and removed all remnants of CHAN_PICKUP.
2019-12-30 09:47:25 +01:00
Alexander Kromm
703686beee
export TMap<FString, FString> to ZScript
2019-12-29 13:37:38 +01:00
Christoph Oelckers
77469e0512
- fixed the colorization parser.
2019-12-29 12:11:16 +01:00
Christoph Oelckers
9b9fd35107
- hooked up the colorization feature.
...
It can now be used from UDMF and ZScript.
To avoid clutter it doesn't allow setting the values individually but requires definition of a data record in TEXTURES.
colorization
{
DesaturationFactor <float>
Invert
AddColor <color>
ModulateColor <color>
BlendColor <color>, <mode> [, <alpha>]
}
Mode for BlendColor can be Alpha (normal translucent blending), as well as 3 special values taken from Build engine games: Screen, Overlay and HardLight.
2019-12-29 11:30:37 +01:00
Rachael Alexanderson
4ff8922006
- reinstate 320x200 with the following caveat: it only functions outside of menus and console, and only when the dialogues and logs use the default font, the game will temporarily switch to 640x400 in these situations
2019-12-23 23:14:08 -05:00
Rachael Alexanderson
af18c78156
- Google fucked this up. Thanks Google.
2019-12-22 09:08:52 -05:00
Rachael Alexanderson
71808b0d3f
- language update
2019-12-22 09:01:43 -05:00
Rachael Alexanderson
cd617ca0c6
- add vid_scalemode 6 to the menu
2019-12-22 09:01:43 -05:00
Christoph Oelckers
738b9ceb08
- fixed incompletely changed shader.
...
It was still using a variable from the first revision that no longer exists.
2019-12-21 21:07:00 +01:00
Christoph Oelckers
bb8db9422f
- scaled down the texture colorization feature for easier usability.
...
It makes little sense exposing every minute detail of this through UDMF.
Setting it up that way is far too complicated. Using virtual textures that map to a real texture plus a colorization record should be far easier to use by mappers.
This also doesn't piggyback on the Doom64 color feature anymore and is completely separate, despite some redundancies.
This is still missing the texture definition part, though.
2019-12-20 22:25:10 +01:00
Christoph Oelckers
3a249cb06f
- added high level interface to the new properties, i.e. UDMF and ZScript.
2019-12-20 18:02:42 +01:00
Christoph Oelckers
3209d4ed23
- added a few more texture coloring options to the shader.
...
Aside from adding an additive component it can now also do:
- desaturation (not limited to the range of 0..1 so it can also be used for oversaturation by applying a negative number or negative saturation by going above 1.0.
- invert the texture
- apply a blend, including 3 special mode taken from EDuke32.
Currently only the implementation is done, it is not exposed to UDMF yet.
2019-12-20 16:05:00 +01:00
alexey.lysiuk
59f09d4893
- move setting status bar defaults to proper location
...
BaseStatusBar.Init() method isn't suitable for this because it will override SBarInfoWrapper setup done in native code
https://forum.zdoom.org/viewtopic.php?t=66676
https://forum.zdoom.org/viewtopic.php?t=66339
2019-12-18 15:40:39 +02:00