This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CXX = g++ | |
# variables and initialization | |
CXXFLAGS = -g -Wall -MMD `pkg-config gtkmm-2.4 --cflags --libs` | |
# builds dependency lists in .d files | |
OBJECTS = Views/StraightsWindow.o Views/DeckUI.o main.o Views/PlayerFrame.o Views/MessageDialogBox.o Views/ConfigurationDialogBox.o Model/GameMaster.o Model/Player.o Controller/StraightsController.o Common/Card.o Model/Deck.o Model/Table.o Model/Subject.o Model/HumanPlayer.o Model/SmartComputerPlayer.o Model/ComputerPlayer.o | |
DEPENDS = ${OBJECTS:.o=.d} | |
# substitute ".o" with ".d" | |
EXEC = straights | |
${EXEC} : ${OBJECTS} | |
${CXX} ${OBJECTS} ${CXXFLAGS} -o ${EXEC} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Fucking huge hack, OMFG | |
setTimeout(function() { | |
getElementByXpath('/html/body/div[5]').remove(); | |
}, 0); | |
setTimeout(function() { | |
nextElement = getElementByXpath('/html/body/div[5]'); | |
if (nextElement !== null) { | |
getElementByXpath('/html/body/div[5]').remove(); | |
} | |
}, 0); |