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

319 Commits

Author SHA1 Message Date
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
Zeno Rogue
d18a05558a Safety in Farlands return to Icy 2020-03-07 04:47:10 +01:00
Zeno Rogue
e564622a48 rewritten undo: part 1 2020-03-07 04:47:10 +01:00
Zeno Rogue
6317101d66 Orb of Plague 2020-03-07 04:47:10 +01:00
Zeno Rogue
02017ef88b load/save boxes for the new features 2020-03-07 04:47:10 +01:00
Zeno Rogue
2ccb48f765 WFC can be experimented with 2020-03-07 04:47:10 +01:00
Zeno Rogue
9c25804a05 added dual geometry puzzle generator 2020-01-28 17:58:55 +01:00
Zeno Rogue
27e19ca5ca mapeditor:: canvas_default_wall can be set now 2020-01-28 17:58:55 +01:00
Zeno Rogue
5382038c4e field quotient discovery 2020-01-16 17:13:57 +01:00
Zeno Rogue
3330d6060b minor fixes to OINF 2019-12-27 23:00:38 +01:00
Zeno Rogue
17ffe53839 clearing:: clear memory on new game 2019-12-27 14:02:21 +01:00
Zeno Rogue
70910539b3 do not save arb tilings 2019-12-27 02:08:19 +01:00
Zeno Rogue
5940851f59 arb:: reset to pure 2019-12-27 01:52:28 +01:00
Zeno Rogue
e9862831ca performing product on Catalan tilings no longer drops 'dual' 2019-12-27 01:52:14 +01:00
Zeno Rogue
6c61162392 merge 2019-12-26 22:40:41 +01:00
Zeno Rogue
4848cb1b87 show the big numbers in the Clearing 2019-12-25 21:57:25 +01:00
Zeno Rogue
8cfc5a578f renamed penrose.cpp to kite.cpp and 'penrose' to 'kite::in()' 2019-12-14 12:12:24 +01:00
Zeno Rogue
d5c8aebf16 renamed binary:: to bt:: and binarytiling to bt::in() 2019-12-14 12:05:01 +01:00
Zeno Rogue
f772f9b7fd replaced 'archimedean' with 'arcm::in()' 2019-12-14 11:57:23 +01:00
Zeno Rogue
26fb19e7a8 subdivided game.cpp; split movepcto into separate functions 2019-12-08 20:07:02 +01:00
Zeno Rogue
ddb5d07ff6 cleanup in Euclidean 2019-12-08 10:59:09 +01:00
Zeno Rogue
be71cd0d97 RPM and OSM are no longer considered incompatible 2019-11-30 18:06:48 +01:00
Zeno Rogue
d63b14da5c PIU now works in the underlying map -- underlying geometry only is too fragile 2019-11-30 18:06:47 +01:00
Zeno Rogue
1329ec6b04 setting Euclidean no longer sets bitruncated 2019-11-30 18:06:47 +01:00
Zeno Rogue
1cba452f07 rewritten the Euclidean geometry 2019-11-30 18:06:47 +01:00
Zeno Rogue
a1fbfb2946 gp:: adjm to fix the confusion in quotient spaces 2019-11-30 18:05:23 +01:00
Zeno Rogue
7246605329 do not do walls if walls not implemented 2019-10-12 13:47:41 +02:00
Zeno Rogue
8ebeb60bcb increased default vid.texture_step in paracompact honeycombs 2019-10-12 13:13:09 +02:00
Zeno Rogue
b5f6e6f3f5 inforder basics 2019-10-10 13:08:06 +02:00
Zeno Rogue
d400bc845e selecting bounded geometry no longer disables racing 2019-10-06 12:13:30 +02:00
Zeno Rogue
3d1d799153 improved default model selection 2019-10-06 12:10:43 +02:00
Zeno Rogue
7ed8e16974 racing in bounded worlds 2019-09-28 14:18:58 +02:00
Zeno Rogue
77aa05c3f9 racing no longer disables S2xE 2019-09-27 18:19:16 +02:00
Zeno Rogue
1359dfcd62 setting Racing while in Solv no longer resets geometry 2019-09-27 18:04:49 +02:00
Zeno Rogue
bfa29e6d47 improved some messages 2019-09-12 22:50:16 +02:00
Zeno Rogue
08fa984b5c fixed 'heptagonal mode' in the start menu 2019-09-12 22:50:16 +02:00
Zeno Rogue
d5a99e67e0 more intuitive tiling selection 2019-09-12 22:50:16 +02:00
Zeno Rogue
be17f575ca experimental maps are not saved in saveStats 2019-09-12 22:50:16 +02:00
Zeno Rogue
848eb8f48b export everything: modules compiled separately 2019-09-12 22:50:16 +02:00
Zeno Rogue
82f24b4b6c exporting necessary stuff all over (in progress) 2019-09-12 22:50:16 +02:00
Zeno Rogue
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +02:00
Zeno Rogue
98ddecc63e removed init.cpp 2019-09-12 22:50:16 +02:00
Zeno Rogue
4dc5ae455c fixed a crash when switching Archimedean modes 2019-09-12 22:50:15 +02:00
Zeno Rogue
8adaa7fe49 welcome messages for the new geometries 2019-09-12 22:50:15 +02:00
Zeno Rogue
c766e27bf2 geodesic movement cannot be disabled in SL 2019-09-12 22:50:15 +02:00
Zeno Rogue
2e066c106c renamed gSL2 to gRotSpace 2019-09-12 22:50:15 +02:00
Zeno Rogue
d046211a9c better flagging of geometries, and isometry spaces nicely selectable 2019-09-12 22:50:15 +02:00
Zeno Rogue
689020ee6d starting in Crossroads II now works in hybrid 2019-09-12 22:50:15 +02:00
Zeno Rogue
a0140254c8 slr:: works with bitruncated tilings (Archimedean not tested) 2019-09-12 22:50:15 +02:00
Zeno Rogue
61ea588ffb shmup for product: player movement 2019-09-12 22:50:15 +02:00
Zeno Rogue
d4ac431004 slr:: default texturestep 4 2019-09-12 22:50:15 +02:00
Zeno Rogue
1e6970ca28 hybrid:: refactored the common parts of prod and sl2, also used them when applicable 2019-09-12 22:50:15 +02:00
Zeno Rogue
136b931609 PSL(2,R) 2019-09-12 22:50:15 +02:00
Zeno Rogue
a03eb0d913 fixed new geometry handling for Archimedean 2019-09-12 22:50:15 +02:00
Zeno Rogue
7aed1b8551 modecode for product geometries 2019-09-12 22:50:14 +02:00
Zeno Rogue
63bd06e75c product games not saved 2019-09-12 22:50:14 +02:00
Zeno Rogue
50fdc8324e modecode() returns modecode_t not int 2019-09-12 22:50:14 +02:00
Zeno Rogue
ce36413968 product:: incompatible with Shmup -- disable other for now 2019-09-12 22:50:14 +02:00
Zeno Rogue
1a1725dec8 product:: selectable from menu 2019-09-12 22:50:14 +02:00
Zeno Rogue
96bf478482 renamed DIM to GDIM 2019-09-12 22:50:13 +02:00
Zeno Rogue
8b1c7bffe4 initial reformatting of comments for Doxygen 2019-09-12 22:50:13 +02:00