1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-18 14:35:47 +00:00
Commit Graph

1136 Commits

Author SHA1 Message Date
Zeno Rogue
d1ebc3baae rogueviz:: graphs:: do not display images if shift held 2024-08-01 12:47:43 +02:00
Zeno Rogue
b49266cbce improved rogueviz image scaling 2024-08-01 12:47:31 +02:00
Zeno Rogue
a6870750dc rogueviz:: graph:: yet another fixup 2024-08-01 12:39:07 +02:00
Zeno Rogue
1ea6b88f81 rogueviz:: better spillcolor 2024-08-01 12:25:34 +02:00
Zeno Rogue
aaaef26bae rogueviz:: presentation:: replace_hud and latex_in_space 2024-08-01 12:22:29 +02:00
Zeno Rogue
73ed8aedf4 more fixup 2024-08-01 12:21:51 +02:00
Zeno Rogue
2f33b0ff1b fixup 2024-08-01 12:20:39 +02:00
Zeno Rogue
c5eebe4d4c rogueviz:: graph:: in color reader, patterns work on all, separated 'info' and 'url' commands, and added preliminary 'dot' command 2024-08-01 12:20:06 +02:00
Zeno Rogue
168016287d rogueviz:: graphs:: improved RogueViz Graphs docs 2024-08-01 11:50:16 +02:00
Zeno Rogue
51834eb1da fixup: rogeuviz.cpp filename change applied in rogueviz-all 2024-08-01 11:45:13 +02:00
Zeno Rogue
9bc719671b rogueviz:: renamed rogueviz.cpp to graphs.cpp as RogueViz is no longer focused on graphs 2024-08-01 11:44:36 +02:00
Zeno Rogue
d76c98084d Kendall for smClosest 2024-08-01 11:37:54 +02:00
Zeno Rogue
9ed7e9213c rogueviz:: sag:: compute_cost when preparing smClosest method 2024-08-01 11:37:30 +02:00
Zeno Rogue
b09dae8437 edge_weights table for better cost computation 2024-08-01 11:36:04 +02:00
Zeno Rogue
e3816fbcb8 rogueviz:: sag:: fix formatting 2024-08-01 11:35:07 +02:00
Zeno Rogue
617f125632 rogueviz:: statistics:: kendall was not pushed 2024-07-28 08:31:36 +02:00
Zeno Rogue
4272e6f9e4 rogueviz:: fixed compile error in small_kendall 2024-07-28 08:31:03 +02:00
Zeno Rogue
75465ca164 moved small_kendall to statistics 2024-07-26 10:23:47 +02:00
Zeno Rogue
1511c715e4 renamed leastsquare to statistics 2024-07-26 10:15:12 +02:00
Zeno Rogue
1d8d58834c CAP_VIDEO not CAP_ANIMATIONS 2024-07-24 23:25:26 +02:00
Zeno Rogue
fdcacfccf2 added CAP_ANIMATION guard to statshot 2024-07-24 22:57:36 +02:00
Zeno Rogue
9a87d46a32 sag:: %zd only Linux 2024-07-24 22:48:03 +02:00
Zeno Rogue
45538f6ce9 sag:: more mmap removal outside of Linux 2024-07-24 21:26:01 +02:00
Zeno Rogue
2362b4f1ce more bad includes removes 2024-07-24 21:18:13 +02:00
Zeno Rogue
969731a886 sag:: removed bad includes 2024-07-24 21:15:11 +02:00
Zeno Rogue
fa4e3d0fe8 disabled mmap except on Linux 2024-07-24 20:11:05 +02:00
Zeno Rogue
998778dcc2 fix 2024-07-24 19:33:22 +02:00
Zeno Rogue
04098490d3 sag:: fixed some warnings 2024-07-24 19:29:12 +02:00
Zeno Rogue
0a3653f7fd removed walls from rogueviz 2024-07-24 19:25:54 +02:00
Zeno Rogue
a7179e1b73 fixed namespace name 2024-07-24 19:25:45 +02:00
Zeno Rogue
239d2621ab added missing statshot 2024-07-24 18:20:37 +02:00
Zeno Rogue
b048fdd6f1 readded presentations, and other changes 2024-07-23 23:26:05 +02:00
Zeno Rogue
199f8b2927 rogueviz::sag:: minor changes, docs updated 2024-07-23 23:13:25 +02:00
Zeno Rogue
c306b28d65 fix distances not known with -sag-creq but without -sag_gdist 2024-07-23 22:59:47 +02:00
Zeno Rogue
b7b226ba89 sag:: hidden dependencies set up 2024-07-23 21:25:08 +02:00
Zeno Rogue
32678b6efc rogueviz:: sag:: separated into subfiles 2024-07-23 21:21:53 +02:00
Zeno Rogue
003a9533b5 rogueviz:: statshot added 2024-07-23 15:49:06 +02:00
Zeno Rogue
4ec3ca7382 fixup 2024-07-23 15:28:35 +02:00
Zeno Rogue
bb5b19c404 fixup to last 2024-07-23 15:23:36 +02:00
Zeno Rogue
a8609ed467 moved sag to own subdir 2024-07-23 15:23:12 +02:00
Zeno Rogue
94064a18af rogueviz:: draw better lines in solv/sl2 visualizations 2024-07-21 21:30:50 +02:00
Zeno Rogue
34fbe7a7bf rogeuviz:: do not show edge weights if not requested 2024-07-21 12:18:35 +02:00
Zeno Rogue
1e1ca5e795 fixup to deduplication 2024-07-17 11:31:11 +02:00
Zeno Rogue
c326600f52 ads:: since the implementations of nmul/ninverse have been moved to twist::, do not duplicate them 2024-07-17 11:27:31 +02:00
Zeno Rogue
ec96ad2718 gmatrix now uses shiftmatrix_or_null which has an additional field if data is not yet computed -- this seems to fix some bugs in the new compilations of HyperRogue 2024-07-17 11:16:01 +02:00
Zeno Rogue
a08a091a34 one more RVPATH fix 2024-07-10 07:42:24 +02:00
Zeno Rogue
dfd8904f4a also remove duplicated RVPATH definition from hyperbolic-minesweeper-pres 2024-07-10 07:37:32 +02:00
Zeno Rogue
61ee774527 remove duplicated RVPATH definition from playing-with-impossibility 2024-07-10 07:32:17 +02:00
Zeno Rogue
4717150ccc fixed the fix 2024-07-10 07:08:50 +02:00
Zeno Rogue
1b1a2091ed fixed RogueViz compile error 2024-07-10 07:00:49 +02:00
Zeno Rogue
66ed7104f1 ringcolor in latex slides 2024-07-02 13:42:00 +02:00
Zeno Rogue
8d7e46d8af ads:: fixed keyboard control in the de Sitter game 2024-06-25 17:11:17 +02:00
Zeno Rogue
a8ade534b9 ads:: split initialization functions into multiple, so that they are available in presentations 2024-06-25 17:11:06 +02:00
Zeno Rogue
8c98d2f30e ads:: using the new 'twisted' names 2024-06-25 11:18:55 +02:00
Zeno Rogue
256a7fa2cb rogueviz:: fix compile errors in dhrg-pres 2024-06-22 11:21:08 +02:00
Zeno Rogue
12332ff361 fixed gRotSpace to gTwistedProduct 2024-06-22 11:17:42 +02:00
Zeno Rogue
3d9c4c838e moved underlying space drawer from rots to hybrid, and renamed the rest of rots:: to twist:: 2024-06-16 18:12:52 +02:00
Zeno Rogue
d1793a774e fixed a crash due to illegal mvec multiplication in triangle 2024-06-16 17:03:36 +02:00
Zeno Rogue
e9fe9013dc rogueviz/presentation:: refactured get_texture 2024-06-16 17:00:08 +02:00
Zeno Rogue
3daaaa6c6f qtm: more power 2024-06-16 16:59:37 +02:00
Zeno Rogue
7dbbbb2dd9 fixed ref to jmap in rogueviz/rewriting 2024-06-16 16:59:15 +02:00
Zeno Rogue
75a82fab1f removed ccolor::data jmap from pattern2, moved to rogueviz/noniso-honeycombs 2024-06-16 16:58:54 +02:00
Zeno Rogue
56e4a84b1b fixup to use new canvas 2024-06-16 16:22:19 +02:00
Zeno Rogue
263ee56427 using new setCanvas function in RogueViz presentations 2024-06-16 16:16:56 +02:00
Zeno Rogue
bb96612fc6 rogueviz:: fixed dhrg-pres 2024-06-16 15:47:41 +02:00
Zeno Rogue
998a74800c colortables are now saved correctly 2024-05-26 21:15:26 +02:00
Zeno Rogue
57691737f0 fixed rwalls not being set in nilrider 2024-05-26 20:42:47 +02:00
Zeno Rogue
1c74774bfa refactored the parameter (saver/setting) system 2024-05-26 20:22:29 +02:00
Zeno Rogue
73dbccbb0e made Bringris, Nil Rider, and Relative Hell compile after changes 2024-05-24 20:57:53 +02:00
Zeno Rogue
43a3e8f030 color change in rogueviz 2024-05-09 10:44:37 +02:00
Zeno Rogue
5ae3bc02d1 rogueviz:: dhrg:: removed %Lf 2024-04-28 02:49:53 +02:00
Zeno Rogue
aafced83aa rogueviz:: dhrg:: Ld to lld 2024-04-28 02:49:24 +02:00
Zeno Rogue
d074606cae rogueviz:: sag:: Ld to lld 2024-04-28 02:36:42 +02:00
Zeno Rogue
6aecf921bf rogueviz:: dhrg:: Lf to llf 2024-04-28 02:35:49 +02:00
Zeno Rogue
16e3daeab5 rogueviz:: dhrg:: fixed format 2024-04-28 02:16:28 +02:00
Zeno Rogue
0a16e53561 rogueviz:: fixed missing virtual destructor in model 2024-04-28 02:13:42 +02:00
Zeno Rogue
443be1acda rogueviz:: dhrg:: fixed warning on %p 2024-04-28 02:11:14 +02:00
Zeno Rogue
ba9c41bed2 rogueviz:: dhrg:: fixed incorrect initialization 2024-04-28 02:10:22 +02:00
Zeno Rogue
329ad76c3c rogueviz:: dhrg:: fixed VLA 2024-04-28 02:09:19 +02:00
Zeno Rogue
de20daf708 rogueviz:: undef IF_ macros 2024-04-28 02:04:40 +02:00
Zeno Rogue
f229c489cd rogueviz:: antidesitter:: fixed uninitialized variable 2024-04-28 02:03:13 +02:00
Zeno Rogue
1e3347590b rogueviz:: sag:: fixed unini variable 2024-04-28 02:01:30 +02:00
Zeno Rogue
fd1960191e rogueviz:: fixed pedantic error in embedded-chess 2024-04-28 01:52:20 +02:00
Zeno Rogue
942fd9dafb rogueviz::dhrg:: fixed VLA 2024-04-28 01:47:50 +02:00
Zeno Rogue
f1e91a1614 rogueviz::dhr:: fixed unused result 2024-04-28 01:46:47 +02:00
Zeno Rogue
e71ddf1140 rogueviz::som:: string cannot be constexpr 2024-04-28 01:46:13 +02:00
Zeno Rogue
eb1488b24f rogueviz:: updated reverb to compile 2024-02-21 10:24:46 +01:00
Zeno Rogue
18247ec98f rogueviz:: made gobot compile without video 2023-12-27 16:32:36 +01:00
Zeno Rogue
eb4b7177f3 rogueviz:: extra projection 2023-12-27 16:28:08 +01:00
Zeno Rogue
2f1bb092b8 rogueviz:: list of portal scenes in portal collection 2023-12-27 16:25:33 +01:00
Zeno Rogue
44265f6d61 gobot:: sphere 2023-10-28 09:51:27 +02:00
Arthur O'Dwyer
62629f3e70 Change static const to static constexpr wherever possible
Since we require C++11, most of these consts can be constexpr.

