1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 02:50:34 +00:00
Commit Graph

244 Commits

Author SHA1 Message Date
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
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
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
Zeno Rogue
ad03115097 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
5ea055b39e split namespace conformal into models and history 2019-09-12 22:50:12 +02:00
Zeno Rogue
a76a5dd265 further cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
a423dbd2da more header cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
c2d56fb9bc autohdr.h applied in more files 2019-09-12 22:50:12 +02:00
Zeno Rogue
f4eda1d76e removed function fixdir 2019-09-12 22:50:12 +02:00
Zeno Rogue
64ad97cf2f shmup:: no longer ignores frame limit (just sets it to 30) 2019-09-12 22:50:12 +02:00
Zeno Rogue
4f27b12ca2 nilv:: preliminary implementation 2019-09-12 22:50:11 +02:00
Zeno Rogue
1e81ed606d solv:: graphical coordinates are now always standard -- local_perspective used in all models 2019-09-12 22:50:10 +02:00
Zeno Rogue
90aa7b5c02 solv:: removed ILP for simplicity and better performance 2019-09-12 22:50:10 +02:00
Zeno Rogue
816320da94 sol:: solmul 2019-09-12 22:50:09 +02:00
Zeno Rogue
3c913b91b9 removed bad apply_orientation 2019-09-12 22:50:08 +02:00
Zeno Rogue
aec019a29b ORS improvement 2019-09-12 22:50:08 +02:00
Zeno Rogue
680a3cc867 move by clicking (or stay by clicking down) in 3D 2019-09-12 22:50:08 +02:00
Zeno Rogue
4a65e11c1d camera rotation by device orientation in 3D 2019-09-12 22:50:08 +02:00
Zeno Rogue
93813f4cf1 ors:: fixed a crash when enabling spherical VR 2019-09-12 22:50:08 +02:00
Zeno Rogue
977c5f2d69 CAP_MOUSEGRAB 2019-09-12 22:50:08 +02:00
Zeno Rogue
7b69046125 2.5D: keyboard/controller movement works better now 2019-09-12 22:50:08 +02:00
Zeno Rogue
25999229a4 2D3D: fixed_yz now works when scrolling 2019-09-12 22:50:08 +02:00
Zeno Rogue
06301d73fc new memory handling 2019-09-12 22:50:05 +02:00
Zeno Rogue
7f1f6acbf7 third person perspective ('3') now works in FPP (ok this is confusing) 2019-09-12 22:50:04 +02:00
Zeno Rogue
662d46b7ba xres/yres changes affect all screens (should not be in videopar maybe?) 2019-09-12 22:50:04 +02:00
Zeno Rogue
f509dd0db0 dual:: panning split only if cannot select with mouse 2019-09-12 22:50:03 +02:00
Zeno Rogue
8295251cdc multigame support, including dualmode 2019-09-12 22:50:03 +02:00
Zeno Rogue
b6e303ec7d MAJOR refactoring: all geometry-dependent data (tessf, geom3::, shapes, hpc) are now contained in a structure 2019-09-12 22:50:03 +02:00
Zeno Rogue
7d8f48d48b replaced some debug printfs with print hlog 2019-09-12 22:50:02 +02:00
Zeno Rogue
ae100b1e72 removed some obsolete debug printfs 2019-09-12 22:50:02 +02:00
Zeno Rogue
df3e21b310 debug cleanup 2019-09-12 22:50:00 +02:00
Zeno Rogue
1c4d86e0e9 3D graphics in 2D (first commit) 2019-09-12 22:43:01 +02:00
Zeno Rogue
531596f0e7 fixed instant centering in shmup 2019-09-12 22:43:00 +02:00
Zeno Rogue
d9c6ae14ae reduced the default vid.yshift in third person perspective 2019-09-12 22:42:59 +02:00
Zeno Rogue
80d14c0196 add_action_push consistently; improved some menu hotkeys and ordering; improved some naming 2019-09-12 22:42:58 +02:00
Zeno Rogue
54a32441a7 restructured menus 2019-09-12 22:42:58 +02:00