Commit Graph

18323 Commits

Author SHA1 Message Date
alexey.lysiuk 260c3009a5 - fixed Travis CI validation messages
root: missing os, using the default linux
root: key matrix is an alias for jobs, using jobs
2020-02-02 11:28:55 +02:00
Christoph Oelckers 2817bc5508 - backported fix for loading VOC files.
In NAM there is one that needed a bit of extra treatment.
2020-02-01 17:34:06 +01:00
Chris Robinson 5b4c9eb7f6 Remove FSoundLoadBuffer since it wasn't doing anything 2020-02-01 17:11:26 +01:00
Chris Robinson 3c975f18bc Remove LoadSoundBuffered since its no longer called 2020-02-01 17:11:26 +01:00
Chris Robinson 30bdd0c2d4 Get rid of the LoadSound3D method
It no longer does anything since there's no separate buffer for 3D sfx.
2020-02-01 17:11:26 +01:00
Chris Robinson d823091446 Update a couple comments about monoized sounds 2020-02-01 17:11:26 +01:00
Chris Robinson e88b1039a3 Stop sources immediately when the sound is forced to stop
The reason for the previous delay was to allow OpenAL Soft to fade the sound to
silence and avoid a sudden amplitude change, which can cause a "click" or "pop"
noise. However, with OpenAL Soft 1.20, this is a built-in feature of the mixer
so the extra complexity is unnecessary.
2020-02-01 17:11:26 +01:00
Chris Robinson c095872b0a Remove the 'monoize' option from sound loading
Unnecessary with the AL_SOFT_source_spatialize extension, which has been
available for over a year.
2020-02-01 17:11:26 +01:00
Chris Robinson 42fd84a09d Remove the fallback for lack of AL_EXT_SOURCE_RADIUS
It's been available in OpenAL Soft for years and the fallback method wasn't very good.
2020-02-01 17:11:26 +01:00
alexey.lysiuk c58e98cc7f - fixed usage of floor sound with Plat_DownWaitUpStayLip special
https://forum.zdoom.org/viewtopic.php?t=67126
2020-01-31 13:21:14 +02:00
alexey.lysiuk dd54c14380 - fixed code generation for very special if+switch combination
CheckReturn() must be called before emitting code, otherwise it will always return false for switch statements
Redundant jump instruction added because of that will point right after the end of function's code when if statement is the last one in the given function
This wasn't a problem for VM because bytecode in question was unreachable
JIT compiler tries to generate native code for a bogus jump destination, and this leads to out-of-bounds read from labels array

https://forum.zdoom.org/viewtopic.php?t=67149
2020-01-30 18:01:52 +02:00
Rachael Alexanderson 538af7bbfa - add Doom2f.wad 2020-01-27 15:20:18 +01:00
alexey.lysiuk f9906ae6cd - fixed I_FindAttr() to handle symlinks on POSIX platforms 2020-01-26 11:04:06 +02:00
alexey.lysiuk d425d8d9ca - put common POSIX system code to a separate file 2020-01-26 11:01:13 +02:00
alexey.lysiuk 081cf814b0 - fixed wrong arguments of a few A_StartSound() calls
https://forum.zdoom.org/viewtopic.php?t=67074
2020-01-24 11:57:01 +02:00
Christoph Oelckers 142e3c7df7 - text update. 2020-01-23 18:35:27 +01:00
Rachael Alexanderson e8c69d2757 - add support for xbox 360 versions of Doom/Doom2 2020-01-23 18:23:25 +01:00
alexey.lysiuk bf18eab54b - fixed sprite and particle colors when not affected by dynlights
When gl_light_sprites and/or gl_light_particles CVARs were unset, random values could be used their colors

