1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618 |
- *----------------------------------------------------*
- *--- Routines to handle block data manipulation ---*
- *----------------------------------------------------*
- *** Note at present the block manipulation routines are
- *** set up to deal with 16 pixel blocks for ABII,the
- *** code is therefore a bit hardwired - but it should be
- *** easy to convert it to handle 8,16 or 32
- DELETE_TEXT EQU 0
- DRAW_TEXT EQU 1
- FORWARD EQU 0
- FORWARD_FIRST EQU 1
- REVERSE EQU 2
- ******************************************
- **** EDIT SINGLE BLOCK *****
- ******************************************
- Edit_Single_Block
-
- jsr convert_mouse_and_store
- move.l page_pointer,a0
- clr.l d2
- move.w screen_y_pos(a0),d2
- add.w d1,d2 ;giving y position down screen
- move.l current_map_ptr,a1
- divu map_block_size(a1),d2
- mulu num_x_blocks_in_page,d2
-
- divu map_block_size(a1),d0 ;blocks in
-
- add.w d2,d0
- move.w current_page,d1
- mulu num_blocks_in_page,d1
- add.w d1,d0 ;gives us the block
-
- cmp.w #MAX_DATA_BLOCKS,d0 ;just in case
- blt.s within_sblock_range
- move.w #MAX_DATA_BLOCKS-1,d0
- within_sblock_range
- move.w d0,currently_selected_block
- clr.w Edit_Blk_Mode
- move.l #edit_block_data_window,a0
- jsr create_window
- bsr Set_New_Attributes
-
- move.l #edit_single_block_data_buttons,a0
- jsr display_button_list
- move.l #edit_block_other_buttons,a0
- jsr display_button_list
- move.l #edit_blk_attr_buttons,a0
- jsr display_button_list
- bsr Display_Attr_Titles
- move.w #DRAW_TEXT,d3
- bsr Display_Standing_Menu
- bsr Display_Shooting_Menu
- bsr Display_Standing_Choice
- bsr Display_Shooting_Choice
- rts
- ******************************************
- *****REMOVE SINGLE EDIT BLOCK WINDOW *****
- ******************************************
- remove_single_edit_block_window
- move.l #edit_single_block_data_buttons,a0
- jsr remove_button_list
- move.l #edit_block_other_buttons,a0
- jsr remove_button_list
- move.l #edit_blk_attr_buttons,a0
- jsr remove_button_list
- move.l #edit_block_data_window,a0
- jsr destroy_window
- jsr Display_Graphic_Page
-
- rts
- ******************************************
- **** DISPLAY EDIT WINDOW *****
- ******************************************
- display_edit_window
- clr.w Edit_Blk_Mode
- move.l #edit_block_data_window,a0
- jsr create_window
- move.l #edit_block_data_buttons,a0
- jsr display_button_list
- move.l #edit_block_other_buttons,a0
- jsr display_button_list
- move.l #edit_blk_attr_buttons,a0
- jsr display_button_list
- rts
- ******************************************
- ***** REMOVE EDIT BLOCK WINDOW *****
- ******************************************
- remove_edit_block_window
- move.l #edit_block_data_buttons,a0
- jsr remove_button_list
- move.l #edit_block_other_buttons,a0
- jsr remove_button_list
- move.l #edit_blk_attr_buttons,a0
- jsr remove_button_list
- move.l #edit_block_data_window,a0
- jsr destroy_window
- jsr Display_Graphic_Page
-
- rts
- ******************************************
- **** VIEW BLOCK ATTRIBUTES *****
- ******************************************
- View_Block_Attributes
- move.l #Block_Attr1,a0
- move.w #8-1,d0
- clear_attr_butts
- clr.b button_start(a0) ;clear button contents
- add.l #block_butt_size,a0
- dbra d0,clear_attr_butts
- clr.w CompareData
- move.w #1,Edit_Blk_Mode ;set flag
- move.l #edit_block_data_window,a0
- jsr create_window
- move.l #view_block_data_buttons,a0
- jsr display_button_list
- move.l #edit_block_other_buttons,a0
- jsr display_button_list
- move.l #edit_blk_attr_buttons,a0
- jsr display_button_list
-
- clr.w Standing_Menu_Pos
- clr.w Shooting_Menu_Pos
- clr.w Standing_Choice
- clr.w Shooting_Choice
- bsr Display_Attr_Titles
- move.w #DRAW_TEXT,d3
- bsr Display_Standing_Menu
- bsr Display_Shooting_Menu
- bsr Display_Standing_Choice
- bsr Display_Shooting_Choice
-
- rts
- ******************************************
- ***** REMOVE VIEW BLOCK WINDOW *****
- ******************************************
- remove_view_block_window
- move.l #view_block_data_buttons,a0
- jsr remove_button_list
- move.l #edit_block_other_buttons,a0
- jsr remove_button_list
- move.l #edit_blk_attr_buttons,a0
- jsr remove_button_list
- move.l #edit_block_data_window,a0
- jsr destroy_window
- move.l clicked_button,a0
- moveq #0,d1
- tst.b button_data(a0)
- bne.s dont_add_any_data
- bsr Add_Specified_Blks_To_Group
- bra.s display_new_grps
- dont_add_any_data
- bsr Clear_Blk_Group
- display_new_grps
- jsr Display_Graphic_Page
- rts
- ******************************************
- ***** ADD SPECIFIED BLKS TO GROUP *****
- ******************************************
- Add_Specified_Blks_To_Group
- move.l block_data_ptr,a0
- move.l #block_group_data,a1
- move.w CompareData,d1
- move.w #MAX_DATA_BLOCKS-1,d0
- view_loop
- cmp.w (a0)+,d1
- beq.s add_block_to_group
- clr.b (a1)
- bra.s test_next_blk
- add_block_to_group
- move.b #1,(a1)
- test_next_blk
- add.l #1,a1
- dbra d0,view_loop
- rts
- ******************************************
- ***** CLEAR BLK GROUP *****
- ******************************************
- Clear_Blk_Group
- move.l #block_group_data,a1
- move.w #MAX_DATA_BLOCKS-1,d0
- clear_blk_loop
- clr.b (a1)+
- dbra d0,clear_blk_loop
- rts
- ******************************************
- **** ENTER BLOCK INTO GROUP *****
- ******************************************
- Enter_Block_Into_Group
- *If block already selected - remove from group
- jsr convert_mouse_and_store
- move.l page_pointer,a0
- clr.l d2
- move.w screen_y_pos(a0),d2
- add.w d1,d2 ;giving y position down screen
- move.l current_map_ptr,a1
- divu map_block_size(a1),d2
- mulu num_x_blocks_in_page,d2
-
- divu map_block_size(a1),d0 ;blocks in
-
- add.w d2,d0
- move.w current_page,d1
- mulu num_blocks_in_page,d1
- add.w d1,d0 ;gives us the block
-
- cmp.w #MAX_DATA_BLOCKS,d0
- blt.s within_block_range
- move.w #MAX_DATA_BLOCKS-1,d0
- within_block_range
- ext.l d0
- move.l #block_group_data,a0
- tst.b (a0,d0)
- beq.s set_block_as_highlighted
- clr.b (a0,d0)
- jsr display_graphic_page
- rts
- set_block_as_highlighted
- move.b #1,(a0,d0)
- display_highlight
- divu #320,d0
- clr.w d0
- swap d0 ;gives modulo
- move.l page_pointer,a1
- move.w screen_y_pos(a1),d2
- ext.l d2
- move.l current_map_ptr,a1
- divu.w map_block_size(a1),d2
- mulu num_x_blocks_in_page,d2
- sub.l d2,d0
- bsr Highlight_Block
- rts
- ******************************************
- **** DISPLAY OVERLAYS *****
- ******************************************
- Display_Overlays
- move.w current_page,d0
- move.l #block_group_data,a0
- mulu #320,d0
- add.l d0,a0 ;get page pos
-
- move.l page_pointer,a1
- move.w screen_y_pos(a1),d2
- ext.l d2
- move.l current_map_ptr,a1
- divu.w map_block_size(a1),d2
- mulu num_x_blocks_in_page,d2
- add.l d2,a0
- move.w #320-1,d1
- sub.w d2,d1
-
- clr.w d0
- check_for_display
- tst.b (a0)+
- beq.s dont_display_ov
-
- movem.l d0-d1/a0,-(sp)
- bsr HighLight_Block
- movem.l (sp)+,d0-d1/a0
- dont_display_ov
- addq.w #1,d0
- dbra d1,check_for_display
- rts
-
- ******************************************
- **** HIGHLIGHT BLOCK *****
- ******************************************
- HighLight_Block
- *send block in d0
- move.l #main_screen_struct,a0
- move.l screen_mem(a0),a0
- divu num_x_blocks_in_page,d0
- moveq #0,d1
- move.w d0,d1 ;lines down
- lsl.w #4,d1 ;pixels down
-
- clr.w d0
- swap d0 ;gives blocks in
- lsl.w #4,d0 ;gives pixels in
-
- move.l current_map_ptr,a1
- move.w map_planes(a1),d5
- subq.w #1,d5
- draw_blk_lines
-
- move.w d0,d2
- move.w d1,d3
- move.l current_map_ptr,a1
- add.w map_block_size(a1),d2
- add.w map_block_size(a1),d3
-
- movem.l a6/d5,-(sp)
- movem.l a0/d0-d3,-(sp)
- jsr Dark_Line
- movem.l (sp)+,a0/d0-d3
-
- movem.l a0/d0-d3,-(sp)
- move.l current_map_ptr,a1
- add.w map_block_size(a1),d1
- sub.w map_block_size(a1),d3
- jsr Dark_Line
-
- movem.l (sp)+,a0/d0-d3
-
- move.l #main_screen_struct,a2
- move.w screen_x_size(a2),d4
- asr.w #3,d4
- mulu screen_y_size(a2),d4
- add.l d4,a0
-
- movem.l (sp)+,a6/d5
- dbra d5,draw_blk_lines
-
- rts
-
- block_group_data
- ds.b MAX_DATA_BLOCKS ;max number of blocks
- ***************************************
- ***** LOAD BLOCK DATA ****
- ***************************************
- Load_Block_Data
- move.l #Load_Block_Data_Into_Memory,File_Routine_Pointer
- jsr display_file_request
- rts
- ***************************************
- ***** LOAD BLOCK DATA INTO MEMORY ****
- ***************************************
- Load_Block_Data_Into_Memory
- movem.l a6,-(sp)
- jsr remove_file_request
- move.l #Current_Filename,d1
- move.l #MODE_OLD,d2
- move.l dosbase,a6
- jsr Open(a6)
- tst.l d0
- beq could_not_load_block_data
- bsr Load_Block_Data_From_File
- move.l #Project_DataList,d0
- move.l #Current_Filename,a0
- jsr Set_Project_Information
-
- bra.s exit_load_block_data
- could_not_load_block_data
- jsr display_error
- exit_load_block_data
- movem.l (sp)+,a6
- rts
- ***************************************
- ***** LOAD BLOCK DATA FROM FILE ****
- ***************************************
- Load_Block_Data_From_File
- *Send filehandle in d0
-
- move.l d0,d1 ;filehandle
- move.w #16-1,d0
- move.l #Blk_Standing_Strings,d2
- load_stand_strings
- move.l dosbase,a6
- move.l #11,d3
- movem.l d0-d3,-(sp)
- jsr read(a6)
- movem.l (sp)+,d0-d3
- add.l #12,d2
- dbra d0,load_stand_strings
-
- move.w #16-1,d0
- move.l #Blk_Shooting_Strings,d2
- load_shoot_strings
- move.l dosbase,a6
- move.l #11,d3
- movem.l d0-d3,-(sp)
- jsr read(a6)
- movem.l (sp)+,d0-d3
- add.l #12,d2
- dbra d0,load_shoot_strings
- move.w #8-1,d0
- move.l #Blk_Bit_Attrs,d2
- load_attr_strings
- move.l dosbase,a6
- move.l #11,d3
- movem.l d0-d3,-(sp)
- jsr read(a6)
- movem.l (sp)+,d0-d3
- add.l #12,d2
- dbra d0,load_attr_strings
-
- move.l block_data_ptr,d2
- move.l #MAX_BLOCKS_MEM,d3
- move.l dosbase,a6
- move.l d1,-(sp)
- jsr read(a6)
- move.l (sp)+,d1
-
- move.l dosbase,a6
- jsr close(a6)
- rts
-
- ***************************************
- ***** SAVE BLOCK DATA ****
- ***************************************
- Save_Block_Data
- move.l #Save_Block_Data_To_Disk,File_Routine_Pointer
- jsr display_file_request
- rts
- ***************************************
- ***** SAVE BLOCK DATA TO DISK ****
- ***************************************
- Save_Block_Data_To_Disk
- movem.l a6,-(sp)
- jsr remove_file_request
- move.l #Current_Filename,d1
- move.l #MODE_NEW,d2
- move.l dosbase,a6
- jsr Open(a6)
- tst.l d0
- beq could_not_save_block_data
-
-
-
- move.l d0,d1 ;filehandle
- move.w #16-1,d0
- move.l #Blk_Standing_Strings,d2
- save_stand_strings
- move.l dosbase,a6
- move.l #11,d3
- movem.l d0-d3,-(sp)
- jsr write(a6)
- movem.l (sp)+,d0-d3
- add.l #12,d2
- dbra d0,save_stand_strings
-
- move.w #16-1,d0
- move.l #Blk_Shooting_Strings,d2
- save_shoot_strings
- move.l dosbase,a6
- move.l #11,d3
- movem.l d0-d3,-(sp)
- jsr read(a6)
- movem.l (sp)+,d0-d3
- add.l #12,d2
- dbra d0,save_shoot_strings
- move.w #8-1,d0
- move.l #Blk_Bit_Attrs,d2
- save_attr_strings
- move.l dosbase,a6
- move.l #11,d3
- movem.l d0-d3,-(sp)
- jsr read(a6)
- movem.l (sp)+,d0-d3
- add.l #12,d2
- dbra d0,save_attr_strings
-
- move.l block_data_ptr,d2
- move.l #MAX_BLOCKS_MEM,d3
- move.l dosbase,a6
- move.l d1,-(sp)
- jsr write(a6)
- move.l (sp)+,d1
-
- move.l dosbase,a6
- jsr close(a6)
- bra.s exit_save_block_data
- could_not_save_block_data
- jsr display_error
- exit_save_block_data
- movem.l (sp)+,a6
- rts
- ******************************************
- **** EDIT BLOCK GROUP *****
- ******************************************
- Edit_Block_Group
- move.l #block_group_data,block_group_ptr
- clr.w currently_selected_block
- move.w #FORWARD_FIRST,d7
- bsr Find_Next_Block
- tst.w currently_selected_block
- bmi.s dont_open_window
- bsr Set_New_Attributes
- bsr Display_Edit_Window
- bsr Display_Attr_Titles
- move.w #DRAW_TEXT,d3
- bsr Display_Standing_Menu
- bsr Display_Shooting_Menu
- bsr Display_Standing_Choice
- bsr Display_Shooting_Choice
- dont_open_window
- rts
- block_group_ptr
- dc.l 0
- current_block_ptr
- dc.l 0
- ******************************************
- **** SELECT BLOCK ATTR *****
- ******************************************
- Select_Block_Attr
- move.l clicked_button,a0
- moveq #0,d1
- move.b button_data(a0),d1
- tst.w Edit_Blk_Mode
- bne.s Set_Data_For_View
- clr.l d0
- move.w currently_selected_block,d0
- move.l block_data_ptr,a0
- lsl d0
-
- bset.b d1,1(a0,d0)
- bra.s End_Select_Block_Attr
- set_data_for_view
- bset.b d1,CompareData
- End_Select_Block_Attr
- rts
- Edit_Blk_Mode dc.w 0
- CompareData dc.w 0
- STANDING_MENU_X EQU 10+16
- STANDING_MENU_Y EQU 20
- SHOOTING_MENU_X EQU 130+16
- SHOOTING_MENU_Y EQU 20
- MENU_CHOICES EQU 5
- ATTR_Y_POS EQU 108
- *******************************************
- ****** DISPLAY ATTR TITLES ******
- *******************************************
- Display_Attr_Titles
- move.w #DRAW_TEXT,d3
- move.l #Standing_Title,a1
- move.l #edit_block_data_window,a0
- move.w #STANDING_MENU_X+32,d0
- move.w #2,d1
- move.w #2,d2
- jsr write_text
-
- move.l #Shooting_Title,a1
- move.l #edit_block_data_window,a0
- move.w #SHOOTING_MENU_X+32,d0
- move.w #2,d1
- move.w #2,d2
- jsr write_text
-
- move.l #Blk_Bit_Attrs,a1
- move.w #4-1,d7
- move.w #DRAW_TEXT,d3
- move.w #STANDING_MENU_X,d0
- move.w #ATTR_Y_POS,d1
- move.w #2,d2
- display_blk_set1
- jsr write_text
- add.w #FONT_HEIGHT,d1
- add.l #12,a1
- dbra d7,display_blk_set1
-
- move.l #Blk_Bit_Attrs2,a1
- move.w #4-1,d7
- move.w #DRAW_TEXT,d3
- move.w #SHOOTING_MENU_X+16,d0
- move.w #ATTR_Y_POS,d1
- move.w #2,d2
- display_blk_set2
- jsr write_text
- add.w #FONT_HEIGHT,d1
- add.l #12,a1
- dbra d7,display_blk_set2
- rts
- *******************************************
- ****** SCROLL STANDING_UP ******
- *******************************************
- Scroll_Standing_Up
- tst.w Standing_Menu_Pos
- beq.s cannot_move_standing_up
- move.w #DELETE_TEXT,d3
- bsr Display_Standing_Menu
- subq.w #1,Standing_Menu_Pos
- move.w #DRAW_TEXT,d3
- bsr Display_Standing_Menu
- cannot_move_standing_up
- rts
- *******************************************
- ****** SCROLL STANDING DOWN ******
- *******************************************
- Scroll_Standing_Down
- cmp.w #11,Standing_Menu_Pos
- beq.s cannot_move_standing_down
- move.w #DELETE_TEXT,d3
- bsr Display_Standing_Menu
- addq.w #1,Standing_Menu_Pos
- move.w #DRAW_TEXT,d3
- bsr Display_Standing_Menu
- cannot_move_standing_down
- rts
- *******************************************
- ****** SCROLL SHOOTING_UP ******
- *******************************************
- Scroll_Shooting_Up
- tst.w Shooting_Menu_Pos
- beq.s cannot_move_shooting_up
- move.w #DELETE_TEXT,d3
- bsr Display_Shooting_Menu
- subq.w #1,Shooting_Menu_Pos
- move.w #DRAW_TEXT,d3
- bsr Display_Shooting_Menu
- cannot_move_shooting_up
- rts
- *******************************************
- ****** SCROLL SHOOTING DOWN ******
- *******************************************
- Scroll_Shooting_Down
- cmp.w #11,Shooting_Menu_Pos
- beq.s cannot_move_shooting_down
- move.w #DELETE_TEXT,d3
- bsr Display_Shooting_Menu
- addq.w #1,Shooting_Menu_Pos
- move.w #DRAW_TEXT,d3
- bsr Display_Shooting_Menu
- cannot_move_shooting_down
- rts
-
- *******************************************
- ****** DISPLAY STANDING MENU ******
- *******************************************
- Display_Standing_Menu
- *send delete or draw in d3
- move.w Standing_Menu_Pos,d0
- mulu #12,d0
- move.l #Blk_Standing_Strings,a1
- add.l d0,a1
- move.l #edit_block_data_window,a0
- move.w #STANDING_MENU_X,d0
- move.w #STANDING_MENU_Y,d1
- move.w #4,d2
- move.w #MENU_CHOICES-1,d7
- draw_up_standing_menu
- jsr write_text
- add.l #12,a1
- add.w #FONT_HEIGHT,d1
- dbra d7,draw_up_standing_menu
- rts
- *******************************************
- ****** DISPLAY STANDING CHOICE ******
- *******************************************
- Display_Standing_Choice
- *send delete or draw in d3
- move.w Standing_Choice,d0
- mulu #12,d0
- move.l #Blk_Standing_Strings,a1
- add.l d0,a1
- move.l #edit_block_data_window,a0
- move.w #STANDING_MENU_X,d0
- move.w #STANDING_MENU_Y+(MENU_CHOICES+1)*FONT_HEIGHT,d1
- move.w #1,d2
- jsr write_text
- rts
- *******************************************
- ****** DISPLAY SHOOTING CHOICE ******
- *******************************************
- Display_Shooting_Choice
- *send delete or draw in d3
- move.w Shooting_Choice,d0
- mulu #12,d0
- move.l #Blk_Shooting_Strings,a1
- add.l d0,a1
- move.l #edit_block_data_window,a0
- move.w #SHOOTING_MENU_X,d0
- move.w #SHOOTING_MENU_Y+(MENU_CHOICES+1)*FONT_HEIGHT,d1
- move.w #1,d2
- jsr write_text
- rts
- *******************************************
- ****** FIND NEXT BLOCK ******
- *******************************************
- Find_Next_Block
- *Direction in d7
- move.l block_group_ptr,a0
- move.w currently_selected_block,d0
- cmp.w #FORWARD_FIRST,d7
- beq.s Skip_First_Time
- cmp.w #FORWARD,d7
- beq.s Test_Forward
- find_block_reverse_loop
- subq.w #1,d0
- subq.l #1,a0
- tst.w d0
- bge.s not_at_start_of_list
- move.w #MAX_DATA_BLOCKS-1,d0
- move.l #block_group_data+MAX_DATA_BLOCKS-1,a0
- not_at_start_of_list
- tst.b (a0)
- bne.s found_a_block
- cmp.w currently_selected_block,d0 ;full circle?
- beq.s no_blocks_found
- bra.s find_block_reverse_loop
- Test_Forward
- addq.w #1,d0
- addq.l #1,a0
- cmp.w #MAX_DATA_BLOCKS,d0
- bne.s not_at_end_of_list
- clr.w d0
- move.l #block_group_data,a0
- not_at_end_of_list
- cmp.w currently_selected_block,d0 ;full circle?
- beq.s no_blocks_found
- Skip_First_Time
- tst.b (a0)
- beq.s Test_Forward
- found_a_block
- move.l a0,block_group_ptr
- move.w d0,currently_selected_block
- rts
- no_blocks_found
- move.w #-1,currently_selected_block
- rts
- currently_selected_block dc.w 0
- *******************************************
- ****** SET NEW ATTRIBUTES ******
- *******************************************
- Set_New_Attributes
- moveq #0,d0
- move.w currently_selected_block,d0
- moveq #0,d1
- moveq #0,d2
- move.l block_data_ptr,a0
- lsl.w d0
- move.b 1(a0,d0),d1 ;block data, first byte = stand shoot
- move.b (a0,d0),d3
-
- move.w d1,d2
- andi.w #$f0,d1
- lsr #4,d1
- move.w d1,shooting_choice
- andi.w #$f,d2
- move.w d2,standing_choice
- move.l #Block_Attr1,a0
- move.w #8-1,d0
- set_attr_bits
- lsr.b d3
- bcc.s set_button_clear
- move.b #1,button_start(a0)
- bra.s set_next_button
- set_button_clear
- clr.b button_start(a0)
- set_next_button
- add.l #block_butt_size,a0
- dbra d0,set_attr_bits
- rts
- *******************************************
- ****** DISPLAY SHOOTING MENU ******
- *******************************************
- Display_Shooting_Menu
- *send delete or draw in d3
- move.w Shooting_Menu_Pos,d0
- mulu #12,d0
- move.l #Blk_Shooting_Strings,a1
- add.l d0,a1
- move.l #edit_block_data_window,a0
- move.w #SHOOTING_MENU_X,d0
- move.w #SHOOTING_MENU_Y,d1
- move.w #4,d2
- move.w #MENU_CHOICES-1,d7
- draw_up_shooting_menu
- jsr write_text
- add.l #12,a1
- add.w #FONT_HEIGHT,d1
- dbra d7,draw_up_shooting_menu
- rts
- *******************************************
- ****** SELECT STANDING CHOICE ******
- *******************************************
- Select_Standing_Choice
- move.w #DELETE_TEXT,d3
- bsr Display_Standing_Choice
- move.l clicked_button,a0
- moveq #0,d1
- move.b button_data(a0),d1
- add.w Standing_Menu_Pos,d1
- move.w d1,Standing_Choice
-
- move.w #DRAW_TEXT,d3
- bsr Display_Standing_Choice
-
- tst.w Edit_Blk_Mode
- bne.s Set_StandData_For_View
- move.w Standing_Choice,d1
- lsl #4,d1
- clr.l d0
- move.w currently_selected_block,d0
- move.l block_data_ptr,a0
- lsl d0
- move.b (a0,d0),d2
- andi.b #$0f,d2
- or.b d1,d2
- move.b d2,(a0,d0)
- bra.s End_Select_Stand_Block
- Set_StandData_for_view
- move.b CompareData+1,d2
- andi.b #$f0,d2
- move.w Standing_Choice,d1
- or.w d1,d2
- move.b d2,CompareData+1
- End_Select_Stand_Block
- rts
- *******************************************
- ****** SELECT SHOOTING CHOICE ******
- *******************************************
- Select_Shooting_Choice
- move.w #DELETE_TEXT,d3
- bsr Display_Shooting_Choice
- move.l clicked_button,a0
- moveq #0,d1
- move.b button_data(a0),d1
- add.w Shooting_Menu_Pos,d1
- move.w d1,Shooting_Choice
-
- move.w #DRAW_TEXT,d3
- bsr Display_Shooting_Choice
-
- tst.w Edit_Blk_Mode
- bne.s Set_ShootData_For_View
- move.w Shooting_Choice,d1
- clr.l d0
- move.w currently_selected_block,d0
- move.l block_data_ptr,a0
- lsl d0
- move.b (a0,d0),d2
- andi.b #$f0,d2
- or.b d1,d2
- move.b d2,(a0,d0)
- bra.s End_Select_Shoot_Block
- Set_ShootData_for_view
- move.b CompareData+1,d2
- andi.b #$f,d2
- move.w Shooting_Choice,d1
- lsl #4,d1
- or.w d1,d2
- move.b d2,CompareData+1
- End_Select_Shoot_Block
- rts
- *******************************************
- ****** SELECT PREV BLOCK ******
- *******************************************
- Select_Prev_Block
- move.w #DELETE_TEXT,d3
- bsr Display_Standing_Choice
- bsr Display_Shooting_Choice
- move.l #edit_blk_attr_buttons,a0
- jsr Remove_Button_List
- move.w #REVERSE,d7
- bsr Find_Next_Block
- bsr Set_New_Attributes
- move.w #DRAW_TEXT,d3
- bsr Display_Standing_Choice
- bsr Display_Shooting_Choice
- move.l #edit_blk_attr_buttons,a0
- jsr Display_Button_List
- rts
- *******************************************
- ****** SELECT NEXT BLOCK ******
- *******************************************
- Select_Next_Block
- move.w #DELETE_TEXT,d3
- bsr Display_Standing_Choice
- bsr Display_Shooting_Choice
- move.l #edit_blk_attr_buttons,a0
- jsr Remove_Button_List
- move.w #FORWARD,d7
- bsr Find_Next_Block
- tst.w currently_selected_block
- bmi.s block_find_error
- bsr Set_New_Attributes
- move.w #DRAW_TEXT,d3
- bsr Display_Standing_Choice
- bsr Display_Shooting_Choice
- move.l #edit_blk_attr_buttons,a0
- jsr Display_Button_List
- rts
- block_find_error
- bsr Remove_Edit_Block_Window
- rts
- *******************************************
- ****** APPLY DATA TO BLOCK GROUP ******
- *******************************************
- Apply_Data_To_Block_Group
- move.l block_group_ptr,a1 ;save
- move.w currently_selected_block,d5
- clr.l d6
- move.w d5,d6
- move.l block_data_ptr,a2
- lsl d6
- move.w (a2,d6),d6 ;contains data
- move.w #FORWARD,d7
- Apply_Loop
- bsr Find_Next_Block
- moveq #0,d4
- move.w currently_selected_block,d4
- bmi.s end_of_apply
- cmp.w d4,d5
- beq.s end_of_apply
- move.l block_data_ptr,a2
- lsl d4
- move.w d6,(a2,d4)
- bra.s Apply_Loop
- end_of_apply
- move.w d5,currently_selected_block
- move.l a1,a0
- rts
- *******************************************
- ****** REMOVE BLOCK FROM GROUP ******
- *******************************************
- Remove_Block_From_Group
- move.l block_group_ptr,a0
- clr.b (a0) ;remove from group
- bsr Select_Next_Block
- move.w #FORWARD,d7
- rts
- *******************************************
- ****** Add_Current_Attr_To_Group ******
- *******************************************
- Add_Current_Attr_To_Group
- clr.l d0
- move.w currently_selected_block,d0
- move.l block_data_ptr,a0
- lsl d0
- move.w (a0,d0),CompareData
- bsr Add_Specified_Blks_To_Group
- rts
-
-
- Standing_Menu_Pos dc.w 0
- Shooting_Menu_Pos dc.w 0
- Standing_Choice dc.w 0
- Shooting_Choice dc.w 0
-
- edit_block_data_window
- dc.w 320
- dc.w 192 ;full screen
- dc.w 0
- dc.w 0
- dc.l 0
- dc.l 0
- dc.b "BLOCK ATTRIBUTES",0
- even
- view_block_data_buttons
- dc.l view_block_data_ok,view_block_data_cancel
- dc.l -1
- edit_single_block_data_buttons
- dc.l edit_single_block_data_ok
- dc.l -1
- edit_block_data_buttons
- dc.l edit_block_data_ok
- dc.l Block_Left_Arrow,Block_Right_Arrow
- dc.l Apply_Button,Remove_Blk_Button,Set_Group_Blk_Button
- dc.l -1
- edit_blk_attr_buttons
- dc.l Block_Attr1,Block_Attr2,Block_Attr3,Block_Attr4
- dc.l Block_Attr5,Block_Attr6,Block_Attr7,Block_Attr8
- dc.l -1
- edit_block_other_buttons
- dc.l Standing_Up_Arrow,Standing_Down_Arrow
- dc.l Shooting_Up_Arrow,Shooting_Down_Arrow
- dc.l StandMenu1,StandMenu2,StandMenu3,StandMenu4,StandMenu5
- dc.l ShootMenu1,ShootMenu2,ShootMenu3,ShootMenu4,ShootMenu5
- dc.l -1
- edit_block_data_ok
- dc.w (320/2)-48
- dc.w 128+32
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 0
- dc.b 0 ;not used
- dc.l ok_custom_button
- dc.l 0 ;not used
- dc.l remove_edit_block_window
- dc.b 0
- even
- edit_single_block_data_ok
- dc.w (320/2)-48
- dc.w 128+32
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 0
- dc.b 0 ;not used
- dc.l ok_custom_button
- dc.l 0 ;not used
- dc.l remove_single_edit_block_window
- dc.b 0
- even
- view_block_data_ok
- dc.w 32
- dc.w 128+32
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 0
- dc.b 0 ;not used
- dc.l ok_custom_button
- dc.l 0 ;not used
- dc.l remove_view_block_window
- dc.b 0
- even
- view_block_data_cancel
- dc.w 320-128
- dc.w 128+32
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 1
- dc.b 0 ;not used
- dc.l cancel_custom_button
- dc.l 0 ;not used
- dc.l remove_view_block_window
- dc.b 0
- even
- edit_data_button
- dc.w BUTTON_4
- dc.w FOURTH_ROW
- dc.w MAIN_BUTTON_SCREEN ;frame type
- dc.b STANDARD_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b MODE_EDIT_BLOCK
- dc.b 0 ;not used
- dc.l 0 ;not used
- dc.l 0 ;not used
- dc.l edit_block_group
- dc.b "EDIT GRP",0
- EVEN
- edit_blk_button
- dc.w BUTTON_5
- dc.w FOURTH_ROW
- dc.w MAIN_BUTTON_SCREEN ;frame type
- dc.b STANDARD_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b MODE_EDIT_SINGLE_BLOCK
- dc.b 0 ;not used
- dc.l 0 ;not used
- dc.l 0 ;not used
- dc.l select_block_mode
- dc.b "EDIT BLK",0
- EVEN
- select_data_button
- dc.w BUTTON_4
- dc.w THIRD_ROW
- dc.w MAIN_BUTTON_SCREEN ;frame type
- dc.b STANDARD_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b MODE_EDIT_BLOCK
- dc.b 0 ;not used
- dc.l 0 ;not used
- dc.l 0 ;not used
- dc.l select_block_mode
- dc.b "SEL GRP",0
- EVEN
- view_data_button
- dc.w BUTTON_3
- dc.w FOURTH_ROW
- dc.w MAIN_BUTTON_SCREEN ;frame type
- dc.b STANDARD_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b MODE_EDIT_BLOCK
- dc.b 0 ;not used
- dc.l 0 ;not used
- dc.l 0 ;not used
- dc.l view_block_attributes
- dc.b "VIEW ATTR",0
- EVEN
- *-------------------Window buttons------------------*
- Block_Attr1
- dc.w STANDING_MENU_X-16
- dc.w ATTR_Y_POS
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON+TOGGLE_BUTTON
- dc.b NOT_DEPRESSED
- dc.b 0 ;index
- dc.b 0 ;not used
- dc.l tick_box_button ;not used
- dc.l 0 ;not used
- dc.l Select_Block_Attr
- dc.b 0
- EVEN
- Block_Butt_Size equ *-Block_Attr1
- Block_Attr2
- dc.w STANDING_MENU_X-16
- dc.w ATTR_Y_POS+FONT_HEIGHT
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON+TOGGLE_BUTTON
- dc.b NOT_DEPRESSED
- dc.b 1 ;index
- dc.b 0 ;not used
- dc.l tick_box_button ;not used
- dc.l 0 ;not used
- dc.l Select_Block_Attr
- dc.b 0
- EVEN
- Block_Attr3
- dc.w STANDING_MENU_X-16
- dc.w ATTR_Y_POS+FONT_HEIGHT*2
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON+TOGGLE_BUTTON
- dc.b NOT_DEPRESSED
- dc.b 2 ;index
- dc.b 0 ;not used
- dc.l tick_box_button ;not used
- dc.l 0 ;not used
- dc.l Select_Block_Attr
- dc.b 0
- EVEN
- Block_Attr4
- dc.w STANDING_MENU_X-16
- dc.w ATTR_Y_POS+FONT_HEIGHT*3
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON+TOGGLE_BUTTON
- dc.b NOT_DEPRESSED
- dc.b 3 ;index
- dc.b 0 ;not used
- dc.l tick_box_button ;not used
- dc.l 0 ;not used
- dc.l Select_Block_Attr
- dc.b 0
- EVEN
- Block_Attr5
- dc.w SHOOTING_MENU_X
- dc.w ATTR_Y_POS
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON+TOGGLE_BUTTON
- dc.b NOT_DEPRESSED
- dc.b 4 ;index
- dc.b 0 ;not used
- dc.l tick_box_button ;not used
- dc.l 0 ;not used
- dc.l Select_Block_Attr
- dc.b 0
- EVEN
- Block_Attr6
- dc.w SHOOTING_MENU_X
- dc.w ATTR_Y_POS+FONT_HEIGHT
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON+TOGGLE_BUTTON
- dc.b NOT_DEPRESSED
- dc.b 5 ;index
- dc.b 0 ;not used
- dc.l tick_box_button ;not used
- dc.l 0 ;not used
- dc.l Select_Block_Attr
- dc.b 0
- EVEN
- Block_Attr7
- dc.w SHOOTING_MENU_X
- dc.w ATTR_Y_POS+FONT_HEIGHT*2
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON+TOGGLE_BUTTON
- dc.b NOT_DEPRESSED
- dc.b 6 ;index
- dc.b 0 ;not used
- dc.l tick_box_button ;not used
- dc.l 0 ;not used
- dc.l Select_Block_Attr
- dc.b 0
- EVEN
- Block_Attr8
- dc.w SHOOTING_MENU_X
- dc.w ATTR_Y_POS+FONT_HEIGHT*3
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON+TOGGLE_BUTTON
- dc.b NOT_DEPRESSED
- dc.b 7 ;index
- dc.b 0 ;not used
- dc.l tick_box_button ;not used
- dc.l 0 ;not used
- dc.l Select_Block_Attr
- dc.b 0
- EVEN
- Standing_Up_Arrow
- dc.w 2
- dc.w STANDING_MENU_Y+FONT_HEIGHT
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON+HOLD_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 0
- dc.b 0 ;not used
- dc.l arrow_up
- dc.l 0 ;not used
- dc.l scroll_standing_up
- dc.b 0
- EVEN
- Standing_Down_Arrow
- dc.w 2
- dc.w STANDING_MENU_Y+FONT_HEIGHT*3
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON+HOLD_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 0
- dc.b 0 ;not used
- dc.l arrow_down
- dc.l 0 ;not used
- dc.l scroll_standing_down
- dc.b 0
- EVEN
- Shooting_Up_Arrow
- dc.w 320-62
- dc.w STANDING_MENU_Y+FONT_HEIGHT
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON+HOLD_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 0
- dc.b 0 ;not used
- dc.l arrow_up
- dc.l 0 ;not used
- dc.l scroll_shooting_up
- dc.b 0
- EVEN
- Shooting_Down_Arrow
- dc.w 320-62
- dc.w STANDING_MENU_Y+FONT_HEIGHT*3
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON+HOLD_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 0
- dc.b 0 ;not used
- dc.l arrow_down
- dc.l 0 ;not used
- dc.l scroll_shooting_down
- dc.b 0
- EVEN
- Block_Left_Arrow
- dc.w 192-8
- dc.w 128+32
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON+HOLD_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 0
- dc.b 0 ;not used
- dc.l arrow_left
- dc.l 0 ;not used
- dc.l select_prev_block
- dc.b 0
- EVEN
- Block_Right_Arrow
- dc.w 210
- dc.w 128+32
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON+HOLD_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 0
- dc.b 0 ;not used
- dc.l arrow_right
- dc.l 0 ;not used
- dc.l select_next_block
- dc.b 0
- EVEN
- StandMenu1
- dc.w STANDING_MENU_X
- dc.w STANDING_MENU_Y
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 0
- dc.b 0 ;not used
- dc.l MenuButton ;not used
- dc.l 0 ;not used
- dc.l Select_Standing_Choice
- dc.b 0
- EVEN
- StandMenu2
- dc.w STANDING_MENU_X
- dc.w STANDING_MENU_Y+FONT_HEIGHT
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 1
- dc.b 0 ;not used
- dc.l MenuButton ;not used
- dc.l 0 ;not used
- dc.l Select_Standing_Choice
- dc.b 0
- EVEN
- StandMenu3
- dc.w STANDING_MENU_X
- dc.w STANDING_MENU_Y+FONT_HEIGHT*2
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 2
- dc.b 0 ;not used
- dc.l MenuButton ;not used
- dc.l 0 ;not used
- dc.l Select_Standing_Choice
- dc.b 0
- EVEN
- StandMenu4
- dc.w STANDING_MENU_X
- dc.w STANDING_MENU_Y+FONT_HEIGHT*3
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 3
- dc.b 0 ;not used
- dc.l MenuButton ;not used
- dc.l 0 ;not used
- dc.l Select_Standing_Choice
- dc.b 0
- EVEN
- StandMenu5
- dc.w STANDING_MENU_X
- dc.w STANDING_MENU_Y+FONT_HEIGHT*4
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 4
- dc.b 0 ;not used
- dc.l MenuButton ;not used
- dc.l 0 ;not used
- dc.l Select_Standing_Choice
- dc.b 0
- EVEN
- ShootMenu1
- dc.w SHOOTING_MENU_X
- dc.w SHOOTING_MENU_Y
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 0
- dc.b 0 ;not used
- dc.l MenuButton ;not used
- dc.l 0 ;not used
- dc.l Select_Shooting_Choice
- dc.b 0
- EVEN
- ShootMenu2
- dc.w SHOOTING_MENU_X
- dc.w SHOOTING_MENU_Y+FONT_HEIGHT
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 1
- dc.b 0 ;not used
- dc.l MenuButton ;not used
- dc.l 0 ;not used
- dc.l Select_Shooting_Choice
- dc.b 0
- EVEN
- ShootMenu3
- dc.w SHOOTING_MENU_X
- dc.w SHOOTING_MENU_Y+FONT_HEIGHT*2
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 2
- dc.b 0 ;not used
- dc.l MenuButton ;not used
- dc.l 0 ;not used
- dc.l Select_Shooting_Choice
- dc.b 0
- EVEN
- ShootMenu4
- dc.w SHOOTING_MENU_X
- dc.w SHOOTING_MENU_Y+FONT_HEIGHT*3
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 3
- dc.b 0 ;not used
- dc.l MenuButton ;not used
- dc.l 0 ;not used
- dc.l Select_Shooting_Choice
- dc.b 0
- EVEN
- ShootMenu5
- dc.w SHOOTING_MENU_X
- dc.w SHOOTING_MENU_Y+FONT_HEIGHT*4
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 4
- dc.b 0 ;not used
- dc.l MenuButton ;not used
- dc.l 0 ;not used
- dc.l Select_Shooting_Choice
- dc.b 0
- EVEN
- Apply_Button
- dc.w 5
- dc.w 128+32
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 0
- dc.b 0 ;not used
- dc.l apply_custom_button ;not used
- dc.l 0 ;not used
- dc.l Apply_Data_To_Block_Group
- dc.b 0
- EVEN
- Remove_Blk_Button
- dc.w 5+36
- dc.w 128+32
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 0
- dc.b 0 ;not used
- dc.l remove_custom_button ;not used
- dc.l 0 ;not used
- dc.l Remove_Block_From_Group
- dc.b 0
- EVEN
- Set_Group_Blk_Button
- dc.w 5+36+36
- dc.w 128+32
- dc.w WINDOW ;frame type
- dc.b CUSTOM_BUTTON ;standard
- dc.b NOT_DEPRESSED
- dc.b 0
- dc.b 0 ;not used
- dc.l setgroup_custom_button ;not used
- dc.l 0 ;not used
- dc.l Add_Current_Attr_To_Group
- dc.b 0
- EVEN
- Blk_Standing_Strings
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
-
- Blk_Shooting_Strings
- dc.b "Undefined ",0
- dc.b "Undefined ",0 ;0 not available
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
-
- Blk_Bit_Attrs
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- Blk_Bit_Attrs2
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
- dc.b "Undefined ",0
-
- even
- Shooting_Title
- dc.b "SHOOT",0
- Standing_Title
- dc.b "STAND",0
|