home *** CD-ROM | disk | FTP | other *** search
/ Alexander the Great - The Epopee of Hellenism / ALEX.mdf / mtb30anm.sbk (.txt) < prev    next >
Encoding:
Asymetrix ToolBook File  |  1994-07-11  |  59.2 KB  |  584 lines

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