mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-03 09:22:31 +00:00
7c4c0163a3
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. |
||
---|---|---|
.. | ||
credits | ||
engine | ||
filter | ||
fonts/consolefont | ||
glstuff | ||
graphics | ||
maparrows | ||
mapinfo | ||
sbarinfo | ||
shaders | ||
sounds | ||
sprites | ||
textures | ||
xlat | ||
zscript | ||
althudcf.txt | ||
animdefs.txt | ||
botsupp.txt | ||
compatibility.txt | ||
decaldef.txt | ||
dehsupp.txt | ||
etc.h.txt | ||
fontdefs.txt | ||
in_epi1.txt | ||
in_epi2.txt | ||
in_epi3.txt | ||
in_htc1.txt | ||
in_htc2.txt | ||
in_htc3.txt | ||
indexfont | ||
language.0 | ||
language.csv | ||
language.def | ||
lmacros.csv | ||
lockdefs.txt | ||
menudef.txt | ||
netnotch.dat | ||
newconsolefont.hex | ||
notch.dat | ||
reverbs.txt | ||
sbarinfo.txt | ||
sndinfo.txt | ||
sndseq.txt | ||
spaldoom.lmp | ||
spalhtic.lmp | ||
strifehelp.acs | ||
teaminfo.txt | ||
terrain.txt | ||
textcolors.txt | ||
textures.txt | ||
things.h.txt | ||
vga-rom-font.16 | ||
x11r6rgb.txt | ||
xg.wopn | ||
xhairs.txt | ||
zbigfont.lmp | ||
zscript.txt |