1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-05 11:57:58 +00:00

moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library

This commit is contained in:
Zeno Rogue
2018-06-11 01:58:31 +02:00
parent c2e3ed54f0
commit 4c619e60dd
68 changed files with 735 additions and 539 deletions

View File

@@ -5,17 +5,20 @@
#define MOBPAR_FORMAL int
#define MOBPAR_ACTUAL 0
#define MIX_MAX_VOLUME 128
const char *scorefile = "fakemobile_score.txt";
const char *conffile = "fakemobile_config.txt";
#include <string>
std::string levelfile = "fakemobile_level.txt";
std::string picfile = "fakemobile_pic.txt";
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";
}
#include <SDL/SDL.h>
#include "init.cpp"
using namespace hr;
#include <SDL/SDL_ttf.h>
#include <SDL/SDL_gfxPrimitives.h>