22 #ifndef SCI_ENGINE_SELECTOR_H 23 #define SCI_ENGINE_SELECTOR_H 25 #include "common/scummsys.h" 27 #include "sci/engine/vm_types.h" 28 #include "sci/engine/vm.h" 35 memset(
this, 0,
sizeof(*
this));
42 Selector view, loop,
cel;
44 Selector nsTop, nsLeft, nsBottom,
nsRight;
45 Selector lsTop, lsLeft, lsBottom,
lsRight;
48 Selector brTop, brLeft, brBottom,
brRight;
55 Selector state, font,
type;
71 Selector b_movCnt, b_i1, b_i2, b_di, b_xAxis,
b_incr;
95 Selector subtitleLang;
120 Selector scaleSignal;
152 Selector top, left, bottom, right;
159 Selector borderColor;
162 Selector fixPriority;
167 Selector useInsetRect;
168 Selector inTop, inLeft, inBottom, inRight;
169 Selector textTop, textLeft, textBottom, textRight;
170 Selector title, titleFont, titleFore, titleBack;
181 Selector musicVolume;
182 Selector soundVolume;
186 Selector displayValue;
190 Selector eachElementDo;
191 Selector physicalBar;
195 Selector reallyRestore;
198 Selector description;
200 Selector masterVolume;
209 #define SELECTOR(_slc_) (g_sci->getKernel()->_selectorCache._slc_) 221 #define readSelectorValue(segMan, _obj_, _slc_) (readSelector(segMan, _obj_, _slc_).getOffset()) 233 #define writeSelectorValue(segMan, _obj_, _slc_, _val_) writeSelector(segMan, _obj_, _slc_, make_reg(0, _val_)) 239 int k_argc,
StackPtr k_argp,
int argc = 0,
const reg_t *argv = 0);
248 void updateInfoFlagViewVisible(
Object *obj,
int index,
bool fromPropertyOp =
false);
253 #endif // SCI_ENGINE_SELECTOR_H Selector iconIndex
Used to index icon bar objects.
Definition: selector.h:130
Selector topString
SCI1 scroll lists use this instead of lsTop. Removed in SCI3.
Definition: selector.h:111
Selector min
SMPTE time format.
Definition: selector.h:101
Selector maxScale
SCI1.1 view scaling, limit for cel, when using global scaling.
Definition: selector.h:122
Selector message
Used by GetEvent.
Definition: selector.h:62
Selector cel
Description of a specific image.
Definition: selector.h:42
Selector canBeHere
Funcselector: Checks for movement validity in SCI0.
Definition: selector.h:75
Selector claimed
Used generally by the event mechanism.
Definition: selector.h:86
Selector syncCue
Used by DoSync()
Definition: selector.h:116
Definition: selector.h:33
Selector underBits
Used by the graphics subroutines to store backupped BG pic data.
Definition: selector.h:43
Selector delete_
Called by Animate() to dispose a view object.
Definition: selector.h:88
void writeSelector(SegManager *segMan, reg_t object, Selector selectorId, reg_t value)
Selector mode
Used by text controls (-> DrawControl())
Definition: selector.h:53
Selector modifiers
Used by GetEvent.
Definition: selector.h:80
Selector _info_
Removed in SCI3.
Definition: selector.h:39
Selector doit
Called (!) by the Animate() system call.
Definition: selector.h:77
Selector b_incr
Various Bresenham vars.
Definition: selector.h:71
Selector dy
Deltas.
Definition: selector.h:70
Selector yLast
BR last position of client.
Definition: selector.h:73
Selector mover
Used in DoAvoider.
Definition: selector.h:76
Selector palette
Used by the SCI0-SCI1.1 animate code, unused in SCI2-SCI2.1, removed in SCI3.
Definition: selector.h:98
Selector nodePtr
Replaces handle in SCI1+.
Definition: selector.h:68
Selector scaleY
SCI1.1 view scaling.
Definition: selector.h:121
Selector type
Used by controls.
Definition: selector.h:55
Selector vanishingY
SCI1.1 view scaling, used by global scaling.
Definition: selector.h:124
Selector cursor
Used by EditControl.
Definition: selector.h:57
Selector moveSpeed
Used for DoBresen.
Definition: selector.h:74
Selector replay
Replay function.
Definition: selector.h:81
Selector overlay
Used to determine if a game is using old gfx functions or not.
Definition: selector.h:127
void invokeSelector(EngineState *s, reg_t object, int selectorId, int k_argc, StackPtr k_argp, int argc=0, const reg_t *argv=0)
Selector looper
Used in DoAvoider.
Definition: selector.h:78
Selector client
The object that wants to be moved.
Definition: selector.h:69
Selector points
Used by AvoidPath()
Definition: selector.h:97
Out move(In first, In last, Out dst)
Definition: algorithm.h:109
Selector handle
Replaced by nodePtr in SCI1+.
Definition: selector.h:67
Selector illegalBits
Used by CanBeHere.
Definition: selector.h:47
Definition: seg_manager.h:48
Selector text
Used by controls.
Definition: selector.h:50
Selector syntaxFail
Used by Parse()
Definition: selector.h:83
Selector yStep
BR adjustments.
Definition: selector.h:72
reg_t readSelector(SegManager *segMan, reg_t object, Selector selectorId)
Selector max
Used by EditControl, removed in SCI3.
Definition: selector.h:58
Selector cantBeHere
Checks for movement avoidance in SCI1+. Replaces canBeHere.
Definition: selector.h:110
Selector elements
Used by SetSynonyms()
Definition: selector.h:51
Selector lsRight
Used by Animate() subfunctions and scroll list controls.
Definition: selector.h:45
Selector dataInc
Used to sync music with animations, removed in SCI3.
Definition: selector.h:99
Selector vanishingX
SCI1.1 view scaling, used by global scaling.
Definition: selector.h:123
Selector play
Play function (first function to be called)
Definition: selector.h:64
Definition: vm_types.h:39
Selector brRight
Bounding Rectangle.
Definition: selector.h:48
Selector signal
Used by Animate() to control a view's behavior.
Definition: selector.h:46
Selector moveDone
used for DoBresen
Definition: selector.h:107
Selector nsRight
View boundaries ('now seen')
Definition: selector.h:44
Selector printLang
Used for i18n.
Definition: selector.h:94