home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / code / r3chory.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  20.9 KB  |  695 lines

  1.  
  2. // JavaScript wrapper for r3chory.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_CHOREOGRAPHY_H = 1;
  7. include("oops/r3root.js")
  8.  
  9.  
  10. var R3CLID_CHOREOGRAPHY = 297;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Create a new choreography
  16. // Returns: Integer, TRUE if succeeded
  17. // p1: Integer, ordnum of the chor to be inserted. -1 inserts after the current chor.
  18. // p3: String, name of the choreography to be created    
  19.  
  20. R3CHRYM_NEWCHOREOGRAPHY = 297000;
  21.  
  22. function mR3CHRYM_NEWCHOREOGRAPHY(p1, p3) {
  23.   return   DoA2(this.r3obj, 297000, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
  24. }
  25.  
  26. // Description: Set timeline begin and end.
  27. // Returns: Boolean, true if succeeded
  28. // p1: Integer, choreography index
  29. // p2: Number, begin time in abs time space
  30. // p3: Number, end time in abs time space    
  31.  
  32. R3CHRYM_SETBEGINEND = 297001;
  33.  
  34. function mR3CHRYM_SETBEGINEND(p1, p2, p3) {
  35.   return   DoA3(this.r3obj, 297001, p1, R3TID_INTEGER, 0, p2, R3TID_FLOAT, 0, p3, R3TID_FLOAT, 0);
  36. }
  37.  
  38. // Description: Fetch time line begin and end times
  39. // Returns: Boolean, true if succeeded
  40. // p1: Integer, choreography index
  41. // p2: Number, begin
  42. // p3: Number, end    
  43.  
  44. R3CHRYM_GETBEGINEND = 297002;
  45.  
  46. function mR3CHRYM_GETBEGINEND(p1, p2, p3) {
  47.   return   DoA3(this.r3obj, 297002, p1, R3TID_INTEGER, 0, p2, R3TID_FLOAT, 0, p3, R3TID_FLOAT, 0);
  48. }
  49.  
  50. // Description: Map time to chor's local space.
  51. // Returns: Boolean, true if succeeded
  52. // p2: Number, time
  53. // p3: Number, time in choreographs local space    
  54.  
  55. R3CHRYM_EVALTIME = 297003;
  56.  
  57. function mR3CHRYM_EVALTIME(p2, p3) {
  58.   return   DoA3(this.r3obj, 297003, 0, R3TID_INTEGER, 0, p2, R3TID_FLOAT, 0, p3, R3TID_FLOAT, 0);
  59. }
  60.  
  61. // Description: Fetch the input curve of given choreography.
  62. // Returns: Object, curve
  63. // p3: Integer, choreography    
  64.  
  65. R3CHRYM_GETCURVE = 297004;
  66.  
  67. function mR3CHRYM_GETCURVE(p3) {
  68.   return R3ToJS(  DoA(this.r3obj, 297004, p3, R3TID_INTEGER, 0));
  69. }
  70.  
  71. // Description: Set frequency attribute for the given choreography
  72. // Returns: Boolean, true if valid chor index
  73. // p1: Integer, chor index
  74. // p3: Number, frequency    
  75.  
  76. R3CHRYM_SETFREQUENCY = 297005;
  77.  
  78. function mR3CHRYM_SETFREQUENCY(p1, p3) {
  79.   return   DoA2(this.r3obj, 297005, p1, R3TID_INTEGER, 0, p3, R3TID_FLOAT, 0);
  80. }
  81.  
  82. // Description: Fetch the frequency attribute of the given choreography
  83. // Returns: Boolean, true if chor index was valid
  84. // p1: Integer, chor index
  85. // p3: Number, buffer for the frequency    
  86.  
  87. R3CHRYM_GETFREQUENCY = 297006;
  88.  
  89. function mR3CHRYM_GETFREQUENCY(p1, p3) {
  90.   return   DoA2(this.r3obj, 297006, p1, R3TID_INTEGER, 0, p3, R3TID_FLOAT, 0);
  91. }
  92.  
  93. // Description: Enable/Disable a choreography
  94. // Returns: Boolean, true if succeeded.
  95. // p1: Integer, choreography to be enabled/disabled
  96. // p3: Boolean, true to enable, false to disable.    
  97.  
  98. R3CHRYM_SETACTIVE = 297007;
  99.  
  100. function mR3CHRYM_SETACTIVE(p1, p3) {
  101.   return   DoA2(this.r3obj, 297007, p1, R3TID_INTEGER, 0, p3, R3TID_BOOLEAN, 0);
  102. }
  103.  
  104. // Description: See if the given choreography is active.
  105. // Returns: Boolean, TRUE if active
  106. // p3: Integer, chor index    
  107.  
  108. R3CHRYM_GETACTIVE = 297008;
  109.  
  110. function mR3CHRYM_GETACTIVE(p3) {
  111.   return   DoA(this.r3obj, 297008, p3, R3TID_INTEGER, 0);
  112. }
  113.  
  114. // Description: Fetch the weight of the given choreography.
  115. // Returns: Boolean, TRUE if chor index was valid
  116. // p1: Integer, chor index
  117. // p3: Number, weight    
  118.  
  119. R3CHRYM_GETWEIGHT = 297009;
  120.  
  121. function mR3CHRYM_GETWEIGHT(p1, p3) {
  122.   return   DoA2(this.r3obj, 297009, p1, R3TID_INTEGER, 0, p3, R3TID_FLOAT, 0);
  123. }
  124.  
  125. // Description: Set the weight attribute for the given choreography.
  126. // Returns: Boolean, true if chor index was valid
  127. // p1: Integer, chor index
  128. // p3: Number, weight    
  129.  
  130. R3CHRYM_SETWEIGHT = 297010;
  131.  
  132. function mR3CHRYM_SETWEIGHT(p1, p3) {
  133.   return   DoA2(this.r3obj, 297010, p1, R3TID_INTEGER, 0, p3, R3TID_FLOAT, 0);
  134. }
  135.  
  136. // Description: Fetch the periodic attribute of the given choreography.
  137. // Returns: Boolean, TRUE if periodic
  138. // p3: Integer, chor index    
  139.  
  140. R3CHRYM_GETPERIODIC = 297011;
  141.  
  142. function mR3CHRYM_GETPERIODIC(p3) {
  143.   return   DoA(this.r3obj, 297011, p3, R3TID_INTEGER, 0);
  144. }
  145.  
  146. // Description: Make the given choreography periodic
  147. // Returns: Boolean, true if valid chor
  148. // p1: Integer, chor index
  149. // p3: Boolean, true to set periodic attribute, false to reset periodic attribute    
  150.  
  151. R3CHRYM_SETPERIODIC = 297012;
  152.  
  153. function mR3CHRYM_SETPERIODIC(p1, p3) {
  154.   return   DoA2(this.r3obj, 297012, p1, R3TID_INTEGER, 0, p3, R3TID_BOOLEAN, 0);
  155. }
  156.  
  157. // Description: Fetch the time phase of the given choreography.
  158. // Returns: Boolean, true if valid chor
  159. // p1: Integer, chor index
  160. // p3: Number, phase    
  161.  
  162. R3CHRYM_GETPHASE = 297013;
  163.  
  164. function mR3CHRYM_GETPHASE(p1, p3) {
  165.   return   DoA2(this.r3obj, 297013, p1, R3TID_INTEGER, 0, p3, R3TID_FLOAT, 0);
  166. }
  167.  
  168. // Description: Set phase for the given choreography.
  169. // Returns: Boolean, true if valid chor index
  170. // p1: Integer, chor index
  171. // p3: Number, phase to be set    
  172.  
  173. R3CHRYM_SETPHASE = 297014;
  174.  
  175. function mR3CHRYM_SETPHASE(p1, p3) {
  176.   return   DoA2(this.r3obj, 297014, p1, R3TID_INTEGER, 0, p3, R3TID_FLOAT, 0);
  177. }
  178.  
  179. // Description: Delete choreography by ordnum
  180. // Returns: Boolean, true if found and successfully deleted
  181. // p3: Integer, ordnum of the choreography to be deleted    
  182.  
  183. R3CHRYM_DELCHOREOGRAPHY = 297015;
  184.  
  185. function mR3CHRYM_DELCHOREOGRAPHY(p3) {
  186.   return   DoA(this.r3obj, 297015, p3, R3TID_INTEGER, 0);
  187. }
  188.  
  189. // Description: Find ordnum by name
  190. // Returns: Boolean, true if choreography was found
  191. // p1: String, name
  192. // p3: Integer[], ordnum    
  193.  
  194. R3CHRYM_NAMETOORDNUM = 297016;
  195.  
  196. function mR3CHRYM_NAMETOORDNUM(p1, p3) {
  197.   return   DoA2(this.r3obj, 297016, p1, R3TID_STRING, 0, p3, R3TID_INTEGER, R3TNF_ARRAY);
  198. }
  199.  
  200. // Description: Create a new choreography by duplicating the given choreography
  201. // Returns: Boolean, true if succeeded
  202. // p1: Integer, chor to be copied
  203. // p3: Integer, ordnum of the newly created chor.    
  204.  
  205. R3CHRYM_COPYCHOREOGRAPHY = 297017;
  206.  
  207. function mR3CHRYM_COPYCHOREOGRAPHY(p1, p3) {
  208.   return   DoA2(this.r3obj, 297017, p1, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
  209. }
  210.  
  211. // Description: rename the choreography by ordnum. The name of the choreography consists of three parts:
  212. //      object/choreography/input.
  213. // Returns: Boolean, true if succeeded
  214. // p1: Integer, ordnum
  215. // p3: String, new name.
  216.  
  217. R3CHRYM_RENAME = 297018;
  218.  
  219. function mR3CHRYM_RENAME(p1, p3) {
  220.   return   DoA2(this.r3obj, 297018, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
  221. }
  222.  
  223. // Description: Copy choreography 'index' to given object.
  224. // p1: Integer, choreography to be exported
  225. // p3: Object, target object    
  226.  
  227. R3CHRYM_EXCHANGECHOREOGRAPHY = 297019;
  228.  
  229. function mR3CHRYM_EXCHANGECHOREOGRAPHY(p1, p3) {
  230.   DoA2(this.r3obj, 297019, p1, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
  231. }
  232.  
  233. // Description: replace choreography
  234. // Returns: Boolean, true if succeeded
  235. // p1: Integer, index
  236. // p2: Object, to object
  237. // p3: Integer, to index    
  238.  
  239. R3CHRYM_REPLACECHOREOGRAPHY = 297020;
  240.  
  241. function mR3CHRYM_REPLACECHOREOGRAPHY(p1, p2, p3) {
  242.   return   DoA3(this.r3obj, 297020, p1, R3TID_INTEGER, 0, p2, R3TID_OBJECT, 0, p3, R3TID_INTEGER, 0);
  243. }
  244.  
  245. // Description: Transform all choreography time lines
  246. // p1: Integer, choreography index
  247. // p2: Number, translate
  248. // p3: Number, scale    
  249.  
  250. R3CHRYM_TRANSFORMTIMELINE = 297021;
  251.  
  252. function mR3CHRYM_TRANSFORMTIMELINE(p1, p2, p3) {
  253.   DoA3(this.r3obj, 297021, p1, R3TID_INTEGER, 0, p2, R3TID_FLOAT, 0, p3, R3TID_FLOAT, 0);
  254. }
  255.  
  256. // Description: See if the choreography level is open or closed.
  257. // Returns: Boolean, true if open, false if closed
  258. // p3: Integer, chor index    
  259.  
  260. R3CHRYM_GETOPEN = 297022;
  261.  
  262. function mR3CHRYM_GETOPEN(p3) {
  263.   return   DoA(this.r3obj, 297022, p3, R3TID_INTEGER, 0);
  264. }
  265.  
  266. // Description: Open or close the given choreography level
  267. // Returns: Boolean, true if valid chor index
  268. // p1: Integer, chor index
  269. // p3: Boolean, true to open, false to close    
  270.  
  271. R3CHRYM_SETOPEN = 297023;
  272.  
  273. function mR3CHRYM_SETOPEN(p1, p3) {
  274.   return   DoA2(this.r3obj, 297023, p1, R3TID_INTEGER, 0, p3, R3TID_BOOLEAN, 0);
  275. }
  276.  
  277. // Description: Open/close all choreographs
  278. // p3: Boolean, true opens, false closes    
  279.  
  280. R3CHRYM_SETOPENALL = 297024;
  281.  
  282. function mR3CHRYM_SETOPENALL(p3) {
  283.   DoA(this.r3obj, 297024, p3, R3TID_BOOLEAN, 0);
  284. }
  285.  
  286. // Description: See if the given chor weight curve is visible
  287. // Returns: Boolean, true if visible
  288. // p3: Integer, chor index    
  289.  
  290. R3CHRYM_GETSHOWCURVE = 297025;
  291.  
  292. function mR3CHRYM_GETSHOWCURVE(p3) {
  293.   return   DoA(this.r3obj, 297025, p3, R3TID_INTEGER, 0);
  294. }
  295.  
  296. // Description: Show/hide weight curve for the given choreography
  297. // Returns: Boolean, true if succeeded
  298. // p1: Integer, chor index
  299. // p3: Boolean, true to show, false to hide    
  300.  
  301. R3CHRYM_SETSHOWCURVE = 297026;
  302.  
  303. function mR3CHRYM_SETSHOWCURVE(p1, p3) {
  304.   return   DoA2(this.r3obj, 297026, p1, R3TID_INTEGER, 0, p3, R3TID_BOOLEAN, 0);
  305. }
  306.  
  307. // Description: Show/hide all weight curves
  308. // p3: Boolean, true or false to show or hide    
  309.  
  310. R3CHRYM_SETSHOWALLCURVES = 297027;
  311.  
  312. function mR3CHRYM_SETSHOWALLCURVES(p3) {
  313.   DoA(this.r3obj, 297027, p3, R3TID_BOOLEAN, 0);
  314. }
  315.  
  316. // Description: See if input curve is active for the given choreography
  317. // Returns: Boolean, true if active
  318. // p3: Integer, chor index    
  319.  
  320. R3CHRYM_GETCURVEACTIVE = 297028;
  321.  
  322. function mR3CHRYM_GETCURVEACTIVE(p3) {
  323.   return   DoA(this.r3obj, 297028, p3, R3TID_INTEGER, 0);
  324. }
  325.  
  326. // Description: Enable / disable input curve for the given choreography
  327. // Returns: Boolean, true if succeeded
  328. // p1: Integer, chor index
  329. // p3: Boolean, true to enable, false to disable    
  330.  
  331. R3CHRYM_SETCURVEACTIVE = 297029;
  332.  
  333. function mR3CHRYM_SETCURVEACTIVE(p1, p3) {
  334.   return   DoA2(this.r3obj, 297029, p1, R3TID_INTEGER, 0, p3, R3TID_BOOLEAN, 0);
  335. }
  336.  
  337. // Description: See if the curve is in maximized state.
  338. // Returns: Boolean, true if maximized
  339. // p3: Integer, chor index    
  340.  
  341. R3CHRYM_GETSHOWLARGECURVE = 297030;
  342.  
  343. function mR3CHRYM_GETSHOWLARGECURVE(p3) {
  344.   return   DoA(this.r3obj, 297030, p3, R3TID_INTEGER, 0);
  345. }
  346.  
  347. // Description: Minimize or maximize the curve of the given choreography.
  348. // Returns: Boolean, true if succeeded
  349. // p1: Integer, chor index
  350. // p3: Boolean, true maximizes, false minizes    
  351.  
  352. R3CHRYM_SETSHOWLARGECURVE = 297031;
  353.  
  354. function mR3CHRYM_SETSHOWLARGECURVE(p1, p3) {
  355.   return   DoA2(this.r3obj, 297031, p1, R3TID_INTEGER, 0, p3, R3TID_BOOLEAN, 0);
  356. }
  357.  
  358. // Description: Transform a single choreography time lines
  359. // Virtual method
  360. // p1: Integer, choreography index
  361. // p2: Number, translate
  362. // p3: Number, scale    
  363.  
  364. R3CHRYM_TRANSFORMTIMELINEBYI = 297032;
  365.  
  366. function mR3CHRYM_TRANSFORMTIMELINEBYI(p1, p2, p3) {
  367.   DoA3(this.r3obj, 297032, p1, R3TID_INTEGER, 0, p2, R3TID_FLOAT, 0, p3, R3TID_FLOAT, 0);
  368. }
  369.  
  370. // Description: Apply inverse time line transformation to given global time to    * get it mapped to
  371. //      objects local time space.
  372. // p1: Integer, chor index or -1 for the current chor
  373. // p3: Number, global time    
  374.  
  375. R3CHRYM_MAPGLOBALTOLOCAL = 297033;
  376.  
  377. function mR3CHRYM_MAPGLOBALTOLOCAL(p1, p3) {
  378.   DoA2(this.r3obj, 297033, p1, R3TID_INTEGER, 0, p3, R3TID_FLOAT, 0);
  379. }
  380.  
  381. // Description: Apply time line transformation specified to map time value from * objects local space
  382. //      to parent space.
  383. // p1: Integer, chor index or -1 for the current chor
  384. // p3: Number, time    
  385.  
  386. R3CHRYM_MAPLOCALTOGLOBAL = 297034;
  387.  
  388. function mR3CHRYM_MAPLOCALTOGLOBAL(p1, p3) {
  389.   DoA2(this.r3obj, 297034, p1, R3TID_INTEGER, 0, p3, R3TID_FLOAT, 0);
  390. }
  391.  
  392. // Description: Fetch class id of the choreography specified by chor index.
  393. // Returns: Integer, class id
  394. // p3: Integer, index of the choreography    
  395.  
  396. R3CHRYM_GETCLID = 297035;
  397.  
  398. function mR3CHRYM_GETCLID(p3) {
  399.   return   DoA(this.r3obj, 297035, p3, R3TID_INTEGER, 0);
  400. }
  401.  
  402. // Description: Set class id of the choreography specified by chor index. Called internally.
  403. // Returns: Boolean, true if succeeded
  404. // p1: Integer, index
  405. // p3: Integer, class id    
  406.  
  407. R3CHRYM_SETCLID = 297036;
  408.  
  409. function mR3CHRYM_SETCLID(p1, p3) {
  410.   return   DoA2(this.r3obj, 297036, p1, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
  411. }
  412.  
  413. // Description: Fetch key frame time values.
  414. // Returns: Boolean, true if succeeded.
  415. // p1: Integer, animated tag
  416. // p2: Integer, animated tag index, if indexed tag. -1 for regular tags
  417.  
  418. R3CHRYM_GETTIMEKEYS = 297037;
  419.  
  420. function mR3CHRYM_GETTIMEKEYS(p1, p2) {
  421.   return   DoA3(this.r3obj, 297037, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, 0, R3TID_INTEGER, 0);
  422. }
  423.  
  424. // Description: Unselect all key frames
  425. // Virtual method
  426. // p1: Integer, attribute id, or 0 for any
  427. // p3: Integer, index if indexed attribute, -1 if regular    
  428.  
  429. R3CHRYM_UNSELECTALL = 297038;
  430.  
  431. function mR3CHRYM_UNSELECTALL(p1, p3) {
  432.   DoA2(this.r3obj, 297038, p1, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
  433. }
  434.  
  435. // Description: Select given knot
  436. // Virtual method
  437. // Returns: Boolean, TRUE if succeeded
  438. // p1: Integer, tag
  439. // p2: Integer, tag index
  440. // p3: Tag[], R3CHRYA_Active, R3CHRYA_Separate, R3CHRYA_KnotIndex 
  441.  
  442. R3CHRYM_SELECTKNOT = 297039;
  443.  
  444. function mR3CHRYM_SELECTKNOT(p1, p2, p3) {
  445.   return   Do3(this.r3obj, 297039, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_TAG, R3TNF_ARRAY);
  446. }
  447.  
  448. // Description: Move the given choreography to another level in the constr. stack.
  449. // Returns: Boolean, true if both indexes were valid and chors were swapped
  450. // p1: Integer, ordnum of the chor to be moved
  451. // p3: Integer, new ordnum for the chor    
  452.  
  453. R3CHRYM_MOVE = 297040;
  454.  
  455. function mR3CHRYM_MOVE(p1, p3) {
  456.   return   DoA2(this.r3obj, 297040, p1, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
  457. }
  458.  
  459. // Description: Return TRUE if the given choreography is hidden
  460. // Returns: Boolean, true if hidden
  461. // p3: Integer, choreography index or -1 for the current choreography    
  462.  
  463. R3CHRYM_GETHIDDEN = 297041;
  464.  
  465. function mR3CHRYM_GETHIDDEN(p3) {
  466.   return   DoA(this.r3obj, 297041, p3, R3TID_INTEGER, 0);
  467. }
  468.  
  469. // Description: Set choreograps hidden state.
  470. // Returns: Boolean, true if succeeded
  471. // p1: Integer, choreography index or -1 for the current choreography
  472. // p3: Boolean, true to hide, false to show    
  473.  
  474. R3CHRYM_SETHIDDEN = 297042;
  475.  
  476. function mR3CHRYM_SETHIDDEN(p1, p3) {
  477.   return   DoA2(this.r3obj, 297042, p1, R3TID_INTEGER, 0, p3, R3TID_BOOLEAN, 0);
  478. }
  479.  
  480. // Description: Make the next choreography the current choreography.
  481. // Returns: Boolean, true if succeeded, false for no more chors.
  482.  
  483. R3CHRYM_UP = 297043;
  484.  
  485. function mR3CHRYM_UP() {
  486.   return   DoA(this.r3obj, 297043, 0, R3TID_INTEGER, 0);
  487. }
  488.  
  489. // Description: Make the previous choreography the current choreography.
  490. // Returns: Boolean, true if succeeded, false for no more chors.
  491.  
  492. R3CHRYM_DOWN = 297044;
  493.  
  494. function mR3CHRYM_DOWN() {
  495.   return   DoA(this.r3obj, 297044, 0, R3TID_INTEGER, 0);
  496. }
  497.  
  498. // Description: Fetch the name of the given chor
  499. // Returns: String, name
  500. // p3: Integer, chor index    
  501.  
  502. R3CHRYM_GETCHORNAME = 297045;
  503.  
  504. function mR3CHRYM_GETCHORNAME(p3) {
  505.   return   DoA(this.r3obj, 297045, p3, R3TID_INTEGER, 0);
  506. }
  507.  
  508. // Description: Called when animation playback is about to start. Choreographs    * can allocate and prepare optimization
  509. //      data etc. here.
  510. // Virtual method
  511.  
  512. R3CHRYM_BEGINANIM = 297046;
  513.  
  514. function mR3CHRYM_BEGINANIM() {
  515.   DoA(this.r3obj, 297046, 0, R3TID_INTEGER, 0);
  516. }
  517.  
  518. // Description: Called when animation playback has stopped.
  519. // Virtual method
  520.  
  521. R3CHRYM_ENDANIM = 297047;
  522.  
  523. function mR3CHRYM_ENDANIM() {
  524.   DoA(this.r3obj, 297047, 0, R3TID_INTEGER, 0);
  525. }
  526.  
  527. // Description: Fetch the choreography object of the given choreography.
  528. // Virtual method
  529. // Returns: Object, choreography object
  530. // p3: Integer, choreography index    
  531.  
  532. R3CHRYM_GETCHOROBJECT = 297048;
  533.  
  534. function mR3CHRYM_GETCHOROBJECT(p3) {
  535.   return R3ToJS(  DoA(this.r3obj, 297048, p3, R3TID_INTEGER, 0));
  536. }
  537.  
  538. // Description: Assign choreography object with the given choreography inded. The old choreography object is disposed.
  539. // Virtual method
  540. // Returns: Boolean, TRUE if succeeded.
  541. // p3: Integer, choreography index    
  542.  
  543. R3CHRYM_SETCHOROBJECT = 297049;
  544.  
  545. function mR3CHRYM_SETCHOROBJECT(p3) {
  546.   return   DoA(this.r3obj, 297049, p3, R3TID_INTEGER, 0);
  547. }
  548.  
  549. // Description: Prepare choreography for execution. This generates R3ACOCM_CHORBEGIN    * class method to the choreography. Class can
  550. //      allocate and initialize any choreography    * specific data needed by the choreography objects.
  551. // Returns: Object, data which will be passed to choreography objects.
  552. // p1: Integer, choreography index
  553. // p3: Object, target object    
  554.  
  555. R3CHRYM_CHORBEGIN = 297050;
  556.  
  557. function mR3CHRYM_CHORBEGIN(p1, p3) {
  558.   return   DoA2(this.r3obj, 297050, p1, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
  559. }
  560.  
  561. // Description: Free choreography data. Generates R3ACOCM_CHOREND class method to the choreography    * class, in which chor
  562. //      specific data can be freed.
  563. // p1: Integer, choreography index
  564. // p3: Object, context allocated by the CHORBEGIN    
  565.  
  566. R3CHRYM_CHOREND = 297051;
  567.  
  568. function mR3CHRYM_CHOREND(p1, p3) {
  569.   DoA2(this.r3obj, 297051, p1, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
  570. }
  571.  
  572. // Description: Make the time line parent sensitive.
  573. // Returns: Boolean, true if succeeded
  574. // p1: Integer, chor index
  575. // p3: Boolean, true to make sensitive, false to reset sensitivity    
  576.  
  577. R3CHRYM_SETPARENTSENSITIVE = 297052;
  578.  
  579. function mR3CHRYM_SETPARENTSENSITIVE(p1, p3) {
  580.   return   DoA2(this.r3obj, 297052, p1, R3TID_INTEGER, 0, p3, R3TID_BOOLEAN, 0);
  581. }
  582.  
  583. // Description: See if the chor is parent sensitive
  584. // Returns: Boolean, true if parent sensitive
  585. // p3: Integer, chor index    
  586.  
  587. R3CHRYM_GETPARENTSENSITIVE = 297053;
  588.  
  589. function mR3CHRYM_GETPARENTSENSITIVE(p3) {
  590.   return   DoA(this.r3obj, 297053, p3, R3TID_INTEGER, 0);
  591. }
  592.  
  593.  
  594.  
  595.  
  596. R3CHRYA_Active = 297500;
  597. function SetR3CHRYA_Active(value) {
  598.   R3Set(this.r3obj, R3CHRYA_Active, value, R3TID_INTEGER, 0); 
  599. }
  600.  
  601. function GetR3CHRYA_Active() {
  602.   return R3Get(this.r3obj, R3CHRYA_Active, R3TID_INTEGER, 0); 
  603. }
  604.  
  605. R3CHRYA_Names = 297501;
  606. function GetR3CHRYA_Names() {
  607.   return R3Get(this.r3obj, R3CHRYA_Names, R3TID_STRING, R3TNF_ARRAY); 
  608. }
  609.  
  610. R3CHRYA_Count = 297502;
  611. function GetR3CHRYA_Count() {
  612.   return R3Get(this.r3obj, R3CHRYA_Count, R3TID_INTEGER, 0); 
  613. }
  614.  
  615. var R3CHRYA_SeparateKeys = 297503; // Boolean
  616. var R3CHRYA_Keys = 297504; // r3List[]
  617. R3CHRYA_Parent = 297505;
  618. function SetR3CHRYA_Parent(value) {
  619.   R3Set(this.r3obj, R3CHRYA_Parent, value, R3TID_OBJECT, 0); 
  620. }
  621.  
  622. var R3CHRYA_KeyIndex = 297506; // Integer
  623.  
  624.  
  625. function r3Choreography () { 
  626.    this.base = r3God;
  627.    if(arguments.length) {
  628.       this.base(R3CLID_CHOREOGRAPHY, arguments);
  629.    }
  630.    // Methods
  631.    this.NEWCHOREOGRAPHY=mR3CHRYM_NEWCHOREOGRAPHY;
  632.    this.SETBEGINEND=mR3CHRYM_SETBEGINEND;
  633.    this.GETBEGINEND=mR3CHRYM_GETBEGINEND;
  634.    this.EVALTIME=mR3CHRYM_EVALTIME;
  635.    this.GETCURVE=mR3CHRYM_GETCURVE;
  636.    this.SETFREQUENCY=mR3CHRYM_SETFREQUENCY;
  637.    this.GETFREQUENCY=mR3CHRYM_GETFREQUENCY;
  638.    this.SETACTIVE=mR3CHRYM_SETACTIVE;
  639.    this.GETACTIVE=mR3CHRYM_GETACTIVE;
  640.    this.GETWEIGHT=mR3CHRYM_GETWEIGHT;
  641.    this.SETWEIGHT=mR3CHRYM_SETWEIGHT;
  642.    this.GETPERIODIC=mR3CHRYM_GETPERIODIC;
  643.    this.SETPERIODIC=mR3CHRYM_SETPERIODIC;
  644.    this.GETPHASE=mR3CHRYM_GETPHASE;
  645.    this.SETPHASE=mR3CHRYM_SETPHASE;
  646.    this.DELCHOREOGRAPHY=mR3CHRYM_DELCHOREOGRAPHY;
  647.    this.NAMETOORDNUM=mR3CHRYM_NAMETOORDNUM;
  648.    this.COPYCHOREOGRAPHY=mR3CHRYM_COPYCHOREOGRAPHY;
  649.    this.RENAME=mR3CHRYM_RENAME;
  650.    this.EXCHANGECHOREOGRAPHY=mR3CHRYM_EXCHANGECHOREOGRAPHY;
  651.    this.REPLACECHOREOGRAPHY=mR3CHRYM_REPLACECHOREOGRAPHY;
  652.    this.TRANSFORMTIMELINE=mR3CHRYM_TRANSFORMTIMELINE;
  653.    this.GETOPEN=mR3CHRYM_GETOPEN;
  654.    this.SETOPEN=mR3CHRYM_SETOPEN;
  655.    this.SETOPENALL=mR3CHRYM_SETOPENALL;
  656.    this.GETSHOWCURVE=mR3CHRYM_GETSHOWCURVE;
  657.    this.SETSHOWCURVE=mR3CHRYM_SETSHOWCURVE;
  658.    this.SETSHOWALLCURVES=mR3CHRYM_SETSHOWALLCURVES;
  659.    this.GETCURVEACTIVE=mR3CHRYM_GETCURVEACTIVE;
  660.    this.SETCURVEACTIVE=mR3CHRYM_SETCURVEACTIVE;
  661.    this.GETSHOWLARGECURVE=mR3CHRYM_GETSHOWLARGECURVE;
  662.    this.SETSHOWLARGECURVE=mR3CHRYM_SETSHOWLARGECURVE;
  663.    this.TRANSFORMTIMELINEBYI=mR3CHRYM_TRANSFORMTIMELINEBYI;
  664.    this.MAPGLOBALTOLOCAL=mR3CHRYM_MAPGLOBALTOLOCAL;
  665.    this.MAPLOCALTOGLOBAL=mR3CHRYM_MAPLOCALTOGLOBAL;
  666.    this.GETCLID=mR3CHRYM_GETCLID;
  667.    this.SETCLID=mR3CHRYM_SETCLID;
  668.    this.GETTIMEKEYS=mR3CHRYM_GETTIMEKEYS;
  669.    this.UNSELECTALL=mR3CHRYM_UNSELECTALL;
  670.    this.SELECTKNOT=mR3CHRYM_SELECTKNOT;
  671.    this.MOVE=mR3CHRYM_MOVE;
  672.    this.GETHIDDEN=mR3CHRYM_GETHIDDEN;
  673.    this.SETHIDDEN=mR3CHRYM_SETHIDDEN;
  674.    this.UP=mR3CHRYM_UP;
  675.    this.DOWN=mR3CHRYM_DOWN;
  676.    this.GETCHORNAME=mR3CHRYM_GETCHORNAME;
  677.    this.BEGINANIM=mR3CHRYM_BEGINANIM;
  678.    this.ENDANIM=mR3CHRYM_ENDANIM;
  679.    this.GETCHOROBJECT=mR3CHRYM_GETCHOROBJECT;
  680.    this.SETCHOROBJECT=mR3CHRYM_SETCHOROBJECT;
  681.    this.CHORBEGIN=mR3CHRYM_CHORBEGIN;
  682.    this.CHOREND=mR3CHRYM_CHOREND;
  683.    this.SETPARENTSENSITIVE=mR3CHRYM_SETPARENTSENSITIVE;
  684.    this.GETPARENTSENSITIVE=mR3CHRYM_GETPARENTSENSITIVE;
  685.  
  686.    // Attributes
  687.    this.GetActive=GetR3CHRYA_Active;
  688.    this.SetActive=SetR3CHRYA_Active;
  689.    this.GetNames=GetR3CHRYA_Names;
  690.    this.GetCount=GetR3CHRYA_Count;
  691.    this.SetParent=SetR3CHRYA_Parent;
  692. }
  693.  
  694. r3Choreography.prototype=new r3Model;
  695. // r3chory.h_H