mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 00:24:47 -07:00
preliminary sound support
This commit is contained in:
parent
19ae32f330
commit
c67bc65762
16 changed files with 106 additions and 4 deletions
|
|
@ -36,6 +36,7 @@
|
|||
#include "settingscache.h"
|
||||
#include "pixmapgenerator.h"
|
||||
#include "rng_sfmt.h"
|
||||
#include "soundengine.h"
|
||||
|
||||
//Q_IMPORT_PLUGIN(qjpeg)
|
||||
|
||||
|
|
@ -43,6 +44,7 @@ CardDatabase *db;
|
|||
QTranslator *translator, *qtTranslator;
|
||||
SettingsCache *settingsCache;
|
||||
RNG_Abstract *rng;
|
||||
SoundEngine *soundEngine;
|
||||
|
||||
void myMessageOutput(QtMsgType /*type*/, const char *msg)
|
||||
{
|
||||
|
|
@ -114,6 +116,8 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
if (startMainProgram) {
|
||||
soundEngine = new SoundEngine;
|
||||
|
||||
MainWindow ui;
|
||||
qDebug("main(): MainWindow constructor finished");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue