Commit graph

17927 commits

Author SHA1 Message Date
Major Cooke
31712ed805 Revert "Major Cooke: Added A_SpriteOffset"
This reverts commit 39bcc7b3fb.
2019-10-24 22:35:05 -05:00
Major Cooke
44036c0aca Merge remote-tracking branch 'gzdoom/master' into newmaster 2019-10-24 07:55:40 -05:00
alexey.lysiuk
dfecc1229f - removed hardcoded width limit for screenshots
https://forum.zdoom.org/viewtopic.php?t=66204
2019-10-24 10:42:39 +03:00
Chronos Ouroboros
3071723a67 Fixed dynamic arrays as function arguments. 2019-10-23 18:38:41 -03:00
alexey.lysiuk
4ae16c27e2 - added Visual Studio debugger visualization for several types 2019-10-23 20:15:55 +02:00
Major Cooke
d34e4d4379 Merge remote-tracking branch 'gzdoom/master' into newmaster 2019-10-23 10:34:34 -05:00
alexey.lysiuk
94e7b6f3b5 - do not accept read-only variable as out argument
https://forum.zdoom.org/viewtopic.php?t=66179
2019-10-22 11:11:22 +03:00
alexey.lysiuk
9a727f6c2f - fixed variable's stack offset for implicit dynarray clearing
https://forum.zdoom.org/viewtopic.php?t=66187
https://forum.zdoom.org/viewtopic.php?t=66189
https://forum.zdoom.org/viewtopic.php?t=66198
2019-10-22 10:40:45 +03:00
Chronos Ouroboros
4fa6678fc5 Fixed Vector2/3 out parameters in the ZScript compiler. 2019-10-21 16:30:05 -03:00
alexey.lysiuk
994960627b - added explicit clearing of global VM stask
When exception is thrown from JITed code, VM stask isn't cleared during unwinding
It needs to be clear explicitly to avoid memory leaks and references to destructed objects on shutdown

https://forum.zdoom.org/viewtopic.php?t=66172
2019-10-21 15:54:13 +03:00
Rachael Alexanderson
ed337b3ecc - fixed: Made "Col2RGB8_2" a global variable, since "Col2RGB8_LessPrecision[]" references it by pointer. 2019-10-21 08:45:48 -04:00
Rachael Alexanderson
0c712f2bcc - fixed typo with D'Sparil's serpent attack in lights.pk3. https://forum.zdoom.org/viewtopic.php?f=2&t=66177 2019-10-21 07:19:02 -04:00
Rachael Alexanderson
d20601d65e - fixed: made Col2RGB8_2[] in BuildTransTable() static, the array was originally designed to be used in the global in scope but when it was moved to be local it did not init properly, causing transparency issues in the software renderer. 2019-10-21 05:32:58 -04:00
Major Cooke
2fdb360b2e Merge branch 'master' of https://github.com/coelckers/gzdoom into newmaster 2019-10-21 01:39:36 -05:00
PaulyB
a601350db6 Scythe MAP22 Compatibility fix 2019-10-21 08:19:17 +02:00
Christoph Oelckers
0ee0034beb - apply the ZMusic mutex a bit more finely grained.
It should only guard the critical parts, like calling Stop() but can let Update and IsPlaying method work unhindered otherwise.
2019-10-20 16:16:40 +02:00
Christoph Oelckers
f014e9cd8c - text update. 2019-10-20 16:16:40 +02:00
Christoph Oelckers
777798ede4 - fixed GetLineX/GetLineY ACS implementation 2019-10-20 14:32:11 +02:00
Christoph Oelckers
8b10d231cd - when adding some minmum lateral movement to trigger collision detection, do not just set Vel.X but actually use a vector pointing in the proper facing direction of the actor. 2019-10-20 14:02:28 +02:00
Christoph Oelckers
19c7e24d69 - fixed: MF8_RECREATELIGHTS must be processed in pause mode as well.
When issuing a netevent from the console the game is in pause mode, and if this removes a light it would have crashed the game.
2019-10-20 12:55:24 +02:00
alexey.lysiuk
ce8b235d0b - implicitly clear local dynamic arrays
https://forum.zdoom.org/viewtopic.php?t=62710
2019-10-20 12:20:18 +02:00
alexey.lysiuk
1dd08a73ed - fixed broken walkthrough of Skulldash MAP04 2019-10-20 10:00:44 +03:00
alexey.lysiuk
3d557b68b0 - fixed broken walkthrough of Restoring Deimos MAP03 2019-10-20 10:00:44 +03:00
Major Cooke
39bcc7b3fb Major Cooke: Added A_SpriteOffset
- Coordinates work akin to A_OverlayOffset: +X shifts to the right, +Y shifts down.
2019-10-19 10:02:34 -05:00
Major Cooke
d2ecc535c1 Major Cooke: View Angles (Part 1)
Added ViewAngle, ViewPitch and ViewRoll. See https://forum.zdoom.org/viewtopic.php?f=59&t=65639&p=1117937#p1117937 for details!

- These are purely cosmetic offsets to the player's current angle/pitch/roll, not affecting the player's true aim and movement direction.
- Includes three absolute flags: ViewAbs<Angle/Pitch/Roll> which makes the implied orientation absolute.
2019-10-19 09:52:36 -05:00
Major Cooke
7b943fdf67 PhantomBeta: Added direct-native versions of the Shape2D API 2019-10-19 08:22:23 -05:00
alexey.lysiuk
5a6d8035d0 - added access check for state functions
Private functions cannot be called from derived classes anymore

