Data structure for drawing objects - norman-ipn/Wolfenstein-Port GitHub Wiki

In file: WL_DEF.H

  • at lines: 657 to 683 Here is the definition of the structure: struct objstruct (crazy structure) This structure is redefined with typedef to objtype

  • at line: 887 and 897 Two extern variables, actorat and objlist

This data structure is employed to calculate all operations perspective of objects and the player, Also responsible for placing or removing objects within the scene. Combines assembly code and C for operations such as rotation, calculation of "x" and "y" etc.

Request help from someone who knows assembler, to help me pass the assembly code for the functions we already have.

Which lines do you want to translate??