Fix the documentastion comment in SCROLL and add SCROLL_TO for contrast.
Suggestion by Shadow_Master.
This commit is contained in:
parent
26dfaa90b8
commit
85c578ddb4
1 changed files with 14 additions and 3 deletions
|
@ -343,16 +343,27 @@
|
|||
#enddef
|
||||
|
||||
#define SCROLL X Y
|
||||
# Scrolls the screen to the given coordinates.
|
||||
# Scrolls the screen by the specified offsets
|
||||
#
|
||||
# For example, let's focus on 26,35:
|
||||
#! {SCROLL 26 35}
|
||||
# For example, let's scroll 5 right and 3 down:
|
||||
#! {SCROLL 5 3}
|
||||
[scroll]
|
||||
x={X}
|
||||
y={Y}
|
||||
[/scroll]
|
||||
#enddef
|
||||
|
||||
#define SCROLL_TO X Y
|
||||
# Scrolls the screen to focus on the specified coordinates
|
||||
#
|
||||
# For example, let's focus on 26,35:
|
||||
#! {SCROLL 26 35}
|
||||
[scroll_to]
|
||||
x={X}
|
||||
y={Y}
|
||||
[/scroll_to]
|
||||
#enddef
|
||||
|
||||
#define TREMOR
|
||||
# Visuals and sound for an earth tremor.
|
||||
[sound]
|
||||
|
|
Loading…
Add table
Reference in a new issue