Two `static const ld` remain non-compile-time-evaluable because
they depend on the runtime `log` function. One `static const cld`
remains non-compile-time because `std::complex<T>` doesn't become
constexpr until C++14.
2023-08-23 09:47:28 -08:00
Zeno Rogue
529e27ea2f gobot:: Discord bot token set via env variable 2023-08-22 20:20:46 +02:00
Zeno Rogue
c89d98e832 rogueviz::som::adjusted to the new dialog system 2023-08-22 20:12:34 +02:00
Zeno Rogue
089db20356 play this track / quit Nil Rider in Nil Rider selection 2023-08-22 20:11:46 +02:00
Zeno Rogue
572866b67a rogueviz:: rv_keep 2023-08-22 20:06:52 +02:00
Zeno Rogue
b2668e4cf5 gobot:: disk-gp and bring-gp 2023-08-22 20:06:38 +02:00
Zeno Rogue
01ede9681e gobot:: lighter owner marks 2023-08-22 20:06:28 +02:00
Zeno Rogue
bb22d363c8 improved dhrg::logistic 2023-08-22 20:03:17 +02:00
Arthur O'Dwyer
10d0ed8900 Eliminate calls to sprintf
Apple Xcode has started giving `-Wdeprecated-declarations` warnings
for `sprintf`, and suggesting that people migrate to `snprintf` instead.
This is silly, but the warnings are spam and need to be silenced
somehow. Migrating to `snprintf` and/or `hr::format` is the path of
least resistance.
2023-08-21 10:18:44 -07:00
Arthur O'Dwyer
ced3bbcad4 Qualify calls to format
C++20 introduces `std::format` and we `using namespace std`,
so some of these would be ambiguous in C++20.
2023-08-21 10:18:44 -07:00
Zeno Rogue
97be7618e6 gobot:: scores on screenshot 2023-08-14 21:17:06 +02:00
Zeno Rogue
246034f4cb gobot:: csc command 2023-08-14 20:36:09 +02:00
Zeno Rogue
260c30c218 gobot:: last move marker 2023-08-14 20:35:58 +02:00
Zeno Rogue
394f8052b4 oauto now takes shot 2023-08-14 20:24:05 +02:00
Zeno Rogue
44e9c3e317 gobot:: clear uninitialized indices on init_go_board 2023-08-14 20:23:54 +02:00
Zeno Rogue
000726f450 gobot:: call init_go_board not init_go 2023-08-14 20:15:42 +02:00
Zeno Rogue
535d86a1c8 gobot:: fix uninitialized variable 2023-08-14 20:15:31 +02:00
Zeno Rogue
a70940b3ee gobot:: clear the board in init_go_board 2023-08-14 20:15:18 +02:00
Zeno Rogue
590d8021c6 rogueviz:: use_brm only for closed_manifold, not bounded 2023-08-14 20:14:17 +02:00
Zeno Rogue
07857e612a rogueviz adjusted to the changes 2023-08-14 20:13:52 +02:00
Zeno Rogue
c896b3ecd6 bringris:: more solid lps 2023-08-08 12:12:19 +02:00
Zeno Rogue
debdcae057 bringris:: fix quit 2023-08-08 12:06:25 +02:00
Zeno Rogue
22947c7fd1 ads:: do not load earth textures if already loaded 2023-08-08 12:05:33 +02:00
Zeno Rogue
522436ba96 ads:: more solid lps use 2023-08-08 12:05:18 +02:00
Zeno Rogue
c42a06772b adjusted nilrider and bringris to improved lps 2023-08-08 11:50:55 +02:00
Zeno Rogue
07aa843f18 nilrider:: fixup to default settings 2023-08-07 17:59:50 +02:00
Zeno Rogue
b31ceaf3df nilrider:: adjust to collection 2023-08-07 17:16:44 +02:00
Zeno Rogue
108f4fb437 bringris:: adjust to collection 2023-08-07 17:16:17 +02:00
Zeno Rogue
38baf6605a ads:: use lps 2023-08-07 17:15:50 +02:00
Zeno Rogue
bcc86e7b30 nilrider:: using the lps system 2023-08-06 22:17:20 +02:00
Zeno Rogue
56be838b40 gobot:: -go-video command 2023-08-06 12:04:30 +02:00
Zeno Rogue
32911e2b67 gobot:: improved save/load 2023-08-06 12:04:18 +02:00
Zeno Rogue
4b61d63ef5 gobot:: import/export feature 2023-08-06 11:58:16 +02:00
Zeno Rogue
a830fa73b3 gobot:: ko rule checking 2023-08-06 11:58:06 +02:00
Zeno Rogue
0167e284cc gobot:: better own information 2023-08-06 11:57:48 +02:00
Zeno Rogue
9a9ecd3c8c gobot: change geometry 2023-08-06 11:57:06 +02:00
Zeno Rogue
286f98fb49 gobot: upgraded from aegis to dpp 2023-08-06 11:53:44 +02:00
Zeno Rogue
2c0afce4ca gobot: CAP_THREAD not CAP_THREADS 2023-08-06 11:52:09 +02:00
Zeno Rogue
dfb3626568 used separate keyconfigs in bringris, nilrider and ads 2023-08-06 11:51:43 +02:00
Zeno Rogue
f972170869 fixed hat-animations for spectre 2023-06-10 11:06:13 +02:00
Zeno Rogue
e218b0b19f pipes for anisotropic geometries 2023-06-10 11:05:57 +02:00
Zeno Rogue
d179976281 rogueviz:: embedded-chess:: added CAP_VIDEO guards 2023-05-19 01:35:05 +02:00
Zeno Rogue
bde2025ce3 rogueviz:: embedded-chess:: fixed default hmul 2023-05-19 01:35:05 +02:00
Zeno Rogue
a5e327f67f rogueviz:: embedded-chess:: disable reversal, it is general now 2023-05-19 01:09:21 +02:00
Zeno Rogue
d1d06b9941 rogueviz:: embedded-chess improvements 2023-05-19 01:07:48 +02:00
Zeno Rogue
02d1fbd1e7 made embedded-chess more accessible 2023-05-18 14:18:46 +02:00
Zeno Rogue
d9f01c67d1 added the 3D models for embedded-chess 2023-05-15 02:50:41 +02:00
Zeno Rogue
4bcd23af08 rogueviz:: embedded-chess added 2023-05-15 02:50:41 +02:00
Zeno Rogue
71d49b7198 rogueviz:: rename nodes via color file 2023-05-15 02:50:41 +02:00
Zeno Rogue
1f834d3def popScreenAll in presentation -slide command 2023-05-15 02:50:41 +02:00
Zeno Rogue
9932a034fc improvements to objmodels: better debugging, better performance on geometry change 2023-05-15 02:50:41 +02:00
Zeno Rogue
c95395f574 rogueviz::smoothcam:: export some functions 2023-05-15 02:50:41 +02:00
Zeno Rogue
a0aeb6f792 rogueviz::smoothcam:: fixes for some geometries 2023-05-15 02:50:41 +02:00
Zeno Rogue
37fa49aab8 rogueviz::smoothcam:: fixed the angle unit to be degrees indeed 2023-05-15 02:50:41 +02:00
Zeno Rogue
17fc76c0eb rogueviz::smoothcam:: should now work with mirroring 2023-05-15 02:50:41 +02:00
Zeno Rogue
d5064db846 rogueviz::smoothcam:: spinEdge_full called if needed 2023-05-15 02:50:41 +02:00
Zeno Rogue
542ce23b76 smoothcam:: smoothcam_param added 2023-05-15 02:50:41 +02:00
Zeno Rogue
97c24d7dfe smoothcam:: export functions for append, save and load animation 2023-05-15 02:50:41 +02:00
Zeno Rogue
58a1b085c7 smoothcam:: moved to namespace rogueviz 2023-05-15 02:50:41 +02:00