home *** CD-ROM | disk | FTP | other *** search
- static short brd_frames[6] = {
- 5,18,5,0,24,14
- };
-
- //-----------------------
- //
- // start_up()
- //
- //-----------------------
-
- short start_up()
- {
- short i,k,error;
-
- //
- // Set forward, back, and control icons
- //
-
- icon_reset();
-
-
- icon_add( ICON_CONTROL, 0 );
- icon_add( ICON_UP, 0 );
-
-
- if (current_submenu > 0) {
- icon_add( ICON_BACK, 0 );
- button_set( "back", 0,0 );
- }
- else {
- button_set( "back", 1,0 );
- }
-
-
- if (current_submenu < brd_frames[current_menu]-1) {
- icon_add( ICON_FORWARD, 0 );
- button_set( "forward", 0,0 );
- }
- else {
- button_set( "forward", 1,0 );
- }
-
- //
- // If not returning from control panel...
- //
-
- if (!pan_quit_flag) {
-
- //
- // Restart background animation
- //
-
- if (current_menu==MENU_TATOOINE) error = brd_show_ta( current_submenu );
- else if (current_menu==MENU_MOSEISLY) error = brd_show_me( current_submenu );
- else if (current_menu==MENU_JABBAHAN) error = brd_show_jb( current_submenu );
- else if (current_menu==MENU_JEDIROCK) error = brd_show_jr( current_submenu );
- else if (current_menu==MENU_TURNTABL) error = brd_show_tt( current_submenu );
- }
- pan_quit_flag = FALSE;
- }
-
- //---------------------------
- //
- // brd_show_ta()
- //
- // Show Appropriate
- // storyboards for tatooine
- //
- //---------------------------
-
- static short brd_show_ta( short submenu )
- {
- if (submenu == 0) anim_start("data\tatooine\boards\nh1.nut" ,ONCE,NEWPAL);
- else if (submenu == 1) anim_start("data\tatooine\boards\nh1cont.nut",ONCE,NEWPAL);
- else if (submenu == 2) anim_start("data\tatooine\boards\nh2.nut" ,ONCE,NEWPAL);
- else if (submenu == 3) anim_start("data\tatooine\boards\nh3.nut" ,ONCE,NEWPAL);
- else if (submenu == 4) anim_start("data\tatooine\boards\nh4.nut" ,ONCE,NEWPAL);
- else return 1;
- return 0;
- }
-
- //---------------------------
- //
- // brd_show_tt()
- //
- // Show Appropriate
- // "storyboards" for turntable
- //
- //---------------------------
-
- static short brd_show_tt( short submenu )
- {
- if (submenu == 0) anim_start("data\turntabl\turn01a.nut",LOOP,NEWPAL);
- else if (submenu == 1) anim_start("data\turntabl\turn02a.nut",LOOP,NEWPAL);
- else if (submenu == 2) anim_start("data\turntabl\turn03a.nut",LOOP,NEWPAL);
- else if (submenu == 3) anim_start("data\turntabl\turn04a.nut",LOOP,NEWPAL);
- else if (submenu == 4) anim_start("data\turntabl\turn05a.nut",LOOP,NEWPAL);
- else if (submenu == 5) anim_start("data\turntabl\turn06a.nut",LOOP,NEWPAL);
- else if (submenu == 6) anim_start("data\turntabl\turn07a.nut",LOOP,NEWPAL);
- else if (submenu == 7) anim_start("data\turntabl\turn08.nut",LOOP,NEWPAL);
- else if (submenu == 8) anim_start("data\turntabl\turn09.nut",LOOP,NEWPAL);
- else if (submenu == 9) anim_start("data\turntabl\turn10.nut",LOOP,NEWPAL);
- else if (submenu == 10) anim_start("data\turntabl\turn11.nut",LOOP,NEWPAL);
- else if (submenu == 11) anim_start("data\turntabl\turn12.nut",LOOP,NEWPAL);
- else if (submenu == 12) anim_start("data\turntabl\turn13.nut",LOOP,NEWPAL);
- else if (submenu == 13) anim_start("data\turntabl\turn14.nut",LOOP,NEWPAL);
- else return 1;
- return 0;
- }
-
-
- //---------------------------
- //
- // brd_show_me()
- //
- // Show Appropriate
- // storyboards for moseisly
- //
- //---------------------------
-
- static short brd_show_me( short submenu )
- {
- if (submenu == 0) anim_start("data\moseisly\boards\nh6.nut" ,ONCE,NEWPAL);
- else if (submenu == 1) anim_start("data\moseisly\boards\nh6cont.nut" ,ONCE,NEWPAL);
- else if (submenu == 2) anim_start("data\moseisly\boards\nh7.nut" ,ONCE,NEWPAL);
- else if (submenu == 3) anim_start("data\moseisly\boards\moseisly.nut" ,ONCE,NEWPAL);
- else if (submenu == 4) anim_start("data\moseisly\boards\nh8.nut" ,ONCE,NEWPAL);
- else if (submenu == 5) anim_start("data\moseisly\boards\nh8study.nut",ONCE,NEWPAL);
- else if (submenu == 6) anim_start("data\moseisly\boards\nh9_10.nut" ,ONCE,NEWPAL);
- else if (submenu == 7) anim_start("data\moseisly\boards\lowrider.nut" ,ONCE,NEWPAL);
- else if (submenu == 8) anim_start("data\moseisly\boards\nh11.nut" ,ONCE,NEWPAL);
- else if (submenu == 9) anim_start("data\moseisly\boards\nh12.nut" ,ONCE,NEWPAL);
- else if (submenu ==10) anim_start("data\moseisly\boards\nh13.nut" ,ONCE,NEWPAL);
- else if (submenu ==11) anim_start("data\moseisly\boards\nh14.nut" ,ONCE,NEWPAL);
- else if (submenu ==12) anim_start("data\moseisly\boards\nh15.nut" ,ONCE,NEWPAL);
- else if (submenu ==13) anim_start("data\moseisly\boards\nh16.nut" ,ONCE,NEWPAL);
- else if (submenu ==14) anim_start("data\moseisly\boards\nh17.nut" ,ONCE,NEWPAL);
- else if (submenu ==15) anim_start("data\moseisly\boards\nh18.nut" ,ONCE,NEWPAL);
- else if (submenu ==16) anim_start("data\moseisly\boards\nh19.nut" ,ONCE,NEWPAL);
- else if (submenu ==17) anim_start("data\moseisly\boards\nh20.nut" ,ONCE,NEWPAL);
- else return 1;
- return 0;
- }
-
- //---------------------------
- //
- // brd_show_jb()
- //
- // Show Appropriate
- // storyboards for jabba/han
- //
- //---------------------------
-
- static short brd_show_jb( short submenu )
- {
- if (submenu == 0) anim_start("data\jabbahan\boards\nhjb.nut" ,ONCE,NEWPAL);
- else if (submenu == 1) anim_start("data\jabbahan\boards\nhjb2.nut" ,ONCE,NEWPAL);
- else if (submenu == 2) anim_start("data\jabbahan\boards\nhjb3.nut" ,ONCE,NEWPAL);
- else if (submenu == 3) anim_start("data\jabbahan\boards\nhjb4a.nut",ONCE,NEWPAL);
- else if (submenu == 4) anim_start("data\jabbahan\boards\nhjb4b.nut",ONCE,NEWPAL);
- else return 1;
- return 0;
- }
-
- //---------------------------
- //
- // brd_show_jr()
- //
- // Show Appropriate
- // storyboards for jedirocks
- //
- //---------------------------
-
- static short brd_show_jr( short submenu )
- {
- if (submenu == 0) anim_start("data\jedirock\drummers\rjdrum.nut" ,ONCE,NEWPAL);
- else if (submenu == 1) anim_start("data\jedirock\drummers\rjdrum1.nut" ,ONCE,NEWPAL);
- else if (submenu == 2) anim_start("data\jedirock\drummers\rjdrum2.nut" ,ONCE,NEWPAL);
- else if (submenu == 3) anim_start("data\jedirock\drummers\rjdrum3.nut" ,ONCE,NEWPAL);
- else if (submenu == 4) anim_start("data\jedirock\drummers\rjdrum4.nut" ,ONCE,NEWPAL);
- else if (submenu == 5) anim_start("data\jedirock\drummers\rjdrum5.nut" ,ONCE,NEWPAL);
- else if (submenu == 6) anim_start("data\jedirock\drummers\rjdrum6.nut" ,ONCE,NEWPAL);
- else if (submenu == 7) anim_start("data\jedirock\drummers\rjdrumrs.nut",ONCE,NEWPAL);
- else if (submenu == 8) anim_start("data\jedirock\rapper\rjrap1.nut" ,ONCE,NEWPAL);
- else if (submenu == 9) anim_start("data\jedirock\rapper\rjrap2.nut" ,ONCE,NEWPAL);
- else if (submenu ==10) anim_start("data\jedirock\rapper\rjrap3.nut" ,ONCE,NEWPAL);
- else if (submenu ==11) anim_start("data\jedirock\singers\rjbsing1.nut" ,ONCE,NEWPAL);
- else if (submenu ==12) anim_start("data\jedirock\singers\rjbsing2.nut" ,ONCE,NEWPAL);
- else if (submenu ==13) anim_start("data\jedirock\singers\rjbsing3.nut" ,ONCE,NEWPAL);
- else if (submenu ==14) anim_start("data\jedirock\singers\rjbsing4.nut" ,ONCE,NEWPAL);
- else if (submenu ==15) anim_start("data\jedirock\singers\rjsing1.nut" ,ONCE,NEWPAL);
- else if (submenu ==16) anim_start("data\jedirock\singers\rjsing2.nut" ,ONCE,NEWPAL);
- else if (submenu ==17) anim_start("data\jedirock\singers\rjsing3.nut" ,ONCE,NEWPAL);
- else if (submenu ==18) anim_start("data\jedirock\yuzzum\rjyzhand.nut" ,ONCE,NEWPAL);
- else if (submenu ==19) anim_start("data\jedirock\yuzzum\rjyzview.nut" ,ONCE,NEWPAL);
- else if (submenu ==20) anim_start("data\jedirock\yuzzum\yuzzum1.nut" ,ONCE,NEWPAL);
- else if (submenu ==21) anim_start("data\jedirock\yuzzum\yuzzum2.nut" ,ONCE,NEWPAL);
- else if (submenu ==22) anim_start("data\jedirock\yuzzum\yuzzum3.nut" ,ONCE,NEWPAL);
- else if (submenu ==23) anim_start("data\jedirock\yuzzum\yuzzum4.nut" ,ONCE,NEWPAL);
- else return 1;
- return 0;
- }