1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00
Commit Graph

1055 Commits

Author SHA1 Message Date
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
Zeno Rogue
d4e71b78c6 rogueviz:: use CAP_PORTALS 2023-04-15 01:30:05 +02:00
Zeno Rogue
0410f54d43 rogueviz:: added some guards 2023-04-15 01:30:05 +02:00
Zeno Rogue
3e81697164 rv:: snow:: snow_not_player parameter 2023-04-11 16:50:07 +02:00
Zeno Rogue
0b6be1caff rv:: smoothcam:: works in isotropic again 2023-04-11 16:49:54 +02:00
Zeno Rogue
d5e7f22073 rv:: added some guards 2023-04-11 16:48:57 +02:00
Zeno Rogue
e93187a81f rv:: intra-demos improvements 2023-04-11 16:47:58 +02:00
Zeno Rogue
2576918b8a added missing override 2023-04-11 16:43:34 +02:00
Zeno Rogue
5a33967711 missing push of rogueviz.h 2023-04-01 22:56:33 +02:00
Zeno Rogue
f0b52b7034 hat skeleton animation 2023-03-30 11:26:36 +02:00
Zeno Rogue
e3a4ca5aa7 hat:: animations:: changed the hat-atoms-colored line 2023-03-28 14:50:31 +02:00
Zeno Rogue
86838ac307 hat:: hat-animations:: shift parameter 2023-03-28 14:36:38 +02:00
Zeno Rogue
610338329b added the source code of hat animations 2023-03-28 13:32:53 +02:00
Zeno Rogue
4bface6860 removed name nullptr too 2023-03-16 23:18:16 +01:00
Zeno Rogue
5986f02025 rogueviz:: adjusted extra-projections to changes 2023-03-16 23:13:55 +01:00
Zeno Rogue
2370084b11 two extra projections in RogueViz 2023-03-16 15:18:02 +01:00
Zeno Rogue
53483005cf fixed ads compilation line 2023-02-18 12:42:01 +01:00
Zeno Rogue
9bda1ecbf3 rogueviz::smoothcam:: -smoothcam-anim-on 2023-02-15 14:57:57 +01:00
Zeno Rogue
9853de5775 rogueviz:: sag:: -sagfull and dofullsa now accept times as float 2023-02-15 14:57:57 +01:00
Zeno Rogue
c53972c4b0 rogueviz:: objmodels:: OO design of the model class 2023-02-15 14:57:57 +01:00
Zeno Rogue
03336ecae0 rogueviz:: smoothcam:: debug removed, set last_segment on swapdim hook to recompute 2023-02-15 14:57:57 +01:00
Zeno Rogue
5bdae71879 rogueviz/smoothcam: used swapmatrix_iview and swapmatrix_view 2023-02-10 19:05:47 +01:00
Zeno Rogue
c7de7df6fe rogueviz/smoothcam:: better smoothcam for embedded_plane 2023-02-10 15:37:10 +01:00
Zeno Rogue
d0f6a94418 rogueviz/smoothcam:: kz in interpolate 2023-02-10 15:36:11 +01:00
Zeno Rogue
903c654c44 fixup correct order and detailed comment 2023-02-10 15:13:16 +01:00
Zeno Rogue
597d95ccc2 rogueviz/smoothcam:: interpolate factored out 2023-02-10 15:02:25 +01:00
Zeno Rogue
3811eebc8f rogueviz:: darken_a fixed 2023-02-04 09:21:16 +01:00
Zeno Rogue
6be7951187 ads:: demo feature (not enablable) 2023-02-03 15:28:48 +01:00
Zeno Rogue
9c04b39ed3 ads:: reverse replay feature 2023-02-03 15:28:37 +01:00
Zeno Rogue
637feb315a rogueviz::ads:: screenshot option 2023-01-31 16:40:29 +01:00
Zeno Rogue
8e17338585 rogueviz/ads:: adjusted to changes 2023-01-31 16:40:09 +01:00
Zeno Rogue
ad93a6db0b triangles in Nil Rider are now rotating 2023-01-30 01:25:40 +01:00
Zeno Rogue
98690c225c new Nil model used in Nil Rider 2023-01-30 01:20:12 +01:00
Zeno Rogue
439850f74c fixup to simple_impossible 2023-01-30 01:02:02 +01:00
Zeno Rogue
c21d5373e5 simple-impossible now works with the new model, and also rotates 2023-01-30 00:46:55 +01:00
Zeno Rogue
c468c90463 rogueviz/simple-impossible.cpp 2023-01-30 00:46:18 +01:00
Zeno Rogue
80c0b4bb0c rogueviz:: adjusted flocking to interface changes 2023-01-29 17:03:53 +01:00
Zeno Rogue
146c075210 removed functions which were moved elsewhere 2023-01-23 22:14:59 +01:00
Zeno Rogue
8a5e768b51 rogueviz::dhrg::loglik:: max steps 2023-01-08 16:03:20 +01:00
Zeno Rogue
4ff8f4b68a rogueviz::sag:: added CAP_SDL guards 2023-01-08 16:02:32 +01:00
Zeno Rogue
b6c257a264 rogueviz:: newconf:: apple default shape 2023-01-08 16:02:02 +01:00
Zeno Rogue
a7f95cfe3d SAG shuift_object is now geodesic 2023-01-08 16:00:42 +01:00
Zeno Rogue
a55ed32fa1 adjusted bringris to use mproduct and mhybrid 2023-01-03 20:51:29 +01:00
Zeno Rogue
080e853364 adjusted RogueViz to name changes 2022-12-18 14:06:38 +01:00
Zeno Rogue
5477b0e863 rogueviz:: fixed some hotkey bugs in smoothcam 2022-12-11 21:14:06 +01:00
Zeno Rogue
0dd29dd7cf adjusted RogueViz to use the new 3D functions 2022-12-11 21:12:51 +01:00
Zeno Rogue
301dad5d7b sag:: sagsmooth option 2022-11-13 16:22:55 +01:00
Zeno Rogue
828c185520 rogueviz:: edit weight gamma via UI 2022-11-13 16:22:55 +01:00
Zeno Rogue
84344e7d5d sag:: fixup to sag_edge 2022-11-13 16:22:55 +01:00
Zeno Rogue
6450f7c8a6 sag:: set RV_INVERSE_WEIGHT flag 2022-11-13 16:22:55 +01:00
Zeno Rogue
97fb10b6f0 sag:: vizsa_len now has a default value which does not invoke division-by-zero bugs 2022-11-13 16:22:55 +01:00
Zeno Rogue
0faf07741c rogueviz:: configure_edge_display can now edit visible_from_hi 2022-11-13 16:22:55 +01:00
Zeno Rogue
67b70ea7fd rogueviz:: an option to show edge weights as labels 2022-11-13 16:22:55 +01:00
Zeno Rogue
b7aae63b90 rogueviz:: remove visible_from_help, it just displays a list 2022-11-13 16:22:55 +01:00
Zeno Rogue
06523e063e used cyclefix and raddif in more places; (c)spin90, (c)spin180 and spin180 functions; rephrased M_PI in terms of TAU and x._deg when applicable 2022-11-13 16:22:55 +01:00
Zeno Rogue
612356db7f added missing leastsquare 2022-11-11 14:56:59 +01:00
Zeno Rogue
16d142711a fixed #define T spilling 2022-11-04 23:57:51 +01:00
Zeno Rogue
1cbaf36698 added guards to dhrg.h 2022-11-04 23:53:13 +01:00
Zeno Rogue
a71207800b rogueviz::sag::display match A/B parameters 2022-10-27 16:06:39 +02:00
Zeno Rogue
3506ccac13 rogueviz::sag:: loglik_repeat works better now 2022-10-27 16:06:39 +02:00
Zeno Rogue
5cdbca3b21 optimize_sag_loglik for match 2022-10-27 16:06:39 +02:00
Zeno Rogue
e011f86671 sag:: an option to generate fake data, mainly for smMatch 2022-10-27 16:06:39 +02:00
Zeno Rogue
5a19fffd8f rogueviz::sag:: smMatch method 2022-10-27 16:06:39 +02:00
Zeno Rogue
bb5fa51965 rogueviz::sag:: prepared for further methods 2022-10-27 16:06:39 +02:00
Zeno Rogue
d828ff0e7e output_stats may include numiter and temperatures 2022-10-27 16:06:39 +02:00
Zeno Rogue
fa7145586f fixup to long long 2022-10-27 16:06:39 +02:00
Zeno Rogue
a1695a82d0 rogueviz::sag:: automatically set RT to average values 2022-10-27 16:06:39 +02:00
Zeno Rogue
c8a1c8b5d7 rogueviz::sag;: geometry stats 2022-10-27 16:06:39 +02:00
Zeno Rogue
4c30e6051f rogueviz::sag:: Dijkstra edges, save/load distances from file 2022-10-27 16:06:39 +02:00
Zeno Rogue
15d97a8cd1 rogueviz::sag:: angular distances 2022-10-27 16:06:39 +02:00
Zeno Rogue
d39623fdd5 rogueviz::sag:: ll fixup 2022-10-27 16:06:39 +02:00
Zeno Rogue
7ad4668623 rogueviz::sag:: numiter is now long long 2022-10-27 16:06:39 +02:00
Zeno Rogue
e7bebaa79c rogueviz::sag:: conserve memory for sagdist 2022-10-27 16:06:39 +02:00
Zeno Rogue
bcadbdbcab rogueviz:: vertex search improvements 2022-10-27 16:06:39 +02:00
Zeno Rogue
40ca8b8553 rogueviz:: list used in smoothcam 2022-10-27 16:06:39 +02:00
Zeno Rogue
bf86077ebf rogueviz:: list used in rogueviz vertex search 2022-10-27 16:06:39 +02:00
Zeno Rogue
49564b2e0e should no longer freeze when maxv/unit or maxv/tank is negative or too large 2022-10-16 09:48:57 +02:00
Zeno Rogue
3c867a7ff0 ads-game:: joystick control 2022-10-16 09:46:04 +02:00
Zeno Rogue
0c38c4ad68 ads-game:: improvements to dS 2022-10-16 09:37:21 +02:00
Zeno Rogue
122ea6dfb4 informed about hidden dependencies in rogueviz/ads/ 2022-10-15 22:58:46 +02:00