tools/MissionsEditor/main.cpp
author smxx
Thu, 04 Feb 2010 14:48:49 +0000
changeset 2745 11fce231f24a
parent 2572 af96861683f8
permissions -rw-r--r--
Engine: + Split PlaySound into PlaySound and LoopSound + Added overloaded versions of PlaySound/LoopSound that won't require voicepack parameter + LoopSound now allows multiple copies of the same sound to play looped and returns the channel used for playback (to stop them later) + StopSound now allows either a specific sound (single playback) or channel (single playback as well as looped playback) to be stopped + SoundChannel attribute for Gears to be used when looping sounds
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2572
af96861683f8 Start work on missions/trainings editor
unc0rr
parents:
diff changeset
     1
#include <QtGui/QApplication>
af96861683f8 Start work on missions/trainings editor
unc0rr
parents:
diff changeset
     2
#include "editor.h"
af96861683f8 Start work on missions/trainings editor
unc0rr
parents:
diff changeset
     3
af96861683f8 Start work on missions/trainings editor
unc0rr
parents:
diff changeset
     4
int main(int argc, char *argv[])
af96861683f8 Start work on missions/trainings editor
unc0rr
parents:
diff changeset
     5
{
af96861683f8 Start work on missions/trainings editor
unc0rr
parents:
diff changeset
     6
    QApplication a(argc, argv);
af96861683f8 Start work on missions/trainings editor
unc0rr
parents:
diff changeset
     7
    editor w;
af96861683f8 Start work on missions/trainings editor
unc0rr
parents:
diff changeset
     8
    w.show();
af96861683f8 Start work on missions/trainings editor
unc0rr
parents:
diff changeset
     9
    return a.exec();
af96861683f8 Start work on missions/trainings editor
unc0rr
parents:
diff changeset
    10
}