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

379 Commits

Author SHA1 Message Date
Zeno Rogue
6030402441 crossbow:: changed start message 2023-10-29 08:00:27 +01:00
Zeno Rogue
c36da1985c crossbow:: peace, dual, and non-shmup multiplayer are incompatible 2023-10-28 09:51:27 +02:00
Zeno Rogue
079094799d bow changes mode, disables achievements, displayed in rich presence and bottom line 2023-10-28 09:51:27 +02:00
Zeno Rogue
4ddccfed8e system:: applyBoxEnum 2023-10-28 09:51:27 +02:00
Zeno Rogue
845237c756
Merge pull request #343 from Quuxplusone/constexpr
Change `static const` to `static constexpr` wherever possible
2023-10-19 12:31:56 +02:00
Zeno Rogue
d4247e7b13 ls:: (reverse) ivory tower joins the game again in H/V 2023-09-18 14:34:46 +02:00
Zeno Rogue
4aa707f197 renamed horodisk_la* to hv_la* 2023-09-14 17:37:37 +02:00
Zeno Rogue
78b75baf3a ls:: clearmemory clears horodisk_last_land 2023-09-14 17:36:19 +02:00
Zeno Rogue
50e5cc2c5a ls:: horodisk implemented 2023-09-14 11:41:51 +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
d4e264bc9b hat:: special welcome message 2023-03-28 23:09:23 +02:00
Zeno Rogue
08bf3fe3d6 an option to not display default help 2023-03-25 09:24:47 +01:00
Zeno Rogue
acfa454114 aperiodic is now distinct from kite::in 2023-03-23 01:37:52 +01:00
Zeno Rogue
70718b2602 switching nisot::geodesic_movement now automatically switches the perspective -- basically, light also moves as chosen 2022-12-16 23:08:54 +01:00
Zeno Rogue
e1ce20cabe correct map geometry displayed in welcome message, and both displayed in EwG 2022-12-16 00:41:17 +01:00
Zeno Rogue
3e733ae6e9 Big change: spatial_embedding option 2022-12-09 02:33:15 +01:00
Zeno Rogue
b4302ac6b4 shmup:: count_pauses is now reset to 0, and also not displayed in standard shmup 2022-11-04 23:15:00 +01:00
Zeno Rogue
87921fe0f9 special welcome message for portal maps 2022-10-27 16:06:39 +02:00
Zeno Rogue
2a5cdf28c8 disable Yendor on racing 2022-10-06 12:57:58 +02:00
Zeno Rogue
1c24daea77 added some guards 2022-09-29 15:12:56 +02:00
Zeno Rogue
308fcd90aa savefile selection / an option to use no savefile 2022-09-15 12:38:39 +02:00
Zeno Rogue
f23c10d1e6 racing:: simplifying some overcomplicated stuff, minor bugfix 2022-09-14 16:18:22 +02:00
Zeno Rogue
e686f5bc39 yet another fix to racing 2022-08-07 15:01:28 +02:00
Zeno Rogue
0dc84d8f34 racing fixed (hopefully) 2022-08-07 03:16:24 +02:00
Zeno Rogue
ff16f35e0b added some missing guards for CAP_RACING and CAP_COMMANDLINE 2022-07-12 14:46:31 +02:00
Zeno Rogue
9bb9fd572d moved dual geometry puzzle to RogueViz 2022-06-17 01:20:34 +02:00
Zeno Rogue
83eb725448 racing:: just reset the race on restart 2022-06-16 23:11:34 +02:00
Zeno Rogue
b888205a17 racing:: save records 2022-06-16 23:11:22 +02:00
Zeno Rogue
c9d1f8dfeb adj_memo now can keep separate memos for different rules 2022-05-21 17:12:01 +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
fd634e6de8 fixed land_structure for princess/racing/heptagonal achievements 2022-02-02 03:01:31 +01:00
Zeno Rogue
217d4a770d fixed selecting gravity/ocean as the starting land 2021-12-13 22:30:26 +01:00
Zeno Rogue
5d81260f0b expansion_analyzer is now in cgi 2021-12-11 23:28:05 +01:00
Zeno Rogue
8f59ff7016 do not switch variation to pure when switching to Archimedean product 2021-10-10 00:40:22 +02:00
Zeno Rogue
99f85aecfd option disable_bigstuff for some experiments 2021-09-30 13:22:12 +02:00
Zeno Rogue
a5228b06a5 mapeditor:: loading maps now sets the default settings like pmodel for 3D 2021-09-17 12:20:15 +02:00
Jesse Ruderman
34537282f8 Erase rosemap entries for deleted cells 2021-08-22 02:00:04 -07:00
Zeno Rogue
53010a259e removed reachedfrom from system 2021-08-09 14:42:07 +02:00
Zeno Rogue
cb6a28f7c1 fixed some problems with 2D fake 2021-08-05 11:56:12 +02:00
Zeno Rogue
8da22c4ba9 Merge branch 'master' of https://github.com/zenorogue/hyperrogue 2021-07-31 20:38:26 +02:00
Zeno Rogue
0dfa361453 arb:: converted and rulegen status is now saved in save_geometry 2021-07-31 15:14:31 +02:00
Zeno Rogue
bc79fd05df changed names generateAlts to extend_altmap and createAlternateMap to create_altmap 2021-07-31 15:13:44 +02:00
Jesse Ruderman
b086946163 Teleport cheat (from overview) now works in Euclidean 2021-07-25 18:01:07 -07:00
Zeno Rogue
479b2eaf3c reg3:: the new variations can be selected from the menu 2021-07-09 22:32:00 +02:00
Zeno Rogue
f3adce29b3 reg3:: coxeter subcells 2021-07-09 22:32:00 +02:00
Zeno Rogue
32a7f03360 implemented dual-subcubes and bch-subcubes variations 2021-07-07 18:26:03 +02:00
Zeno Rogue
4b3f72cc56 3D variations: subcubes 2021-07-07 01:48:20 +02:00
Jesse Ruderman
e1461f85ab Teleporting to Haunted Woods no longer puts you infinitely deep 2021-06-26 21:39:41 -07:00
Zeno Rogue
80acefbdbe added new stuff to savegames 2021-06-01 13:07:56 +02:00
Zeno Rogue
7edf506152 rosephase is now reset to 0 on safety 2021-06-01 13:07:55 +02:00
Zeno Rogue
b65e5f603f casual mode 2021-06-01 13:07:36 +02:00
Zeno Rogue
90c7d31483 fixed the index order for shpos 2021-05-23 16:00:49 +02:00
Zeno Rogue
acfacd498f horocycle refactor/bugfix 2021-04-25 11:30:10 +02:00
Zeno Rogue
831d699270 fixed crashes with Canvas 2021-04-23 20:23:49 +02:00
Zeno Rogue
e960b82e17 fixed Crossroads in ls::single, also enabled Crossroads V 2021-04-23 19:45:50 +02:00
Zeno Rogue
8f91990de6 improvements in ls::single 2021-04-15 19:07:41 +02:00
Zeno Rogue
91bd0c2018 lovasz completed 2021-04-15 18:21:05 +02:00
Zeno Rogue
4b1b0516f3 choice of the land structure 2021-04-11 22:15:40 +02:00
Zeno Rogue
eaa2a45932 added hooks_post_initgame 2021-04-07 18:32:54 +02:00
Zeno Rogue
e57fc630b4 (incomplete) some preparation for the Lovasz Conjecture achievement 2021-03-21 12:51:50 +01:00
Zeno Rogue
40d450676e more fixes to multiplayer 2021-03-06 11:46:13 +01:00
Zeno Rogue
015f6227fa redone basic graphics settings (vsync, resolution, fullscreen, gl/aa) 2021-02-07 22:55:10 +01:00
Zeno Rogue
2cc06e39ba changed the default texture_step to 4 2020-11-01 21:16:08 +01:00
Zeno Rogue
d64c5e338c extra guards 2020-10-15 16:33:52 +02:00
Zeno Rogue
34dc8fcc6e various fixes related to product spaces, especially product+inverse 2020-10-06 21:11:27 +02:00
Zeno Rogue
fb06570c83 fixed a bug with loading saves 2020-08-05 01:17:19 +02:00
Zeno Rogue
a66136625d save/load arb geometry 2020-08-02 12:56:43 +02:00
Zeno Rogue
3505f17460 redone modecode 2020-08-02 12:55:37 +02:00
Zeno Rogue
5795e5447d fixed a crash on universal cover 2020-07-28 22:06:14 +02:00
Zeno Rogue
351eda2b5d generalized PSL to ~SL (discrepancies still appear) 2020-07-24 02:30:50 +02:00
Zeno Rogue
e90e0f861e auto-reset variation to variation_for when setting geometry 2020-07-13 00:56:00 +02:00
Zeno Rogue
1f1e7d9bbf inverse tessellation operators 2020-07-12 21:39:34 +02:00
Zeno Rogue
e7a4c645b8 auto-increase texture step in 2D ideal 2020-05-29 10:47:18 +02:00
Zeno Rogue
7e416eaef2 EX default_model() 2020-05-25 02:32:29 +02:00
Zeno Rogue
8641eafd96 xcode no_code listed explicitly if not assigned 2020-05-16 11:24:30 +02:00
Zeno Rogue
021dd34647 Merge branch 'master' of https://github.com/zenorogue/hyperrogue 2020-05-15 11:55:14 +02:00
Zeno Rogue
4a8e3285c7 fixed a potential buffer overflow in loadsave() 2020-05-15 11:52:51 +02:00
Arthur O'Dwyer
f2b7746c1b Move all defaulting-of-CAP_FOO to sysconfig.h.
- The phrase `#ifdef CAP_` should never appear anywhere.

