1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00
Commit Graph

318 Commits

Author SHA1 Message Date
Zeno Rogue
fd9ea8793e stretch:: renamed rots_twist to stretch, also implemented for slr 2020-05-09 10:41:15 +02:00
Zeno Rogue
36b255e459
Merge pull request #101 from Quuxplusone/translations
langen: Handle repeated strings better.
2020-04-19 13:40:51 +02:00
Zeno Rogue
44cfe1af59 rug:: nonisotropic native geometry 2020-04-17 17:17:22 +02:00
Zeno Rogue
7c9e37031e added missing MAXMDIM guards in fieldpattern 2020-04-17 15:36:32 +02:00
Zeno Rogue
0472bf764f moved all projection-related parameters to a special struct; another copy of that struct created for rug 2020-04-17 00:53:58 +02:00
Zeno Rogue
1688bfcfb0 compute Euler characteristics when worldsize known 2020-04-11 00:41:48 +02:00
Zeno Rogue
29bc05552a arb:: cannot be chosen in mobile/web 2020-04-06 09:13:20 +02:00
Arthur O'Dwyer
8564e53d08 langen: Handle repeated strings better.
If a translation file contains two copies of the same English string,
with the same translation, then we don't care at all; just throw out
the second copy.

If a translation file contains two copies of the same English string,
with DIFFERENT translations, then (according to how the game does
translation) one of those translations must be inappropriate. Give
a warning in that case; and again, throw out the second copy because
we are forced to pick ONE translation for use within the game.

