No description
Find a file
Major Cooke 7c4c0163a3 Added A_OverlayPivotAlign and A_OverlayVertexOffset.
A_OverlayPivotAlign(int layer, int halign, int valign)
- Aligns the pivot point origin to a corner of the PSprite before applying offsets.
- - halign: Horizontal. Applicable constants are PSPA_<LEFT/CENTER/RIGHT>.
- - valign: Vertical. Applicable constants are PSPA_<TOP/CENTER/BOTTOM>.
- - Default is top left.

A_OverlayVertexOffset(int layer, int index, double x, double y, int flags)
- Allows offsetting the corners of the psprite, granting modders the ability to skew weapon sprites as they see fit.
- - index: The index of the vertice. Valid ranges are between [0,3].
- - x/y: Offsets of vertices.
- - flags: Takes WOF_ flags.

Other changes:
- Removed pivot point interpolation since it's pointless.
- Removed PSPF_PIVOTSCREEN due to complications with it having relativity. This will be revisited either later or in another submission.
- Added ResetPSprite() to be called with BringUpWeapon(), A_Lower(), and morph weapon raising to reset all the new properties to 0.

Nearly ready now. Just some final testing needed.
2020-10-25 15:42:11 +01:00
.github/workflows - upgraded code base to C++17. 2020-10-17 11:39:59 +02:00
bin/windows/zmusic - transitioned engine to use ZMusic as a DLL. 2020-02-09 08:56:49 +01:00
cmake - updated copyright notice in cmake/FindSDL2.cmake. 2020-09-26 20:04:48 +02:00
docs - changed license of portal.cpp to GPLv3 2019-08-21 21:31:12 +02:00
fm_banks Re-compute all sound delays inside of GENMIDI.GS.wopl 2020-10-04 08:14:22 +02:00
libraries Force STATIC for internal GZDoom SPIRV library 2020-06-21 15:52:31 +03:00
soundfont - added a small default sound font that needs to be installed with the project. 2017-05-13 12:38:19 +02:00
specs Add handling for drawfullheight flag 2020-01-11 13:24:02 +01:00
src Added A_OverlayPivotAlign and A_OverlayVertexOffset. 2020-10-25 15:42:11 +01:00
tools - Change updaterevision to a CMake script 2020-02-02 11:43:36 +01:00
unused - create an intermediate structure between sectors and subsectors. 2018-11-04 20:10:51 +01:00
wadsrc Added A_OverlayPivotAlign and A_OverlayVertexOffset. 2020-10-25 15:42:11 +01:00
wadsrc_bm - changed the filter name for Doom IWADs 2019-04-10 00:15:16 +02:00
wadsrc_extra - fixed some text issues with Hacx and Harmony. 2020-10-04 19:25:50 +02:00
wadsrc_lights - Strife dynamic light tweaks by ReaperAA. 2020-06-04 00:19:23 +02:00
.gitattributes - define zdoom.rc as a proper Windows text file, stop Git from mismanaging it 2018-05-17 17:39:18 -04:00
.gitignore Revert "AsmJit update" 2019-10-07 20:34:55 +02:00
CMakeLists.txt - removed obsolete probing of C++ standard for GCC and Clang 2020-10-18 11:34:39 +03:00
LICENSE - add LICENSE file for GitHub's info displays 2018-07-21 07:03:52 -04:00
README.md - replaced continuous integration badges in readme 2020-04-11 20:51:53 +03:00

Welcome to GZDoom!

Build Status

GZDoom is a modder-friendly OpenGL and Vulkan source port based on the DOOM engine

Copyright (c) 1998-2019 ZDoom + GZDoom teams, and contributors

Doom Source (c) 1997 id Software, Raven Software, and contributors

Please see license files for individual contributor licenses

Special thanks to Coraline of the 3DGE team for allowing us to use her README.md as a template for this one.

Licensed under the GPL v3

https://www.gnu.org/licenses/quick-guide-gplv3.en.html

How to build GZDoom

To build GZDoom, please see the wiki and see the "Programmer's Corner" on the bottom-right corner of the page to build for your platform.