Project

General

Profile

« Previous | Next » 

Revision 12a2c6a5

Added by danij over 16 years ago

Worked on DMU:
  • Split up DMU in to multiple source files. The public interface and backend stuff is still in p_dmu.c. The set/get functionality has been split off into separate source files for each DMU object type.
  • Implemented an engine-side sub-object iteration routine - P_Iteratep(). This can be used for traversal of e.g. the linedefs of a sector. The old method for this caused quite a lot of overhead as for each iteration DMU, had to determine the type of the object, whether it was a dummy, then check whether the sub-object index was in range etc, etc. Instead, P_Iteratep performs a type and dummy check, once at the start of the traversal and then calls the provided callback for each iteration.
  • Reworked how the property modifiers are used and interpreted.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences