ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SIDPlayer/src/main.h
(Generate patch)

Comparing SIDPlayer/src/main.h (file contents):
Revision 1.6 by cebix, 2003-04-11T20:23:02Z vs.
Revision 1.7 by cebix, 2003-10-21T16:56:19Z

# Line 28 | Line 28
28   *  Definitions
29   */
30  
31 < // C64 replay routine address (set by LoadPSIDFile(), used by sid.cpp)
31 > // C64 replay routine address (set by UpdatePlayAdr(), used by sid.cpp)
32   extern uint16 play_adr;
33  
34   // Module name, author name, copyright info in ISO Latin1 (BeOS: UTF8) charset (set by LoadPSIDFile())
# Line 46 | Line 46 | extern int number_of_songs, current_song
46   extern void InitAll(int &argc, char **&argv);
47  
48   // Exit everything
49 < extern void ExitAll(void);
49 > extern void ExitAll();
50  
51   // Read PSID file header to buffer
52   extern bool LoadPSIDHeader(const char *file, uint8 *p);
# Line 61 | Line 61 | extern bool IsPSIDFile(const char *file)
61   extern bool LoadPSIDFile(const char *file);
62  
63   // PSID file loaded and ready?
64 < extern bool IsPSIDLoaded(void);
64 > extern bool IsPSIDLoaded();
65  
66   // Select song for playing
67   extern void SelectSong(int num);
68  
69 + // Update play_adr if necessary
70 + extern void UpdatePlayAdr();
71 +
72   // Adjust replay speed
73   extern void AdjustSpeed(int percent);
74  
75   // Show About window
76 < extern void AboutWindow(void);
76 > extern void AboutWindow();
77  
78   // Fast pseudo-random number generator
79   extern uint32 f_rand_seed;
80  
81 < inline static uint8 f_rand(void)
81 > inline static uint8 f_rand()
82   {
83          f_rand_seed = f_rand_seed * 1103515245 + 12345;
84          return f_rand_seed >> 16;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines