22 #ifndef SUPERNOVA_RESOURCES_H 23 #define SUPERNOVA_RESOURCES_H 25 #include "audio/audiostream.h" 26 #include "common/ptr.h" 27 #include "math/sinetables.h" 29 #include "supernova/graphics.h" 30 #include "supernova/sound.h" 31 #include "supernova/supernova.h" 35 class MemoryReadStream;
39 class SupernovaEngine;
49 static const int kNumImageFiles1 = 45;
50 static const int kNumImageFiles2 = 47;
60 const byte *getCursor(CursorId
id)
const;
65 void initCursorGraphics();
68 void loadImage(
int filenumber);
69 void loadSound1(AudioId
id);
70 void loadSound2(AudioId
id);
72 byte *generateTone(byte *buffer,
int frequency,
int length,
int audioRate, Math::SineTable &table);
84 byte _cursorNormal[256];
85 byte _cursorWait[256];
Definition: supernova.h:61
Definition: audiostream.h:212
Definition: algorithm.h:29
Definition: audiostream.h:50
Definition: graphics.h:40
void initGraphics(int width, int height)