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:
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user