Files @ r5731:f5f88f3094dd
Branch filter:

Location: cpp/openttd-patchpack/source/src/music.h

Darkvater
(svn r8274) -Codechange (r8151): Move the automatic semaphore/signal checks inside the CMD_ functions where they are supposed to be. Achieve this by adding a seperate bit to p1/p2 to hold the CTRL-modifier. While here, use proper types, and 'unify' the parameter bit-meanings. 0 - ctrl-pressed, 1 - signal/semaphore, 2-4 - trackbits, 5 - remove (internal), 24-31 - drag density.
/* $Id$ */

#ifndef MUSIC_H
#define MUSIC_H

#define NUM_SONGS_PLAYLIST 33
#define NUM_SONGS_AVAILABLE 22

typedef struct SongSpecs {
	char filename[256];
	char song_name[64];
} SongSpecs;

extern const SongSpecs origin_songs_specs[NUM_SONGS_AVAILABLE];

#endif //MUSIC_H