22 #ifndef DEBUGGABLE_SCRIPT_ENGINE_H_ 23 #define DEBUGGABLE_SCRIPT_ENGINE_H_ 24 #include "engines/wintermute/base/scriptables/script_engine.h" 25 #include "engines/wintermute/coll_templ.h" 26 #include "common/algorithm.h" 27 #include "engines/wintermute/base/scriptables/debuggable/debuggable_script.h" 33 class DebuggableScript;
34 class DebuggableScEngine;
39 void notifySubscribers() {
40 for (uint i = 0; i < _subscribers.
size(); i++) {
41 _subscribers[i]->updateWatches();
54 for (uint i = 0; i < _subscribers.
size() && location == -1; i++) {
55 if (_subscribers[i] == script) {
66 void push_back(
Watch *newElement) {
104 friend class WatchableScriptArray;
Definition: base_game.h:75
Definition: debuggable_script_engine.h:37
iterator end()
Definition: array.h:379
iterator begin()
Definition: array.h:374
In find(In first, In last, const T &v)
Definition: algorithm.h:225
T & operator[](size_type idx)
Definition: array.h:273
Watch * * iterator
Definition: array.h:54
Definition: debugger_controller.h:59
void push_back(const T &element)
Definition: array.h:180
size_type size() const
Definition: array.h:315
Definition: script_monitor.h:31
Definition: debuggable_script_engine.h:93
T remove_at(size_type idx)
Definition: array.h:260
uint size_type
Definition: array.h:59
Definition: debuggable_script.h:32
Definition: script_engine.h:42
Definition: achievements_tables.h:27