1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 17:27:57 +00:00

fixed the compilation without CAP_COMMANDLINE or without CAP_SVG or fakemobile

This commit is contained in:
Zeno Rogue
2018-07-22 12:50:03 +02:00
parent 4d2f79ba95
commit 329a2fa783
7 changed files with 26 additions and 16 deletions

View File

@@ -8,23 +8,20 @@
#include <string>
namespace hr {
const char *scorefile = "fakemobile_score.txt";
const char *conffile = "fakemobile_config.txt";
std::string levelfile = "fakemobile_level.txt";
std::string picfile = "fakemobile_pic.txt";
const char *scorefile = "fakemobile_score.txt";
}
#include <SDL/SDL.h>
#include "init.cpp"
using namespace hr;
#include <SDL/SDL_ttf.h>
#include <SDL/SDL_gfxPrimitives.h>
#undef main
namespace hr {
transmatrix getOrientation() { return Id; }
void playSound(cell *c, const string& fname, int vol) {
@@ -101,6 +98,14 @@ void shareScore(int) {
printf("share\n");
}
void openURL() {
printf("< openURL > \n");
}
}
using namespace hr;
int main(int argc, char **argv) {
initAll();
@@ -240,6 +245,3 @@ int main(int argc, char **argv) {
clearMemory();
}
void openURL() {
printf("< openURL > \n");
}