class GraphicDevice16: public GraphicDevice {
private:
long GraphicDevice16::allocColor(Color color);
long allocColor(Color color);
public:
GraphicDevice16(FlashDisplay *fd);
class GraphicDevice24: public GraphicDevice {
long GraphicDevice24::allocColor(Color color);
GraphicDevice24(FlashDisplay *fd);
class GraphicDevice32: public GraphicDevice {
long GraphicDevice32::allocColor(Color color);
GraphicDevice32(FlashDisplay *fd);
#endif
inline
long Matrix::getX(long x, long y)
long getX(long x, long y)
{
return (long) (x*a+y*b+tx);
};
long Matrix::getY(long x, long y)
long getY(long x, long y)
return (long) (x*c+y*d+ty);
long playSounds(); // Actually play sounds of all instances
long fillSoundBuffer(SoundList *, char *buffer, long bufferSize); // Fill sound buffer
int SoundMixer::Mp3Scale(mad_fixed_t sample);
int Mp3Scale(mad_fixed_t sample);
void SoundMixer::Mp3Decompress(SoundList *sl);
void Mp3Decompress(SoundList *sl);
void SoundMixer::uninitMp3Sounds(SoundList *sl);
void uninitMp3Sounds(SoundList *sl);
#endif /* _SOUND_H_ */