1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-15 17:54:48 +00:00
Commit Graph

77 Commits

Author SHA1 Message Date
?
e39777f04d CAP_ animations etc. cleanup 2019-09-12 22:38:39 +02:00
Arthur O'Dwyer
a478bb1485 Fix some minor std::function-related bugs.
Lambdas to be stored in `function<void()>` should not return `bool`.

Two uses of `std::function` could be just `function`, like everywhere
else in the codebase.
2019-02-06 18:48:53 +01:00
Zeno Rogue
730e7b5b99 number editor now accepts hex numbers, and uses hex as default when editing Tortoises 2019-02-06 18:48:53 +01:00
Zeno Rogue
5782c72b28 fixup info to help 2018-12-14 19:30:54 +01:00
Zeno Rogue
5d01ac0732 text improvements, PL/CZ translation update 2018-12-14 19:30:54 +01:00
Zeno Rogue
f22ec08f86 Warnings when hitting an ally. Better warnings 2018-12-14 19:30:54 +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
8866bc889d string editor now may restrict the available keys 2018-11-24 22:55:07 +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
d69e952729 animate parameters from the edit dialog 2018-11-11 11:27:36 +01:00
Zeno Rogue
c3c465f742 customizable colors for game objects 2018-11-11 11:27:29 +01:00
Zeno Rogue
55fdd25a6c formula parser now understands complex numbers, and some extra functions including let(x=2, x*x) 2018-11-11 11:25:58 +01:00
Zeno Rogue
7e80be5a87 dialog:: abstracted string editing 2018-11-11 11:25:58 +01:00
Zeno Rogue
2a9f93273a dialog:: color dialog now uses dialogcolor, not forecolor 2018-10-23 20:09:54 +02:00
Zeno Rogue
ad3355f500 parsing expressions allowed for integers too 2018-09-23 16:34:53 +02:00
Zeno Rogue
bdcae25c8e dialog:: fixed parameter order in handleKeyFile 2018-09-10 20:31:11 +02:00
Zeno Rogue
7da2b7e9a1 argf now parses the given argument 2018-09-10 19:28:12 +02:00
Zeno Rogue
f53961658b number editor now accepts expressions 2018-09-10 17:09:04 +02:00
Zeno Rogue
0dbe4822ec dialog:: refactored scaling in number dialogs 2018-09-10 16:47:28 +02:00
Zeno Rogue
796b03a81c fixed dialogs to consider uni first (thus it works correctly if both x and shift+x are bound with add_action 2018-09-10 16:42:35 +02:00
Zeno Rogue
e4bcae6ae6 dialog::dialogcolor instead of 0xC0C0C0 2018-09-05 15:18:40 +02:00
Zeno Rogue
1ab460ffb1 type color_t should now be consistently used for colors; reimplemented drawqueue in OO fashion 2018-09-04 19:53:42 +02:00
Zeno Rogue
1e15992a22 added dialog::extra_options, and extra options in number dialogs now use this feature 2018-08-01 03:59:20 +02:00
Zeno Rogue
e27cd9b654 stretch factor in cylindrical equidistant and cylindrical equi-area models 2018-07-30 17:44:11 +02:00
Zeno Rogue
ba92dd4b32 dialog navigation enabled for mobiles 2018-07-23 16:17:49 +02:00
Zeno Rogue
5b41f5d157 highlight buttons on overview/PTM screens; improved zoom feature; fixed a bug with zoom spilling to the inventory screen 2018-07-22 12:54:05 +02:00
Zeno Rogue
2a96937c89 dialog:: add_action to specify an action for the given key immediately after creating an item, rather than in the handler 2018-07-09 18:11:49 +02:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
3881a7dd97 more cleanup with uniformizing the keys for 'back' and 'help' 2018-06-13 00:00:01 +02:00
Zeno Rogue
44affc3e9d resolved conflicts introduced by merging zenorogue/hyperrogue#21 2018-06-12 23:28:06 +02:00
Zeno Rogue
c23d893df2 Change the return type of handleKeyFile to void, and unswap the arguments. zenorogue/hyperrogue#25 2018-06-12 22:12:15 +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
1a72a629ea 'numberdark' value controls darkening in number dialogs 2018-05-15 23:26:27 +02:00
Zeno Rogue
e43d630185 geom3:: gp:: autoscaling 2018-04-23 12:34:14 +02:00
Zeno Rogue
1f6ee5a408 ... but only increased 2018-04-11 15:49:49 +02:00
Zeno Rogue
f6aaa0515a changing the range in bounded or Euclidean geometry is no longer considered cheating 2018-04-11 13:19:21 +02:00
Zeno Rogue
ebda963d68 removed no longer productive 'overgenerate', improved the down/up limits of sightrange_bonus 2018-04-10 20:25:56 +02:00
Zeno Rogue
196b7ad104 F1 key name shows 2018-04-10 05:19:49 +02:00
Zeno Rogue
229f717678 split sight/game/generation range; bonuses instead of absolute values 2018-04-03 23:34:47 +02:00
Zeno Rogue
6399ef8180 exporting more in hyper.h 2018-03-30 00:20:50 +02:00
Zeno Rogue
b74ca7b4c8 immediate overgeneration 2018-03-27 14:08:56 +02:00
Zeno Rogue
a10491f3d6 improved the automatic rotation 2018-03-25 15:07:11 +02:00
Zeno Rogue
d3c9bfdd92 improved the quality of 3D models from conformal menu 2018-03-24 15:15:30 +01:00
Zeno Rogue
e77a126c81 fixed the descriptions in the stereo vision config; added some previously untranslated texts 2018-02-13 13:37:20 +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
76214e768e Enter now correctly accepts in the number dialog 2018-02-03 20:04:33 +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
c79037088f fixed selection in the color dialog 2018-01-25 23:47:13 +01:00
Zeno Rogue
5a183618db fixed a flag bug 2018-01-05 17:29:26 +01:00
Zeno Rogue
c188f8924d fixed the F4 keypress in file dialog 2018-01-05 14:17:40 +01:00