Christoph Oelckers
fc0855fac7
- fixed size of particles in the hardware renderer.
...
From the look of it the scale was changed in the software renderer several years back but the hardware renderer never got adjusted for it.
This also adds a bit of compensation to round particles so that they get rendered a bit larger than square ones.
2017-05-21 12:36:34 +02:00
Christoph Oelckers
be2cfddb17
- handle the case where SBARINFO only contains a mugshot definition and fall back to the current statusbarclass if creating an SBARINFO-based statusbar fails.
2017-05-21 12:06:22 +02:00
Magnus Norddahl
e27e89b57d
- Make sure a hung worker thread always crashes the application
2017-05-21 12:03:12 +02:00
Magnus Norddahl
aff9205057
- Fix mipmap filtering bug when using nearest filter
2017-05-21 11:01:37 +02:00
svdijk
371a8755c2
vid_glswfb: Prevent defunct windows.
2017-05-20 23:21:51 +02:00
Christoph Oelckers
fc8639226d
- yet again Visual Studio's autocompletion feature deleted some tildes.
2017-05-19 21:36:32 +02:00
Christoph Oelckers
a4231ffd00
- more handling of some very broken old ATI drivers.
2017-05-19 21:33:48 +02:00
Christoph Oelckers
e1cd0dc588
- major optimization on carry scroller code.
...
The old version was checking every single actor in every single sector for being affected by a carry scroller if there was so much as a single such scroller in the map.
Changed it so that the scroll thinker flags all actors in the affected sectors so that these expensive calculations can be skipped for everything else.
This change and reduce think time by 1/3 on maps like ZDCMP2 (on the test machine it went down from 6 ms to 4 ms on this map.)
2017-05-19 16:31:44 +02:00
Christoph Oelckers
9fc309d5b5
- stop the music when processing a fatal error.
2017-05-19 12:20:33 +02:00
Christoph Oelckers
c1e64fa576
- fixed: The rail trail should use r_trail_sparsity, not r_spiral_sparsity.
...
- fixed: Spawning actors on the rail trail must ignore the sparsity CVARs completely.
2017-05-19 12:03:20 +02:00
Christoph Oelckers
c8e631bf26
- fixed: The colormap was not fully initialized for 3D floors in sectors where neither the original floor nor ceiling were visible.
2017-05-19 11:42:44 +02:00
Christoph Oelckers
97b664968e
- removed a few unused VM opcodes.
2017-05-19 10:27:22 +02:00
Major Cooke
bb1e927c46
Give the parameter a better name to associate by.
2017-05-17 23:03:22 +02:00
Major Cooke
65f13b0927
- Added a Z offsetting parameter to the ZScript LineAttack function.
...
- Added LAF_OVERRIDEZ flag to LineAttack. Disregards all internal offsetting aside the actor's Z position before adding the offset parameter.
2017-05-17 23:03:22 +02:00
alexey.lysiuk
a92f889e44
Fixed recently introduced compilation warnings
...
src\v_video.cpp(1771): warning C4244: '=': conversion from 'double' to 'int', possible loss of data
src\v_video.cpp(1773): warning C4244: '=': conversion from 'double' to 'int', possible loss of data
2017-05-16 16:39:07 +03:00
Rachael Alexanderson
a93efb1e9e
- slightly increase source code readability by moving a flag from one line to another.
2017-05-16 09:52:50 +02:00
Rachael Alexanderson
8192ad73bd
- changed fall damage so it is max 'TELEFRAG_DAMAGE - 1' instead of a flat 999 (it used to check for >=1000).
2017-05-16 09:52:50 +02:00
Rachael Alexanderson
c6946cc672
- removed all instances of CF_POWERBUDDHA
2017-05-16 09:52:50 +02:00
Rachael Alexanderson
fe023b5ca4
- changed Buddha powerup from a flag to an inventory check
2017-05-16 09:52:50 +02:00
Major Cooke
b1a8ef54f6
- Fixed bitwise comparison.
2017-05-16 09:52:50 +02:00
Major Cooke
6bbbd28a08
- Added missing LAXTELEFRAGDMG support to SelfDamageFactor.
2017-05-15 19:19:35 +02:00
Rachael Alexanderson
a96ef5276d
- Added new flags8 actor field. Isn't it frightening how quickly how we got to our 8th flag field?
...
- Speaking of frightening, added +FRIGHTENING flag.
2017-05-15 19:17:46 +02:00
Dmitri Kourennyi
3b20c26275
Fix A_CheckProximity setting pointer to dead things when it shouldn't.
...
When using A_CheckProximity with CPXF_SETTARGET, the target pointer could
be set to a dead monster even without the CPXF_COUNTDEAD and CPXF_DEADONLY
flags. This is becuase the check for death would occur after setting the
pointer.
Fix simply moves death check to occur before setting pointers.
2017-05-14 20:01:18 +02:00
Major Cooke
795f8f0578
- Added a separate cheat flag to handle buddha powerups. Currently, Buddha powerups could interfere and disable the actual player cheat unintentionally, when the player may not want their actual cheat to be turned off.
...
- Set some overlooked 1000000 damage points to TELEFRAG_DAMAGE inside the falling damage code.
2017-05-14 17:22:46 +02:00
Christoph Oelckers
6a34092742
- fixed automap positioning with linked portals and a camera actor that is transitioning a sector portal.
2017-05-14 13:12:39 +02:00
Christoph Oelckers
437dd68d79
- the Render state must be applied before performing a portal clear screen, because it would still be set to stencil drawing at this point.
2017-05-14 12:42:25 +02:00
Christoph Oelckers
8a91153aeb
- Why does the Visual Studio editor hate tildes so much...?
2017-05-14 12:36:13 +02:00
Christoph Oelckers
ef7e4fe678
- draw empty portals in black, not the last set color.
2017-05-14 12:31:51 +02:00
Christoph Oelckers
0f80b7dcb6
- fixed: P_CollectConnectedGroups should abort if it tries to collect the same portal group more than once, because this would indicate an infinite loop.
2017-05-14 12:24:52 +02:00
Christoph Oelckers
1767dd6a42
- fixed: A_CheckBlock performed item pickup checks which could be done in completely inappropriate spots if this function was used from weapon overlays, for example.
2017-05-14 11:55:32 +02:00
svdijk
6dd570c538
Menu: Fix cycling the "midi devices" menu option.
2017-05-14 12:12:12 +03:00
svdijk
b6ef9fae3e
SDLGLFB: Implement mouse coordinate scaling for the menus.
2017-05-14 12:12:12 +03:00
Magnus Norddahl
788b9f6d54
Merge branch 'master' of https://github.com/coelckers/gzdoom
2017-05-14 08:55:39 +02:00
Magnus Norddahl
31125486ad
- Improve line portal rendering somewhat
2017-05-14 08:55:30 +02:00
Christoph Oelckers
b346dd0c09
- added a check for unconnected linked line portals.
2017-05-13 17:45:59 +02:00
alexey.lysiuk
f0d40d6a8a
Added check for patch set existence before loading in FluidSynth
...
This helps to avoid flooding of output with the following messages on every MIDI song change:
fluidsynth: error: Unable to open file "/usr/share/sounds/sf2/FluidR3_GS.sf2"
fluidsynth: error: Couldn't load soundfont file
fluidsynth: error: Failed to load SoundFont "/usr/share/sounds/sf2/FluidR3_GS.sf2"
fluidsynth: error: Unable to open file "/usr/share/sounds/sf2/FluidR3_GM.sf2"
fluidsynth: error: Couldn't load soundfont file
fluidsynth: error: Failed to load SoundFont "/usr/share/sounds/sf2/FluidR3_GM.sf2"
2017-05-13 17:56:26 +03:00
alexey.lysiuk
27384fc70d
Do not create symlink to executable on macOS too
...
This link in build directory pointed to non-existing file since we started to create application bundle with CMake
2017-05-13 17:01:24 +03:00
Magnus Norddahl
4554d90b1d
Merge branch 'master' of https://github.com/coelckers/gzdoom
2017-05-13 15:49:09 +02:00
Magnus Norddahl
0a4f4aaffd
- Stop using sqrt when calculating texture coordinates
2017-05-13 15:48:55 +02:00
alexey.lysiuk
3ab4a2238e
Removed some remains of sound system MIDI device
2017-05-13 16:45:02 +03:00
alexey.lysiuk
a8e379553e
Copy default soundfont in post build step
2017-05-13 15:49:23 +03:00
alexey.lysiuk
a01c6b1d65
Fixed build of non-Windows targets
...
src/sound/mididevices/music_fluidsynth_mididevice.cpp:355:13: error: use of undeclared identifier 'BaseFileSearch'
2017-05-13 14:29:29 +03:00
Christoph Oelckers
ba37f093e0
- use FluidSynth as default MIDI device and allow loading a 'gzdoom.sf2' sound font if none is specified. The search rules for this file will be the same as for gzdoom.pk3.
2017-05-13 12:33:14 +02:00
Chris Robinson
e1fc33c38f
Don't downmix sounds when AL_SOFT_source_spatialize is available
2017-05-12 21:38:45 +02:00
Magnus Norddahl
7af11b1963
- Offset sky in softpoly by 180 degrees
2017-05-12 17:59:22 +02:00
Magnus Norddahl
7a2be275af
- Fix interpolator bug in softpoly
2017-05-12 17:47:11 +02:00
Magnus Norddahl
5c6cbd17a1
- Move polyobj rendering to be handled as a special case in RenderPolyScene
2017-05-12 17:26:17 +02:00
Magnus Norddahl
f7d1a2a574
- Add polyobj support to softpoly
2017-05-12 14:05:32 +02:00
Rachael Alexanderson
029788976d
- fully fix Strife1.wad's MAP10 shooting range.
...
- added the following compatibility.txt properties: setsectortexture, setsectorlight
2017-05-11 18:56:02 +02:00
alexey.lysiuk
8fbb5372b2
Fixed 32-bit Windows crash reporter
...
Restored old exception handling for 32-bit Windows executable
Tested on 32-bit Windows XP (previously exited without notification), 64-bit Windows 7 and 10 (previously deadlocked in system DLLs)
2017-05-10 11:34:48 +03:00
Chris Robinson
092b339c8f
Replace usleep with nanosleep for macOS too
2017-05-10 09:44:54 +02:00
Magnus Norddahl
f492e92cb5
- Handle degenerate triangles either sent as input or caused by clipping
2017-05-10 02:43:00 +02:00
Chris Robinson
7ad61a97ed
Fix handling long wait times on POSIX's I_WaitVBL
...
usleep only works for sleeping up to one second. The function is also
deprecated and nanosleep should be used instead.
2017-05-09 23:21:32 +02:00
svdijk
fd8613a11e
CMake: Fix building on 32-bit Linux (Core 2 Duo) again.
2017-05-09 20:48:48 +02:00
Chris Robinson
60cc91e000
Properly unload the backend sound buffers
2017-05-09 19:13:52 +02:00
Christoph Oelckers
0a8083e280
- fixed default obituary handling for predefined damagetypes.
2017-05-09 19:04:07 +02:00
Christoph Oelckers
2bf8e8f1c0
- fixed: InitClipper was missing a call to Clipper.Clear.
2017-05-09 12:20:49 +02:00
Christoph Oelckers
8be7ff01dd
- removed some pointless restrictions from AActor::IsOkayToAttack which prevented its use on normal monsters.
...
This all made sense as long as the function was only used internally but that's not the case anymore.
2017-05-09 09:57:38 +02:00
Christoph Oelckers
c6a516089e
- fixed: OPLio::WriteTremolo wrote the wrong value for operator #0 .
2017-05-08 22:46:35 +02:00
Christoph Oelckers
762ba13cd9
- store the last found OpenGL version in the INI so that modern GL related options can be removed when running old hardware with software rendering.
2017-05-08 19:30:51 +02:00
Christoph Oelckers
4a5fe65ce8
- added missing check for RenderStyle None to GL weapon drawer.
2017-05-08 19:13:18 +02:00
alexey.lysiuk
bdac1c3ad1
Fixed problem with looping of particular music tracks
...
Part of https://forum.zdoom.org/viewtopic.php?t=56333
2017-05-08 18:07:02 +03:00
Christoph Oelckers
26325edddc
- fixed Ogg tag validation.
2017-05-08 17:00:09 +02:00
alexey.lysiuk
f7b8dadedb
Made size of music stream buffer customizable
...
Use snd_streambuffersize CVAR to set buffer size in kilobytes, from 16 to 1024
Name of existed CVAR from removed FMOD sound backend is used
Increased default size of stream buffer to 64 kB like it was in FMOD backend
2017-05-08 10:30:16 +03:00
alexey.lysiuk
3d100e6578
Removed unused #include's from music_libsndfile.cpp
2017-05-08 10:30:16 +03:00
alexey.lysiuk
e1266685d9
Use proper function to set sound offsets in samples
...
This fixes the following compilation warnings:
src\sound\oalsound.cpp(1588): warning C4244: 'argument': conversion from 'unsigned int' to 'ALfloat', possible loss of data
src\sound\oalsound.cpp(1796): warning C4244: 'argument': conversion from 'unsigned int' to 'ALfloat', possible loss of data
2017-05-08 10:29:41 +03:00
alexey.lysiuk
e848abf4df
Fixed restoration of absolute time position for sounds
...
Loading of saved game no longer restarts sounds from beginning
2017-05-07 13:00:06 +03:00
Magnus Norddahl
81de951abc
- Fix missing include
2017-05-06 22:25:18 +02:00
Magnus Norddahl
f083109b51
- Add SSE code to OpenGLSWFrameBuffer::OpenGLPal::Update to workaround a broken auto-vectorizer in GCC
2017-05-06 22:03:32 +02:00
Christoph Oelckers
7f7be9e393
- fixed compile errors in last commit.
2017-05-06 20:38:36 +02:00
alexey.lysiuk
85bb5192b3
Replaced sectorflooroffset with more generic compatibility parameter
...
New parameter setsectoroffset can set offset of floor or ceiling
# Conflicts:
# src/compatibility.cpp
2017-05-06 19:43:35 +02:00
alexey.lysiuk
de97b753f6
Added compatibility parameter to set wall textures
2017-05-06 19:43:35 +02:00
alexey.lysiuk
cd8aa252ae
Added compatibility parameter to set thing skills
...
# Conflicts:
# src/compatibility.cpp
2017-05-06 19:43:35 +02:00
Magnus Norddahl
9011f0ed5b
- Fix texture coordinates for sloped walls
2017-05-06 18:44:06 +02:00
Chris Robinson
996ce4497d
Add a resampler option for the OpenAL backend
2017-05-06 18:07:31 +02:00
Magnus Norddahl
aca628acaf
- Improve wall texture coordinates in softpoly
2017-05-06 15:48:04 +02:00
Christoph Oelckers
567c21cdeb
- fixed recursion in Dim functions. When the main worker function was renamed to DoDim the Super calls were not fixed for it.
2017-05-06 10:44:29 +02:00
Magnus Norddahl
5c1dc900e3
- Slightly improve sky rendering in softpoly
2017-05-06 01:43:05 +02:00
Christoph Oelckers
bb12dabe2b
- added a 'protrusion' property to SBARINFO so that the map name display can properly be handled here as well. Until now it was only working for scripted status bars.
2017-05-05 19:32:37 +02:00
Magnus Norddahl
4fcea96a1c
- Improve softpoly sky rendering a little bit
2017-05-05 03:27:22 +02:00
Christoph Oelckers
2dff0e7309
- fixed: P_TranslateLinedef should not do any byte swapping but require passing of properly ordered values.
...
This gets called from several places, and the only one passing in potentially byte swapped values is P_LoadLineDefs.
All other uses of this function were essentially broken on PowerPC.
2017-05-04 23:52:16 +02:00
Christoph Oelckers
99a61e74c7
- fixed: The first model ID was always initialized to 0, even if that model wasn't even present in the definition.
2017-05-04 00:37:43 +02:00
Rachael Alexanderson
5a450b5eaa
- fixed: +FLIPSPRITE works in mirrors in OpenGL now.
2017-05-03 15:56:33 -04:00
Rachael Alexanderson
00a4993654
- forgot to implement +SPRITEFLIP for OpenGL
2017-05-03 21:13:31 +02:00
Rachael Alexanderson
2acb485121
- Added +SPRITEFLIP which reverses a sprite's left-rightness.
2017-05-03 21:13:31 +02:00
alexey.lysiuk
8303d8bbd1
Fixed name of mpg123 shared library on Linux
...
https://forum.zdoom.org/viewtopic.php?t=56253
2017-05-03 16:56:22 +03:00
Christoph Oelckers
f9445e96f5
- fixed: DPSprite::GetRenderStyle returned the wrong alpha value.
2017-05-03 10:27:20 +02:00
Rachael Alexanderson
00dab8677a
- fixed: Changing fullscreen while vid_renderer != currentrenderer will cause a fake vid_renderer to be passed to the mode change function in order to prevent a crash.
2017-05-03 10:05:46 +02:00
Magnus Norddahl
e68da4cd6b
- Fix crash in glswfb if vid_hw2d is toggled off
2017-05-02 22:56:31 +02:00
Magnus Norddahl
c8070c65d4
- Add support for drawing decals on 3d floors in the software renderer
2017-05-02 22:26:13 +02:00
Magnus Norddahl
17108e575a
- Add support for drawing decals on 3d floors in softpoly
2017-05-02 22:24:32 +02:00
alexey.lysiuk
43fc5633af
Fixed player falling through narrow notch upon unmorphing
...
https://forum.zdoom.org/viewtopic.php?t=56230
2017-05-02 17:22:50 +03:00
alexey.lysiuk
f73f42c4a6
Removed unsuccessful attempt to fix sndfile unaligned access
...
This reverts commit 8a36bf5c09
.
2017-05-02 11:22:18 +03:00
Christoph Oelckers
aac6e65842
- fixed: FxActionSpecialCall did not resolve float to int casts.
2017-05-01 22:44:58 +02:00
Christoph Oelckers
050acc9271
- added rudimentary support for SVE.wad from the Strife Veteran edition so that the extended single player campaign is usable:
...
* all new things got either an sctor definition or are explicitly deleted through the 'doomednums' section in MAPINFO. CTC related actors are non-functional!
* added a 'noskillflags' option to 'doomednums' so that the lightmap definition things in the maps can be repurposed as dynamic lights.
* added the new dagger powerup.
* added MAPINFO entries for the added maps.
2017-05-01 21:25:54 +02:00
alexey.lysiuk
dcded0e183
Handle unloading of canvas textures properly
...
https://forum.zdoom.org/viewtopic.php?t=56207
2017-05-01 16:20:25 +03:00
Christoph Oelckers
b84f7bcada
- scriptified the weapon firing logic.
2017-05-01 01:55:35 +02:00
Christoph Oelckers
abee2805cb
- the last scriptified bits of P_PlayerThink.
2017-05-01 00:27:58 +02:00
Chris Robinson
6044c876ab
Update LASTRUNVERSION to handle the snd_hrtf change
...
Also snd_hrtf now uses -1 for "auto" and 0 for "off", which makes more sense.
2017-05-01 00:26:28 +02:00
Rachael Alexanderson
65399bf075
- fixed: Added currentrenderer checks to SDL and COCOA implementations of 'swtruecolor'
2017-04-30 16:35:16 -04:00