1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 18:10:35 +00:00
Commit Graph

445 Commits

Author SHA1 Message Date
Zeno Rogue
3b5733c935 enabled antialiasing in web 2019-09-12 22:43:01 +02:00
Zeno Rogue
c8e950cd40 added some missing CAP_ and MAXMDIM guards 2019-09-12 22:43:01 +02:00
Zeno Rogue
a0cf13ac97 better whatever editor 2019-09-12 22:43:00 +02:00
Zeno Rogue
6832f86533 fixup: wall-quality was not set to default 1 2019-09-12 22:43:00 +02:00
Zeno Rogue
4b7cba78ee replaced the sm::A3 flags with newer techniques (also fixes help in 3D config not appearing) 2019-09-12 22:43:00 +02:00
Zeno Rogue
b10b6386f3 3d:: TEXTURE_STEP_3D is now configurable 2019-09-12 22:43:00 +02:00
Zeno Rogue
89a900958b 3d:: sloppy range checking option 2019-09-12 22:43:00 +02:00
Zeno Rogue
3da6090320 dialog:: addBoolItem_action, addBoolItem_action_neg, addBoolItem_choice used when applicable 2019-09-12 22:43:00 +02:00
Zeno Rogue
22c88d0960 moved loadOldConfig to legacy.cpp and disabled it 2019-09-12 22:43:00 +02:00
Zeno Rogue
c20a0cb59e 3d:: wallradar 2019-09-12 22:43:00 +02:00
Zeno Rogue
b24c9d88e8 text fixes 2019-09-12 22:42:58 +02:00
Zeno Rogue
57f2891826 bounded Minefield now works according to the standard Minesweeper rules 2019-09-12 22:42:58 +02:00
Zeno Rogue
80d14c0196 add_action_push consistently; improved some menu hotkeys and ordering; improved some naming 2019-09-12 22:42:58 +02:00
Zeno Rogue
1b73714958 improved some naming 2019-09-12 22:42:58 +02:00
Zeno Rogue
54a32441a7 restructured menus 2019-09-12 22:42:58 +02:00
Zeno Rogue
bd20208fe0 no more 'scrolling by device rotation' option in the menu if not supported 2019-09-12 22:42:58 +02:00
Zeno Rogue
a4d9b46a27 improved projectionDialog: added inverse P, and ortho/Gans directly 2019-09-12 22:38:47 +02:00
Zeno Rogue
9289cdd301 arg:: -gridon option 2019-09-12 22:38:47 +02:00
Zeno Rogue
ab7a322e5e 3d:: smart display for 3D 2019-09-12 22:38:47 +02:00
Zeno Rogue
b5127b0006 3d:: rotation_yz for line animation (la currently still changes directions randomly) 2019-09-12 22:38:47 +02:00
Zeno Rogue
2121aacaaf 3d:: clipping configurable 2019-09-12 22:38:47 +02:00
Zeno Rogue
01a2f0cc5a 3d:: change model orientation in the YZ plane 2019-09-12 22:38:47 +02:00
Zeno Rogue
ba28bf5880 fixup sightranges 2019-09-12 22:38:46 +02:00
Zeno Rogue
cb9513dd0d 3d:: horohex geometry 2019-09-12 22:38:46 +02:00
Zeno Rogue
678747ceff 3d:: horo-rec geometry 2019-09-12 22:38:45 +02:00
Zeno Rogue
ea1b29533c 'towards Gans' option works again 2019-09-12 22:38:45 +02:00
Zeno Rogue
943a8395e5 3d:: 3d is affected by cells_drawn_limit; improved the sightrange edit dialog with more options and better help 2019-09-12 22:38:45 +02:00
Zeno Rogue
9f9670fcdb an option to desaturate colors for anaglyph 2019-09-12 22:38:45 +02:00
Zeno Rogue
679e44d4b1 grid color is now configurable (stdgridcolor) 2019-09-12 22:38:45 +02:00
Zeno Rogue
105de56857 3d:: HoroTris geometry 2019-09-12 22:38:44 +02:00
Zeno Rogue
24e02f8dea reg3:: sightrange no longer changed to 3 2019-09-12 22:38:43 +02:00
Zeno Rogue
cb8e34204f two more Euclidean honeycombs; also split buildpolys into subfunctions 2019-09-12 22:38:43 +02:00
?
2c2cda6157 3D:: sightrange changeable from 3D settings 2019-09-12 22:38:43 +02:00
?
5871a4b208 3d:: radar feature 2019-09-12 22:38:42 +02:00
?
56dc2d18c0 3D:: cleaned up the 3D menu in 3D geometry; also added creature_scale and height_width parameters 2019-09-12 22:38:42 +02:00
?
170648a367 mouse aiming sensitivity is now configurable; set to 0 to disable 2019-09-12 22:38:42 +02:00
?
808111de89 fixup options in 3D 2019-09-12 22:38:42 +02:00
?
d83abeaebb 3D:: disabled menu options which are not available in 3D 2019-09-12 22:38:40 +02:00
?
71f02d5dc2 3d:: mouse aiming 2019-09-12 22:38:40 +02:00
?
6808c4e926 smooth_scrolling now configurable 2019-09-12 22:38:40 +02:00
?
fe174d8873 3D:: elliptic space 2019-09-12 22:38:40 +02:00
?
fb71d4fd15 3D:: sightranges are now configurable 2019-09-12 22:38:40 +02:00
?
fa3a6d193d missing CAP_ANIMATIONS guard 2019-09-12 22:38:39 +02:00
?
c24fa20334 added some missing CAP_RUG flags 2019-09-12 22:38:39 +02:00
?
e39777f04d CAP_ animations etc. cleanup 2019-09-12 22:38:39 +02:00
?
31037574f5 CAP_COMPLEX2 first 2019-09-12 22:38:39 +02:00
?
b25730d5c9 geometry flags part 1 2019-09-12 22:38:39 +02:00
Zeno Rogue
3a8a5a6150 fixed missing CAP_RACING guards 2019-09-12 22:38:39 +02:00
Zeno Rogue
8756b8e27a racing::standard_centering 2019-09-12 22:38:39 +02:00
Zeno Rogue
b38e0b6752 racing:: false princess enemy is shown as female 2019-09-12 22:38:39 +02:00
Zeno Rogue
92b37cf9e2 racing:: save parameters to config 2019-09-12 22:38:38 +02:00
Zeno Rogue
0adfaa55df brownian:: editable level colors 2019-09-12 22:38:38 +02:00
Zeno Rogue
2a7dea4788 no more mobile compass by default in mobile 2019-02-08 16:51:50 +01:00
Zeno Rogue
94ce1eb541 fixed_facing option, not only in racing 2019-02-06 18:48:53 +01:00
Zeno Rogue
8ac1cf8731 fixed some issues with commandline arguments (svg shots made correctly from cli) 2019-02-06 18:48:52 +01:00
Zeno Rogue
34f9033c1c better description of movement compass 2019-02-06 18:48:52 +01:00
Zeno Rogue
f42fba3afe you can no longer set compass size < 0 2019-02-06 18:48:52 +01:00
Zeno Rogue
db88c32455 commandline options -yca and -xy 2019-02-06 18:48:52 +01:00
Zeno Rogue
06cfd5e2d6 start menu options no longer reset the graphical options -- there is a separate entry for that 2019-02-06 18:48:52 +01:00
Zeno Rogue
8e4e627a37 used low_bounds for settings where negative values make no sense (but 0 does) 2019-02-06 18:44:53 +01:00
Zeno Rogue
39ce061fa7 use_atan configurable for RotatedHyperboles 2019-02-06 16:39:08 +01:00
Zeno Rogue
52dfd434bb more fixes for mobiles 2018-12-15 17:54:36 +01:00
Zeno Rogue
8a6d3173bd more guards for CAP_SHOT/CAP_FILES 2018-12-15 15:20:27 +01:00
Zeno Rogue
4f9e9c2e47 added sm::MAYDARK to some dialogs 2018-12-14 19:30:22 +01:00
Zeno Rogue
c73b598d93 screenshots are more configurable now 2018-12-14 19:30:17 +01:00
Zeno Rogue
2c0cda9fa8 you can no longer see mines by changing the color of waMineUnknown/waMineMine 2018-12-14 19:27:12 +01:00
Zeno Rogue
3f92da8dc5 mouse works in the color menu 2018-12-14 19:27:12 +01:00
Zeno Rogue
d8bf550d37 surface 3D graphics are now automatically disabled in rug (won't work correctly with quotient rugs anyway) and in pmodels which do not support it 2018-12-14 19:27:12 +01:00
Zeno Rogue
18d5f8299b crystal:: more settings in config/params/CLI 2018-12-14 19:27:12 +01:00
Zeno Rogue
2fa265ac10 implemented a better system for logging and binary output 2018-11-24 21:23:02 +01:00
Zeno Rogue
50a86d1e88 glhr:: shader-side band now ignores depth 2018-11-18 18:26:56 +01:00
Zeno Rogue
8e2727882e shmup:: rewritten shmup configuration in OOP style 2018-11-18 18:26:56 +01:00
Zeno Rogue
d935febf09 refactored some global and stereo:: variables into display_data structure 2018-11-18 18:26:56 +01:00
Zeno Rogue
13e0f3d077 fixed not compiling without audio 2018-11-11 12:55:11 +01:00
Zeno Rogue
f1b395ce52 moved backbrightness edit to colors; it is based on modelcolor rather than backcolor 2018-11-11 12:55:11 +01:00
Zeno Rogue
7b4028418e arg:: most important dialogs can be launched from command line 2018-11-11 11:27:36 +01:00
Zeno Rogue
02fd627cc5 text improvements; PL translation update; fixed %y0 in Polish 2018-11-11 11:27:36 +01:00
Zeno Rogue
1d0b5878fc left-handed player characters 2018-11-11 11:27:36 +01:00
Zeno Rogue
048bd4ab36 cl parameters and param entries for spiralx and spiraly 2018-11-11 11:27:36 +01:00
Zeno Rogue
cf52faa484 all extra_options in number dialogs now use capital letters to avoid conflicts 2018-11-11 11:27:36 +01:00
Zeno Rogue
4ce6005597 a/b parameters, and parameters referring to each other 2018-11-11 11:27:36 +01:00
Zeno Rogue
d69e952729 animate parameters from the edit dialog 2018-11-11 11:27:36 +01:00
Zeno Rogue
549d86b15d arg:: shift_arg_formula used instead of argf 2018-11-11 11:27:36 +01:00
Zeno Rogue
be51445b77 linepatterns:: width configurable 2018-11-11 11:27:35 +01:00
Zeno Rogue
c3c465f742 customizable colors for game objects 2018-11-11 11:27:29 +01:00
Zeno Rogue
f1b6cc0f48 ringcolor improvements 2018-11-11 11:25:59 +01:00
Zeno Rogue
d1d2a300c4 refactored the degree constant 2018-11-11 11:25:59 +01:00
Zeno Rogue
5978830e01 filled model drawing (for some models) 2018-11-11 11:25:59 +01:00
Zeno Rogue
3f8d17aa0d conformal:: args:: moved some arguments from config.cpp to conformal.cpp 2018-11-11 11:25:59 +01:00
Zeno Rogue
542e80081f conformal:: new models: formula and rotated hyperboles 2018-11-11 11:25:59 +01:00
Zeno Rogue
b6f4220d47 Möbius transformations configurable 2018-11-11 11:25:58 +01:00
Zeno Rogue
8988ea561f commandline option -vlq 2018-11-11 11:25:58 +01:00
Zeno Rogue
0e79a59eee do not allow (generation) with allowChangeRange but no allowIncreasedSight 2018-11-01 21:28:24 +01:00
Zeno Rogue
5bc53b60a9 fixed edit sightrange inside CAP_CONFIG 2018-11-01 20:57:24 +01:00
Zeno Rogue
c4e11f960a added menuitem_sightrange to hyper.h 2018-11-01 20:55:18 +01:00
Zeno Rogue
1ba1b141f3 smart display range 2018-11-01 19:07:50 +01:00
Zeno Rogue
e8e769c2cb arg:: new conformal parameters 2018-10-28 03:09:07 +01:00
Zeno Rogue
b530341841 arg:: ring color, ballangle and topz 2018-10-23 20:09:34 +02:00
Zeno Rogue
a9535878c4 model orientation 2018-10-23 16:58:19 +02:00
Zeno Rogue
3974053b81 a commandline option to set translation 2018-10-01 00:20:08 +02:00
Zeno Rogue
e8361c440d added momory_saving_mode to commandline 2018-09-23 23:53:55 +02:00
Zeno Rogue
12a2a78d8a enabled sightrange increase in Archimedean, also translation of sightrange and better note about additional options 2018-09-21 19:50:18 +02:00
Zeno Rogue
bb05d9ab80 some anim parameters are now saved in config 2018-09-10 19:47:14 +02:00
Zeno Rogue
e4bcae6ae6 dialog::dialogcolor instead of 0xC0C0C0 2018-09-05 15:18:40 +02:00
Zeno Rogue
c08a6bf79a fixed compilation without CAP_EDIT and CAP_CONFIG 2018-08-31 20:59:58 +02:00
Zeno Rogue
6de0f0a8aa instead of nonbitrunc, gp::on and irr::on, there is one variable, variation 2018-08-28 17:17:34 +02:00
Zeno Rogue
f1e16b0233 reduced the default value of irregular density 2018-08-22 11:21:49 +02:00
Zeno Rogue
eb57d160d0 binary_tiling_width parameter 2018-08-14 10:18:18 +02:00
Zeno Rogue
ebe57688ad several features which actually were in 10.4p but not commited 2018-08-09 19:27:52 +02:00
Zeno Rogue
db7ccb47bc texture::texture_area not saved to config without CAP_TEXTURE 2018-08-04 11:14:47 +02:00
Zeno Rogue
7c16a9a32a texture aura option 2018-08-03 10:47:20 +02:00
Zeno Rogue
6068434f2a updated the Polish translation 2018-08-01 13:31:13 +02:00
Zeno Rogue
1b44899624 line quality option 2018-08-01 11:07:22 +02:00
Zeno Rogue
8e1ee8f8d5 added missing XLAT in some places 2018-08-01 04:31:40 +02:00
Zeno Rogue
1e15992a22 added dialog::extra_options, and extra options in number dialogs now use this feature 2018-08-01 03:59:20 +02:00
Zeno Rogue
e27cd9b654 stretch factor in cylindrical equidistant and cylindrical equi-area models 2018-07-30 17:44:11 +02:00
Zeno Rogue
6c0a052470 device orientation-based scrolling on mobiles 2018-07-23 16:17:49 +02:00
Zeno Rogue
bd77680518 no more MAYDARK in showStereo 2018-07-23 16:17:49 +02:00
Zeno Rogue
4d2f79ba95 rewritten the system to display 3D. This fixes the spherical display not working in stereo mode, and is more clean. 2018-07-22 00:39:57 +02:00
Zeno Rogue
4de4d3e640 arg:: split the big if list in config.cpp 2018-07-21 16:58:50 +02:00
Zeno Rogue
81f175a18c moved -wsh from config.cpp to pattern2.cpp 2018-07-20 00:10:10 +02:00
Zeno Rogue
262d6f2a92 mode changes moved to config.cpp 2018-07-20 00:07:30 +02:00
Zeno Rogue
9d682aee45 moved more commandline options to their modules 2018-07-20 00:04:23 +02:00
Arthur O'Dwyer
fbc7cd3212 Fix -Wempty-body warnings on GCC. 2018-07-17 16:53:46 -07:00
Zeno Rogue
566c466b66 loading/saving irregular maps to config and log (and recreate automatically)H 2018-07-17 14:28:49 +02:00
Zeno Rogue
c9f5b1e048 fixed several instances when PTM score would not be recorded when changing modes 2018-07-11 12:25:19 +02:00
Zeno Rogue
770dd20613 shift+f2 to shift+f4 can now disable HUD, FPS, and the map 2018-07-09 18:10:28 +02:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
3881a7dd97 more cleanup with uniformizing the keys for 'back' and 'help' 2018-06-13 00:00:01 +02:00
Zeno Rogue
44affc3e9d resolved conflicts introduced by merging zenorogue/hyperrogue#21 2018-06-12 23:28:06 +02:00
Zeno Rogue
928570d7f1 tactic:: fixed a bug which caused forgetting the PTM game when 'reseting special modes' 2018-06-11 18:13:10 +02:00
Zeno Rogue
4c619e60dd moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library 2018-06-11 01:58:31 +02:00
Zeno Rogue
98246d3066 more cleanup in parameters, restartGame cleanup 2018-06-11 00:58:38 +02:00
Zeno Rogue
14a944c801 resetModes resets specialland 2018-05-27 01:08:24 +02:00
Zeno Rogue
d0dc017ce3 fixed disabling CAP_RUG and CAP_TOUR 2018-05-07 20:09:58 +02:00
Zeno Rogue
e43d630185 geom3:: gp:: autoscaling 2018-04-23 12:34:14 +02:00
Zeno Rogue
2eaff9ac46 conformal:: more precise line animation 2018-04-21 12:12:52 +02:00
Zeno Rogue
295e2b9f82 switchGL() makes sure that a mode is set 2018-04-21 12:02:33 +02:00
Zeno Rogue
f459607a90 gp:: in saved config 2018-04-11 00:53:05 +02:00
Zeno Rogue
ebda963d68 removed no longer productive 'overgenerate', improved the down/up limits of sightrange_bonus 2018-04-10 20:25:56 +02:00
Zeno Rogue
033c626dfc restartGame, wrong mode, and resetModes now use constants instead of magic char names 2018-04-09 18:05:23 +02:00
Zeno Rogue
66a2f41cd6 more exports in hyper.h 2018-04-06 00:31:25 +02:00
Zeno Rogue
229f717678 split sight/game/generation range; bonuses instead of absolute values 2018-04-03 23:34:47 +02:00
Zeno Rogue
b74ca7b4c8 immediate overgeneration 2018-03-27 14:08:56 +02:00
Zeno Rogue
7c84280b73 four new models, Mercator improved 2018-03-26 19:06:47 +02:00
Zeno Rogue
9af2566e5f lower halfplane model added 2018-03-25 15:27:42 +02:00
Zeno Rogue
a10491f3d6 improved the automatic rotation 2018-03-25 15:07:11 +02:00
Zeno Rogue
bcc13536af translation update 2018-03-25 14:04:55 +02:00
Zeno Rogue
14c67bef0b cleanup of conformal/history menu 2018-03-25 14:04:40 +02:00
Zeno Rogue
e24ae3f717 shmup replaced with random special mode in start menu; use current settings in the start menu 2018-03-24 16:00:13 +01:00
Zeno Rogue
d3c9bfdd92 improved the quality of 3D models from conformal menu 2018-03-24 15:15:30 +01:00
Zeno Rogue
c035888b67 [cont] rug ODS fixes 2018-02-27 19:34:29 +01:00
Zeno Rogue
e77a126c81 fixed the descriptions in the stereo vision config; added some previously untranslated texts 2018-02-13 13:37:20 +01:00
Zeno Rogue
64adb6f0ea updated the header comments to 2018, also added the missing ones 2018-02-09 00:40:26 +01:00
Zeno Rogue
2a59ff7ab2 CAP_TOUR guards added, more exported in hyper.h, general cleanup 2018-02-08 22:27:12 +01:00
Zeno Rogue
ad172724e8 made it compile with RUG on emscripten (at least it should -- it does not work for me because of an emscripten bug apparently) 2018-02-03 14:31:17 +01:00
Zeno Rogue
b3f047ea6a reworked 3D vision 2018-02-03 13:41:49 +01:00
Zeno Rogue
b2aa7cb30a reduced min sightrange to 3 2018-02-01 13:43:21 +01:00
Zeno Rogue
0cc80c615b moved to another menu 2018-01-25 20:08:59 +01:00
Zeno Rogue
8713d34d19 'remove faraway cells from the memory' option 2018-01-25 19:49:19 +01:00
Zeno Rogue
1f0c070405 model_distance in rug config 2018-01-20 18:10:12 +01:00
Zeno Rogue
32fa086b4e resetModes works without CAP_RUG 2018-01-20 17:50:13 +01:00
Zeno Rogue
7859455bfb added some declarations to hyper.h 2018-01-14 21:21:32 +01:00
Zeno Rogue
5bf6d54c7d changed chamfered to bitruncated 2018-01-06 22:34:03 +01:00
Zeno Rogue
495dbba809 renamed 'truncated' to 'chamfered' 2018-01-04 18:39:04 +01:00
Zeno Rogue
863f2f9696 elliptic; bugfix 2017-12-27 19:55:00 +01:00
Zeno Rogue
e0ec332602 implemented FOV measure, unified old rug::scale with modeldistance 2017-12-27 18:53:00 +01:00
Zeno Rogue
ae70662495 moving the screen center 2017-12-25 10:26:50 +01:00
Zeno Rogue
e2080cd91e more intuitive file dialogs; texture config saving 2017-12-14 12:10:40 +01:00
Zeno Rogue
1a845e0c3f comments in the config file 2017-12-14 02:49:32 +01:00
Zeno Rogue
3e6baf4e21 improvements to start menu: can be called from main menu; resets all special modes; selecting shmup allows you to configure keys immediately 2017-12-03 19:51:45 +01:00
Zeno Rogue
d6376e1ddf emeraldpattern on a46; fixed/improved darkening when sidedialog not available; pattern dialogs are now sidedialogs 2017-12-03 11:48:02 +01:00
Zeno Rogue
d8a647d972 brightness behind the sphere configurable; works a bit better with transparency now 2017-11-13 12:23:42 +01:00
Zeno Rogue
19f12e3068 HUD elements, including the compass, now drawn correctly in all pmodels 2017-11-13 11:08:06 +01:00
Zeno Rogue
3767c6fd5a fixed a bad letter 2017-11-06 21:14:15 +01:00
Arthur O'Dwyer
43cb9c0bf4 Change every "pop this menu" option text to the two words "go back".
And add translations for "go back", copied from the existing translations
for the word "return".
2017-10-30 18:48:14 -07:00
Arthur O'Dwyer
dae6b9e3d3 Consistently use "space" for the "pop this menu" option in all submenus.
The "pop this menu" option's *text* is still highly variable among all
the different menus, which could make it hard to navigate, but at least
if you're using the keyboard it's now easy to "go back".

Plus, the rogueviz menu incorrectly reported "(v) exit menu" when actually
`v` was already in use by an earlier option. This is now fixed.
2017-10-30 18:48:14 -07:00
Zeno Rogue
ae5938e1a4 renamed the variable 'purehepta' to 'nontruncated' 2017-10-30 12:24:41 +01:00
Zeno Rogue
8639a5b5e9 fontscale is now saved 2017-10-29 12:41:04 +01:00
Zeno Rogue
ab6334974e fixed saving floats on Windows, key conflict on 's' 2017-10-27 20:08:48 +02:00
Zeno Rogue
affd16ca3a another mobile fix 2017-10-17 23:40:28 +02:00
Zeno Rogue
9f48dcf3f6 added an option to disable background particles and to change font size on desktop 2017-10-17 21:26:21 +02:00
Zeno Rogue
6481fd489e fixed the confusion between changing language and sending score to Leaderboards 2017-10-16 00:29:21 +02:00
Zeno Rogue
32edc68a6d added Halloween to start menu and fixed it in quit menu; message log 2017-10-09 10:51:16 +02:00
Zeno Rogue
7384f5ca34 new message styles 2017-10-08 14:49:49 +02:00
Zeno Rogue
921becea59 fixed resetModes to reset firstland and number of players 2017-09-30 11:25:55 +02:00
Zeno Rogue
465089333f Sight range increase is now allowed in some of the special modes (not only the cheat mode) 2017-08-18 02:58:55 +02:00
Zeno Rogue
7c82c3e5a3 fixes to make the Emscripten web version compile correctly 2017-08-13 20:49:38 +02:00
Zeno Rogue
130fefa4c4 10.0g 2017-08-06 14:50:16 +02:00
Zeno Rogue
cc03560389 10.0d 2017-07-25 00:21:36 +02:00
Zeno Rogue
8cb8e2a3ec updated to 10.0c 2017-07-23 01:33:27 +02:00
Zeno Rogue
ce5650a81f 10.0 2017-07-16 23:00:55 +02:00
Zeno Rogue
a6f176510e better mode handling 2017-07-12 19:50:39 +02:00
Zeno Rogue
94efef5d65 further work for 10.0 2017-07-12 18:03:53 +02:00
Zeno Rogue
069f7b0caf Major refactoring, multisampling 2017-07-10 20:47:38 +02:00