1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00
Commit Graph

10228 Commits

Author SHA1 Message Date
Zeno Rogue
6e695b5262 ls:: in voronoi, more varied relative distances on cross 2023-09-14 17:26:08 +02:00
Zeno Rogue
2668841e5a ls:: in voronoi, eliminate bugs when new root goes through known area 2023-09-14 17:25:55 +02:00
Zeno Rogue
283fe020fc added Dylan to credits 2023-09-14 16:38:43 +02:00
Zeno Rogue
e1a78fe1ac ls:: fixed weird trees in ideal Voronoi 2023-09-14 16:29:06 +02:00
Zeno Rogue
f9b8551529 ls:: firstland now taken into account in Voronoi 2023-09-14 16:20:51 +02:00
Zeno Rogue
8ac3bb29ab ls:: fixed frog park in hv 2023-09-14 15:51:36 +02:00
Zeno Rogue
8568f6489c get_child, right_child, left_child 2023-09-14 15:07:13 +02:00
Zeno Rogue
49ca18aef3 more specific 'cannot load parameter' 2023-09-14 15:07:01 +02:00
Zeno Rogue
3b341bb34b better -L option 2023-09-14 15:06:49 +02:00
Zeno Rogue
77e5efa28f ideal Voronoi implemented 2023-09-14 15:06:39 +02:00
Zeno Rogue
50e5cc2c5a ls:: horodisk implemented 2023-09-14 11:41:51 +02:00
Zeno Rogue
0293680ea1 horodisk land structure 2023-09-14 11:38:39 +02:00
Zeno Rogue
f3d28c9105 fixed a crash on projection changing 2023-09-14 09:49:13 +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
b70b339f52 removed unused variable buf2 in mobile.cpp 2023-08-22 22:38:11 +02: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
Zeno Rogue
fd1be4beb8
Merge pull request #341 from Quuxplusone/override
Consistently apply `override` (and not `virtual`) to overriding virtuals
2023-08-22 19:56:17 +02:00
Zeno Rogue
04f31aa637
Merge pull request #340 from Quuxplusone/format-sprintf
Avoid sprintf, in favor of hr::format and snprintf
2023-08-22 19:54:52 +02:00
Arthur O'Dwyer
28880f2985 Consistently apply override (and not virtual) to overriding virtuals
Three functions were missing `override`, triggering `-Wsuggest-override` on Clang.
Many functions had redundant `virtual ... override`.
2023-08-21 10:23:48 -07: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
a250a4d430 version 12.s 2023-08-16 10:49:39 +02:00
Zeno Rogue
c1584e9ece added some missing 'override' 2023-08-16 10:36:16 +02:00
Zeno Rogue
e3357c9b26 added missing override in hyper_function.h 2023-08-16 10:27:27 +02:00
Zeno Rogue
29d50a9f21 fix ori() setting in multi::two_focus 2023-08-16 10:25:57 +02:00
Zeno Rogue
0b2aee0b40 fixup hyper.h was not pushed 2023-08-16 09:54:48 +02:00
Zeno Rogue
4b5a1621e8 also fixed the use normalize_flat in celldrawer 2023-08-16 09:35:38 +02:00
Zeno Rogue
6a9ed169eb fixed normalize_flat in emb_none -- this fixes centering in multiplayer 2023-08-16 09:33:25 +02:00
Zeno Rogue
838b34762e animation rug angle fixes 2023-08-15 20:35:29 +02:00
Zeno Rogue
18d042b9eb fixed a crash when changing sight range while in rug 2023-08-15 20:29:09 +02:00
Zeno Rogue
0e1d7c024e dialog:: display crosshair when changing crosshair 2023-08-15 20:28:36 +02:00
Zeno Rogue
73e98644d3 fixed crash on kill setting change 2023-08-15 20:28:06 +02:00
Zeno Rogue
9e999ef30f cell count is now displayed while editing range/detail; range is now editable in 3D even if smart range is on 2023-08-15 19:53:29 +02:00
Zeno Rogue
b7f55e9f87 made -d:param display side dialog 2023-08-15 17:54:12 +02:00
Zeno Rogue
01748ac77b more elegant matrix display 2023-08-15 17:25:00 +02:00
Zeno Rogue
610d64d22a dialog:: more intuitive rotation hotkeys 2023-08-15 17:08:41 +02:00
Zeno Rogue
a5ada45164 dialog:: isitem now knows diMatrixItems 2023-08-15 17:08:25 +02:00
Zeno Rogue
442a7d3c74 fixed matrix_setting::show_edit_option to display dim 2023-08-15 17:08:12 +02:00
Zeno Rogue
b123900b52 fixed camera angle: aura and shader projection 2023-08-15 16:01:38 +02:00
Zeno Rogue
37d558944e fixed bandspin explorable to use band, not Joukowsky Inverted 2023-08-15 15:49:47 +02:00
Zeno Rogue
56b5d52534 start animations were too fast 2023-08-15 15:49:25 +02:00
Zeno Rogue
42c47d0388 fixed bandshift to work with mori correctly 2023-08-15 15:49:10 +02:00
Zeno Rogue
36607319fd fixed models::rotation parameter name 2023-08-15 15:45:54 +02:00
Zeno Rogue
f37c4ba165 fixed band boundary 2023-08-15 15:45:43 +02:00