Ignore:
Timestamp:
Apr 29, 2011, 9:18:23 PM (11 years ago)
Author:
Sam Hocevar
Message:

ps3: make everything compile on the PS3. Of course, nothing links yet
because so much support is missing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/sdlport/sound.h

    r552 r555  
    55 *
    66 *  This software was released into the Public Domain. As with most public
    7  *  domain software, no warranty is made or implied by Crack dot Com or
    8  *  Jonathan Clark.
     7 *  domain software, no warranty is made or implied by Crack dot Com, by
     8 *  Jonathan Clark, or by Sam Hocevar.
    99 */
    1010
     
    1212#define __SOUND_H__
    1313
    14 #include <SDL/SDL_mixer.h>
     14#if !defined __CELLOS_LV2__
     15#   include <SDL/SDL_mixer.h>
     16#endif
    1517
    1618/* options are passed via command line */
     
    3234
    3335private:
     36#if !defined __CELLOS_LV2__
    3437    Mix_Chunk* m_chunk;
     38#endif
    3539};
    3640
     
    3842{
    3943public:
     44#if !defined __CELLOS_LV2__
    4045    char const *name() { return Name; }
     46#endif
    4147    song(char const *filename);
    4248    void play(unsigned char volume=127);
     
    4753
    4854private:
     55#if !defined __CELLOS_LV2__
    4956    char *Name;
    5057    unsigned char *data;
     
    5259    Mix_Music* music;
    5360    SDL_RWops* rw;
     61#endif
    5462};
    5563
Note: See TracChangeset for help on using the changeset viewer.