Christoph Oelckers
c597ba2fef
- made cutscenes at engine startup work.
2022-06-04 21:31:19 +02:00
Christoph Oelckers
26a377c009
- fixed undefined behavior with Dehacked's value parser.
...
From the looks of it MSVC's strtoul function does parse negative values, while GCC's does not. Since negative values are allowed for some properties this now uses strtoll and stores the value with 64 bit to preserve both the value range of signed int and unsigned int.
2022-06-04 09:23:46 +02:00
Christoph Oelckers
344c6348fd
- sprite lightlevel cleanup and fixes.
...
* consolidated the getter functions on the game data side
* better handling of per-sprite lighting with fog
* allow negative values for additive per-sprite lighting.
* also fixed return type of UpdateWaterDepth.
2022-06-01 08:37:13 +02:00
Christoph Oelckers
da30b6f6f0
- fixed some GCC warnings
2022-06-01 08:37:00 +02:00
Christoph Oelckers
21c60c931e
- warning fixes and cleanup from old startscreen branch.
2022-06-01 08:36:59 +02:00
Christoph Oelckers
1aa3a5ea16
- platform independent classes for start screen rendering.
...
These use the internal 2D drawer. Not hooked up yet.
2022-06-01 08:36:59 +02:00
Christoph Oelckers
e42256c7a8
- added texture class for handling the start. screen
2022-06-01 08:36:59 +02:00
Christoph Oelckers
cda6394a95
- added cutscene data parser
...
This covers:
game start
episode start
cluster start/end
level start/end
2022-05-31 15:02:52 +02:00
Christoph Oelckers
a9cba90647
- fixed MF_SHADOW handling for MBF21
...
This needs to alter the render style as well.
2022-05-23 00:10:59 +02:00
Christoph Oelckers
f1d017d0fa
- compat_corpsegibs is still needed as a dummy MAPINFO flag.
2022-04-30 23:39:02 +02:00
Christoph Oelckers
c83344f5c2
- removed all remains of the corpsegibs flag and made vileghosts interactive
...
Ghosts are still off by default, but they will now be enabled when selecting the vanilla (strict) compatibility mode.
2022-04-29 00:28:34 +02:00
Christoph Oelckers
63bba40d7d
- expose the ‚attenuatelights‘ map flag.
2022-04-29 00:02:11 +02:00
Christoph Oelckers
643e5c87fd
- added an option to delete a terrain type from a texture.
...
Just define a texture's terrain to 'none'.
(A bit puzzling that such a feature did not exist yet...)
2022-04-28 08:42:12 +02:00
Christoph Oelckers
390bf58698
- first stage of migrating intermissions to screenjobs.
2022-04-26 20:50:35 +02:00
Christoph Oelckers
6cb035b7b2
- added workaround to Dehacked so that „Doom“ only replaces the music name
...
Of all these short strings this is the only one that occurs elsewhere as well.
2022-04-22 00:53:27 +02:00
Christoph Oelckers
346cae04be
- disabled deletion of previous event handlers when using 'eventhandler' keyword in MAPINFO.
2022-04-17 13:25:07 +02:00
Christoph Oelckers
1c4d48f5f2
- added some fudging so that the Dehacked parser can properly deal with ConsumeAmmo.
...
This is a parameterized code pointer, so checking state functions for names won't work. Additionally, the handling was not correct for weapons with an ammo use other than 1.
2022-04-17 08:53:52 +02:00
Christoph Oelckers
bdab9c2d9d
- fixed Dehacked drop items.
2022-04-15 23:10:53 +02:00
Christoph Oelckers
d0e1aea273
- fixed Dehacked check for A_ConsumeAmmo.
...
This must use the internal function name.
2022-04-14 12:21:24 +02:00
Christoph Oelckers
89999be49e
- fix detection for misplaced | when creating the small fallback font
...
This needs doomtemplate set.
2022-04-04 00:05:06 +02:00
Major Cooke
421c40e929
Replaced GetTerrainDef with the global Terrains array.
2022-02-22 19:35:50 +01:00
Major Cooke
579c4152d2
Added GetTerrainDef and Sector variant of GetFloorTerrain.
...
- GetTerrainDef takes the raw number of the Terrains[] index. Can return null.
- GetFloorTerrain (Sector) gets the defs from the position given (either Sector.Floor or Sector.Ceiling).
2022-02-22 19:35:50 +01:00
Christoph Oelckers
bba806f43e
- initialize FSwitchDef::QuestPanel when reading a Boom SWITCHES lump.
2022-02-15 17:22:05 +01:00
Christoph Oelckers
c48de5d8d3
- added a 'no MBF21' compatibility flag.
...
Turns out that there's a few old maps that have the extended line flags set but not the guard bit that forces their clearance.
Astrostein 1's first map is an example for this.
2022-02-14 20:00:06 +01:00
Rachael Alexanderson
08b5f95e07
Revert "Fixed: opaque blood decals did not respect the GAMEINFO's blood color. This fixes opaque blood decals not getting the correct color in Chex Quest, as an example."
...
This reverts commit ee0330b0b1
.
2022-02-09 09:11:07 -05:00
nashmuhandes
ee0330b0b1
Fixed: opaque blood decals did not respect the GAMEINFO's blood color. This fixes opaque blood decals not getting the correct color in Chex Quest, as an example.
2022-02-09 07:26:06 -05:00
Nikolay Ambartsumov
df976e218e
Add per-tier sidedef light levels to UDMF maps
2022-01-26 18:25:04 -05:00
nashmuhandes
f79bbed130
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
2022-01-20 14:19:45 +08:00
Xaser Acheron
25f28c4b50
fix mbf21 A_ConsumeAmmo taking 0 ammo instead of 1 if ammopershot field not set (need to amend the spec for this, argh)
2022-01-18 08:06:29 +01:00
Xaser Acheron
00d4442fc8
fix MBF21 A_WeaponMeleeAttack function name typo & args
2022-01-18 08:06:29 +01:00
Xaser Acheron
97859fd608
fix MBF21 GetSoundArg off-by-one: sound indices are 1-indexed in args because Killough
2022-01-18 08:06:29 +01:00
nashmuhandes
57112742fe
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
...
# Conflicts:
# src/common/rendering/gl/gl_shader.cpp
# src/common/rendering/hwrenderer/data/buffers.h
# src/common/rendering/v_video.h
2022-01-16 01:57:38 +08:00
Christoph Oelckers
49ab6612cb
- fixed Dehacked parsing issues with weapon properties.
...
Due to a badly used string length check this code didn't really do what it was supposed to.
2022-01-07 00:31:57 +01:00
Christoph Oelckers
63fa01205f
- fixed potential infinite loop in Hexen-style stair builder.
2022-01-07 00:09:59 +01:00
Major Cooke
b4c74fabd3
Added NoTrim support for ANIMDEFS, same syntax as TEXTURES outside a definition.
2021-12-14 15:22:01 +01:00
nashmuhandes
1b95f2515b
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
2021-11-10 19:57:49 +08:00
Christoph Oelckers
77d74a11d1
- removed most templates.h includes.
2021-10-30 10:49:12 +02:00
Christoph Oelckers
07a181090b
- missed some MAX's.
2021-10-30 10:45:58 +02:00
Christoph Oelckers
1d0aed219e
- replaced MIN/MAX in all non-common code.
2021-10-30 10:16:52 +02:00
nashmuhandes
5c20a5918e
Merge branch 'master' of https://github.com/nashmuhandes/gzdoom into lightmaps2
2021-10-20 21:59:37 +08:00
Marisa Kirisame
58e66f4805
ReadThisMenu / MenuDelegate overriding.
2021-10-19 11:43:27 +02:00
Magnus Norddahl
81f7b083c0
Improve light probe lookup speed for large sectors by using a grid instead of subsectors
2021-10-15 04:21:18 +02:00
Magnus Norddahl
764a08752f
Use a faster way to find the closest light probe
...
Fix light probe not being applied to psprite
2021-10-14 05:43:35 +02:00
nashmuhandes
d35cd9549f
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
2021-10-05 12:53:05 +08:00
Christoph Oelckers
3c961a2aa2
- avoid multiple Dehacked mappings to the same function.
...
Due to some MBF21 related changes these would cause interference.
Instead the two affected functions, A_NailBomb and A_RadiusDamage are now separate script functions that just call A_Explode with the correct parameters.
2021-10-03 18:16:37 +02:00
Magnus Norddahl
0ac1baac48
Simplify the lightmap array slightly
2021-10-02 22:14:56 +02:00
Magnus Norddahl
e0ea5e3b55
Add light probe support for sprites
2021-09-25 18:53:18 +02:00
nashmuhandes
3f3769afdb
- implement drawing sides with lightmaps
...
- misc bug fixes in lump loading and format
2021-09-24 17:27:23 +08:00
nashmuhandes
39481f0d07
- Add support for loading lightmap data generated by ZDRay
...
- Initialize lightmap texture in the hardware abstract parts of the engine
2021-09-24 14:51:48 +08:00
Christoph Oelckers
6c12a8de12
- properly track whether some action in the current frame may have triggered a dynamic light activation.
2021-09-21 20:31:43 +02:00