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

170 Commits

Author SHA1 Message Date
Arthur O'Dwyer
d606c3183b Replace hr::find_or_null with hr::at_or_null. 2021-07-18 17:43:03 -04:00
Arthur O'Dwyer
74052ef2bf Replace IF_KEY_EXISTS with a plain old function, not a macro. 2021-07-18 17:21:38 -04:00
Zeno Rogue
e567fa2033 IF_KEY_EXISTS used in util.cpp 2021-07-18 12:19:49 +02:00
Zeno Rogue
e9de3ac7d5 Great Walls in bch 2021-07-11 15:07:40 +02:00
Jesse Ruderman
ff7be8d4e0 Add wiki links to land help 2021-07-03 19:38:20 -07:00
Zeno Rogue
5d30ec70d3 increased the z-buffer to 10 MB 2021-05-23 16:00:50 +02:00
Zeno Rogue
b470af5d89 added ignore to prevent warnings 2021-04-07 20:00:49 +02:00
Zeno Rogue
d206656724 rogueviz:: added heatx 2021-04-07 18:15:58 +02:00
Zeno Rogue
b622a7ac42 added file_exists function 2021-04-07 18:13:45 +02:00
Zeno Rogue
953e17722d throw hr_exceptions not strings 2021-03-24 20:25:44 +01:00
Zeno Rogue
95d4e942e2 removed obsolete profiling 2021-03-09 10:45:44 +01:00
Zeno Rogue
dc20dfe648 moved replace_str to util 2021-02-07 22:55:10 +01:00
Zeno Rogue
8c5c8f2c19 util:: parseint function 2021-02-07 22:55:10 +01:00
Zeno Rogue
ea5ee7eefd fixed a crashbug when entering ../ 2021-02-01 13:42:24 +01:00
Zeno Rogue
5bd7dea231 improved help for editable values 2021-02-01 13:42:12 +01:00
Zeno Rogue
298c051beb saver enums 2021-02-01 01:35:34 +01:00
Zeno Rogue
e881f3b8cb parser:: edgelen value 2020-10-15 16:34:07 +02:00
Zeno Rogue
d64c5e338c extra guards 2020-10-15 16:33:52 +02:00
Zeno Rogue
351eda2b5d generalized PSL to ~SL (discrepancies still appear) 2020-07-24 02:30:50 +02:00
Zeno Rogue
6f2e7e90d5 expansion analyzer now can use libgmp for better analysis 2020-07-05 00:55:56 +02:00
Zeno Rogue
89585f004b fixed some guards (in progress) 2020-07-03 14:42:33 +02:00
Zeno Rogue
f2381688c5 parser:: number missing exception now includes where() 2020-06-06 18:42:21 +02:00
Zeno Rogue
3df2f6bf26 arb:: removed some debugs 2020-06-06 18:42:05 +02:00
Zeno Rogue
123b49e0f3 arb:: removed angleofs function, 'legacy' variable for the old behavior 2020-06-06 18:41:36 +02:00
Zeno Rogue
9f9752ee39 parser:: test shows more detailed value 2020-05-31 03:26:39 +02:00
Zeno Rogue
01caa6316f edge_angles function 2020-05-31 03:26:27 +02:00
Zeno Rogue
188596860a ultra_mirror_dist and step values in parser 2020-05-28 01:51:46 +02:00
Zeno Rogue
78871fc736 exp_parser:: fixed a bug with ../ 2020-05-15 11:53:30 +02:00
Zeno Rogue
cc93dd0732 exp_parser:: reals are now validated. Also regangle now accepts complex multiplication and non-integer edges. 2020-05-01 17:23:29 +02:00
Zeno Rogue
99e2d95e82 exp_parser:: fixed skipping whitespace 2020-04-29 15:13:44 +02:00
Zeno Rogue
ee014030fb fixup 2020-04-29 15:13:16 +02:00
Zeno Rogue
7cabb8aaf4 exp_parser:: user-defined variables take precedence 2020-04-29 15:13:09 +02:00
Zeno Rogue
45bffedfbb better error information from arb 2020-04-16 20:59:34 +02:00
Zeno Rogue
ac6548684c parser:: ../ for spline interpolation 2020-04-09 08:09:11 +02:00
Zeno Rogue
64914067dc option ..| to specify animations with sharp changes 2020-04-09 07:46:39 +02:00
Zeno Rogue
cfbd5f830c fixed some warnings and errors with ll to int assignment 2020-04-06 09:13:20 +02:00
Zeno Rogue
e55289e317 exp_parser:: replaced 'return' to 'res = ' (allows adding etc.), changed useless 'cld = rparse' to 'ld = rparse' 2020-03-22 11:27:59 +01:00
Zeno Rogue
32c6228319 arb:: utilities for making Archimedean tilings 2020-03-22 11:27:06 +01:00
Zeno Rogue
62c91688fc removed debug comment 2020-03-07 23:45:16 +01:00
Zeno Rogue
63a770ba3b debug line removed in bignum::randomized_div 2020-03-07 04:47:10 +01:00
Zeno Rogue
70d7fde8d4 clearing:: fixed some bugs when reached too far into the center 2020-03-07 04:47:10 +01:00
Zeno Rogue
8c87f123a0 CAP_ZLIB to tell whether we need ZLIB 2020-02-15 14:10:49 +01:00
Zeno Rogue
f20a6bf2f6 zlib used for (de)compression 2020-01-26 00:30:13 +01:00
Zeno Rogue
572e3cb398 fixed the incorrect negative digits in bignum::randomized_div 2020-01-02 16:57:45 +01:00
Zeno Rogue
12b0169318 circumvent compiler bug 2019-12-27 14:10:02 +01:00
Zeno Rogue
089115ee69 fixed a bug in regradius 2019-12-27 13:11:40 +01:00
Zeno Rogue
ec6ffded34 older compilers 2019-12-27 13:11:31 +01:00
Zeno Rogue
6c61162392 merge 2019-12-26 22:40:41 +01:00
Zeno Rogue
43cba3b071 edge and regradius functions shown 2019-12-26 22:31:22 +01:00
Zeno Rogue
4a7b09b25e regradius function 2019-12-26 22:30:48 +01:00
Zeno Rogue
688021ee1c edge function 2019-12-26 22:29:29 +01:00
Zeno Rogue
e5e4db5ef1 bignum: operator > 2019-12-25 21:50:57 +01:00
Zeno Rogue
35f076a171 conversion from ld to bignum 2019-12-25 21:49:09 +01:00
Zeno Rogue
454024a42c moved bignum to util.cpp 2019-12-25 21:49:09 +01:00
Zeno Rogue
8aede89c24 new parser function: sqrt 2019-12-23 21:49:37 +01:00
Zeno Rogue
4144c2b928 parser:: factored out next_token() 2019-12-23 21:49:17 +01:00
Zeno Rogue
15000034fd parser:: error handling now uses exceptions 2019-12-23 21:44:51 +01:00
Zeno Rogue
a83220c34e parser:: 'deg' as a default constant 2019-12-23 21:18:45 +01:00
Zeno Rogue
bce9dbda7d parser:: convenience functions rparse and iparse 2019-12-23 21:18:35 +01:00
Zeno Rogue
c70c082f36 parser:: skip_white 2019-12-23 21:18:26 +01:00
Zeno Rogue
90c0260d5f parser:: random 2019-11-16 01:39:31 +01:00
Zeno Rogue
4dfa168ce4 parser/texture:: txp function 2019-11-15 13:50:23 +01:00
Zeno Rogue
388ac890bf pattern formula:: wallif function 2019-11-15 13:50:23 +01:00
Zeno Rogue
74a139ca3e Z period in product geometries 2019-11-13 20:48:38 +01:00
Zeno Rogue
b80caa11a6 moved zgmod to util 2019-11-08 14:56:54 +01:00
Zeno Rogue
82f24b4b6c exporting necessary stuff all over (in progress) 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
2c073c1ec1 cleanup of mercator_fix 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
cb666fb24a more header shifting 2019-09-12 22:50:12 +02:00
Zeno Rogue
1c6b8ad3f0 utilities for printing moved to new file hprint.cpp 2019-09-12 22:50:12 +02:00
Zeno Rogue
c2d56fb9bc autohdr.h applied in more files 2019-09-12 22:50:12 +02:00
Zeno Rogue
0054dbc118 utilities:: kz 2019-09-12 22:50:09 +02:00
Zeno Rogue
7ba8b2d680 utilities:: lerp 2019-09-12 22:50:09 +02:00
Zeno Rogue
d864c8cc1e racing:: speedometer 2019-09-12 22:50:05 +02:00
Zeno Rogue
f7d580fa9c replaced fts variants with a single fts 2019-09-12 22:50:02 +02:00
Zeno Rogue
8518f97ded text files are now read with scan(fhstream&...) functions and written with print(...) functions 2019-09-12 22:50:02 +02:00
Zeno Rogue
0386f4179c whatever cont. 2019-09-12 22:43:01 +02:00
Zeno Rogue
6e26508a77 replaced some instances of double to ld, so that everything compiles when ld is redefined to float 2019-09-12 22:43:00 +02:00
Zeno Rogue
b74c2369a0 'shot' value to change shots 2019-09-12 22:42:59 +02:00
?
e39777f04d CAP_ animations etc. cleanup 2019-09-12 22:38:39 +02:00
Zeno Rogue
730e7b5b99 number editor now accepts hex numbers, and uses hex as default when editing Tortoises 2019-02-06 18:48:53 +01:00
Zeno Rogue
34d4223bed new color pattern: formula 2019-02-06 18:48:52 +01:00
Zeno Rogue
9de7aa27c5 parser:: extra functions: to01 and ifp 2019-02-06 18:48:52 +01:00
Zeno Rogue
460eb19881 implemented new geometries: cylinder and (only one for now) Mobius band 2018-12-11 22:10:53 +01:00
Zeno Rogue
2fa265ac10 implemented a better system for logging and binary output 2018-11-24 21:23:02 +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
e95d5ea215 formulas now can refer to mouse position 2018-11-11 11:27:36 +01:00
Zeno Rogue
2d87ca4798 floor and frac functions 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
0a198a2ab5 parser: s and ms are always accepted 2018-11-11 11:25:59 +01:00
Zeno Rogue
d1f6b1fff3 help for formula parser 2018-11-11 11:25:59 +01:00
Zeno Rogue
55fdd25a6c formula parser now understands complex numbers, and some extra functions including let(x=2, x*x) 2018-11-11 11:25:58 +01:00
Zeno Rogue
0a54e56950 graph drawing in RogueViz 2018-10-23 17:07:42 +02:00
Zeno Rogue
acae962b13 appears now uses simplified parameters 2018-09-28 01:49:56 +02:00
Zeno Rogue
34921e983e fixed unary minus in number parser 2018-09-23 16:34:53 +02:00
Zeno Rogue
7da2b7e9a1 argf now parses the given argument 2018-09-10 19:28:12 +02:00
Zeno Rogue
6c6dd85994 fixed a bug which crashed spherical Archimedean tilings on Windows. Also more statistics on Archimedean tilings. 2018-08-23 01:52:29 +02:00
Zeno Rogue
7bae01c168 synt:: replaced the combinatorial building process with floating-point-based one for hyperbolic geometry too 2018-08-19 00:27:20 +02:00