You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the "reference material" nature of the existing decohack code, perhaps it may prove useful to have ports of the weaponinfo states/info tables as well
Given the "reference material" nature of the existing decohack code, perhaps it may prove useful to have ports of the weaponinfo states/info tables as well
For Doom these are fairly simple:
https://github.com/chocolate-doom/chocolate-doom/blob/3e0cd5dc0cd0d5b6788100a2fbc1cdd4ce014b35/src/doom/d_items.h#L27-L37
https://github.com/chocolate-doom/chocolate-doom/blob/3e0cd5dc0cd0d5b6788100a2fbc1cdd4ce014b35/src/doom/d_items.c#L37-L120
Heretic added some extra complexity, introducing the upgraded weapons concept, with different values for each -- not to mention the seeminglynew "holdattackstate".
https://github.com/chocolate-doom/chocolate-doom/blob/3e0cd5dc0cd0d5b6788100a2fbc1cdd4ce014b35/src/heretic/p_pspr.c#L44-L234
Hexen's appears to be a bit simpler than Raven's prior release, but is still a bit numerous due to the class system -- the "holdattackstate" is still present, here.
https://github.com/chocolate-doom/chocolate-doom/blob/3e0cd5dc0cd0d5b6788100a2fbc1cdd4ce014b35/src/hexen/p_pspr.c#L48-L209
Strife's loops back to being on the simpler end, like Doom's, with the only gotcha being a non-issue, whether or not the weapon is available in the demo version of the game:
https://github.com/chocolate-doom/chocolate-doom/blob/3e0cd5dc0cd0d5b6788100a2fbc1cdd4ce014b35/src/strife/d_items.c#L39-L151
https://github.com/chocolate-doom/chocolate-doom/blob/3e0cd5dc0cd0d5b6788100a2fbc1cdd4ce014b35/src/strife/d_items.h#L27-L38