Also fix some minor typos I noticed in the strings.
2020-03-31 15:48:03 -04:00
Zeno Rogue
a0abb831f3 typo fixes 2020-03-07 23:44:00 +01:00
Zeno Rogue
f84f51e972 new utility functions: (de)serialize, as_cstring 2020-03-07 04:47:10 +01:00
Zeno Rogue
fa64573971 fixed the thread locking 2020-01-28 17:58:55 +01:00
Zeno Rogue
b58138cd94 fieldpattern:: load found solutions from shstreams 2020-01-28 17:58:55 +01:00
Zeno Rogue
5382038c4e field quotient discovery 2020-01-16 17:13:57 +01:00
Zeno Rogue
cd98e0314c deprecated gTorus, gField435 and gField534 2020-01-16 17:13:47 +01:00
Zeno Rogue
59a9605b13 arb::relative_matrix 2020-01-16 17:13:37 +01:00
Zeno Rogue
2ec37a4a6d Steam rich presence 2020-01-06 22:03:45 +01:00
Zeno Rogue
b70e68c574 change Crystal settings when Crystal is selected from quotient spaces 2020-01-02 17:20:26 +01:00
Zeno Rogue
ce2d8d3d29 arb:: selectable in geom-exp 2019-12-27 02:08:04 +01:00
Zeno Rogue
3afae980fd arb:: comment displayed in geom-exp 2019-12-27 02:07:44 +01:00
Zeno Rogue
e6c0504beb geom-exp: do not show faces per vertex in kd2 and arb 2019-12-27 01:45:58 +01:00
Zeno Rogue
15fe6c1aee no variations for arbi 2019-12-27 01:45:38 +01:00
Zeno Rogue
3d4b7a074a geom-exp: in info about, 'pure' is no longer displayed when no variations available 2019-12-27 01:45:24 +01:00
Zeno Rogue
7d96ea9c54 fixed 'faces per vertex' display for gBinary4 and gTernary 2019-12-27 01:44:52 +01:00
Zeno Rogue
6c61162392 merge 2019-12-26 22:40:41 +01:00
Zeno Rogue
0b7faa4b46 adjacency rule now also affects: slime spill, storms, heat, dry, live caves 2019-12-26 19:04:32 +01:00
Zeno Rogue
769982040d renamed solnihv:: to sn:: and solnih to sn::in() 2019-12-14 12:28:45 +01:00
Zeno Rogue
8cfc5a578f renamed penrose.cpp to kite.cpp and 'penrose' to 'kite::in()' 2019-12-14 12:12:24 +01:00
Zeno Rogue
d5c8aebf16 renamed binary:: to bt:: and binarytiling to bt::in() 2019-12-14 12:05:01 +01:00
Zeno Rogue
f772f9b7fd replaced 'archimedean' with 'arcm::in()' 2019-12-14 11:57:23 +01:00
Zeno Rogue
d529449999 arbitrary tilings 2019-12-14 11:57:23 +01:00
Zeno Rogue
0a9ec78c18 remplace euclid6, euclid4, 'euclid && \!archimedean && \!penrose' with standard_tiling(), euc::in(dimension, s7) 2019-12-14 11:57:23 +01:00
Zeno Rogue
e8a39e6663 replaced euclid3:: with euc:: 2019-12-08 11:01:28 +01:00
Zeno Rogue
ddb5d07ff6 cleanup in Euclidean 2019-12-08 10:59:09 +01:00
Zeno Rogue
17cd694952 improved CA simulator 2019-12-07 11:12:46 +01:00
Zeno Rogue
1341ab025b removed gTorus from select_tiling list 2019-11-30 18:06:48 +01:00
Zeno Rogue
42a41835dc product config dialog 2019-11-30 18:06:48 +01:00
Zeno Rogue
f3c97f9342 product:: works with Euclidean 2019-11-30 18:06:48 +01:00
Zeno Rogue
a854bbd5c6 optional quotient spaces are no longer prevented from appearing in lists 2019-11-30 18:06:47 +01:00
Zeno Rogue
4cb9980c58 world size for Euclidean 2019-11-30 18:06:47 +01:00
Zeno Rogue
1cba452f07 rewritten the Euclidean geometry 2019-11-30 18:06:47 +01:00
Zeno Rogue
3f76943453 geomexp:: if you are in elliptic geometry, elliptic variants will appear on the list 2019-11-30 18:03:00 +01:00
Zeno Rogue
1b8d9a5a24 geomexp:: dimension shown in geometry choice 2019-11-30 18:03:00 +01:00
Zeno Rogue
e60e21b923 geomexp:: more intuitive geometry selection 2019-11-30 18:03:00 +01:00
Zeno Rogue
6a1523e95e removed the no longer used geometry lists 2019-11-30 18:03:00 +01:00
Zeno Rogue
efa22ac125 fixed specifying -tparx SingleHex 2019-11-22 19:47:31 +01:00
Zeno Rogue
6ea7698304 torus:: allowed one-wide tori 2019-11-22 19:47:11 +01:00
Zeno Rogue
95e2c860f4 CLI option -fi-at 2019-11-22 14:00:22 +01:00
Zeno Rogue
4333acf54d more elegant advanced field parameters 2019-11-17 13:47:13 +01:00
Zeno Rogue
82083ba83d fieldpattern:: made the prime lists equal -- 6 primes 2019-11-17 13:46:42 +01:00
Zeno Rogue
6f541c0a3e field quotient generalized 2019-11-17 13:35:07 +01:00
Zeno Rogue
ad501869f1 added some missing guards 2019-11-15 14:52:21 +01:00
Zeno Rogue
74a139ca3e Z period in product geometries 2019-11-13 20:48:38 +01:00
Zeno Rogue
c7f735f3ac asonov:: correct geometry shown 2019-11-09 12:32:21 +01:00
Zeno Rogue
93e8d6f92a asonov:: affected by binary_width 2019-11-09 12:00:44 +01:00
Zeno Rogue
add037d4e8 asonov:: changed direct checking of gArnoldCat to asonov::in() 2019-11-08 15:34:51 +01:00
Zeno Rogue
d199411248 new tiling: Arnold's cat 2019-11-08 15:01:03 +01:00
Zeno Rogue
bde53b5c78 fixup 2019-11-02 10:37:23 +01:00
Zeno Rogue
72b52e178f underlying space view is now available in product space 2019-10-28 17:26:59 +01:00
Zeno Rogue
fd8f363b8f nil:: quotient spaces 2019-10-25 08:52:18 +02:00
Zeno Rogue
7246605329 do not do walls if walls not implemented 2019-10-12 13:47:41 +02:00
Zeno Rogue
db6203b5db added ssol and shyp geodesic files to repo; removed hiding from ge_select_tiling 2019-10-05 18:55:11 +02:00
Zeno Rogue
0b629c7bb2 option -geo now accepts short names 2019-10-05 18:53:51 +02:00
Zeno Rogue
cfc36c7bda fisheye and ball models in nonisotropic spaces 2019-10-05 12:34:14 +02:00
Zeno Rogue
f94a262d71 fixed geometry_name() for NIH 2019-10-03 20:24:27 +02:00
Zeno Rogue
558d5596af removed WIP geometries from the menu 2019-10-03 20:13:04 +02:00
Zeno Rogue
d6ab96f821 non-isotropic hyperbolic space 2019-10-01 05:03:46 +02:00
Zeno Rogue
a47be2f89f fixed more warnings 2019-09-13 19:36:16 +02:00
Zeno Rogue
2a950369ba solv:: CAP_SOLV 2019-09-13 17:45:31 +02:00
Zeno Rogue
bfa29e6d47 improved some messages 2019-09-12 22:50:16 +02:00
Zeno Rogue
d1bf6fef5e replaced product::product_sphere() 2019-09-12 22:50:16 +02:00
Zeno Rogue
dbc95ed7a4 refactored geometry_name() 2019-09-12 22:50:16 +02:00
Zeno Rogue
d5a99e67e0 more intuitive tiling selection 2019-09-12 22:50:16 +02:00
Zeno Rogue
8078e5903d fixed 'view the underlying' option for older compilers 2019-09-12 22:50:16 +02:00
Zeno Rogue
e628465eaa replaced "NO" with ONOFF for translation 2019-09-12 22:50:16 +02:00
Zeno Rogue
f8963a1c75 rots:: show the underlying geometry 2019-09-12 22:50:16 +02:00
Zeno Rogue
e600c0af0a improved the rendering of S2xE rings 2019-09-12 22:50:16 +02:00
Zeno Rogue
848eb8f48b export everything: modules compiled separately 2019-09-12 22:50:16 +02:00
Zeno Rogue
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +02:00
Zeno Rogue
c766e27bf2 geodesic movement cannot be disabled in SL 2019-09-12 22:50:15 +02:00
Zeno Rogue
88c1e0444b correct world sizes for rotspaces, also number of levels shown 2019-09-12 22:50:15 +02:00
Zeno Rogue
f6f37b1e45 Archimedean precise analyzer 2019-09-12 22:50:15 +02:00
Zeno Rogue
2e066c106c renamed gSL2 to gRotSpace 2019-09-12 22:50:15 +02:00
Zeno Rogue
d046211a9c better flagging of geometries, and isometry spaces nicely selectable 2019-09-12 22:50:15 +02:00
Zeno Rogue
a0140254c8 slr:: works with bitruncated tilings (Archimedean not tested) 2019-09-12 22:50:15 +02:00
Zeno Rogue
3c254e7f55 PSL2 in geometry list 2019-09-12 22:50:15 +02:00
Zeno Rogue
136b931609 PSL(2,R) 2019-09-12 22:50:15 +02:00
Zeno Rogue
a03eb0d913 fixed new geometry handling for Archimedean 2019-09-12 22:50:15 +02:00
Zeno Rogue
1a1725dec8 product:: selectable from menu 2019-09-12 22:50:14 +02:00
Zeno Rogue
6958cbcbd9 product:: preliminary version (no turning) 2019-09-12 22:50:13 +02:00
Zeno Rogue
96bf478482 renamed DIM to GDIM 2019-09-12 22:50:13 +02:00
Zeno Rogue
8b1c7bffe4 initial reformatting of comments for Doxygen 2019-09-12 22:50:13 +02:00
Zeno Rogue
0ef57dde15 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
ad03115097 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
5ea055b39e split namespace conformal into models and history 2019-09-12 22:50:12 +02:00
Zeno Rogue
a423dbd2da more header cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
956b820d6e Nil selectable in geom-exp 2019-09-12 22:50:12 +02:00
Zeno Rogue
23e147a731 nilv:: projection names 2019-09-12 22:50:12 +02:00
Zeno Rogue
4f27b12ca2 nilv:: preliminary implementation 2019-09-12 22:50:11 +02:00
Zeno Rogue
3605a7a4e1 geom-exp:: geometryclass constant names used 2019-09-12 22:50:11 +02:00
Zeno Rogue
ca3ad7af82 showEuclideanMenu fixup add/action 2019-09-12 22:50:09 +02:00
Zeno Rogue
c97ab10700 pushed unimplemented Product 2019-09-12 22:50:09 +02:00
Zeno Rogue
598603c937 geodesics in Sol 2019-09-12 22:50:09 +02:00
Zeno Rogue
877067e84c Sol in the list of 3D geometries 2019-09-12 22:50:09 +02:00
Zeno Rogue
cf496e8940 kite-and-dart tiling 2019-09-12 22:50:09 +02:00
Zeno Rogue
946570da31 moved zpush from 3dmodels to hyperpoint 2019-09-12 22:50:09 +02:00
Zeno Rogue
2d30f3830c standard binary tiling, also improved the looks of variant binary tiling, and optimized shvid for pure 2019-09-12 22:50:09 +02:00
Zeno Rogue
380a8e8eda dual::mayboth when changing geometry 2019-09-12 22:50:07 +02:00
Zeno Rogue
2b2c07a0e7 removed 'work in progress' messages 2019-09-12 22:50:07 +02:00
Zeno Rogue
bc8da03ce0 dual:: a system to change parameters in one of the two maps, currently used only in ge_land_selection 2019-09-12 22:50:03 +02:00
Zeno Rogue
b6e303ec7d MAJOR refactoring: all geometry-dependent data (tessf, geom3::, shapes, hpc) are now contained in a structure 2019-09-12 22:50:03 +02:00
Zeno Rogue
f2fd4c12c2 fixed a crash with the -tparx option 2019-09-12 22:50:03 +02:00
Zeno Rogue
f7d580fa9c replaced fts variants with a single fts 2019-09-12 22:50:02 +02:00
Zeno Rogue
21f801d691 Hypersian Rug forbidden when using 3D engine 2019-09-12 22:50:00 +02:00
Zeno Rogue
da49e6c8de 2d3d:: textures on sidewalls 2019-09-12 22:43:01 +02:00
Zeno Rogue
1c4d86e0e9 3D graphics in 2D (first commit) 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
c0145c0d9c 3d:: Euclidean tori 2019-09-12 22:42:59 +02:00
Zeno Rogue
039118425c 3D:: alternate minefield adjacency rule 2019-09-12 22:42:59 +02:00
Zeno Rogue
9b7ad345a9 mine adjacency rule can be changed (in 2D for now) 2019-09-12 22:42:59 +02:00
Zeno Rogue
0f0b491939 fixed invalid bitruncation in torus geometries 2019-09-12 22:42:59 +02:00
Zeno Rogue
fc1e33f245 Space Rocks are now accessible 2019-09-12 22:42:58 +02:00
Zeno Rogue
2cfb35c671 more fixes 2019-09-12 22:42:58 +02:00
Zeno Rogue
ac302500e0 fixup parameter order in 'number of mines' 2019-09-12 22:42:58 +02:00
Zeno Rogue
0929128171 no more Euler warning in 3D 2019-09-12 22:42:58 +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
f6a1e445a2 'advanced parameters' display where they should 2019-09-12 22:42:58 +02:00
Zeno Rogue
3f941cabb0 improved model naming a bit 2019-09-12 22:38:47 +02:00
Zeno Rogue
46ae64e945 3d:: native perspective is now pmodel == mdPerspective, and other models work too 2019-09-12 22:38:47 +02:00
Zeno Rogue
d369decc94 3d:: field quotient spaces for reg3 2019-09-12 22:38:46 +02:00
Zeno Rogue
6afa1f1fa0 3d:: gHoroTris on the list 2019-09-12 22:38:45 +02:00
Zeno Rogue
0a0627afc5 selecting horocyclic lands in standard geometry works 2019-09-12 22:38:45 +02:00
Zeno Rogue
d8428f2ec3 crystal::3d:: transformation 2019-09-12 22:38:44 +02:00
Zeno Rogue
76f3df1320 CLI option -geo recognizes menu_displayed_names 2019-09-12 22:38:44 +02:00
Zeno Rogue
aebc5dd693 added a text that 3D geometries are a work in progress 2019-09-12 22:38:43 +02:00
Zeno Rogue
52ce5ac9aa 3d:: all the regular honeycombs 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
?
e3a9ebc468 3D:: geometry menu shows 3D config instead of projections 2019-09-12 22:38:42 +02:00
?
3cf1236a0a 3d:: 3D geometries selectable from Geometry Experiments 2019-09-12 22:38:40 +02:00
?
7110be2032 3D:: cube tiling 2019-09-12 22:38:40 +02:00
?
d08e58f404 3d:: 2D/3D is now selectable at runtime 2019-09-12 22:38:40 +02:00
?
c5a771c888 CAP_FIELD part 1 2019-09-12 22:38:39 +02:00
?
b25730d5c9 geometry flags part 1 2019-09-12 22:38:39 +02:00
Zeno Rogue
f546bba84a fixes for mobile 2019-02-08 16:57:19 +01:00
Zeno Rogue
fd9fca6129 redesigned the Experiment with Geometry menu 2019-02-08 16:55:00 +01:00
Zeno Rogue
2407efc313 Camelot unlocked in geom-exp with treasure >= 1 2019-02-06 18:48:52 +01:00
Zeno Rogue
5d01ac0732 text improvements, PL/CZ translation update 2018-12-14 19:30:54 +01:00
Zeno Rogue
4f9e9c2e47 added sm::MAYDARK to some dialogs 2018-12-14 19:30:22 +01:00
Zeno Rogue
05d138ff69 prevented uninitialized variable warning 2018-12-14 19:27:12 +01:00