- The phrase `#ifndef CAP_` should appear only in sysconfig.h.

- The phrases `#if CAP_` and `#if !CAP_` may appear wherever,
    as long as "sysconfig.h" is included first.

The rules for `CAP_FOO` equally apply to `ISFOO`.

There are many one-off macros still tested with `#ifdef`,
including `HAVE_ACHIEVEMENTS`, `PRINT_ACHIEVEMENTS`,
`FAKEWEB`, `FAKE_SDL`, `EASY`, and `WHATEVER`. I don't
have much grasp on what these are used for or how they're
configured, so I'm leaving them alone.
2020-05-03 15:12:12 -04:00
Zeno Rogue
6f6586b3f2
Merge branch 'master' into hooks-naming 2020-04-19 13:39:07 +02:00
Zeno Rogue
db4be83091 all save boxes are now named (fakeboxes start with @) 2020-04-17 15:04:27 +02:00
Zeno Rogue
85a404bfe8 CA awards Orb of Aether automatically 2020-04-12 20:38:17 +02:00
Arthur O'Dwyer
0d42168139 Make hookset<T> a pointer type, just like purehookset.
No more declaring `hookset<T> *hooks_foo`; now it's just
`hookset<T> hooks_foo` at global scope. This clears the way to
make `hookset<T>` into a class type if we want.
2020-04-12 10:50:18 -04: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
50c6a4d366 added hooks_initialize 2020-04-11 00:42:53 +02:00
Zeno Rogue
721a4beddc auto-switch to pure 2020-04-11 00:42:41 +02:00
Zeno Rogue
6feec1307f brief fixup 2020-03-27 21:51:21 +01:00
Zeno Rogue
920f26e1e7 brief fixup 2020-03-27 21:49:57 +01:00
Zeno Rogue
a331779e72 one more fixup 2020-03-27 20:37:43 +01:00
Zeno Rogue
d21ffedcb5 added some comments to system.cpp; also fixed a bug with the three new orbs not being saved correctly in OSM 2020-03-27 20:21:08 +01:00
Zeno Rogue
67f64e2d91 load/save stuff is now in namespace scores 2020-03-27 20:05:58 +01:00
Zeno Rogue
63c9cc1060 removed tactic::trailer 2020-03-27 19:57:57 +01:00
Zeno Rogue
32baf01192 removed the variable 'showoff' 2020-03-27 19:53:59 +01:00
Zeno Rogue
a2b7da728a unused variable 'gamecount' removed 2020-03-27 19:46:36 +01:00
Zeno Rogue
c6f9b1b7e2 added some comments in system 2020-03-27 19:39:46 +01:00
Zeno Rogue
4d4c904d3b neon_mode is now an enum 2020-03-27 19:38:15 +01:00
Arthur O'Dwyer
af69faa646 Fix a harmless misuse of DEBBI. 2020-03-23 14:39:30 -04:00
Arthur O'Dwyer
a0da10b408 Remove extraneous semicolons to quiet pedantic GCC warnings. 2020-03-23 14:38:57 -04:00
Zeno Rogue
85e6be8cab do not reset whichShape to 0 in special geometries 2020-03-21 19:06:54 +01:00
Zeno Rogue
0d87481d29 fixed revolvers 2020-03-11 10:27:33 +01:00
Zeno Rogue
ca7f0cb4c3 achievement_gain_once 2020-03-07 04:47:11 +01:00