1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-14 17:34:47 +00:00
Commit Graph

205 Commits

Author SHA1 Message Date
Zeno Rogue
3886b81caa new quick projection menu 2021-02-01 11:20:22 +01:00
Zeno Rogue
79bf71ce78 shmup::vr:: shmup/racing controls for vr 2020-12-31 19:11:14 +01:00
Zeno Rogue
726c2fc871 framerate-independent vr aiming 2020-12-31 19:11:14 +01:00
Zeno Rogue
22fb9d1c30 vr:: pointing in the rug 2020-12-31 19:11:14 +01:00
Zeno Rogue
0ffd31e4b4 vr:: you can still click the map while an UI is shown 2020-12-31 19:11:14 +01:00
Zeno Rogue
cafc265cc6 vr:: controller ray now extend to the correct distance 2020-12-31 19:11:14 +01:00
Zeno Rogue
1b976d364b uniform VR control 2020-12-31 19:11:14 +01:00
Zeno Rogue
e4e1a856e6 replace vrhr::state checking with nicer functions 2020-12-31 19:11:14 +01:00
Zeno Rogue
483ea3369b precise VR pointing (in 2D; still need to send keys) 2020-12-31 19:11:14 +01:00
Zeno Rogue
0520eb132c vr:: vr move/rotate now changes the reference in eHeadest::model_viewing 2020-12-31 19:11:14 +01:00
Zeno Rogue
4cd6f84a78 movement commands change the reference in non-perspective 2020-12-31 19:11:13 +01:00
Zeno Rogue
0de8ce9a10 initial implementation of VR 2020-11-22 17:58:40 +01:00
Zeno Rogue
56164ab172 zoom_or_fov takes panini limits into account 2020-11-08 12:43:07 +01:00
Zeno Rogue
d7351d169a fixed some pconf/vpconf bugs 2020-11-08 12:09:42 +01:00
Zeno Rogue
71e8f84cec using GLWRAP 2020-11-08 11:49:19 +01:00
Zeno Rogue
d64c5e338c extra guards 2020-10-15 16:33:52 +02:00
Zeno Rogue
b37d7b9808 camera_speed and camera_rot_speed configurable from menu, also they work where they should now 2020-09-16 23:49:17 +02:00
Zeno Rogue
e26f8f5a5b optimized inverses 2020-09-16 23:49:17 +02:00
Zeno Rogue
cea3da31fc separated highlight 2020-09-16 23:49:17 +02:00
Zeno Rogue
a215ab462a rug::mouse_control_rug flag 2020-09-15 19:12:54 +02:00
Zeno Rogue
40b91f6d36 camera_speed and camera_rot_speed 2020-09-15 19:12:25 +02:00
Zeno Rogue
b90df0d37b correct key buffering 2020-09-11 11:14:32 +02:00
Zeno Rogue
ecbd8806e7 added some missing guards 2020-07-30 02:29:59 +02:00
Zeno Rogue
3bb3e2027c press alt to disable mouse aiming in the map/draw editor 2020-07-28 22:06:14 +02:00
Zeno Rogue
82f32607e6 MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix 2020-07-28 22:06:14 +02:00
Zeno Rogue
89585f004b fixed some guards (in progress) 2020-07-03 14:42:33 +02:00
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