mirror of https://github.com/stella-emu/stella.git
Last minute changes to the OSX build files that I forgot to
check in with the last commit. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2386 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
8fffaa6d95
commit
7e056cbef1
|
@ -79,18 +79,6 @@ EventHandler::EventHandler(OSystem* osystem)
|
|||
for(int i = 0; i < kComboSize; ++i)
|
||||
for(int j = 0; j < kEventsPerCombo; ++j)
|
||||
myComboTable[i][j] = Event::NoType;
|
||||
|
||||
// Erase the Message array
|
||||
for(int i = 0; i < Event::LastType; ++i)
|
||||
ourMessageTable[i] = "";
|
||||
|
||||
// Set unchanging messages
|
||||
ourMessageTable[Event::ConsoleColor] = "Color Mode";
|
||||
ourMessageTable[Event::ConsoleBlackWhite] = "BW Mode";
|
||||
ourMessageTable[Event::ConsoleLeftDiffA] = "Left Difficulty A";
|
||||
ourMessageTable[Event::ConsoleLeftDiffB] = "Left Difficulty B";
|
||||
ourMessageTable[Event::ConsoleRightDiffA] = "Right Difficulty A";
|
||||
ourMessageTable[Event::ConsoleRightDiffB] = "Right Difficulty B";
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
@ -1040,6 +1028,26 @@ void EventHandler::handleEvent(Event::Type event, int state)
|
|||
return;
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Events which generate messages
|
||||
case Event::ConsoleColor:
|
||||
if(state) myOSystem->frameBuffer().showMessage("Color Mode");
|
||||
break;
|
||||
case Event::ConsoleBlackWhite:
|
||||
if(state) myOSystem->frameBuffer().showMessage("BW Mode");
|
||||
break;
|
||||
case Event::ConsoleLeftDiffA:
|
||||
if(state) myOSystem->frameBuffer().showMessage("Left Difficulty A");
|
||||
break;
|
||||
case Event::ConsoleLeftDiffB:
|
||||
if(state) myOSystem->frameBuffer().showMessage("Left Difficulty B");
|
||||
break;
|
||||
case Event::ConsoleRightDiffA:
|
||||
if(state) myOSystem->frameBuffer().showMessage("Right Difficulty A");
|
||||
break;
|
||||
case Event::ConsoleRightDiffB:
|
||||
if(state) myOSystem->frameBuffer().showMessage("Right Difficulty B");
|
||||
break;
|
||||
|
||||
case Event::NoType: // Ignore unmapped events
|
||||
return;
|
||||
|
||||
|
@ -1047,9 +1055,6 @@ void EventHandler::handleEvent(Event::Type event, int state)
|
|||
break;
|
||||
}
|
||||
|
||||
if(state && ourMessageTable[event] != "")
|
||||
myOSystem->frameBuffer().showMessage(ourMessageTable[event]);
|
||||
|
||||
// Otherwise, pass it to the emulation core
|
||||
myEvent.set(event, state);
|
||||
}
|
||||
|
|
|
@ -385,9 +385,6 @@ class EventHandler
|
|||
// The event(s) assigned to each combination event
|
||||
Event::Type myComboTable[kComboSize][kEventsPerCombo];
|
||||
|
||||
// Array of messages for each Event
|
||||
string ourMessageTable[Event::LastType];
|
||||
|
||||
// Array of strings which correspond to the given StellaKey
|
||||
string ourKBDKMapping[KBDK_LAST];
|
||||
|
||||
|
|
|
@ -2032,6 +2032,8 @@
|
|||
);
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
INSTALL_PATH = "@loader_path";
|
||||
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks";
|
||||
SDKROOT = "";
|
||||
VALID_ARCHS = "i386 x86_64";
|
||||
};
|
||||
|
@ -2048,6 +2050,8 @@
|
|||
GCC_ENABLE_CPP_RTTI = NO;
|
||||
GCC_OPTIMIZATION_LEVEL = 3;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
INSTALL_PATH = "@loader_path";
|
||||
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks";
|
||||
MACOSX_DEPLOYMENT_TARGET = "";
|
||||
SDKROOT = "";
|
||||
VALID_ARCHS = "i386 x86_64";
|
||||
|
@ -2059,6 +2063,8 @@
|
|||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
INSTALL_PATH = "@loader_path";
|
||||
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks";
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.4;
|
||||
SDKROOT = "";
|
||||
VALID_ARCHS = "i386 x86_64";
|
||||
|
|
Loading…
Reference in New Issue