/[projet1]/public/oric/demos/SlideShowDemo/code/main.c
Defence Force logotype

Diff of /public/oric/demos/SlideShowDemo/code/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1015 by dbug, Thu Dec 12 20:53:08 2013 UTC revision 1019 by dbug, Sat Dec 14 14:19:19 2013 UTC
# Line 30  void Pause() Line 30  void Pause()
30  extern void Player_SetMusic_Birthday();  extern void Player_SetMusic_Birthday();
31    
32  unsigned char CurrentMusic=LOADER_FIRST_MUSIC;  unsigned char CurrentMusic=LOADER_FIRST_MUSIC;
 //int CounterMusicWhatever=50*2;  
33    
34  void main()  void main()
35  {  {
# Line 42  void main() Line 41  void main()
41          MusicLooped=1;          MusicLooped=1;
42    
43          System_InstallIRQ_SimpleVbl();          System_InstallIRQ_SimpleVbl();
44          LoaderApiEntryIndex=LOADER_FIRST_MUSIC+1;          LoaderApiEntryIndex=LOADER_FIRST_MUSIC;
45          //LoadFile();          LoadFile();
46          //Mym_ReInitialize();          Mym_ReInitialize();
47    
48          while (1)          while (1)
49          {                        {              
50                    /*
51                  if (MusicLooped)                  if (MusicLooped)
52                  {                  {
53                          poke(0xbb80+40*25,16 | ((peek(0xbb80+40*25)+1)&7) );                          poke(0xbb80+40*25,16 | ((peek(0xbb80+40*25)+1)&7) );
# Line 61  void main() Line 61  void main()
61                          Mym_ReInitialize();                          Mym_ReInitialize();
62                          ++CurrentMusic;                          ++CurrentMusic;
63                  }                  }
64                                    */
                 //--CounterMusicWhatever;  
65                    
66                  for (LoaderApiEntryIndex=LOADER_FIRST_PICTURE;LoaderApiEntryIndex<LOADER_LAST_PICTURE;LoaderApiEntryIndex++)                  for (LoaderApiEntryIndex=LOADER_FIRST_PICTURE;LoaderApiEntryIndex<LOADER_LAST_PICTURE;LoaderApiEntryIndex++)
67                  {                  {

Legend:
Removed from v.1015  
changed lines
  Added in v.1019

  ViewVC Help
Powered by ViewVC 1.1.26