mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-12 07:16:01 +00:00
10.3n
This commit is contained in:
@@ -368,6 +368,11 @@ int dexp_comb_colors[16] = {
|
||||
int coverage_style;
|
||||
vector<pair<hyperpoint, int> > coverage;
|
||||
|
||||
#ifndef CAP_KUEN_MAP
|
||||
#define CAP_KUEN_MAP 0
|
||||
#endif
|
||||
|
||||
#if CAP_KUEN_MAP
|
||||
void draw_kuen_map() {
|
||||
SDL_Surface *kuen_map = SDL_CreateRGBSurface(SDL_SWSURFACE,512,512,32,0,0,0,0);
|
||||
|
||||
@@ -404,6 +409,7 @@ void draw_kuen_map() {
|
||||
|
||||
IMAGESAVE(kuen_map, "kuen.png");
|
||||
}
|
||||
#endif
|
||||
|
||||
void full_mesh() {
|
||||
rug::clear_model();
|
||||
@@ -542,7 +548,9 @@ void run_kuen() {
|
||||
// delete the old mesh
|
||||
for(auto t: mesh) delete t;
|
||||
|
||||
#if CAP_KUEN_MAP
|
||||
draw_kuen_map();
|
||||
#endif
|
||||
}
|
||||
|
||||
template<class T> void run_function(T f) {
|
||||
|
Reference in New Issue
Block a user