1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-09 15:39:55 +00:00
Commit Graph

308 Commits

Author SHA1 Message Date
Zeno Rogue
8f4a0935b9 more XLAT refactoring, and preparation for gentrans.cpp 2021-05-23 16:00:50 +02:00
Zeno Rogue
0f767e16b6 XLAT refactor continued 2021-05-23 16:00:50 +02:00
Zeno Rogue
c0002da574 refactored some XLAT calls for automated analysis, fixing some bugs on the way 2021-05-23 16:00:50 +02:00
Zeno Rogue
4da935a4e2 fixed switching to 2d field quotient after 3d field quotient, and refactored 2021-04-23 20:10:06 +02:00
Zeno Rogue
2884ae17bc land selection now automatically changes land_structure for Crossroads and Canvas/Asteroids 2021-04-12 13:58:04 +02:00
Zeno Rogue
4b1b0516f3 choice of the land structure 2021-04-11 22:15:40 +02:00
Zeno Rogue
35ae9bf34a a separate, nicer field_quotient_3d function 2021-04-07 18:15:58 +02:00
Zeno Rogue
f56b15a5ee edit_stretch function 2021-04-07 18:15:58 +02:00
Zeno Rogue
5a73510c4f added some guards for MAXMDIM >= 4 and CAP_SOLV 2021-03-30 11:27:48 +02:00
Zeno Rogue
c41d1e173c nil:: edit nilwidth via menu 2021-03-21 12:51:50 +01:00
Zeno Rogue
6e942e98f5 fieldpattern:: now can work with triplets 2021-03-08 13:30:55 +01:00
Zeno Rogue
115f326d5c removed unnecessary extern 2021-02-01 17:15:25 +01:00
Zeno Rogue
81d9fe9e73 config:: menuitem_binary_width 2021-02-01 17:14:28 +01:00
Zeno Rogue
3860e7a81d remember recent setting changes, and other improvements 2021-02-01 15:10:03 +01:00
Zeno Rogue
d64c5e338c extra guards 2020-10-15 16:33:52 +02:00
Zeno Rogue
b74509c95a Five new projections: Poor Man (hyperbolic only), Panini, retroazimuthal: Craig, Hammer, Littrow (retro-Hammer buggy on sphere) 2020-10-08 18:22:28 +02:00
Zeno Rogue
4bddeedaf8 draw crosshair even if nohud 2020-08-08 16:05:28 +02:00
Zeno Rogue
269a65862f crash fixed in geom-exp menu 2020-07-24 16:20:49 +02:00
Zeno Rogue
7d7fe85199 slr:: fixes in ~SL quotients: auto disc_quotient, underlying spaces drawn correctly, comment in period selector 2020-07-24 16:20:27 +02:00
Zeno Rogue
351eda2b5d generalized PSL to ~SL (discrepancies still appear) 2020-07-24 02:30:50 +02:00
Zeno Rogue
4798bf99fd 'faces per vertex' in inverse variations 2020-07-23 13:11:52 +02:00
Zeno Rogue
f90cd66710 world size in new variations 2020-07-23 13:02:25 +02:00
Zeno Rogue
7e85f07458 primitive rendering now implemented for stretched H2xE; removed the old implementation of SL(2,R) 2020-07-22 00:19:13 +02:00
Zeno Rogue
1f1e7d9bbf inverse tessellation operators 2020-07-12 21:39:34 +02:00
Zeno Rogue
5c85f22ef3 the -to-fq option allows specifying prime 2020-07-07 22:25:09 +02:00
Zeno Rogue
436fe7f367 expansion in reg3::in_rule() activable 2020-07-07 22:23:20 +02:00
Zeno Rogue
b55503dc9f arb:: sliders 2020-06-02 02:29:31 +02:00
Zeno Rogue
a8a0805b6f added some missing MAXMDIM guards 2020-05-31 17:21:16 +02:00
Zeno Rogue
bac89fb9f9 fake:: new config options, changed option name, seen in menu when available, prevent cheat 2020-05-31 16:44:44 +02:00
Zeno Rogue
c6f2391033 added addBack() in showQuotientConfig 2020-05-29 01:53:39 +02:00
Zeno Rogue
384a6bb806 to -to-fq added cgi.require_basics() 2020-05-28 01:52:03 +02:00
Zeno Rogue
4217c7ccc7 reg3:: ultra-mirrors 2020-05-28 01:50:00 +02:00
Zeno Rogue
4c3703026f prime shown in showQuotientConfig3 2020-05-28 01:41:17 +02:00
Zeno Rogue
67bf4586ac fake:: available from the menu 2020-05-16 02:15:34 +02:00
Zeno Rogue
eb296636e6 affine geometry name now displayed correctly 2020-05-15 23:50:27 +02:00
Zeno Rogue
470c4aed3d GOLDBERG world size no longer crashes the game in geom-exp 2020-05-15 17:30:21 +02:00
Zeno Rogue
81a60b6f17 do not show deprecated geometries in select_quotient_screen() 2020-05-15 11:46:50 +02:00
Zeno Rogue
1b96658a05 fake curvature 2020-05-15 11:46:26 +02:00
Zeno Rogue
29c7faa264 stretch < -1 (seems not to be working correctly) 2020-05-09 18:33:37 +02:00
Zeno Rogue
4e13e05d6a advanced parameters easier to set for acm and crystal 2020-05-09 18:29:09 +02:00
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