Feature #1346

NewObjects support

Added by planetmaker almost 10 years ago. Updated over 9 years ago.

Status:ClosedStart date:2010-08-29
Priority:NormalDue date:
Assignee:-% Done:


Target version:0.2.0


Action0 properties are implemented. But it might be needed to look at the stringIDs and allow a bit more than currently (see comment in code)

Missing: varaction2

objects_varaction2.diff Magnifier (1.38 KB) planetmaker, 2010-08-29 13:01


#1 Updated by planetmaker almost 10 years ago

Attached a diff which lists all variables associated with NewObjects. Despite I'm not sure whether that's sensible to implement this way; it might be an option to abstract more as a lot of those variables require a parameter (tile offset), so that those variables are better encapsuled in a (custom?) function.

- Action0 Properties
- Constant definitions

Still to do:
- VarAction2
- Documentation
- Regression

#2 Updated by yexo almost 10 years ago

  • Target version changed from 0.1.0 to 0.2.0

#3 Updated by yexo almost 10 years ago

Please wait with committing those 60+ variables until #1418 is implemented. Currently no 60+ var is supported for any feature.

#4 Updated by yexo almost 10 years ago

animation_counter is already used as a name for var 0x0A, so for objects another name should be chosen.

#5 Updated by yexo almost 10 years ago

For nearly all variables you've set "start" to the wrong value. It's the number of bits the value should be shifted to the right. I think you counted from left instead of right.

#6 Updated by yexo over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF