Talk:Offset

From ZDoom Wiki
Jump to navigation Jump to search

Bravo, weasel. That explains it a bit. --The Funktasm 09:29, 15 April 2010 (UTC)


It'd be really nice if the article stated where (0,0) or (0,32) is on a 320x200 screen. I'm having trouble with my current project because I'm getting conflicting indications that (0,0) is relative, or in the top middle of the screen, or in the top left corner. ThomsonI (talk) 12:37, 24 January 2014 (CST)

Hexen

The feature does not originate from Hexen, it originates from Doom. It's just that it was left unused in Doom. The offsets are part of the state table, in fact they were noticed early and labeled as "misc 1" and "misc 2" in DeHackEd. MBF even went so far as making them serve as a way to use parameters of sort for some new codepointers. And yes it means that you could use them that way in DECORATE if you're perverse enough to try: HACK A 1 Offset(8, 9) A_Mushroom should give the same result as HACK A 1 A_Mushroom("FatShot", 0, 0, 8, 9)... Needless to say, not gonna encourage such a practice, which is why this won't go on the article page. Anyway, the point is that since every single state in every game that doesn't explicitly define offsets has offsets 0, 0, having them be reset to position 0, 0 would completely break everything, especially when the appropriate default height is 32 instead of 0. --Gez (talk) 07:38, 6 June 2016 (CDT)