1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 21:37:18 +00:00
Commit Graph

179 Commits

Author SHA1 Message Date
Zeno Rogue
d35e2ebb30 control:: sc_ticks exported so that visualizations can perfectly synchronize 2020-05-25 02:23:55 +02:00
Zeno Rogue
4a1f6c8314 fixed array initializations 2020-05-22 14:51:54 +02:00
Zeno Rogue
9c676d082a WASD keys and VI keys as help for keyboard users options 2020-05-15 15:28:59 +02:00
Zeno Rogue
f9c6638b95 more elegant implementation of keyboard control 2020-05-15 15:11:24 +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
a6d1be0a92 fixed scrolling destroying which_copy 2020-05-01 10:42:15 +02:00
Zeno Rogue
52bd8f12f6 handlePanning handled keys even if smooth_scrolling was on 2020-04-29 15:09:46 +02:00
Zeno Rogue
6cf15d644f removed extra ; 2020-04-22 13:45:28 +02:00
Zeno Rogue
95aa4d8fe5 fixed ESC in 3D 2020-04-22 01:44:53 +02:00
Zeno Rogue
fc9adf8960 shift+mousewheel for zoom works in rug 2020-04-19 23:01:09 +02:00
Zeno Rogue
1b87043aa7 fixed zoom to do the correct zoom in rug 2020-04-19 22:59:29 +02:00
Zeno Rogue
286f378c41 fixed shift-clicking for orbs 2020-04-19 22:50:31 +02:00
Zeno Rogue
009b05c919 reworked some modifier keys 2020-04-19 22:43:16 +02:00
Zeno Rogue
5e0aac5e92 lshift+arrows now rotate the model in rug 2020-04-19 22:42:29 +02:00
Zeno Rogue
f1a38b8389 shift+PageUp/Down now zooms 2020-04-19 22:42:19 +02:00
Zeno Rogue
4575a672d6 rug can now be mouse-rotated with Ctrl 2020-04-19 22:08:30 +02:00
Zeno Rogue
db65898859 mouseaim now uses full_rotate_camera 2020-04-19 22:02:22 +02:00
Zeno Rogue
fc7563e388 cleaned up keep_vertical_orientation; camera rotation is now nicer if yes 2020-04-19 21:56:26 +02:00
Zeno Rogue
730be4b36a Home no longer recenters 2020-04-19 15:30:45 +02:00
Zeno Rogue
c3ecb9bdc5 improvements to camera 2020-04-19 15:20:56 +02:00
Zeno Rogue
be8d12fd8e improved arrows and PAGEUP/DOWN 2020-04-19 15:16:43 +02:00
Zeno Rogue
700d1bec5f crystal rug rotate 2020-04-17 20:48:41 +02:00
Zeno Rogue
e978ed9eac Home no longer resets view in rug 2020-04-17 00:54:13 +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
Zeno Rogue
f8cbf67a8e shift+arrows now strafe in 3D modes 2020-04-16 21:31:59 +02:00
Zeno Rogue
f903d3c8ea rug:: using HyperRogue general renderer 2020-04-14 17:46:40 +02:00
Zeno Rogue
e4a8b73819 nisot:: nicer precision setting 2020-04-11 15:08:24 +02:00
Zeno Rogue
24f0f1b707 smooth_scrolling feature did not work correctly in non-isotropic geometries 2020-04-08 00:39:16 +02:00
Zeno Rogue
6f9b5d693a 3D ascii was not actually available 2020-02-08 11:22:16 +01:00
Zeno Rogue
2271a67506 removed the MAX_EDGE limit 2020-01-18 16:03:32 +01:00
Zeno Rogue
cacfa8dee9 oldstyle joystick: smoothening input, ignoring next input 2019-12-27 11:57:08 +01:00
Zeno Rogue
db3168c07f 123 keys in Euclidean adjust the scale 2019-12-26 18:28:01 +01:00
Zeno Rogue
26fb19e7a8 subdivided game.cpp; split movepcto into separate functions 2019-12-08 20:07:02 +01:00
Zeno Rogue
4fb6563f27 fixup mouse control 2019-11-22 16:37:21 +01:00
Zeno Rogue
2458ec715d removed calc_relative_matrix with direction hint; used adj in more places 2019-11-22 14:34:56 +01:00
Zeno Rogue
8fad2bc9d5 replaced compute_relamatrix and some cases of calc_relativematrix with adj 2019-11-22 14:25:13 +01:00
Zeno Rogue
ef9e2236ba viewctr is no more... major reduction of redundancy/complexity 2019-11-14 00:26:50 +01:00
Zeno Rogue
85504de44b shmup:: no more orb usage after death 2019-09-27 17:06:12 +02:00
Zeno Rogue
a3d9711ec2 more adjustments to disabled CAP_* 2019-09-13 03:10:26 +02:00
Zeno Rogue
f934943732 changed some shmup:: to multi:: 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
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +02:00
Zeno Rogue
50052f27f5 pointing-to-directions now checks for the cell which is the most towards the given direction 2019-09-12 22:50:15 +02:00
Zeno Rogue
96d7496043 refactored all the operations on View 2019-09-12 22:50:15 +02:00
Zeno Rogue
136b931609 PSL(2,R) 2019-09-12 22:50:15 +02:00
Zeno Rogue
e636d3f40c preliminary S2xE 2019-09-12 22:50:13 +02:00
Zeno Rogue
fb0f5872c8 3d models in product space 2019-09-12 22:50:13 +02:00
Zeno Rogue
00f4f4fca5 fully turnable product spaces 2019-09-12 22:50:13 +02:00
Zeno Rogue
52f19a26a8 solmul when mousewheel-scroll 2019-09-12 22:50:13 +02:00
Zeno Rogue
6958cbcbd9 product:: preliminary version (no turning) 2019-09-12 22:50:13 +02:00