1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 09:30:35 +00:00
Commit Graph

147 Commits

Author SHA1 Message Date
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
Zeno Rogue
ce08ec2a1f improved SDL_GetTicks without SDL, and getticks() replaced with it 2018-07-23 16:17:49 +02:00
Zeno Rogue
9d682aee45 moved more commandline options to their modules 2018-07-20 00:04:23 +02:00
Zeno Rogue
56baba800b moved more includes to sysconfig.h 2018-06-12 23:10:20 +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
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
7685868fb2 Hypersian Rug now works with other tori/Klein bottles 2017-12-28 18:39:49 +01:00
Zeno Rogue
11569c693d big change: more configuration for the torus (and also Klein bottle) 2017-12-28 16:46:10 +01:00
Zeno Rogue
b5377610ba ctrl to rotate around 2017-12-27 19:10:34 +01:00
Zeno Rogue
d3e8cd37e2 new items in the Hypersian Rug menu 2017-12-27 15:25:10 +01:00
Zeno Rogue
04cc9300bf four digits shown in pen width 2017-12-22 21:58:09 +01:00
Zeno Rogue
36998c9a40 gcd 2017-12-14 02:52:00 +01:00
Zeno Rogue
17a1682e83 rearranged init.cpp/hyper.h/classes.h/classes.cpp 2017-10-29 12:19:33 +01:00
Zeno Rogue
ab6334974e fixed saving floats on Windows, key conflict on 's' 2017-10-27 20:08:48 +02:00
Zeno Rogue
130fefa4c4 10.0g 2017-08-06 14:50:16 +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
069f7b0caf Major refactoring, multisampling 2017-07-10 20:47:38 +02:00
Zeno Rogue
51f2ff9d4a fixes for Pandora 2017-03-25 02:10:15 +01:00
Zeno Rogue
58e053f183 Updated the source files to 9.4c 2017-03-23 11:53:57 +01:00