David Cernat
db0e0d376e
[Client] Use new code to set the console's Ptrs from server scripts
...
Previously, reusing the console's object selection code made it so using the same Ptr twice in a row was akin to clicking on the same object twice in the console window, i.e. the object was deselected the second time around. Additionally, that same code was setting key focus to the hidden console window, preventing players from moving until they activated another window (such as their inventory or chat window).
7 years ago
scrawl
3c62a8c5c2
Fix console selected object persisting on a new game
7 years ago
scrawl
d53e7f8a3c
Remove redundant code
...
Already worked around in WindowBase::setVisible
7 years ago
scrawl
36c192a1dd
Undo the console portion of 84657271c7
because it results in the console forgetting its object on opening
7 years ago
scrawl
e7d2a8a4dc
Call clear() for every window
7 years ago
scrawl
2b03bc0c56
Call WindowBase::onFrame() for every active window
7 years ago
scrawl
4fff2e2e34
Refactor exitCurrentGuiMode
7 years ago
scrawl
84657271c7
Improve WindowManager API with a generic way of passing a Ptr to the opened GUI window
7 years ago
scrawl
01391b7eed
Rename WindowBase's open/close to onOpen/onClose
7 years ago
scrawl
899e35591c
Escape MyGUI markup codes in console output
9 years ago
scrawl
7252cb63a6
Fix cppcheck issues
10 years ago
scrawl
604d5ac000
Fix console reference label not resetting when loading save
11 years ago
Digmaster
e3e51324a4
Esc button exits all non-modal GUI windows
11 years ago
scrawl
8407e2b3aa
Fixes the console sometimes receiving text after it was closed
12 years ago
scrawl
9a84f6744f
Fix headers including whole MyGUI.h, forward declare where appropriate, and fix some deprecated types (WidgetPtr)
12 years ago
Marc Zinnschlag
fd6c155118
Issue #352 : added --script-run switch
13 years ago
Marc Zinnschlag
23f8595b87
Issue #352 : refactored script execution in console
13 years ago
Marc Zinnschlag
90de02b901
Issue #350 : console only script instructions
13 years ago
scrawl
0ba0b2122e
set the implicit object for script excution by clicking on it
13 years ago
scrawl
14f4f09f83
proper resolution switching (reposition GUI & adjust mouse clipping region)
13 years ago
Marc Zinnschlag
35f478071e
Issue #255 : deleted the old environment class and using the new one instead
13 years ago
k1ll
ac43d482c5
Basic tab-completition seems to be finished. It's working like requested in the old thread.
14 years ago
Marc Zinnschlag
d865c3cfc6
backend for tab completion: identifiers
14 years ago
Marc Zinnschlag
6848115c18
backend for tab completion: keywords
14 years ago
Marc Zinnschlag
281f2d1136
added script interpreter for console
15 years ago
Marc Zinnschlag
d72ed19460
implemented script compiler for console
15 years ago
Nicolay Korslund
5ff9344a87
Finished console GUI window
15 years ago