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

43 Commits

Author SHA1 Message Date
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
6ebf2545d6 web: get_value function 2020-01-19 11:49:49 +01:00
Zeno Rogue
d0955c20ac Hyperweb is 3D, but RogueViz is 4D 2019-09-13 17:46:07 +02:00
Zeno Rogue
334ffd644a hyperweb compiles 2019-09-13 03:47:55 +02:00
Zeno Rogue
d1faa2011c updating emscripten build 2019-09-13 00:31:54 +02:00
Zeno Rogue
2cf6abb273 removed rotmatrix as it did exactly the same as cspin 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
9f6d2a5d89 rogueviz:: newconformist explorable explanation added 2019-09-12 22:50:09 +02:00
Zeno Rogue
4665e7ca14 hyperweb:: default arguments possible 2019-09-12 22:50:09 +02:00
Zeno Rogue
37dd9cb208 hyperweb:: resolution backed up 2019-09-12 22:50:09 +02:00
Zeno Rogue
41dc9dfa61 changed geom:: to vid in hyperweb.cpp 2019-09-12 22:50:04 +02:00
Zeno Rogue
10529af236 web:: changed Pointer_stringify to UTF8ToString as suggested 2019-09-12 22:50:04 +02:00
Zeno Rogue
492a4dce8d set the current settings for the online version 2019-09-12 22:43:01 +02: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
d1d2a300c4 refactored the degree constant 2018-11-11 11:25:59 +01:00
Zeno Rogue
c4832dfd25 some minor improvements in hyperweb 2018-10-23 17:07:44 +02:00
Zeno Rogue
b540419096 hyperweb: now can accept more arguments in the commandline 2018-09-06 22:34:54 +02:00
Zeno Rogue
ec84643070 open URLs from Emscripten 2018-09-05 15:34:13 +02:00
Zeno Rogue
a239a26843 hyperweb: fixed the rotmatrix parameter order, also disabled is CAP_ORIENTATION disabled 2018-09-02 15:09:22 +02:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
1eaaac4d77 made the web version compile 2018-06-14 00:06:54 +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
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
033c626dfc restartGame, wrong mode, and resetModes now use constants instead of magic char names 2018-04-09 18:05:23 +02:00
Zeno Rogue
a951651f67 hyperweb:: fixed the old references to sightrange 2018-04-09 15:55:43 +02:00
Zeno Rogue
458baefab6 CAP_ORIENTATION is optional in hyperweb 2018-02-26 13:17:29 +01:00
Zeno Rogue
283c6bba39 cleanup: arguments 2018-02-26 13:14:20 +01:00
Zeno Rogue
11d7b6e9e4 better start menu switching for online 2018-02-12 16:21:19 +01:00
Zeno Rogue
6ef98ddc0a web CLI: argument display 2018-02-12 13:37:01 +01:00
Zeno Rogue
bb5ac04875 more fixes to Emscripten CLI 2018-02-12 13:12:08 +01:00
Zeno Rogue
15dcbc188a fixes to emscripten CLI 2018-02-12 12:56:39 +01:00
Zeno Rogue
850631107c hyperweb now accepts commandline arguments 2018-02-12 12:49:20 +01:00
Zeno Rogue
09631c5f6e better fullscreen in online version 2018-02-11 22:11:28 +01:00
Zeno Rogue
1781554684 more work on the online version: fullscreen, orientation 2018-02-11 21:39:47 +01:00
Zeno Rogue
cab8a0a38f Works online now! 2018-02-11 19:08:17 +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
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
7c82c3e5a3 fixes to make the Emscripten web version compile correctly 2017-08-13 20:49:38 +02:00
Zeno Rogue
8cb8e2a3ec updated to 10.0c 2017-07-23 01:33:27 +02:00
Zeno Rogue
1c99cd647e commited changes from 9.4i and some extra 2017-05-27 21:40:40 +02:00
Zeno Rogue
4570fa2ea4 fixes for Emscripten, and for compiling without tutorial 2017-04-15 04:48:59 +02:00
Zeno Rogue
58e053f183 Updated the source files to 9.4c 2017-03-23 11:53:57 +01:00