https://forum.zdoom.org/viewtopic.php?t=67066
2020-01-23 17:20:20 +02:00
3saster 729ff8fa8f Plutonia 2 Compatibility Fixes (#1026)
* Plutonia 2 MAP20 fix

* Plutonia 2 MAP27 fix

* Plutonia 2 MAP05 fix

* Plutonia 2 MAP23 fix

* Plutonia 2 MAP24 fix
2020-01-22 07:47:17 +01:00
alexey.lysiuk 3b8ddb6b9b - fixed resetting of music volume after closing dialogue
https://forum.zdoom.org/viewtopic.php?t=67035
2020-01-20 22:05:15 +01:00
alexey.lysiuk 0d758014dd - exposed Level.MusicVolume to ZScript 2020-01-20 22:05:15 +01:00
alexey.lysiuk a05a5a8f00 - fixed calling a function on string CVar
https://forum.zdoom.org/viewtopic.php?t=66768
2020-01-19 16:49:51 +01:00
alexey.lysiuk 5a19010699 - added ability to filter VM disassembly dump
Use '-dumpdisasm something' to output functions with 'something' in their printable names
Open and close output file only once when processing code generated by Dehacked, and calculate its sizes as well
2020-01-19 16:48:35 +02:00
Rachael Alexanderson 09016b7c05 - fixed: oops, show NRFTL on the episode selection menu for Doom2:Unity, if nerve.wad is loaded 2020-01-18 17:55:43 -05:00
Rachael Alexanderson 14dc46772c - add check for unity version of Nerve.wad
- infrastructure in place in case Nerve.wad changes again, this can be extended
2020-01-18 22:19:42 +01:00
alexey.lysiuk 747c6dcbc9 - customized invulnerability colormap does not interfere with Powerup.ColorMap
https://forum.zdoom.org/viewtopic.php?t=66955
2020-01-18 17:27:45 +01:00
Magnus Norddahl e43894213e Remove softpoly specific matrix and vector classes 2020-01-18 13:56:37 +01:00
Magnus Norddahl 43562c94d0 Seems the clamp was required 2020-01-18 12:55:36 +01:00
Christoph Oelckers 9bbd09b78f - precache a few sounds being referenced in common game code.
- define misc/secret for Hexen, too. By now there are some mods defining secrets for the game so this sound should be present there.
2020-01-18 09:28:39 +01:00
Magnus Norddahl e68b46cb6a Implement special colormap support for softpoly 2020-01-17 21:58:33 +01:00
Alexander Kromm bdb4bdeb09 save and restore config-only variables from proper sections 2020-01-17 19:24:17 +01:00
Rachael Alexanderson 039196bcb3 - rename vid_scalemode 0 to 'normal' 2020-01-17 09:25:27 -05:00
Magnus Norddahl 3b336a1476 Fix broken fixed camera light for walls 2020-01-17 01:15:44 +01:00
Alexander Kromm 1f011cda7f make enter key toggle Option Search mode too 2020-01-16 17:53:28 +01:00
Alexander Kromm 7973ab9c6b make nosave standalone CVar flag, alongside server and user 2020-01-16 17:52:58 +01:00
Alexander Kromm f85e3fb9a0 make nosave cvars set their value bypassing network code
This may look as a workaround, it is not.

nosave cvars are meant to be used as a storage for statistical data that doesn't
affect gameplay. That's why this data isn't saved to the savefile in the first
place. Therefore, there is no point in sending this data over network. It would
have no meaning on machines other than local.
2020-01-14 15:50:20 +01:00
alexey.lysiuk efd2f8a1a8 - implemented screenshots in softpoly backend 2020-01-14 12:14:03 +02:00
Christoph Oelckers 0c368a6498 - text update. 2020-01-13 23:12:02 +01:00
Christoph Oelckers dc3b36ebda - we are past 4.3 now. 2020-01-12 23:22:41 +01:00
alexey.lysiuk 7092a0a8f0 - fixed Linux and macOS implementations of I_FindAttr()
At the moment, we assume that dirent struct has d_type member, and DT_DIR is defined
This is true for supported versions of macOS, and Linux with glibc

https://forum.zdoom.org/viewtopic.php?t=66945
2020-01-12 23:03:59 +02:00
Rachael Alexanderson c6ea10f03f - implement player setup background by Enjay 2020-01-12 19:21:31 +01:00
alexey.lysiuk c466422095 - fixed uninitialized variable in OPL song
Mono streams could be erroneously treated as stereo, doubling their playback speed

https://forum.zdoom.org/viewtopic.php?t=66939
2020-01-12 18:02:26 +02:00
Christoph Oelckers 583734861e - compatibility workaround for using Scroll_Texture_Model with a line id of 0.
This would do very bad things if not being checked for.
2020-01-12 13:21:15 +01:00
Christoph Oelckers e3eae62af2 - store CVARs non-destructively in savegames.
The old method using a single string with a backslash as separator is unable to handle anything with actual backslashes in the data.
It now uses a JSON object with each CVAR being a separate key.
2020-01-12 12:59:08 +01:00
Christoph Oelckers 3e9a43d7f0 - added missing render style constants to ZScript. 2020-01-12 12:02:26 +01:00
alexey.lysiuk f32aff3396 - fixed A_PlaySound() called from Dehacked
The recently added argument was missing from PlaySound code pointer handling
Verified other Dehacked functions, and changed one incorrect comment
2020-01-12 11:48:45 +02:00
Christoph Oelckers d636acb002 - GAMESIG was never supposed to be used in printed output. Replaced all occurences with GAMENAME. 2020-01-12 09:43:47 +01:00
Christoph Oelckers 1d0ece26b6 - missed a warning. 2020-01-12 08:26:07 +01:00
Christoph Oelckers 9e13d3c60d - fixed: The directory scanner for reading a directory into the WAD file system and ScanDirectory were not Unicode capable on Windows.
Both now use the Unicode capable I_Find* interface instead of duplicating all its functionality in multiple platform dependent incarnations.
2020-01-12 08:18:47 +01:00
Kevin Caccamo 91589d9799 Attempt to optimize check for ML_DRAWFULLHEIGHT
It is less likely that a line will have the ML_DRAWFULLHEIGHT flag than its' ceiling will be above the neighbouring sector's ceiling and vice versa.
2020-01-11 13:24:02 +01:00