https://forum.zdoom.org/viewtopic.php?t=66158
2019-10-19 14:50:36 +02:00
alexey.lysiuk
1deade93cf - fixed playback of gzip compressed music
https://forum.zdoom.org/viewtopic.php?t=66157
2019-10-19 11:40:01 +03:00
Major Cooke
7f8a8367eb Merge commit 'refs/pull/683/head' of https://github.com/coelckers/gzdoom into newmaster
ZippeyKeys12: ClearScope Index()

For Vertex, Side, Line and Sector
2019-10-18 21:25:04 -05:00
Major Cooke
b13c555381 Re-merged EdTheBat's submission now that the language file has been fixed. 2019-10-18 20:49:50 -05:00
Major Cooke
90ffdb3f06 Revert "EdTheBat: Optional override for SetSlot and ClearPlayerClasses"
This reverts commit 6fc2887f13.
2019-10-18 20:32:20 -05:00
Major Cooke
6fc2887f13 EdTheBat: Optional override for SetSlot and ClearPlayerClasses
With this, a decade-long struggle can now be ended.
2019-10-18 20:26:55 -05:00
Cacodemon345
6c3f67658f Add PSPF_PLAYERTRANSLATED flag (makes a PSprite layer translated to the user's color) 2019-10-18 19:26:28 -05:00
Major Cooke
e5596bd4b6 Merge commit 'refs/pull/874/head' of https://github.com/coelckers/gzdoom into newmaster
Install soundfonts and WOPL/WOPN banks

The INSTALL_SOUNDFONT_PATH cache entry is used to configure the
installation directory.

This version should resolve the issue brought up in https://forum.zdoom.org/viewtopic.php?f=7&t=65035.
2019-10-18 17:21:32 -05:00
Major Cooke
ce6c7d2a87 Merge remote-tracking branch 'gzdoom/master' into newmaster
# Conflicts:
#	src/scripting/vmthunks.cpp
2019-10-18 12:58:10 -05:00
alexey.lysiuk
c3dc8ea837 - fixed selection of system MIDI device on startup
https://forum.zdoom.org/viewtopic.php?t=66150
2019-10-18 15:22:58 +03:00
alexey.lysiuk
230da2e2b9 - fixed SPC music looping after update to GME 0.6.2
Why was the default player setup changed at all?

https://forum.zdoom.org/viewtopic.php?t=65863
2019-10-18 10:25:24 +03:00
alexey.lysiuk
50a876906e - added declarations missing from update to GME 0.6.2 2019-10-18 10:22:35 +03:00
Christoph Oelckers
f7f51e1964 - fixed: The dynamic lights must be initialized before the first frame is ticked.
Otherwise they only show up after the first frame.
2019-10-17 00:11:38 +02:00
alexey.lysiuk
89ecd7a964 - fixed: pickup flash didn't fade out if player was killed by pickup
https://forum.zdoom.org/viewtopic.php?t=66135
2019-10-16 18:13:01 +03:00
alexey.lysiuk
c45e8b32d0 - fallback to console font in case of missing small font
https://forum.zdoom.org/viewtopic.php?t=66102
2019-10-16 09:46:23 +02:00
alexey.lysiuk
d44d91d6a4 - fixed compilation of Cocoa backend with 10.9 SDK
src/posix/cocoa/i_video.mm:68:31: error: property 'delegate' not found on object of type 'id'
src/posix/cocoa/st_console.mm:464:37: error: property 'delegate' not found on object of type 'id'
2019-10-15 22:31:02 +03:00
Major Cooke
d0a256b51c Fixed CheckBossDeath not checking for actor replacements.
- A_BossDeath relies upon this function in particular.
- This completes CheckReplacee's purpose, allowing for varied actors to count as one particular actor, such as a Fatso for map07 and avoid lowering the walls until they are all dead.
2019-10-15 20:44:21 +02:00
Christoph Oelckers
e166563ac9 - removed redundant resource reading. 2019-10-15 18:46:53 +02:00
Christoph Oelckers
4d8f0fc014 - fixed: ZMusic_Close may not lock the mutex because it will delete it.
Here the calling code must ensure that the music object won't be accessible anymore before it gets deleted.
2019-10-15 01:16:02 +02:00
Christoph Oelckers
6854a509e9 - Moved all music related synchronization to the top level
Most of the synchronization was too deep in the implementation so that it did not guard everything it needed.

Now each song has precisely one mutex which must be locked for all access to its internals - this is done in the public ZMusic interface
2019-10-15 00:49:40 +02:00
Christoph Oelckers
dc32c2148a - ZMusic interface refactoring.
Use global functions instead of the class interface which exposed too many implementation details.
2019-10-15 00:23:03 +02:00
alexey.lysiuk
30f2ac1e89 - fixed crash with DMSS_INFLICTORDMGTYPE flag and no inflictor
https://forum.zdoom.org/viewtopic.php?t=66110
2019-10-14 13:01:13 +03:00
alexey.lysiuk
f866ade4f1 - use Xcode 11.2 in Travis config 2019-10-13 14:27:58 +03:00
alexey.lysiuk
5851de9e0c - added dynamic loading of FluidSynth 2.x 2019-10-13 10:09:51 +03:00