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

10254 Commits

Author SHA1 Message Date
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
Zeno Rogue
b9eac3f6ae fixed addInfo to addHelp in matrix_dialog 2023-08-15 15:39:00 +02:00
Zeno Rogue
933361d394 config:: list_setting::show_edit_option won't crash if value is illegal 2023-08-15 15:28:25 +02:00
Zeno Rogue
83b49caa5f fixed multiply transmatrix * trans23 2023-08-15 15:20:46 +02:00
Zeno Rogue
f2f62cf296 fixed sides in Euclidean hemisphere 2023-08-15 15:20:29 +02:00
Zeno Rogue
27bedb19ed fixed a bug which caused the screen to disappear on switch-to-fpp 2023-08-15 15:19:50 +02:00
Zeno Rogue
27b572a44a fix mdBall 2023-08-15 14:39:52 +02:00
Zeno Rogue
cfa01d878c draw boundary correctly in hemisphere Euclidean 2023-08-15 14:33:53 +02:00
Zeno Rogue
937da384e7 better ring drawing in hyperboloid/hemisphere 2023-08-15 14:29:42 +02:00
Zeno Rogue
f3a0855df2 queuecurve_reuse 2023-08-15 14:28:38 +02:00
Zeno Rogue
e22c34b343 hemisphere in spherical 2023-08-15 14:21:19 +02:00
Zeno Rogue
b018582f44 fixed mdHyperboloid in spherical geometry 2023-08-15 11:00:43 +02:00
Zeno Rogue
ccb5068964 fixed draw_boundary in hyperbolic geometry in mdHemisphere and mdHyperboloid 2023-08-15 10:56:39 +02:00
Zeno Rogue
63fc2c9c92 fixed get_side 2023-08-15 10:55:01 +02:00
Zeno Rogue
53324a9eeb dialog:: made editNumber return number_dialog 2023-08-15 10:54:36 +02:00
Zeno Rogue
1b76ab495e config:: added set_cld back 2023-08-15 10:54:17 +02:00
Zeno Rogue
97be7618e6 gobot:: scores on screenshot 2023-08-14 21:17:06 +02:00
Zeno Rogue
74f1a93dc3 save_geometry now saves disksize and diskshape 2023-08-14 21:10:44 +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