-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dbc3777
commit cfb5d42
Showing
32 changed files
with
38 additions
and
37 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...C-Core.package/DRCRecordingTool.class/instance/calculateCurrentDeltaFor.from.at.until..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
event handling | ||
event-handling | ||
calculateCurrentDeltaFor: anEvent from: aPosition at: aTimestamp until: aFutureTimestamp | ||
|
||
^ (anEvent position - aPosition) * (aTimestamp - self lastEvent timeStamp) // (aFutureTimestamp - self lastEvent timeStamp). |
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/checkEOF.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
event handling | ||
event-handling | ||
checkEOF | ||
|
||
^ (self tapeStream isNil or:[self tapeStream atEnd]) |
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/checkTape.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
fileIn/Out | ||
fileIn-Out | ||
checkTape | ||
"See if this tape was already converted to the new format" | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/convertV0Tape..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
fileIn/Out | ||
fileIn-Out | ||
convertV0Tape: anArray | ||
"Convert the tape into the new format" | ||
| lastKey | | ||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/createFileChooser.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
fileIn/Out | ||
fileIn-Out | ||
createFileChooser | ||
|
||
| fileChooser | | ||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/deltaTimeFor.until..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/directoryChooser.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
fileIn/Out | ||
fileIn-Out | ||
directoryChooser | ||
|
||
| dirChooser | | ||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/handleListenEvent..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
events-processing | ||
event-processing | ||
handleListenEvent: anEvent | ||
|
||
"Record the given event" | ||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/initializePlayHand.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pause/resume | ||
pause-resume | ||
initializePlayHand | ||
|
||
self playHand: (HandMorphForReplay new recorder: self). | ||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/nextEventToPlay.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
event handling | ||
event-handling | ||
nextEventToPlay | ||
|
||
| nextEvent now nextTime lastP delta | | ||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/objectTrackingEvents.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
event handling | ||
event-handling | ||
objectTrackingEvents | ||
|
||
^ nil |
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/pauseIn..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pause/resume | ||
pause-resume | ||
pauseIn: aWorld | ||
|
||
self recorderState = #play | ||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/pausePlayingTapeIn..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pause/resume | ||
pause-resume | ||
pausePlayingTapeIn: aWorld | ||
|
||
self recorderState: #suspendedPlay. | ||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/pauseRecordingTape.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pause/resume | ||
pause-resume | ||
pauseRecordingTape | ||
|
||
self recorderState: #suspendedRecord. | ||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/readFrom..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
fileIn/Out | ||
fileIn-Out | ||
readFrom: aStream | ||
"Private" | ||
| header | | ||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/readFromV0..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/readFromV1..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
fileIn/Out | ||
fileIn-Out | ||
readFromV1: aStream | ||
^Array streamContents:[:tStream | | ||
[aStream atEnd] whileFalse:[ | ||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/readTape..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
fileIn/Out | ||
fileIn-Out | ||
readTape: aMultiByteFileStream | ||
self writeCheck. | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/readTape.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
fileIn/Out | ||
fileIn-Out | ||
readTape | ||
| file | | ||
self saveStateIn: (self savedObjects). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/resume.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/resumePlay.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pause/resume | ||
pause-resume | ||
resumePlay | ||
|
||
self | ||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/resumeRecord.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pause/resume | ||
pause-resume | ||
resumeRecord | ||
|
||
self recHand: (ActiveWorld activeHand ifNil: [ActiveWorld primaryHand]). | ||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/synchronize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
event handling | ||
event-handling | ||
synchronize | ||
|
||
self | ||
|
11 changes: 6 additions & 5 deletions
11
packages/DRC-Core.package/DRCRecordingTool.class/instance/visualizeMouseEvent..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
visualization | ||
visualizeMouseEvent: aMouseEvent | ||
|
||
| aMouseCircle | | ||
| aMouseCircle aColor| | ||
aMouseCircle := DRCMouseCircle new. | ||
|
||
aMouseEvent blueButtonPressed ifTrue: [aMouseCircle showAt: aMouseEvent position with: Color blue]. | ||
aMouseEvent redButtonPressed ifTrue: [aMouseCircle showAt: aMouseEvent position with: Color red]. | ||
aMouseEvent yellowButtonPressed ifTrue: [aMouseCircle showAt: aMouseEvent position with: Color yellow]. | ||
aColor := nil. | ||
aMouseEvent blueButtonPressed ifTrue: [aColor := Color blue.]. | ||
aMouseEvent redButtonPressed ifTrue: [aColor := Color red.]. | ||
aMouseEvent yellowButtonPressed ifTrue: [aColor := Color yellow]. | ||
aMouseCircle showAt: aMouseEvent position with: aColor |
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/writeCheck.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/writeFileNamed..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
fileIn/Out | ||
fileIn-Out | ||
writeFileNamed: fileName | ||
|
||
| directory file delta| | ||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/writeTape..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
fileIn/Out | ||
fileIn-Out | ||
writeTape: fileName | ||
| name | | ||
name := self writeFileNamed: fileName. | ||
|
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCRecordingTool.class/instance/writeTape.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
fileIn/Out | ||
fileIn-Out | ||
writeTape | ||
|
||
[^self writeTape: (UIManager default request: 'Tape to write' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
open | ||
open | ||
|
||
^ ToolBuilder open: self. | ||
^ ToolBuilder open: self |
2 changes: 1 addition & 1 deletion
2
packages/DRC-Core.package/DRCScriptEditor.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters