1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-16 02:04:48 +00:00
Commit Graph

549 Commits

Author SHA1 Message Date
Zeno Rogue
5079df3679 version 11.0 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
e4939ad8d4 racing:: achievements/leaderboards 2019-09-12 22:38:38 +02:00
Zeno Rogue
7c84d2e554 achievements/leaderboards for the new lands/modes 2019-09-12 22:38:38 +02:00
Zeno Rogue
5598bf3e08 brownian:: nicer finding, and theme/balance improvements 2019-09-12 22:38:38 +02:00
Zeno Rogue
dda147c173 newlands:: wandering monsters in Brownian and Variant 2019-04-29 17:19:06 +02:00
Zeno Rogue
d65c41db12 racing::add_debug 2019-04-29 17:19:06 +02:00
Zeno Rogue
2bc66342dd newlands:: implemented new Orbs: Gravity, Intensity, Choice 2019-04-29 17:19:06 +02:00
Zeno Rogue
6d392ce07e westwall:: initial commit 2019-04-29 17:19:06 +02:00
Zeno Rogue
724d3516fa variant:: first version 2019-04-29 17:19:05 +02:00
Zeno Rogue
490ee83f3a racing:: with CAP_RACING off, no warning on unused variable racing::on 2019-04-29 17:19:05 +02:00
Zeno Rogue
cd01e6bbf1 racing:: made the current version compile without CAP_RACING 2019-04-29 17:19:05 +02:00
Zeno Rogue
29c0b899dc racing:: track selection; can be now set as a special game mode 2019-04-29 17:19:05 +02:00
Zeno Rogue
c67d7e06c6 racing:: remembering ghost, track selection (with times), completion percentage shown 2019-04-29 17:19:05 +02:00
Zeno Rogue
27011f1cf0 racing:: measuring times 2019-04-29 17:19:05 +02:00
Zeno Rogue
410c05554c racing:: fixed some lands for racing 2019-04-29 17:19:05 +02:00
Zeno Rogue
d5ce7dc30b racing:: improved Euclidean track generation 2019-04-29 17:19:05 +02:00
Zeno Rogue
16a5e45c0a racing:: first commit 2019-04-29 17:19:05 +02:00
Zeno Rogue
74ad8ea135 brownian:: more serious work 2019-04-29 17:19:05 +02:00
Arthur O'Dwyer
9471ac4ff5 Rearrange some macros. No functional change intended. 2019-02-08 18:18:56 -05: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
952f1c44fe minor fixes to color handling 2019-02-06 18:54:29 +01:00
Arthur O'Dwyer
87240cf990 Replace std::function with hyper_function for a 37% speedup in compile time.
Before:

    time c++ -O2 -DMAC -I/usr/local/include -std=c++11 -march=native
             -W -Wall -Wextra -Werror -pedantic -Wno-format-pedantic
             -Wno-missing-field-initializers -Wno-unused-parameter
             -DCAP_GLEW=0 -DCAP_PNG=0    -c hyper.cpp -o hyper.o

    real 2m22.508s
    user 2m20.625s
    sys  0m1.648s

After:

    time c++ -O2 -DMAC -I/usr/local/include -std=c++11 -march=native
             -W -Wall -Wextra -Werror -pedantic -Wno-format-pedantic
             -Wno-missing-field-initializers -Wno-unused-parameter
             -DCAP_GLEW=0 -DCAP_PNG=0    -c hyper.cpp -o hyper.o

    real 1m30.515s
    user 1m29.793s
    sys  0m0.689s

Comparing object file size:

    -rw-r--r--  1 ajo  staff  8215036 Jan  5 20:46 old-hyper.o
    -rw-r--r--  1 ajo  staff  7538072 Jan  5 20:47 new-hyper.o

Comparing number of symbols:

    nm old-hyper.o | wc -l  => 12590
    nm new-hyper.o | wc -l  =>  9742

