22 #ifndef ULTIMA8_WORLD_TARGETRETICLEPROCESS_H 23 #define ULTIMA8_WORLD_TARGETRETICLEPROCESS_H 25 #include "ultima/ultima8/kernel/process.h" 26 #include "ultima/ultima8/misc/classtype.h" 42 ENABLE_RUNTIME_CLASSTYPE()
55 void setEnabled(
bool val) {
56 _reticleEnabled = val;
58 bool getEnabled()
const {
59 return _reticleEnabled;
68 void toggleReticleStyle();
71 bool findTargetItem();
72 void putTargetReticleOnItem(
Item *,
bool last_frame);
77 uint16 _reticleSpriteProcess;
78 Direction _lastTargetDir;
79 uint16 _lastTargetItem;
void itemMoved(Item *item)
Avatar direction changed - force update of finding a new item next frame.
void saveData(Common::WriteStream *ws) override
save Process data
void run() override
Notify this process that the item we're targeting has moved.
Definition: target_reticle_process.h:37
Definition: detection.h:27