home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Magazin 1995 July/August / CDROMMAG.ISO / asym / prg / mtb30 / mtb30anm.sbk (.txt) < prev    next >
Encoding:
Asymetrix ToolBook File  |  1994-10-03  |  60.6 KB  |  598 lines

  1. strChecked
  2. Arial
  3. Systembuch f
  4. r Runtime-Animation
  5. strChecked
  6. strChecked
  7. strChecked
  8. strChecked
  9. strChecked
  10. strChecked
  11. strChecked
  12. strChecked
  13. strChecked
  14. strChecked
  15. strChecked
  16. strChecked
  17. strChecked
  18. strChecked
  19. strChecked
  20. strChecked
  21. strChecked
  22. UL` <
  23. setUpDlls
  24. linkSysbook
  25. die mmSystem DLL wurde nicht ordnungsgem
  26.  verkn
  27. timeGetTime
  28. a_timeGetTime
  29. oUcleanShutdown
  30. mmSystem.dll
  31. setUpDlls
  32. 1,    "V
  33. mtb30anm.sbk
  34. Das Animations-Systembuch wurde entfernt. Ursache:
  35. cleanShutdown
  36. ,%H.%
  37. ,%H.%
  38. 1+U!8
  39. ,%H.%
  40. ,%H.%
  41. s_anim_animationCache
  42. }gyieldApp
  43. ZstopAnimation
  44. s_anim_idleAnimations
  45. }playStep
  46. objectAnimation
  47. Reset by play command
  48. YdoneAnimatingNotify
  49. theTarget
  50. 9a_timeGetTime
  51. _stopAnimTimer
  52. startAnimTimer
  53. aborted by the user
  54. playAnimation
  55. 1,    "V
  56. s_anim_animationCache
  57. _stopAnimTimer
  58. s_anim_idleAnimations
  59. YdoneAnimatingNotify
  60. notifyObj
  61. stopAnimation
  62. 1+U!8
  63. Author
  64. objectAnimation
  65. updateCel
  66. jumpToStep
  67. whichStep
  68. Author
  69. objectAnimation
  70. updateCel
  71. jumpToPercent
  72. s_anim_animationCache
  73. successful
  74. ZstopAnimation
  75. 9a_timeGetTime
  76. updateCel
  77. playStep
  78. 1+U!!
  79. 1+U!8
  80. updateCel
  81. doneAnimatingNotify
  82. jumpToStep
  83. currentAnimation
  84. currentObject
  85. restoreAnimation
  86. .&+    +E
  87. ,%H.%
  88. s_anim_animationCache
  89. _stopAnimTimer
  90. s_anim_idleAnimations
  91. ZstopAnimation
  92. restoreAnimation
  93. aborted by the user
  94. default
  95. closeAllAnimations
  96. anim_animationSettings
  97. objectAnimation
  98. anim_animationSettings
  99. anim_animationSettings
  100. objectAnimation
  101. 1,    "V
  102. s_anim_idleAnimations
  103. animationCacheEntry
  104. s_anim_animationCache
  105. ULanimationCacheEntry
  106. anim_Offset
  107. s_anim_animationCache
  108. ULanimationCacheEntry
  109. anim_Offset
  110. s_anim_animationCache
  111. ULanimationCacheEntry
  112. anim_CurrentStep
  113. s_anim_animationCache
  114. ULanimationCacheEntry
  115. anim_CurrentStep
  116. s_anim_animationCache
  117. objectAnimation
  118. ULanimationCacheEntry
  119. whichAnimation
  120. anim_NumRepetitions
  121. s_anim_animationCache
  122. objectAnimation
  123. ULanimationCacheEntry
  124. whichAnimation
  125. objectAnimation
  126. anim_NumRepetitions
  127. s_anim_animationCache
  128. objectAnimation
  129. ULanimationCacheEntry
  130. whichAnimation
  131. anim_CelAnimation
  132. s_anim_animationCache
  133. objectAnimation
  134. ULanimationCacheEntry
  135. whichAnimation
  136. objectAnimation
  137. anim_CelAnimation
  138. s_anim_animationCache
  139. objectAnimation
  140. ULanimationCacheEntry
  141. anim_ShowAllSteps
  142. s_anim_animationCache
  143. objectAnimation
  144. ULanimationCacheEntry
  145. objectAnimation
  146. anim_ShowAllSteps
  147. s_anim_animationCache
  148. objectAnimation
  149. ULanimationCacheEntry
  150. anim_Duration
  151. s_anim_animationCache
  152. objectAnimation
  153. ULanimationCacheEntry
  154. objectAnimation
  155. anim_Duration
  156. s_anim_animationCache
  157. objectAnimation
  158. ULanimationCacheEntry
  159. anim_NumSteps
  160. s_anim_animationCache
  161. objectAnimation
  162. ULanimationCacheEntry
  163. objectAnimation
  164. anim_NumSteps
  165. s_anim_animationCache
  166. objectAnimation
  167. ULanimationCacheEntry
  168. anim_StepsPerCell
  169. s_anim_animationCache
  170. objectAnimation
  171. ULanimationCacheEntry
  172. objectAnimation
  173. anim_StepsPerCell
  174. objectAnimation
  175. anim_StartPosition
  176. objectAnimation
  177. objectAnimation
  178. anim_StartPosition
  179. objectAnimation
  180. anim_StartSize
  181. objectAnimation
  182. anim_EndSize
  183. s_anim_animationCache
  184. ULanimationCacheEntry
  185. anim_StartTime
  186. s_anim_animationCache
  187. ULanimationCacheEntry
  188. 9a_timeGetTime
  189. anim_elapsedTime
  190. 9a_timeGetTime
  191. anim_currentTime
  192. ,%H.%
  193. ,%H.%
  194. s_anim_animationCache
  195. ZstopAnimation
  196. s_anim_idleAnimations
  197. whatAnim
  198. }playStep
  199. _stopAnimTimer
  200. aborted by the user
  201. updateAnimations
  202. updateAnimations
  203. animTimerID
  204. animTimer
  205. Animation konnte nicht eingerichtet werden; Animationen werden nicht abgespielt.
  206. zIanim_setTimer
  207. animTimer
  208. animTimer
  209. SetTimer
  210. anim_setTimer
  211. KillTimer
  212. anim_killTimer
  213. closeAllAnimations
  214. animTimerID
  215. startAnimTimer
  216. Rlanim_killTimer
  217. animTimer
  218. animTimerID
  219. stopAnimTimer
  220. --    SYSTEM message handlers related 
  221. animations
  222. linkSysbook
  223. setUpDlls
  224. --    These 
  225. [are helper functions 
  226. startup            --
  227.     LOCAL LOGICAL sysSuspendState
  228. use instead 
  229. getTickCount()
  230.     -- IT's more accurate 
  231. calculating durations
  232.     linkDLL "mmSystem.dll"
  233.         DWORD a_timeGetTime=
  234. r<> NULL 
  235. cleanShutdown "die 
  236. Twurde nicht ordnungsgem
  237.  verkn
  238. DLLs aren't linked succesfully
  239. terrorString
  240. "Das Animations-Systembuch 
  241. entfernt. Ursache:"&&
  242. Y&"."
  243. ~("mtb30anm.sbk",
  244. IT <> 0 
  245. scripts 
  246. playing the 
  247. playAnimation 
  248. , notifyObject, waitTillDone
  249. s_anim_idleAnimations,s_anim_animationCache[][]
  250. animationSettings[]
  251. 6 = 1
  252. only 
  253. which actually have 
  254. R = objectAnimation(
  255. dimensions(
  256. |) = 0
  257.     theTarget = 
  258. ) = 0
  259. startAnimTimer
  260. IT's already being animated on 
  261. Fstop 
  262. restart
  263. IT <> 
  264. IT = 
  265. he[i][3] <> 
  266. doneAnimatingNotify "Reset 
  267. he[i][12]
  268.         animCount = 
  269. ns = 
  270. ns = 
  271. he[i][1] = 
  272. ()            --StartTime
  273. he[i][2] = 0
  274. --CurrentStep
  275. he[i][3] = 
  276. he[i][j] = 
  277. he[i][12] = 
  278. starting point 
  279.     lockScreen 
  280. e= TRUE
  281. he[i][6]
  282. he[i][4]
  283. e= FALSE
  284.         -- finish 
  285. 4continuing
  286. IT <> 
  287. playStep j 
  288. he[j][12]
  289. yieldApp()
  290. (sysMediaBreakKey) = 
  291. IT <> 
  292. stopAnimation "aborted 
  293. user" 
  294. he[i][12]
  295. ns = 
  296.         -- potential infinite loop (
  297. reps=forever) unless 
  298. s presses Escape key 
  299. ns) = 0
  300. stopAnimTimer
  301. -- stops 
  302.  "During Idle" 
  303. Hremoving IT 
  304. status
  305. he[][]
  306. IT > 1
  307. IT <> 0 
  308. IT <> 0 
  309.             IT = 0
  310. IT <> 0
  311. ns = 
  312. he[IT][1] = 0
  313. he[IT][3]    --
  314. he[IT][12]
  315. there 
  316. animating 
  317. ns <> 
  318. entries 
  319. i >= IT 
  320. IT = 0
  321. -- lets users specify a 
  322. jumpToStep whichStep, whichAnimation
  323. " = 1
  324. ) > 0
  325. } = 0
  326.  < 0 
  327. )*4-3 
  328. ~= "Author" 
  329. fake out 
  330.     moved/sized 
  331. tempSuspendMessages = sysSuspendMessages
  332. >= IT
  333. updateCel 
  334.     11],
  335. a percent 
  336.  path length 
  337. jumpToPercent percentComplete, 
  338. ) > 0
  339.  < 0 
  340. +1)*4-3 
  341. +1)*4 
  342.             -- 
  343. >= IT
  344.             -- 
  345. -- plays 
  346. -- called 
  347. "Without Yielding" 
  348. currentAnimation
  349. he[][]
  350. theTickCount,
  351. StepNumber,celNumber
  352.     IT should be on
  353. what 
  354. been covered 
  355. Hnow?
  356. %complete = [elapsed 
  357. Isince 
  358.  selected 
  359. mSec]
  360. ][1])/
  361. ][8]/1000
  362. ][9])
  363. ][5] 
  364. ][2] + 1
  365.  screen so 
  366.  happen simultaneously
  367.     ls = 
  368.  >= (
  369. ][9]*
  370. ][7]) 
  371. ][7] <> 0
  372.             -- IT's 
  373. past 
  374.             -- 
  375. ][9] * 4 + 1
  376. IT + 3 
  377. ][10]
  378. >= IT
  379.             -- 
  380. fbuilt-
  381. ][11],
  382. ][9],
  383.             -- 
  384. queue 
  385. IT's on its 
  386. successful" 
  387.             -- 
  388. specified
  389. ][9]) -- 
  390. (IT+1)*4-3 
  391. (IT+1)*4 
  392. ][10]
  393. >= IT
  394.             -- 
  395. ][11],
  396.             -- 
  397.  currentStep
  398. ][2] = 
  399. e= ls
  400. -- hides 
  401. shows 
  402. , StepsPerCel, 
  403. previousStepNumber
  404. CelNumberToShow,CelNumberToHide,CelCount
  405. < so that 
  406.     -- (
  407. 0 corresponds 
  408.     -- calculate 
  409. fregards 
  410.  setting
  411.  -- so 
  412.  always starts 
  413. ) -- total Cels 
  414.  = 0 
  415.         -- i.e. n 
  416. kn = 0 
  417. Mwe want 
  418.         -- 
  419. shown
  420.  -- so 
  421.  = 0 
  422.             -- i.e. n 
  423. kn = 0 
  424.         -- assume 
  425.  = 1 
  426. ,whatObject
  427.     -- traps 
  428. so no 
  429. generated 
  430. sent 
  431. }without 
  432. -- sends 
  433. sition
  434. -- can be 
  435. fa list 
  436. restoreAnimation objectList, animationList
  437. e) > 0
  438. currentObject
  439. closeAllAnimations
  440. he[][]
  441. isOpen 
  442. he[i][12]
  443. he[i][12]
  444. he[i][12]
  445. o= default
  446. --    these 
  447. utilities getting 
  448.  a single 
  449.  rowNum
  450. settingsTable[][], 
  451.     ss = 
  452. . = anim_animationSettings 
  453. n = 1
  454. ][1] <> 
  455. i] = 
  456. 14] = 
  457.     ss = 
  458. 14]][i] = 
  459. 1][i] = 
  460. working 
  461. outside 
  462. editor interface
  463. animationCacheEntry 
  464. IT > 1
  465. IT <> 0 
  466. IT <> 0 
  467.             IT = 0
  468. -- Run 
  469.  Properties
  470. anim_Offset
  471. he[][]
  472. IT = 0
  473. he[IT][6]
  474. value
  475. he[][]
  476. IT <> 0 
  477. isType(POINT, 
  478. he[IT][6] = 
  479. r= -1
  480. anim_CurrentStep
  481. he[][]
  482. IT = 0
  483. he[IT][2]
  484. he[][]
  485. IT <> 0 
  486. he[IT][2] = 
  487. -- Persistent 
  488. anim_NumRepetitions
  489. he[][]
  490. IT = 0
  491. ) > 0
  492. he[IT][7]
  493. he[][]
  494. IT <> 0 
  495. he[IT][7] = 
  496. ) > 0
  497. 7] = 
  498. anim_CelAnimation
  499. he[][]
  500. IT = 0
  501. ) > 0
  502. he[IT][4]
  503. he[][]
  504. IT <> 0 
  505. j ", 
  506. he[IT][4] = 
  507. ) > 0
  508. 4] = 
  509. anim_ShowAllSteps 
  510. he[][]
  511. IT = 0
  512. ) > 0
  513. he[IT][5]
  514. he[][]
  515. IT <> 0 
  516. he[IT][5] = 
  517. ) > 0
  518. 5] = 
  519. anim_Duration 
  520. he[][]
  521. IT = 0
  522. ) > 0
  523. - he[IT][8]
  524. Q he[][]
  525. IT <> 0 
  526. Y"", 
  527.  he[IT][8] = 
  528.  ) > 0
  529.  8] = 
  530. anim_NumSteps 
  531. !he[][]
  532. IT = 0
  533. &!) > 0
  534. q!he[IT][9]
  535. !he[][]
  536. IT <> 0 
  537. !he[IT][9] = 
  538. !) > 0
  539. !9] = 
  540. anim_StepsPerCell 
  541. L"he[][]
  542. IT = 0
  543. n") > 0
  544. |"11]
  545. "he[IT][11]
  546. "he[][]
  547. IT <> 0 
  548. #he[IT][11] = 
  549. +#) > 0
  550. 6#11] = 
  551. anim_StartPosition 
  552. #) > 0
  553. #) > 0
  554. #6] = 
  555. -- Read Only (persistent)
  556. anim_StartSize 
  557. p$) > 0
  558. }$15]
  559. anim_EndSize 
  560. $) > 0
  561. anim_StartTime
  562. 7%he[][]
  563. IT = 0
  564. e%he[IT][1]
  565. anim_elapsedTime
  566. %he[][]
  567. IT = 0
  568. '() - 
  569. %he[IT][1]
  570. anim_currentTime
  571. #% stuff
  572. updateAnimations
  573. ;&ns, 
  574. ,&he[][]
  575. m&ns)
  576. whatAnim = 
  577. &he[i][12]
  578. &ns) > 0
  579. &he[i][12]
  580. 'he[i][12]
  581. W'ns) = 0
  582. animTimer whatHandle, whatMsg, wparam
  583. *animTimerID, 
  584. "USER"
  585.         INT     anim_setTimer =        SetTimer        (
  586. 0killTimer =    KillTimer        (
  587. = 4843
  588. `(sysClientHandle,
  589. ,20,0)         
  590. (konnte 
  591. %*eingerichtet werden; Animationen 
  592. L*abgespielt.")
  593.     translateWindowMessage 
  594.         0x001F     
  595.         0x0113     
  596. anim_killTimer(
  597.     untranslateWindowMessage 0
  598.