nashmuhandes
5bcbe1718b
New "Translatable" property in DECALDEF which is just an alias for "OpaqueBlood" to reflect its general use, and also to support the new translation parameter of A_SprayDecal. "OpaqueBlood" should be considered deprecated. Note that specifying a translation directly in the DECALDEF will be added in future, in another commit.
2025-01-30 13:32:18 -03:00
Boondorl
864fe1f66f
Added translation argument for A_SprayDecal
2025-01-30 13:32:18 -03:00
Boondorl
c6eba62f73
Fixed A_SprayDecal not working on 3D floors
2024-12-02 02:30:22 -03:00
Boondorl
8c10ac6f38
Added GetDecalName()
2024-09-24 23:38:43 -04:00
Christoph Oelckers
8c5eb2c807
use FTranslationID in all places where strict type checking is needed.
...
This means all properties in serializable classes now use this wrapper type. The backend hasn't been changed yet
2023-11-09 23:04:10 +01:00
Christoph Oelckers
f0fbdba593
- disable implicit conversions from float to TAngle
2022-08-26 18:01:26 +02:00
Christoph Oelckers
525351c695
- fixed: decal things failed to spawn their decals on 3D floors.
...
The value wasn't passed on to StaticCreate.
2022-04-16 22:49:13 +02:00
Christoph Oelckers
c9d9982b68
- fixed: Decal things did not spawn their lower decals.
2021-09-17 00:48:12 +02:00
nashmuhandes
aeaa7f21c7
Add some new optional parameters to A_SprayDecal:
...
Continuous Integration / macOS | Debug (push) Has been cancelled
Continuous Integration / Linux Clang 6 | Debug (push) Has been cancelled
Continuous Integration / Visual Studio 64-bit | Debug (push) Has been cancelled
Continuous Integration / Linux GCC 11 | MinSizeRel (push) Has been cancelled
Continuous Integration / Linux GCC 7 | RelWithDebInfo (push) Has been cancelled
Continuous Integration / Linux Clang 11 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 64-bit | Release (push) Has been cancelled
Continuous Integration / macOS | Release (push) Has been cancelled
- useBloodColor: when true, the sprayed decal will be shaded to match the calling actor's blood color.
- decalColor: when defined, the sprayed decal will be shaded to the specified color. Note that this will take precedence over useBloodColor. It is recommended to use only one parameter.
Note that due to how decals work in the engine, the "decalColor" parameter will only properly colorize the decal if the image is grayscale.
2021-05-22 10:20:52 -04:00
alexey.lysiuk
381d2bcd73
- do not keep impact decal that fails to stick to a wall
...
Such invisible decals were not taken into account when calculating their total number
Changing cl_maxdecals CVAR may not work as expected because of limit counter's inconsistent value
https://forum.zdoom.org/viewtopic.php?t=70457
2020-11-01 11:36:32 +01: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
Christoph Oelckers
b9b6a354c7
- changed all texture access in the play code to use FGameTexture and redid Hexen's front sky layer by adding a new texture instead of hacking the existing one.
2020-04-19 10:57:46 +02:00
Christoph Oelckers
7b292cca57
- split the serializer in two to keep the Doom specific parts out of the main file.
2020-04-11 20:20:53 +02:00
Christoph Oelckers
f8e9cb8fbc
- major dependency reduction of the texture system.
2020-04-11 20:20:37 +02:00
nashmuhandes
dd0769de80
Opaque blood decals must be defined with 'OpaqueBlood' keyword in DECALDEF
2020-03-23 12:50:17 +01:00
nashmuhandes
8facd5f3f3
Colorize opaque decals using the bleeding actor's blood color, if the 'Shaded' keyword is omitted from the DECALDEF.
2020-03-23 12:50:17 +01:00
Christoph Oelckers
9045615a7a
- renamed g_shared folder to playsim.
2019-07-14 13:24:18 +02:00