button_data.s 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  1. *******************************************************
  2. ***** BUTTON DATA *****
  3. *******************************************************
  4. ****BUTTON DATA FOR ALL EDITOR/MUSIC DRAW ROUTINES*****
  5. *******************************************************
  6. top_level_list
  7. dc.l exit_system_button,graphics_system_button
  8. dc.l edit_system_button,editdata_system_button
  9. dc.l load_project_file_button,save_project_file_button
  10. dc.l system_setup_button,-1
  11. exit_system_button
  12. dc.w BUTTON_1
  13. dc.w FOURTH_ROW
  14. dc.w MAIN_BUTTON_SCREEN ;frame type
  15. dc.b STANDARD_BUTTON ;standard
  16. dc.b NOT_DEPRESSED
  17. dc.b 0
  18. dc.b 0 ;not used
  19. dc.l 0 ;not used
  20. dc.l 0 ;not used
  21. dc.l check_kill
  22. dc.b "EXIT",0
  23. EVEN
  24. graphics_system_button
  25. dc.w BUTTON_1
  26. dc.w FIRST_ROW
  27. dc.w MAIN_BUTTON_SCREEN ;frame type
  28. dc.b STANDARD_BUTTON ;standard
  29. dc.b NOT_DEPRESSED
  30. dc.b 0
  31. dc.b 0 ;not used
  32. dc.l 0 ;not used
  33. dc.l 0 ;not used
  34. dc.l display_graphic_buttons
  35. dc.b "GRAPHICS",0
  36. EVEN
  37. edit_system_button
  38. dc.w BUTTON_2
  39. dc.w FIRST_ROW
  40. dc.w MAIN_BUTTON_SCREEN ;frame type
  41. dc.b STANDARD_BUTTON ;standard
  42. dc.b NOT_DEPRESSED
  43. dc.b 0
  44. dc.b 0 ;not used
  45. dc.l 0 ;not used
  46. dc.l 0 ;not used
  47. dc.l display_edit_buttons
  48. dc.b "EDIT MAP",0
  49. EVEN
  50. editdata_system_button
  51. dc.w BUTTON_3
  52. dc.w FIRST_ROW
  53. dc.w MAIN_BUTTON_SCREEN ;frame type
  54. dc.b STANDARD_BUTTON ;standard
  55. dc.b NOT_DEPRESSED
  56. dc.b 0
  57. dc.b 0 ;not used
  58. dc.l 0 ;not used
  59. dc.l 0 ;not used
  60. dc.l bring_up_data_function
  61. dc.b "EDIT DATA",0
  62. EVEN
  63. system_setup_button
  64. dc.w BUTTON_4
  65. dc.w FIRST_ROW
  66. dc.w MAIN_BUTTON_SCREEN ;frame type
  67. dc.b STANDARD_BUTTON ;standard
  68. dc.b NOT_DEPRESSED
  69. dc.b 0
  70. dc.b 0 ;not used
  71. dc.l 0 ;not used
  72. dc.l 0 ;not used
  73. dc.l display_setup_window
  74. dc.b "MAP SETUP",0
  75. EVEN
  76. load_project_file_button
  77. dc.w BUTTON_1
  78. dc.w SECOND_ROW
  79. dc.w MAIN_BUTTON_SCREEN ;frame type
  80. dc.b STANDARD_BUTTON ;standard
  81. dc.b NOT_DEPRESSED
  82. dc.b 0
  83. dc.b 0 ;not used
  84. dc.l 0 ;not used
  85. dc.l 0 ;not used
  86. dc.l load_project_requester
  87. dc.b "LOAD PROJ",0
  88. EVEN
  89. save_project_file_button
  90. dc.w BUTTON_2
  91. dc.w SECOND_ROW
  92. dc.w MAIN_BUTTON_SCREEN ;frame type
  93. dc.b STANDARD_BUTTON ;standard
  94. dc.b NOT_DEPRESSED
  95. dc.b 0
  96. dc.b 0 ;not used
  97. dc.l 0 ;not used
  98. dc.l 0 ;not used
  99. dc.l save_project_requester
  100. dc.b "SAVE PROJ",0
  101. EVEN
  102. *********GRAPHICS BUTTONS****************
  103. graphic_list
  104. dc.l exit_graphics_button,load_graphics_button
  105. dc.l save_graphics_button,copy_graphics_button
  106. dc.l exchange_graphics_button,move_graphics_button,edit_data_button
  107. dc.l load_block_data_button,save_block_data_button,combine_graphics_button
  108. dc.l xflip_graphics_button,yflip_graphics_button
  109. dc.l rotate_graphics_button,select_data_button,view_data_button,edit_blk_button
  110. graphic_page_buttons
  111. dc.l page1_graphics_button,page2_graphics_button
  112. dc.l page3_graphics_button,page4_graphics_button
  113. dc.l scrolldown_graphics_button
  114. dc.l scrollup_graphics_button,-1
  115. exit_graphics_button
  116. dc.w BUTTON_1
  117. dc.w FOURTH_ROW
  118. dc.w MAIN_BUTTON_SCREEN ;frame type
  119. dc.b STANDARD_BUTTON ;standard
  120. dc.b NOT_DEPRESSED
  121. dc.b 0
  122. dc.b 0 ;not used
  123. dc.l 0 ;not used
  124. dc.l 0 ;not used
  125. dc.l remove_graphic_buttons
  126. dc.b "EXIT",0
  127. EVEN
  128. load_graphics_button
  129. dc.w BUTTON_1
  130. dc.w FIRST_ROW
  131. dc.w MAIN_BUTTON_SCREEN ;frame type
  132. dc.b STANDARD_BUTTON ;standard
  133. dc.b NOT_DEPRESSED
  134. dc.b 0
  135. dc.b 0 ;not used
  136. dc.l 0 ;not used
  137. dc.l 0 ;not used
  138. dc.l load_an_image_file
  139. dc.b "LOAD PIC",0
  140. EVEN
  141. save_graphics_button
  142. dc.w BUTTON_1
  143. dc.w SECOND_ROW
  144. dc.w MAIN_BUTTON_SCREEN ;frame type
  145. dc.b STANDARD_BUTTON ;standard
  146. dc.b NOT_DEPRESSED
  147. dc.b 0
  148. dc.b 0 ;not used
  149. dc.l 0 ;not used
  150. dc.l 0 ;not used
  151. dc.l save_pic_window
  152. dc.b "SAVE PIC",0
  153. EVEN
  154. copy_graphics_button
  155. dc.w BUTTON_2
  156. dc.w FIRST_ROW
  157. dc.w MAIN_BUTTON_SCREEN ;frame type
  158. dc.b STANDARD_BUTTON ;standard
  159. dc.b NOT_DEPRESSED
  160. dc.b MODE_COPY_BLOCK
  161. dc.b 0 ;not used
  162. dc.l 0 ;not used
  163. dc.l 0 ;not used
  164. dc.l select_block_mode
  165. dc.b "COPY BLOCK",0
  166. EVEN
  167. exchange_graphics_button
  168. dc.w BUTTON_2
  169. dc.w SECOND_ROW
  170. dc.w MAIN_BUTTON_SCREEN ;frame type
  171. dc.b STANDARD_BUTTON ;standard
  172. dc.b NOT_DEPRESSED
  173. dc.b MODE_EXCHANGE_BLOCK
  174. dc.b 0 ;not used
  175. dc.l 0 ;not used
  176. dc.l 0 ;not used
  177. dc.l select_block_mode
  178. dc.b "XCNG BLOCK",0
  179. EVEN
  180. move_graphics_button
  181. dc.w BUTTON_2
  182. dc.w THIRD_ROW
  183. dc.w MAIN_BUTTON_SCREEN ;frame type
  184. dc.b STANDARD_BUTTON ;standard
  185. dc.b NOT_DEPRESSED
  186. dc.b MODE_MOVE_BLOCK
  187. dc.b 0 ;not used
  188. dc.l 0 ;not used
  189. dc.l 0 ;not used
  190. dc.l select_block_mode
  191. dc.b "MOVE BLOCK",0
  192. EVEN
  193. combine_graphics_button
  194. dc.w BUTTON_2
  195. dc.w FOURTH_ROW
  196. dc.w MAIN_BUTTON_SCREEN ;frame type
  197. dc.b STANDARD_BUTTON ;standard
  198. dc.b NOT_DEPRESSED
  199. dc.b MODE_COMBINE_BLOCK
  200. dc.b 0 ;not used
  201. dc.l 0 ;not used
  202. dc.l 0 ;not used
  203. dc.l select_block_mode
  204. dc.b "COMBINE",0
  205. EVEN
  206. load_block_data_button
  207. dc.w BUTTON_4
  208. dc.w FIRST_ROW
  209. dc.w MAIN_BUTTON_SCREEN ;frame type
  210. dc.b STANDARD_BUTTON ;standard
  211. dc.b NOT_DEPRESSED
  212. dc.b 0
  213. dc.b 0 ;not used
  214. dc.l 0 ;not used
  215. dc.l 0 ;not used
  216. dc.l load_block_data
  217. dc.b "LOAD DATA",0
  218. EVEN
  219. save_block_data_button
  220. dc.w BUTTON_4
  221. dc.w SECOND_ROW
  222. dc.w MAIN_BUTTON_SCREEN ;frame type
  223. dc.b STANDARD_BUTTON ;standard
  224. dc.b NOT_DEPRESSED
  225. dc.b 0
  226. dc.b 0 ;not used
  227. dc.l 0 ;not used
  228. dc.l 0 ;not used
  229. dc.l save_block_data
  230. dc.b "SAVE DATA",0
  231. EVEN
  232. xflip_graphics_button
  233. dc.w BUTTON_3
  234. dc.w FIRST_ROW
  235. dc.w MAIN_BUTTON_SCREEN ;frame type
  236. dc.b STANDARD_BUTTON ;standard
  237. dc.b NOT_DEPRESSED
  238. dc.b MODE_XFLIP_BLOCK
  239. dc.b 0 ;not used
  240. dc.l 0 ;not used
  241. dc.l 0 ;not used
  242. dc.l select_block_mode
  243. dc.b "XFLIP",0
  244. EVEN
  245. yflip_graphics_button
  246. dc.w BUTTON_3
  247. dc.w SECOND_ROW
  248. dc.w MAIN_BUTTON_SCREEN ;frame type
  249. dc.b STANDARD_BUTTON ;standard
  250. dc.b NOT_DEPRESSED
  251. dc.b MODE_YFLIP_BLOCK
  252. dc.b 0 ;not used
  253. dc.l 0 ;not used
  254. dc.l 0 ;not used
  255. dc.l select_block_mode
  256. dc.b "YFLIP",0
  257. EVEN
  258. rotate_graphics_button
  259. dc.w BUTTON_3
  260. dc.w THIRD_ROW
  261. dc.w MAIN_BUTTON_SCREEN ;frame type
  262. dc.b STANDARD_BUTTON ;standard
  263. dc.b NOT_DEPRESSED
  264. dc.b MODE_ROTATE_BLOCK
  265. dc.b 0 ;not used
  266. dc.l 0 ;not used
  267. dc.l 0 ;not used
  268. dc.l select_block_mode
  269. dc.b "ROTATE",0
  270. EVEN
  271. page1_graphics_button
  272. dc.w BUTTON_5+120
  273. dc.w FIRST_ROW+17
  274. dc.w MAIN_BUTTON_SCREEN ;frame type
  275. dc.b CUSTOM_BUTTON+TOGGLE_BUTTON
  276. dc.b NOT_DEPRESSED
  277. dc.b 1
  278. dc.b 0 ;not used
  279. dc.l page1_button
  280. dc.l 0 ;not used
  281. dc.l change_page
  282. dc.b 0
  283. EVEN
  284. page2_graphics_button
  285. dc.w BUTTON_5+148
  286. dc.w FIRST_ROW+17
  287. dc.w MAIN_BUTTON_SCREEN ;frame type
  288. dc.b CUSTOM_BUTTON+TOGGLE_BUTTON
  289. dc.b NOT_DEPRESSED
  290. dc.b 2
  291. dc.b 0 ;not used
  292. dc.l page2_button
  293. dc.l 0 ;not used
  294. dc.l change_page
  295. dc.b 0
  296. EVEN
  297. page3_graphics_button
  298. dc.w BUTTON_5+120
  299. dc.w FIRST_ROW+13+17
  300. dc.w MAIN_BUTTON_SCREEN ;frame type
  301. dc.b CUSTOM_BUTTON+TOGGLE_BUTTON
  302. dc.b NOT_DEPRESSED
  303. dc.b 3
  304. dc.b 0 ;not used
  305. dc.l page3_button
  306. dc.l 0 ;not used
  307. dc.l change_page
  308. dc.b 0
  309. EVEN
  310. page4_graphics_button
  311. dc.w BUTTON_5+148
  312. dc.w FIRST_ROW+13+17
  313. dc.w MAIN_BUTTON_SCREEN ;frame type
  314. dc.b CUSTOM_BUTTON+TOGGLE_BUTTON
  315. dc.b NOT_DEPRESSED
  316. dc.b 4
  317. dc.b 0 ;not used
  318. dc.l page4_button
  319. dc.l 0 ;not used
  320. dc.l change_page
  321. dc.b 0
  322. EVEN
  323. scrollup_graphics_button
  324. dc.w BUTTON_5+44
  325. dc.w FIRST_ROW+8
  326. dc.w MAIN_BUTTON_SCREEN ;frame type
  327. dc.b CUSTOM_BUTTON+TOGGLE_BUTTON
  328. dc.b NOT_DEPRESSED
  329. dc.b 0
  330. dc.b 0 ;not used
  331. dc.l arrow_up
  332. dc.l 0 ;not used
  333. dc.l change_graphics_position_down
  334. dc.b 0
  335. EVEN
  336. scrolldown_graphics_button
  337. dc.w BUTTON_5+44
  338. dc.w FIRST_ROW+28
  339. dc.w MAIN_BUTTON_SCREEN ;frame type
  340. dc.b CUSTOM_BUTTON+TOGGLE_BUTTON
  341. dc.b NOT_DEPRESSED
  342. dc.b 0
  343. dc.b 0 ;not used
  344. dc.l arrow_down
  345. dc.l 0 ;not used
  346. dc.l change_graphics_position_up
  347. dc.b 0
  348. EVEN
  349. detect_generic_button
  350. dc.w 0
  351. dc.w 0
  352. dc.w MAIN_SCREEN ;frame type
  353. dc.b CUSTOM_BUTTON
  354. dc.b NOT_DEPRESSED
  355. dc.b 0
  356. dc.b 0 ;not used
  357. dc.l screen_custom_button
  358. dc.l 0 ;not used
  359. dc.l select_relavant_mode
  360. dc.b 0
  361. EVEN