No appreciable difference in link time; the linker takes less than
half a second in either case.
2019-02-06 18:48:53 +01:00
Zeno Rogue
94ce1eb541 fixed_facing option, not only in racing 2019-02-06 18:48:53 +01:00
Zeno Rogue
92d98847fb fixed the issue with Orb of Aether being marked as used due to Minefield uncovering 2019-02-06 18:48:53 +01: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
78adac4e10 an option to disable wandering monsters; settings (reptilecheat, autocheat, safety etc) configurable in map editor; save items/kills and some other settings 2019-02-06 18:48:53 +01:00
Zeno Rogue
645e4fa56c shift+G screen is now editable 2019-02-06 18:48:52 +01:00
Zeno Rogue
7a589090d3 texture:: texture ghosts are now shown correctly 2019-02-06 18:48:52 +01:00
Zeno Rogue
9ccf82d9dc texture:: 'paint textures' in main menu now starts Canvas automatically 2019-02-06 18:48:52 +01:00
Zeno Rogue
d3a3d4df5e crystal:: coordinate computation is exported now 2019-02-06 18:48:52 +01:00
Zeno Rogue
c2dc4c8708 PHASE no longer needs using namespace arg 2019-02-06 18:48:52 +01:00
Zeno Rogue
74693f43e7 fixed crashes on the sphere 2019-02-06 18:48:52 +01:00
Zeno Rogue
3317e95bfb cellcount counted correctly 2019-02-06 18:48:52 +01:00
Zeno Rogue
b0b783b581 tailored_delete used for deleting cells and heptagons, so that there is no delete/delete[] mismatch 2019-02-06 18:48:52 +01:00
Zeno Rogue
e52f6a9bcb cleaned up geometry achievements, and added Crystal Camelot 2019-02-06 18:48:35 +01:00
Zeno Rogue
39ce061fa7 use_atan configurable for RotatedHyperboles 2019-02-06 16:39:08 +01:00
Zeno Rogue
b90e3a4ed2 improved reptilecheat 2019-02-06 16:37:35 +01:00
Zeno Rogue
3d76e90584 conical spirals and bands 2019-02-06 16:36:52 +01:00
Zeno Rogue
e2b262979b startgame animations 2019-02-06 16:36:52 +01:00
Zeno Rogue
cd001102f8 fixed bug in write_chars 2018-12-15 15:16:11 +01:00
Zeno Rogue
a18570f77a 10.4d 2018-12-14 19:30:54 +01:00
Zeno Rogue
db69276264 geometry specifics in mode code 2018-12-14 19:30:54 +01:00
Zeno Rogue
8a677c28fa inlines 2018-12-14 19:30:54 +01:00
Zeno Rogue
5d01ac0732 text improvements, PL/CZ translation update 2018-12-14 19:30:54 +01:00
Zeno Rogue
f22ec08f86 Warnings when hitting an ally. Better warnings 2018-12-14 19:30:54 +01:00
Zeno Rogue
4370a18763 added background to svg if transparent not set 2018-12-14 19:30:54 +01:00
Zeno Rogue
8ba603fba3 svg:: circles now have better linewidth 2018-12-14 19:30:22 +01:00
Zeno Rogue
473cd89d76 print walkers 2018-12-14 19:30:22 +01:00
Zeno Rogue
8d1e341555 web:: 'take screenshot' feature now creates a SVG file and opens it in a new window 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
f135ad54a7 fixed save format incompatibility in map editor 2018-12-14 19:27:12 +01:00
Zeno Rogue
86c9f84df8 now compiles in C++11 2018-12-14 19:27:12 +01:00
Zeno Rogue
ebfd17f6a1 10.5b 2018-12-14 19:27:12 +01:00
Zeno Rogue
b256ac70af improved key handling: numpad works as directions with numlock off and numbers with numlock on; shift+5 works now; better key assignments in crystal rug 2018-12-14 19:27:12 +01:00
Zeno Rogue
9b21b9c5a0 improved key handling: shift+5 works now, and better key assignments in crystal rug 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
285211bcf3 invalid_point functions, and using them in smart_range and queuestr/chr 2018-12-14 19:27:12 +01:00
Zeno Rogue
0d558cb0e1 build_shortest_path function 2018-12-14 19:27:12 +01:00
Zeno Rogue
5221ac07a3 crystal:: celldist(ance) gives precise distance, heptdistance gives imprecise one 2018-12-14 19:27:12 +01:00
Zeno Rogue
05df60ae70 more lands implemented for cylinders 2018-12-14 19:27:12 +01:00
Zeno Rogue
aa1b102b78 crystal::rug:: correct centering 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
3e747a2d9d compass probability now can be changed from menu/commandline 2018-12-14 19:27:12 +01:00
Zeno Rogue
46256155d7 crystal:: compass generation 2018-12-14 19:27:12 +01:00
Zeno Rogue
79e396c742 crystal:: computing Round Table sizes (not tested) 2018-12-14 19:27:12 +01:00
Zeno Rogue
c4fae9dfef correct get_coord in Goldberg 2018-12-14 19:27:11 +01:00
Zeno Rogue
92eaf96930 crystal:: 3D mode works from the Rug menu, and linked to from its menu 2018-12-14 19:27:11 +01:00
Zeno Rogue
bc90d0a51a crystal:: now selectable from the geom exp menu 2018-12-14 19:27:11 +01:00
Zeno Rogue
d506c73571 crystal:: animates correctly 2018-12-14 19:27:11 +01:00
Zeno Rogue
50f37a6b63 crystal:: started working on lands (Camelot done) and distances 2018-12-14 19:27:11 +01:00
Zeno Rogue
000f271552 refactored buildCamelot as a separate function 2018-12-14 19:27:11 +01:00
Zeno Rogue
3182600a58 3D display of Crystal 2018-12-14 19:27:11 +01:00
Zeno Rogue
851e217a73 crystal:: automatically bitruncate with crystal's implementation 2018-12-14 19:27:11 +01:00
Zeno Rogue
fd3b030119 crystal:: added multi-dimensional geometries (referred to as crystal), available via CLI for now 2018-12-14 19:27:11 +01:00
Zeno Rogue
cd357303b9 cleaned up surface flags 2018-12-14 19:27:11 +01:00
Zeno Rogue
4bac862e53 improved the indentation in hstream 2018-12-11 22:10:53 +01:00
Zeno Rogue
c1aac5e664 a38 now actually checks that S3 == 3 2018-12-11 22:10:53 +01:00
Zeno Rogue
9b4a53783c removed MAX_S84 and some no longer used stuff using it 2018-12-11 22:10:53 +01:00
Zeno Rogue
f2ee616eab all Mobius bands implemented 2018-12-11 22:10:53 +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
8866bc889d string editor now may restrict the available keys 2018-11-24 22:55:07 +01:00
Zeno Rogue
2fa265ac10 implemented a better system for logging and binary output 2018-11-24 21:23:02 +01:00
Zeno Rogue
64da329f8e added new quotient spaces: Bring's, Schmutz's M(2), Schmutz's M(3) 2018-11-23 23:46:26 +01:00
Zeno Rogue
b4671e4d50 standard draw algorithm no longer recursive; prettier gp::drawrec 2018-11-23 23:45:16 +01:00
Zeno Rogue
98a5fdb556 10.5a 2018-11-20 19:01:35 +01:00
Zeno Rogue
5e0bd401fc tiny bird and tiny shark shapes, for use in RogueViz 2018-11-20 00:20:11 +01:00
Zeno Rogue
248863ef08 10.5 2018-11-19 22:22:26 +01:00
Zeno Rogue
e25bc8e455 glhr:: shaderside projection for the half-plane model 2018-11-19 20:53:35 +01:00
Zeno Rogue
34cb90f97c fixed some exports 2018-11-18 18:26:56 +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
eec70d7265 fixed subscreen computations 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
680dca90c8 shaderside projection 2018-11-18 18:26:55 +01:00
Zeno Rogue
5fe87e140f 10.4z 2018-11-11 12:55:36 +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
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