|
|
@ -13,10 +13,10 @@ enum SoundID { |
|
|
|
SIGG |
|
|
|
SIGG |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
class Example : public olc::PixelGameEngine |
|
|
|
class CustomSound : public olc::PixelGameEngine |
|
|
|
{ |
|
|
|
{ |
|
|
|
public: |
|
|
|
public: |
|
|
|
Example() |
|
|
|
CustomSound() |
|
|
|
{ |
|
|
|
{ |
|
|
|
sAppName = "Custom GameSound System based on olcSoundWaveEngine"; |
|
|
|
sAppName = "Custom GameSound System based on olcSoundWaveEngine"; |
|
|
|
} |
|
|
|
} |
|
|
@ -129,7 +129,7 @@ public: |
|
|
|
|
|
|
|
|
|
|
|
int main() |
|
|
|
int main() |
|
|
|
{ |
|
|
|
{ |
|
|
|
Example demo; |
|
|
|
CustomSound demo; |
|
|
|
if (demo.Construct(256, 240, 4, 4)) |
|
|
|
if (demo.Construct(256, 240, 4, 4)) |
|
|
|
demo.Start(); |
|
|
|
demo.Start(); |
|
|
|
|
|
|
|
|
|
|
|