Commit Graph

188 Commits

Author SHA1 Message Date
Zeno Rogue 4338ec2b43 racing:: exception on reading bad ghostmoments 2023-12-12 20:03:59 +01:00
Zeno Rogue 7802194248 deconfused translation checker 2023-12-03 14:29:02 +01: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 67d38feabd camera_angle now uses matrix dialog 2023-08-14 18:08:28 +02:00
Zeno Rogue 5cc7a4e527 matrix editor and saver are now transmatrix, not trans23 2023-08-10 14:38:59 +02:00
Zeno Rogue b6f13b953b more OOP-style standard dialogs 2023-08-09 14:01:24 +02:00
Zeno Rogue a13ba9bdbe param_matrix 2023-08-08 17:20:39 +02:00
Zeno Rogue 1554caa7b4 rotations are now represented as matrices, not angles 2023-08-08 16:27:52 +02:00
Zeno Rogue 3e733ae6e9 Big change: spatial_embedding option 2022-12-09 02:33:15 +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 fb6e8b72da racing:: limit on pauses 2022-10-27 16:06:39 +02:00
Zeno Rogue 6a626007bb racing:: racing menu now shows whether an official track is on 2022-10-06 12:57:47 +02:00
Zeno Rogue 789770da43 racing:: switch modes correctly when loading official track 2022-10-06 12:57:19 +02:00
Zeno Rogue f23c10d1e6 racing:: simplifying some overcomplicated stuff, minor bugfix 2022-09-14 16:18:22 +02:00
Zeno Rogue 40765e8808 extra exports 2022-08-14 19:25:10 +02:00
Zeno Rogue 0dc84d8f34 racing fixed (hopefully) 2022-08-07 03:16:24 +02:00
Zeno Rogue 75f58766a2 made background screen darkening consistent and optional 2022-07-05 11:51:06 +02:00
Zeno Rogue 3b816f46fc fixed race reset 2022-06-21 10:34:43 +02:00
Zeno Rogue f196d706a6 racing:: don't block cells on load 2022-06-16 23:23:29 +02:00
Zeno Rogue ba99e537a3 revert uploadScore 2022-06-16 23:13:21 +02:00
Zeno Rogue d2bd8933dd racing:: new system 2022-06-16 23:10:44 +02:00
Zeno Rogue 793148729b An option to play on a disk (and use bounded space rules). Also renamed 'bounded' flag to 'closed' or similar, and improved Halloween 2022-05-21 13:08:42 +02:00
Zeno Rogue 23639b1e46 racing:: addsaver -> param 2022-03-27 22:47:50 +02:00
Zeno Rogue 7af95b950a racing:: disabling splitscreen works (except second player movement) 2022-03-27 22:47:50 +02:00
Zeno Rogue 064ac7de63 fixed racing official track generation 2022-02-02 03:07:12 +01:00
Zeno Rogue d7a7447699 factored generate_random_path from yendor out 2021-07-31 15:14:31 +02:00
Jesse Ruderman 123994bdc2 Fix UB when sorting empty vecs 2021-07-11 20:54:25 -07:00
Zeno Rogue 0f767e16b6 XLAT refactor continued 2021-05-23 16:00:50 +02:00
Zeno Rogue 5a73510c4f added some guards for MAXMDIM >= 4 and CAP_SOLV 2021-03-30 11:27:48 +02:00
Arthur O'Dwyer 1761b02b90 Rationalize some std::exception stuff. 2021-03-21 17:57:09 -04:00
Zeno Rogue b166b64006 added missing guards 2021-02-07 22:55:11 +01:00
Zeno Rogue c57566f9da highlights in special modes 2021-02-07 22:55:11 +01:00
Zeno Rogue 41628cbd1a config:: changed hooks_config to correct hooks_configfile 2021-02-07 22:55:10 +01:00
Zeno Rogue b28b2cc5c4 moved more settings from config.cpp to shot and racing 2021-01-31 18:53:52 +01:00
Zeno Rogue 96d28d173a MXDIM, and some extra comments 2020-11-01 17:37:51 +01:00
Zeno Rogue f7a3a80f85 issues with racing (e.g. in band model) should be fixed 2020-09-16 23:49:17 +02:00
Zeno Rogue e26f8f5a5b optimized inverses 2020-09-16 23:49:17 +02:00
Zeno Rogue 82f32607e6 MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix 2020-07-28 22:06:14 +02:00
Zeno Rogue ed6cd3cec6 rewritten the o-key functionality to let the user choose from several applicable options 2020-05-15 15:53:29 +02:00
Zeno Rogue 6f6586b3f2
Merge branch 'master' into hooks-naming 2020-04-19 13:39:07 +02:00
Zeno Rogue 0a6c80e909 refactored flat_model_enabler 2020-04-17 15:54:48 +02:00
Zeno Rogue a246e53d2c added imssing MAXMDIM guards in racing 2020-04-17 15:35:48 +02:00
Zeno Rogue 51de394193 added missing CAP_SOLV guards in racing 2020-04-17 15:35:34 +02:00
Zeno Rogue 0472bf764f moved all projection-related parameters to a special struct; another copy of that struct created for rug 2020-04-17 00:53:58 +02:00
Arthur O'Dwyer 934e3d9a42 Consistently name every hookset with prefix `hooks_`. NFC.
I'm sure this causes massive merge-conflicts in the non-public code,
but I think it'd be a good idea, if only to avoid confusion between
e.g. `clearMemory` and the-variable-formerly-known-as `clearmemory`.
2020-04-12 10:49:32 -04:00
Zeno Rogue 0412f077e6 added/fixed some \brief descriptions 2020-03-27 21:47:09 +01:00
Zeno Rogue 0d307c011c racing:: in 3D modes, show 3D configuration instead of 'config projection' 2020-01-16 17:13:57 +01:00
Zeno Rogue c247936e34 removed the functions queuechr -- use queuestr now 2019-12-26 23:38:28 +01:00
Zeno Rogue 769982040d renamed solnihv:: to sn:: and solnih to sn::in() 2019-12-14 12:28:45 +01:00
Zeno Rogue 8cfc5a578f renamed penrose.cpp to kite.cpp and 'penrose' to 'kite::in()' 2019-12-14 12:12:24 +01:00