Skip to content

Commit

Permalink
TESTCASE
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Jan 30, 2014
1 parent 3dc9970 commit fa3f7b4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
8 changes: 6 additions & 2 deletions src/engines/kotor/kotor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
#include "engines/aurora/resources.h"

#include "engines/kotor/kotor.h"
#include "engines/kotor/module.h"

namespace Engines {

Expand Down Expand Up @@ -148,8 +149,11 @@ void KotOREngine::run(const Common::UString &target) {

playMenuMusic();

while (!EventMan.quitRequested()) {
EventMan.delay(10);
{
Module module;

module.load("tar_m03ae");
module.run();
}

delete fps;
Expand Down
8 changes: 6 additions & 2 deletions src/engines/kotor2/kotor2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
#include "engines/aurora/resources.h"

#include "engines/kotor2/kotor2.h"
#include "engines/kotor2/module.h"

namespace Engines {

Expand Down Expand Up @@ -133,8 +134,11 @@ void KotOR2Engine::run(const Common::UString &target) {

playMenuMusic();

while (!EventMan.quitRequested()) {
EventMan.delay(10);
{
Module module;

module.load("001EBO");
module.run();
}

delete fps;
Expand Down
8 changes: 6 additions & 2 deletions src/engines/nwn/nwn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
#include "engines/aurora/resources.h"

#include "engines/nwn/nwn.h"
#include "engines/nwn/module.h"

namespace Engines {

Expand Down Expand Up @@ -135,8 +136,11 @@ void NWNEngine::run(const Common::UString &target) {

playMenuMusic();

while (!EventMan.quitRequested()) {
EventMan.delay(10);
{
Module module;

module.loadModule("prelude.nwm");
module.run();
}

delete fps;
Expand Down

0 comments on commit fa3f7b4

Please sign in to comment.