mirror of
https://github.com/simtactics/niotso.git
synced 2025-07-03 21:32:12 -04:00
Split off the Windows message handler into a separate thread.
This commit is contained in:
parent
d9afae7022
commit
4294cb41f7
11 changed files with 547 additions and 217 deletions
|
@ -51,6 +51,14 @@ struct Image_t {
|
|||
uint8_t * Data;
|
||||
};
|
||||
|
||||
struct Audio_t {
|
||||
unsigned Channels;
|
||||
unsigned SamplingRate;
|
||||
unsigned BitDepth;
|
||||
unsigned Duration;
|
||||
uint8_t * Data;
|
||||
};
|
||||
|
||||
namespace File {
|
||||
|
||||
extern int Error;
|
||||
|
@ -58,6 +66,7 @@ extern size_t FileSize;
|
|||
|
||||
uint8_t * ReadFile(const char * Filename);
|
||||
Image_t * ReadImageFile(const char * Filename);
|
||||
Audio_t * ReadAudioFile(const char * Filename);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue