Rachael Alexanderson
95c5449a75
- silence some warning spam in textures.h
2022-01-26 18:30:55 -05:00
Nikolay Ambartsumov
df976e218e
Add per-tier sidedef light levels to UDMF maps
2022-01-26 18:25:04 -05:00
Rachael Alexanderson
a9eaae074f
- move lightmaps warning down the return chain a bit to show only when a map has valid lightmaps
2022-01-24 13:44:42 -05:00
Rachael Alexanderson
f0c5328481
- lock lightmaps behind a command line argument with a warning
2022-01-24 13:39:17 -05:00
Christoph Oelckers
78c8aa6e62
- file update.
2022-01-24 19:05:47 +01:00
Christoph Oelckers
6a92470846
- made a few more names common.
...
These are needed by the ZScript compiler backend.
2022-01-24 19:05:46 +01:00
Christoph Oelckers
673f06c05f
- make m_alloc optional for tarray and memarena
2022-01-24 19:05:46 +01:00
Rachael Alexanderson
410c35b942
Merge commit 'refs/pull/1508/head' of https://github.com/coelckers/gzdoom
2022-01-24 12:30:59 -05:00
emily
20d16381f8
Add TexMan.SetCameraTextureAspectRatio
...
Allows ZScript to change the aspect ratio of a camera texture.
2022-01-24 12:18:55 -05:00
Major Cooke
6432e4f6a8
Optimized P_TestMobjZ by not running the iterator if actor
also has THRUACTORS.
2022-01-24 12:17:52 -05:00
Rachael Alexanderson
688e5ac694
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps-new
2022-01-24 12:10:18 -05:00
drfrag
6112307cc8
- Fix decals in Softpoly.
...
(partial revert of "- cleanup of the revised y-clamping feature.")
2022-01-24 12:01:34 -05:00
Blue Shadow
fefb0e9702
- make m_quickexit
a global CVAR
2022-01-24 12:01:04 -05:00
Major Cooke
046799db68
Removed all attempts to stop the sprite from appearing in portals. This may likely require a fundamental breakdown of the system itself in order to address the problem.
2022-01-24 12:00:33 -05:00
Major Cooke
4e8d59951b
Added A_SetViewPos(Vector3 Offset, int Flags = -1)
...
- Offset: The offset from the actor's view to move the camera about.
- Flags: (Default is -1, which means don't change flags)
- VPSF_ABSOLUTEOFFSET: Don't include actor angles in calculation.
- VPSF_ABSOLUTEPOS: Position is absolute, and disables all transformations. Modders are responsible for being portal aware!
Notes:
- `ViewPos` in Actor will be `null` until A_SetViewPos is called for the first time.
**Issues:**
- Hiding sprite while in portal incomplete.
2022-01-24 12:00:33 -05:00
Xaser Acheron
a07e16099d
move WeaponScaleX/Y namedefs to namedef_custom.h; clean unwanted stuff from merge
2022-01-23 20:05:32 -06:00
Xaser Acheron
bfb79e5b32
Merge branch 'master' into feature_weaponscale
2022-01-23 20:01:59 -06:00
Xaser Acheron
e9c86017e4
apply WeaponScaleX/Y to all PSprites on a weapon
2022-01-23 19:59:06 -06:00
nashmuhandes
cd33fb8607
Merge branch 'lightmaps2' of https://github.com/nashmuhandes/gzdoom into lightmaps2
2022-01-22 18:06:22 +08:00
nashmuhandes
db92e63e22
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
2022-01-22 18:06:05 +08:00
Rachael Alexanderson
2ab4539d40
- fix logic error with shader compatibility layer
2022-01-21 16:40:04 -05:00
Rachael Alexanderson
4c4fafc2c0
- add debug ccmds to manipulate custom postprocess shaders and their uniforms from the console
2022-01-20 22:38:46 -05:00
Rachael Alexanderson
64f4332b43
- add cmath includes to fix the mac compile std::floor errors
2022-01-20 13:31:57 -05:00
Rachael Alexanderson
060e2cefc6
- add cmath includes to fix the mac compile std::floor errors
2022-01-20 13:31:26 -05:00
nashmuhandes
e67c421201
Add the lightmap UDMF keywords into namedef_custom.h
2022-01-21 01:42:54 +08:00
nashmuhandes
8ea47fdcc3
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
...
# Conflicts:
# src/common/engine/namedef.h
2022-01-21 01:39:37 +08:00
nashmuhandes
f79bbed130
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
2022-01-20 14:19:45 +08:00
Christoph Oelckers
851d058a4b
- split up namedef.h into a shared and game specific part and cleaned out many unused names.
2022-01-20 00:14:08 +01:00
Xaser Acheron
0d8d4a2ad7
fix mbf21 A_FindTracer fov cone being twice as big as intended
2022-01-18 08:06:29 +01:00
Xaser Acheron
efbb31fa39
add SMF_PRECISE flag to mbf21 A_SeekTracer, for accuracy
2022-01-18 08:06:29 +01:00
Xaser Acheron
40a5c4c1c5
fix mbf21 A_SeekTracer not working (arg type shenanigans)
2022-01-18 08:06:29 +01:00
Xaser Acheron
a4b124bff8
fix mbf21 A_ConsumeAmmo ignoring explicit amount arg if weapon's ammopershot field set
2022-01-18 08:06:29 +01: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
cf04ebb774
fix MBF21 A_WeaponProjectile spawn position
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
Christoph Oelckers
e6c6471e2f
- fixed logic error with depth bias state in hardware renderer.
2022-01-17 00:32:54 +01:00
Christoph Oelckers
84458ddb9f
- redid postprocessing shader interface to be free of the player dependency.
...
This is something that really should be done in higher level code - the shader interface should only concern itself with the shader and not the conditions that block its use.
The Shader class has been redone as a thin wrapper and been deprecated.
2022-01-17 00:07:43 +01:00
Rachael Alexanderson
12ed24d066
- separate i_pauseinbackground
and i_soundinbackground
- they probably should ultimately be moved out of the sound code
2022-01-15 20:17:11 -05: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
alexey.lysiuk
c3fc4e347e
- added Visual Studio 2022 target to continuous integration
2022-01-15 17:01:19 +02:00
Christoph Oelckers
79c9b979d2
- backend update from Raze.
2022-01-11 17:19:16 +01:00
Marisa Heit
a1d0d27278
Make GC::CheckTime 64-bit, just in case.
2022-01-11 13:01:31 +01:00
Marisa Heit
e529f2d4d1
Revert "- be a bit more aggressive with the GC when not running the game loop."
...
This reverts commit b4d03501af
.
2022-01-11 13:01:31 +01:00
Marisa Heit
31549997b4
Fix GC so collection rate is proportional to alloc rate
...
- Previous comments in dobjgc.cpp suggested that StepMul was used
to determine how quickly garbage was collected based on how quickly
memory was being allocated. This was not the case. Now it is.
- Remove calls to CheckGC from the thinkers. With GC running at a
stable rate (once per frame), there should be no need to inject
pauses into the collection process to keep it from injecting stutters
(provided StepMul is sane). The risk of running out of memory because
we don't run a collection pass absolutely every thinker should be
practically zero.
- Reduce DEFAULT_GCMUL from 400 to 200, since it does what it says now
instead of something else.
2022-01-11 13:01:31 +01:00
Christoph Oelckers
597856c1d4
- use an enum for the FX_* flags.
...
These were still #defines.
2022-01-07 00:40:40 +01:00
Christoph Oelckers
be103bd9dc
- fixed: the powerup item for respawn invulnerability was never given to the player.
2022-01-07 00:39:22 +01:00
Christoph Oelckers
32de663210
- fixed MBF21's A_SeekTracer.
...
This cannot directly call A_SeekerMissile because that has more parameters. It now maps to a wrapper that takes care of these.
2022-01-07 00:33:56 +01: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
64ef03428d
- added proper range check to the main sound playing function.
...
We got a report where this crashed on a bad sound index.
2022-01-07 00:16:30 +01:00