Skip to content

Commit

Permalink
Updated VT to 1.70.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbly committed Jul 7, 2012
1 parent 19c12ad commit faf9bc8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions VeggieTales/ScriptingReference.txt 100755 → 100644
Expand Up @@ -30,6 +30,7 @@ The functions with neither an sr or ls prefix are lua-script library functions.
=== General === === General ===
void lsSetCaptureWindow() void lsSetCaptureWindow()
void lsSleep(int ms) void lsSleep(int ms)
string lsScriptName()
=== Sending Input === === Sending Input ===
void srClickMouse(int x, int y, bool bRightClick) void srClickMouse(int x, int y, bool bRightClick)
void srClickMouseNoMove(int x, int y, bool bRightClick) void srClickMouseNoMove(int x, int y, bool bRightClick)
Expand All @@ -38,6 +39,8 @@ The functions with neither an sr or ls prefix are lua-script library functions.
void srRightArrow() void srRightArrow()
void srUpArrow() void srUpArrow()
void srDownArrow() void srDownArrow()
void srKeyDown(int key)
void srKeyUp(int key)
void srDrag(int x0, int y0, int x1, int y1, bool rightClick) void srDrag(int x0, int y0, int x1, int y1, bool rightClick)
void srSetMousePos(int x, int y) void srSetMousePos(int x, int y)
void srMouseDown(int x, int y, bool rightClick) void srMouseDown(int x, int y, bool rightClick)
Expand All @@ -54,6 +57,8 @@ The functions with neither an sr or ls prefix are lua-script library functions.
int srReadPixel(int x, int y) int srReadPixel(int x, int y)
int srReadPixelFromBuffer(int x, int y) int srReadPixelFromBuffer(int x, int y)
void srSaveLastReadScreen(const char *fn) void srSaveLastReadScreen(const char *fn)
void srMatchHue(lua_State *L, int color, int x, int y, int radius, int tol)
void srFindNearestPixel(lua_State *L, int color, int x, int y, bool checkRgb, bool checkHue, int radius, int rgbTol, int hueTol)
void lsShowScreengrab(const char *_color) void lsShowScreengrab(const char *_color)
Vec2[] lsAnalyzePapyrus(int minsize, int maxsize, int debug, int relevant_radius) Vec2[] lsAnalyzePapyrus(int minsize, int maxsize, int debug, int relevant_radius)
Vec2[] lsAnalyzeSilt(int minsize, int maxsize, int debug, int relevant_radius) Vec2[] lsAnalyzeSilt(int minsize, int maxsize, int debug, int relevant_radius)
Expand Down Expand Up @@ -129,3 +134,14 @@ Sends a character or sequence of characters to the captured window. Example:
This will send the string "username" followed by a tab (\t) and then the string This will send the string "username" followed by a tab (\t) and then the string
"password" and then enter (\n). "password" and then enter (\n).


=== void srKeyDown(int key) ===
srKeyDown() sends a key down message. When most keyboard keys are pressed,
they trigger repeating messages. To simulate this, call srKeyDown() repeatedly
with the same key. srKeyDown() will recognize multiple calls prior to the
srKeyUp() call and send appropriate repeating key messages. Multiple keys may
be down at once.


=== void srKeyUp(int key) ===
srKeyUp() sends a key up message, releasing a key pressed with srKeyDown(). To
release all pressed keys, send the special key code -1.
Binary file modified VeggieTales/VeggieTales.exe 100755 → 100644
Binary file not shown.
Expand Up @@ -119,7 +119,7 @@
7,0,0,0,0,0,32,0,396,396,216,216,112,80,32,> 7,0,0,0,0,0,32,0,396,396,216,216,112,80,32,>
7,144,144,144,144,144,144,144,0,0,0,0,0,0,0,= 7,144,144,144,144,144,144,144,0,0,0,0,0,0,0,=
5,0,832,2,0,12,6,34,48,22,18,? 5,0,832,2,0,12,6,34,48,22,18,?
2,894,0,0,0,! 2,894,0,0,0,!
7,256,896,512,584,72,1008,1008,640,88,472,0,784,8,8,a 7,256,896,512,584,72,1008,1008,640,88,472,0,784,8,8,a
7,1023,1023,512,520,520,496,224,0,0,24,0,272,520,272,b 7,1023,1023,512,520,520,496,224,0,0,24,0,272,520,272,b
6,224,504,520,520,512,0,272,512,272,0,8,792,c 6,224,504,520,520,512,0,272,512,272,0,8,792,c
Expand Down

0 comments on commit faf9bc8

Please sign in to comment.