diff --git a/changelog.txt b/changelog.txt index 89d4576d..f7c1422f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2301,3 +2301,15 @@ User interface: MINOR: - reptilecheat option ('-rch') disables Windy chasms - synchronized fanframe so that the period is 1000 ticks + +2018.03.27 14:48 version 10.3n + +- replaced green/red dots in the Blizzard with arrows +- spawn sound for Wind Crows +- updated the translations +- the conformal/history menu is split into "models of hyperbolic geometry" and "history menu" +- improved the automatic rotation system in "models of hyperbolic geometry" +- lower halfplane option added (works better in the Ivory Tower than upper halfplane) +- four new models in "models of hyperbolic geometry"; improved the old ones (especially the 3D effects are now 'correct', except that they assume that the ground is a hyperbolic plane) +- when changing the sight range, overgenerate works immediately now. + diff --git a/init.cpp b/init.cpp index 78238dbf..cf357f1a 100644 --- a/init.cpp +++ b/init.cpp @@ -18,8 +18,8 @@ #define NOLICENSE #endif -#define VER "10.3m" -#define VERNUM 10313 +#define VER "10.3n" +#define VERNUM 10314 #ifndef CAP_SHADER #define CAP_SHADER CAP_GL diff --git a/menus.cpp b/menus.cpp index 698e49b3..7e19e5d7 100644 --- a/menus.cpp +++ b/menus.cpp @@ -640,18 +640,22 @@ void showStartMenu() { dialog::addInfo(XLAT("(most achievements are not available)")); } break; - + +#if CAP_RUG case 5: dialog::addBreak(100); dialog::addBigItem(XLAT("hypersian rug mode"), 'M'); dialog::addInfo(XLAT("see the true form")); break; - +#endif + +#if CAP_TEXTURE case 6: dialog::addBreak(100); dialog::addBigItem(XLAT("texture mode"), 'T'); dialog::addInfo(XLAT("paint pictures")); break; +#endif case 20: dialog::addBreak(100); @@ -694,6 +698,7 @@ void showStartMenu() { keyhandler = [] (int sym, int uni) { dialog::handleNavigation(sym, uni); if(uni == 'o') uni = 'i'; +#if CAP_RUG else if(uni == 'M') { rug::init(); popScreenAll(); @@ -705,6 +710,8 @@ void showStartMenu() { rug::model_distance *= 2; rug::init(); } +#endif +#if CAP_TEXTURE else if(uni == 'T') { popScreenAll(); resetModes('c'); @@ -720,6 +727,7 @@ void showStartMenu() { pushScreen(mapeditor::showDrawEditor); } } +#endif else if(uni == 'g') { popScreenAll(); resetModes('c'); diff --git a/surface.cpp b/surface.cpp index d6b5a3f1..89759f99 100644 --- a/surface.cpp +++ b/surface.cpp @@ -368,6 +368,11 @@ int dexp_comb_colors[16] = { int coverage_style; vector > 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 void run_function(T f) {