1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 07:29:54 +00:00
Commit Graph

266 Commits

Author SHA1 Message Date
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
Zeno Rogue
1a770aaf37 3d:: Escher can now be switched 2019-09-12 22:38:45 +02:00
Zeno Rogue
7bdea22d2a 3d:: the 't' key now targets the same target as the mouse 2019-09-12 22:38:45 +02:00
?
53bc4c0251 3d:: mousewheel now can be used to move the camera forward/backward 2019-09-12 22:38:42 +02:00
?
357a3398cd mouse aiming in map/graph editor 2019-09-12 22:38:42 +02:00
?
5ff834e310 3d:: qezc/1379/ijkl now move in the 'y' direction 2019-09-12 22:38:42 +02:00
?
26b5d55224 3D:: 123 keys now switch perspectives 2019-09-12 22:38:42 +02:00
?
170648a367 mouse aiming sensitivity is now configurable; set to 0 to disable 2019-09-12 22:38:42 +02:00
?
d83abeaebb 3D:: disabled menu options which are not available in 3D 2019-09-12 22:38:40 +02:00
?
bc454d56cd 3D:: movement in non-shmup 2019-09-12 22:38:40 +02:00
?
71f02d5dc2 3d:: mouse aiming 2019-09-12 22:38:40 +02:00
?
6808c4e926 smooth_scrolling now configurable 2019-09-12 22:38:40 +02:00
?
d08e58f404 3d:: 2D/3D is now selectable at runtime 2019-09-12 22:38:40 +02:00
?
1f8510bc71 smooth_movement option (not yet in menu) 2019-09-12 22:38:40 +02:00
?
5c7fd31446 3D:: HOME moves view back instead of centering 2019-09-12 22:38:40 +02:00
?
e73d2f2f22 some work on 3D view 2019-09-12 22:38:39 +02:00
Zeno Rogue
8a6d3173bd more guards for CAP_SHOT/CAP_FILES 2018-12-15 15:20:27 +01:00
Zeno Rogue
4e4fce922e added some missing CAP_ guards 2018-12-15 15:17:06 +01:00
Zeno Rogue
f34fae5bd8 SHIFT/CTRL/ALT keys no longer disable menus in web 2018-12-14 19:30:23 +01:00
Zeno Rogue
4f9e9c2e47 added sm::MAYDARK to some dialogs 2018-12-14 19:30:22 +01:00
Zeno Rogue
8d1e341555 web:: 'take screenshot' feature now creates a SVG file and opens it in a new window 2018-12-14 19:30:22 +01:00
Zeno Rogue
c73b598d93 screenshots are more configurable now 2018-12-14 19:30:17 +01:00
Zeno Rogue
b256ac70af improved key handling: numpad works as directions with numlock off and numbers with numlock on; shift+5 works now; better key assignments in crystal rug 2018-12-14 19:27:12 +01:00
Zeno Rogue
9b21b9c5a0 improved key handling: shift+5 works now, and better key assignments in crystal rug 2018-12-14 19:27:12 +01:00
Zeno Rogue
8e2727882e shmup:: rewritten shmup configuration in OOP style 2018-11-18 18:26:56 +01:00
Zeno Rogue
d935febf09 refactored some global and stereo:: variables into display_data structure 2018-11-18 18:26:56 +01:00
Zeno Rogue
c3c465f742 customizable colors for game objects 2018-11-11 11:27:29 +01:00
Zeno Rogue
a9535878c4 model orientation 2018-10-23 16:58:19 +02:00
Zeno Rogue
a95aa0a2fa fixed keyboard movement in non-orientable geometries 2018-09-10 18:46:09 +02:00
Zeno Rogue
f8d2b3308b web:: made sure that timetowait=0 in 2018-09-06 00:48:11 +02:00
Zeno Rogue
35353fe70e faster graphics with MINIMIZE_GL_CALLS 2018-09-04 23:27:27 +02:00
Zeno Rogue
6de0f0a8aa instead of nonbitrunc, gp::on and irr::on, there is one variable, variation 2018-08-28 17:17:34 +02:00
Zeno Rogue
e1c49a83fa fixed displayspin in syntetic 2018-08-19 16:28:36 +02:00
Zeno Rogue
682f804576 major rewrite: unified the common parts of heptagon and cell via struct connection<T> and struct walker<T> 2018-08-18 00:46:45 +02:00
Zeno Rogue
9faa285814 New file geometry2.cpp, with moved ggmatrix, relative_matrix, virtualRebase, and new get_corner_position family. Refactored in floorpatterns, textures, and grid to use get_corner_position family. 2018-08-17 16:47:06 +02:00
Zeno Rogue
9433803b04 fixed a compilation error with CAP_ORIENTATION 2018-07-23 23:58:45 +02:00
Zeno Rogue
c70db33417 improved mobile compass 2018-07-23 16:17:49 +02:00
Zeno Rogue
e601533a37 improved keyboard control in orthogonal projection of the sphere 2018-07-23 16:17:49 +02:00
Zeno Rogue
6c0a052470 device orientation-based scrolling on mobiles 2018-07-23 16:17:49 +02:00
Zeno Rogue
b502b7025d improvements to the mobile compass: can be used in modes other than MOVE (long click to switch mode to MOVE anyway); better arrow scaling 2018-07-22 15:54:44 +02:00
Zeno Rogue
329a2fa783 fixed the compilation without CAP_COMMANDLINE or without CAP_SVG or fakemobile 2018-07-22 12:50:03 +02:00
Zeno Rogue
59ab37d509 improved vectodir and calcMousedest 2018-07-16 20:06:09 +02:00
Zeno Rogue
f721c243d2 removed DOSHMUP 2018-07-09 20:38:20 +02:00
Zeno Rogue
9a1ec47034 removed a call to rogueviz::processKey 2018-07-09 19:00:47 +02:00
Zeno Rogue
770dd20613 shift+f2 to shift+f4 can now disable HUD, FPS, and the map 2018-07-09 18:10:28 +02:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
35301f0a68 movement animations now work in quotient geometries 2018-06-17 17:51:26 +02:00
Zeno Rogue
4c619e60dd moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library 2018-06-11 01:58:31 +02:00
Zeno Rogue
98246d3066 more cleanup in parameters, restartGame cleanup 2018-06-11 00:58:38 +02:00
Zeno Rogue
b28c82b26b fixes to starting/stopping daily 2018-05-27 01:06:54 +02:00
Zeno Rogue
5cd3ccabb8 refactored handle_event out of mainloopiter 2018-05-26 01:10:23 +02:00
Zeno Rogue
98a6255ca2 ESC clears the viewdistance option 2018-05-03 13:14:43 +02:00
Zeno Rogue
b1382b0b34 pageup/down spin 2x slower to make it possible to rotate by 90 degrees 2018-04-21 12:15:45 +02:00
Zeno Rogue
90cc9e1b49 conformal:: resizing the window works now 2018-04-21 12:14:25 +02:00
Zeno Rogue
68423425ef button position in Android LR 2018-03-02 13:07:35 +01:00
Zeno Rogue
7ab6cb3c8b disabled game playing if 'renderonce' is on; in Android LR, clicking gives the menu instead of doing something else 2018-03-02 13:05:31 +01:00
Zeno Rogue
6cf800859e fixed sending of cheat keys online 2018-02-12 16:20:47 +01:00
Zeno Rogue
64adb6f0ea updated the header comments to 2018, also added the missing ones 2018-02-09 00:40:26 +01:00
Zeno Rogue
2a59ff7ab2 CAP_TOUR guards added, more exported in hyper.h, general cleanup 2018-02-08 22:27:12 +01:00
Zeno Rogue
ad172724e8 made it compile with RUG on emscripten (at least it should -- it does not work for me because of an emscripten bug apparently) 2018-02-03 14:31:17 +01:00
Zeno Rogue
84b7f73920 removed debug stereo control 2018-02-03 13:55:54 +01:00
Zeno Rogue
b3f047ea6a reworked 3D vision 2018-02-03 13:41:49 +01:00
Zeno Rogue
1d5259c074 use checktide always when sightrange>7 2018-01-29 16:28:06 +01:00
Zeno Rogue
b7117cfa6a added an empty default keyhandler just in case 2018-01-23 03:34:35 +01:00
Zeno Rogue
679b6ed53f bugfix in CAP_RUG disabling 2018-01-20 17:56:33 +01:00
Zeno Rogue
dd2a99b920 PSEUDOKEY_RELEASE no longer exits dialogs 2018-01-05 14:16:48 +01:00
Zeno Rogue
3412a50b3d line/circle tools added to the texture editor; grid color changing in texture editor 2018-01-04 12:25:02 +01:00
Zeno Rogue
154bd54607 fixed/extended the mouse zoom etc. 2017-12-30 17:00:35 +01:00
Zeno Rogue
11569c693d big change: more configuration for the torus (and also Klein bottle) 2017-12-28 16:46:10 +01:00
Zeno Rogue
59b51e8a05 mouseh fix 2017-12-27 14:09:39 +01:00
Zeno Rogue
6ac1bc0707 faster reaction to mouse_movement in rug 2017-12-27 13:48:06 +01:00
Zeno Rogue
ae70662495 moving the screen center 2017-12-25 10:26:50 +01:00
Zeno Rogue
d7a4b4ca4a added hooks_fixticks 2017-12-02 00:20:35 +01:00
Zeno Rogue
19f12e3068 HUD elements, including the compass, now drawn correctly in all pmodels 2017-11-13 11:08:06 +01:00
Zeno Rogue
800a37f646 realradius 2017-11-07 13:40:56 +01:00
Zeno Rogue
44ea56baf2 you can now hold in map editor to paint multiple cells 2017-11-06 23:22:13 +01:00
Zeno Rogue
8182a206b9 cubic Windy Plains 2017-11-03 20:55:18 +01:00
Zeno Rogue
adfb59e78f fixed the reverse keyboard movement in Euclidean 2017-11-01 00:52:54 +01:00
Zeno Rogue
345bd94c0d parially done mirrors; field pattern in weirdhyperbolic; fake other patterns in weirdhyperbolic 2017-10-29 10:52:02 +01:00