alexey.lysiuk
eb52088487
Fixed compilation warnings reported by Clang
...
src/gl/scene/gl_sprite.cpp:685:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
src/polyrenderer/scene/poly_sprite.cpp:297:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
src/swrenderer/scene/r_opaque_pass.cpp:975:35: warning: '&&' within '||' [-Wlogical-op-parentheses]
src/sound/mididevices/music_timiditypp_mididevice.cpp:548:30: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
2017-08-13 16:42:08 +03:00
alexey.lysiuk
b077518c89
Fixed crash when morph item is used from ACS
...
https://forum.zdoom.org/viewtopic.php?t=57571
2017-08-13 16:15:31 +03:00
Magnus Norddahl
a6d4bfc748
- Added linear and nearest shadowmap filters (enabled with defines)
2017-08-13 13:49:02 +02:00
alexey.lysiuk
4afface97c
Fixed camera rotation from FraggleScript
...
https://forum.zdoom.org/viewtopic.php?t=57559
2017-08-13 12:22:48 +03:00
Magnus Norddahl
6d6c25bb26
- Add sprite adjustment to softpoly
2017-08-13 01:10:33 +02:00
Magnus Norddahl
bf38fd57b0
- Replace subsector gbuffer in softpoly with a zbuffer
2017-08-12 15:16:31 +02:00
Christoph Oelckers
4483d665d4
- fixed: FastProjectile's movement code was missong a portal check.
2017-08-12 13:58:16 +02:00
alexey.lysiuk
89980d9e77
Fixed linking with GCC and Clang toolchains
2017-08-12 14:41:23 +03:00
Christoph Oelckers
ba9cf02385
- added a user reserved range of statnums from 70-90
2017-08-12 13:08:11 +02:00
Christoph Oelckers
f52e767b51
- fixed: a destination-less line portal should be ignored by the sight checking code.
2017-08-12 12:51:45 +02:00
Christoph Oelckers
7cbf45d76d
- let PlayerPawn.ForwardThrust use its angle parameter.
2017-08-12 12:35:01 +02:00
Christoph Oelckers
4261a0c592
- print a warning if a decal definition cannot find an animator.
...
This is important because DECALDEF cannot tentatively find animators declared after the decal.
2017-08-12 12:30:42 +02:00
Christoph Oelckers
aa8424982c
- fixed: The color for untranslated font was missing its alpha channel.
2017-08-12 12:04:40 +02:00
Christoph Oelckers
163b10286f
- Reset interpolation coordinates for all actors before the current thinking turn instead of at the start of each actor's own Tick function so that indirect actor movement gets properly interpolated.
2017-08-12 11:48:36 +02:00
Christoph Oelckers
c1de32896c
- addressed incorrect ACS printbold implementation: For native Hexen maps it will now be correct, but all others will have to set a flag in MAPINFO's 'gameinfo' section to avoid problems with numerous ZDoom maps depending on the incorrect implementation.
2017-08-12 10:20:34 +02:00
Christoph Oelckers
b4fa95ab15
- handle state label resolution in a non-actor cpntext more gracefully.
...
Note that this is merely a hotfix. Properly handling this to allow universal use of state scopes will require more work in cases where a scoped state is being accessed through a non-self pointer.
2017-08-12 10:04:06 +02:00
Christoph Oelckers
0db79f8dec
- removed tag 0 check for 3D floors because as seems to be par for course in Doom modding, some people actually exploited this bug.
2017-08-12 09:15:59 +02:00
alexey.lysiuk
ef9c3b4f54
Fixed unset inflictor in WorldThingDamaged event
...
https://forum.zdoom.org/viewtopic.php?t=57527
2017-08-09 16:16:33 +03:00
Rachael Alexanderson
cdf79f0041
- added Hellser's teleporter fix for doom2.wad map29 - https://forum.zdoom.org/viewtopic.php?t=57525
2017-08-09 00:11:43 -04:00
Magnus Norddahl
5c7b1ee8e1
- Significantly improve shadowmap light performance for faces with a large number of lights but where only a few applies to each individual fragment
2017-08-08 23:28:42 +02:00
alexey.lysiuk
33beca6e6f
Exposed ToLower() and ToUpper() string functions to ZScript
...
https://forum.zdoom.org/viewtopic.php?t=57515
2017-08-07 15:24:18 +03:00
raa-eruanna
507122b778
- put in actorinlines include as suggested by dpjudas here, to fix compile: https://forum.zdoom.org/viewtopic.php?f=2&t=57484
2017-08-04 09:13:20 -04:00
Jonathan Russell
03640a16ea
- removed ZScript DrawLine palcolor arg
2017-08-03 02:09:48 +01:00
Jonathan Russell
941d89042a
- externalise DCanvas::DrawLine to ZScript
2017-08-03 01:20:55 +01:00
Magnus Norddahl
801fbddd47
- Fix gcc compile error
...
- Fix weapon null pointer crash
2017-08-02 01:41:48 +02:00
Magnus Norddahl
aaa00cbcb9
- Include all lights touching a model actor's render radius
2017-08-01 00:43:58 +02:00
Magnus Norddahl
04be9fe6f2
- Remove test code committed by accident
2017-07-31 20:09:45 +02:00
Rachael Alexanderson
8dff91915a
- remove vestigial version.h include from r_portal.cpp. This should stop r_all.o from compiling every single commit.
2017-07-31 11:12:08 -04:00
Kevin Caccamo
7ff0040f30
Add a null pointer at the end of TimidityArgs
...
This actually got the execvp call working consistently for me; now I can listen to MIDI music in GZDoom again.
2017-07-31 11:05:28 -04:00
Kevin Caccamo
a4370a3529
Null-terminate strings
2017-07-31 11:05:28 -04:00
Kevin Caccamo
ff35620a09
Fix freeze when timidity_exe is not set to timidity's absolute path
2017-07-31 11:05:28 -04:00
Kevin Caccamo
18e76c978c
Fix code style, and make some minor changes
...
Assume timidity is in the user's PATH if not the specified location
Also, get the error message for the execvp failure if it does fail
2017-07-31 11:05:28 -04:00
Kevin Caccamo
233fce7ef6
Initial attempt to make timidity work on Linux again
...
Add code to find the timidity executable, and split the command line into separate arguments by spaces.
For some reason, this doesn't work, although reverting 64e96c5f
makes timidity work again.
2017-07-31 11:05:28 -04:00
Christoph Oelckers
49b77f3a17
- added per-level exit texts independent of the current cluster.
...
This is mainly to support UMAPINFO which does not have clusters but has been extended to define separate exit texts for each target map that can be reached from a given map.
Special names 'normal' and 'secret' can be used to define texts specific to the default exits.
New MAPINFO properties:
* exittext = mapname, "text"...
* textmusic = mapname, "musicname", order
* textflat = mapname, flatname
* textpic = mapname, picname
textflat and textpic are like 'flat' and 'pic' for clusters, one defines a tiled background, the other a fullscreen image.
Setting an empty exittext will disable a cluster-based text screen that may apply to the given map.
2017-07-30 22:50:27 +02:00
Rachael Alexanderson
c07a4461a0
- fixed: GetCaps() did not account for r_drawvoxels cvar
2017-07-30 10:45:05 -04:00
Magnus Norddahl
d5733f515c
- Support binding textures for custom PP shaders
2017-07-30 13:59:25 +02:00
alexey.lysiuk
6a5bad0beb
Added developer message about unknown GAMEINFO entry
2017-07-30 12:26:18 +03:00
alexey.lysiuk
e1dddf8c3e
Removed obsolete mapinfo entry from common Doom GAMEINFO definition
2017-07-30 12:24:04 +03:00
Rachael Alexanderson
b6c15b997a
- added 'r_debug_disable_vis_filter' cvar for debug purposes, to show all objects regardless of their actor filter fields.
2017-07-29 17:03:43 -04:00
Rachael Alexanderson
1bfc2faa49
- added 'r_showcaps' command which serves as a documentation for available flags and shows what flags are in use by the current rendering settings
2017-07-29 17:03:43 -04:00
Rachael Alexanderson
91ff447a90
- fixed compile from last commit
...
- refactored the zscript hookup a bit, made it actually work
2017-07-29 17:03:43 -04:00
Rachael Alexanderson
712d21e26a
- implement per-renderer sprite hiding based on the actor's render feature flags
...
- hook the thing up to zscript (does not currently compile)
2017-07-29 17:03:43 -04:00
Rachael Alexanderson
8bb5687159
- Implemented GetCaps() for the software renderer
...
- fixed: Forgot to describe Brightmap capability in the GL Renderer
2017-07-29 17:03:43 -04:00
Rachael Alexanderson
9a9fe7c133
- implemented GetCaps() for OpenGL
...
- renamed RFF_FRAGMENTSHADER to RFF_MATSHADER
- D_Display now calls Renderer->GetCaps() and stores it in a global variable for later use.
2017-07-29 17:03:43 -04:00
Rachael Alexanderson
64deba45a3
- added another render filter
2017-07-29 17:03:43 -04:00
Rachael Alexanderson
80bb1d908a
- basic groundwork for render feature visibility flags. I haven't gotten very far with it yet, but since I am taking a break I am going to commit what I have and continue it later.
...
todo:
* call a render class function in D_Main that enumerates the capabilities of the current renderer into a global variable to be accessed later
* add a debug-specific cvar to always show all actors, regardless of these filters
* put in checks in the renderer themselves that check both flagsets and reject rendering of any sprite/model that does not fit the definition's criteria
2017-07-29 17:03:43 -04:00
raa-eruanna
0df2779004
- fixed mac compile(hopefully?)
2017-07-29 17:03:18 -04:00
raa-eruanna
af32edd054
- fixed linux compile
2017-07-29 16:47:10 -04:00
Magnus Norddahl
7d21fe6d75
- Fix mouse position being wrong when vid_scalemode is active
2017-07-29 19:26:53 +02:00
Magnus Norddahl
65d5f4ae18
- Fix normal normalize
2017-07-27 22:31:57 +02:00