Skip to content

Commit

Permalink
KOTOR TESTCASE
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Mar 20, 2014
1 parent 0db12cf commit 8d757ab
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 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

0 comments on commit 8d757ab

Please sign in to comment.