mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-23 14:30:08 +00:00
10.3n
This commit is contained in:
parent
3f45beba3b
commit
fdde515afe
@ -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.
|
||||
|
||||
|
4
init.cpp
4
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
|
||||
|
12
menus.cpp
12
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');
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user