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

92 Commits

Author SHA1 Message Date
Zeno Rogue
d4df8a970c improved ONLY_GCC46 2019-09-13 19:07:19 +02:00
Zeno Rogue
2a950369ba solv:: CAP_SOLV 2019-09-13 17:45:31 +02:00
Zeno Rogue
6958cbcbd9 product:: preliminary version (no turning) 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
4422b910c0 header cleanup: rug 2019-09-12 22:50:12 +02:00
Zeno Rogue
c97ab10700 pushed unimplemented Product 2019-09-12 22:50:09 +02:00
Zeno Rogue
54f1ad4163 CAP_MEMORY_RESERVE disabled in WEB 2019-09-12 22:50:09 +02:00
Zeno Rogue
31c99e486f CAP_NOSHADER 2019-09-12 22:50:09 +02:00
Zeno Rogue
fe635cc7d8 CAP_MEMORY_RESERVE and memory reserve handled in mobile (if CAP_MEMORY_RESERVE was 1) 2019-09-12 22:50:08 +02:00
Zeno Rogue
977c5f2d69 CAP_MOUSEGRAB 2019-09-12 22:50:08 +02:00
Zeno Rogue
609fc29119 memory settings saved; adjusted for the lack of get_new_handler on steam 2019-09-12 22:50:06 +02:00
Zeno Rogue
c8e950cd40 added some missing CAP_ and MAXMDIM guards 2019-09-12 22:43:01 +02:00
Zeno Rogue
22c88d0960 moved loadOldConfig to legacy.cpp and disabled it 2019-09-12 22:43:00 +02:00
Zeno Rogue
c25561bb91 fixup for Steam/Windows compilers 2019-09-12 22:38:45 +02:00
?
b52097ebe7 added missing CAP_SHAPES, and changed CAP_SAVE to CAP_FILES 2019-09-12 22:38:42 +02:00
?
54f278963c renamed MAXDIM to MAXMDIM (conflict with crystal) 2019-09-12 22:38:42 +02:00
?
d08e58f404 3d:: 2D/3D is now selectable at runtime 2019-09-12 22:38:40 +02:00
?
e73d2f2f22 some work on 3D view 2019-09-12 22:38:39 +02:00
?
15b27aff2f racing/complex2:: disabled with ISMINI 2019-09-12 22:38:39 +02:00
?
e39777f04d CAP_ animations etc. cleanup 2019-09-12 22:38:39 +02:00
?
c5a771c888 CAP_FIELD part 1 2019-09-12 22:38:39 +02:00
?
b25730d5c9 geometry flags part 1 2019-09-12 22:38:39 +02:00
?
183b267d64 improved ISMINI; always_false 2019-09-12 22:38:39 +02:00
Zeno Rogue
4498aa10b7 fixed the mobile music credits 2019-09-12 22:38:39 +02:00
Zeno Rogue
3a8a5a6150 fixed missing CAP_RACING guards 2019-09-12 22:38:39 +02:00
Zeno Rogue
4432b30b2a CAP_BONUS set to 1 2019-04-29 17:19:05 +02:00
Zeno Rogue
8672b121b9 racing:: save ghost files 2019-04-29 17:19:05 +02:00
Zeno Rogue
16a5e45c0a racing:: first commit 2019-04-29 17:19:05 +02:00
Zeno Rogue
74ad8ea135 brownian:: more serious work 2019-04-29 17:19:05 +02:00
Arthur O'Dwyer
ac37e5c000 Get hyper_function.h compiling on GCC 4.6.
We must avoid the following features:
- the `using` syntax for typedefs
- alias templates (so, rename `hyper_function` to `function`)
- the `override` keyword
- defaulted virtual destructors
2019-02-10 15:54:58 -05:00
Arthur O'Dwyer
9471ac4ff5 Rearrange some macros. No functional change intended. 2019-02-08 18:18:56 -05:00
Zeno Rogue
f546bba84a fixes for mobile 2019-02-08 16:57:19 +01:00
Zeno Rogue
4e4fce922e added some missing CAP_ guards 2018-12-15 15:17:06 +01:00
Zeno Rogue
c73b598d93 screenshots are more configurable now 2018-12-14 19:30:17 +01:00
Zeno Rogue
6f2deeafcc animation menu 2018-09-10 18:12:07 +02:00
Zeno Rogue
35353fe70e faster graphics with MINIMIZE_GL_CALLS 2018-09-04 23:27:27 +02:00
Arthur O'Dwyer
f10f5a29b2 Fix a couple of issues in MSVC related to min and max.
MSVC apparently thinks that the result of arithmetic promotions
on an `unsigned:4` bitfield is `unsigned`, not `int`; which then
causes it to fail to deduce whether the `T` in `min<T>` should be
`unsigned` (the type of the LHS) or `int` (the type of the RHS).
Clang and GCC agree that the result of arithmetic promotions on
an `unsigned:4` bitfield should be `int`, so they don't see any
ambiguity here.
2018-07-08 22:19:30 -07:00
Arthur O'Dwyer
53d8f8701d Switch out "dirent.h" for Windows.
The new version comes straight from
https://raw.githubusercontent.com/tronkko/dirent/master/include/dirent.h
2018-06-29 16:03:25 -07:00
Arthur O'Dwyer
034514778d Avoid two more encroachments by Windows into the user's namespace.
"hyper" is described here: https://sourceforge.net/p/mingw/mailman/message/8593274/

"rad1" is described here: http://lolengine.net/blog/2011/3/4/fuck-you-microsoft-near-far-macros
2018-06-27 03:12:48 -07:00
Arthur O'Dwyer
db3e5d1009 Minor fixes for Mac and MinGW.
Eliminate a format-string warning by using less template magic:
https://stackoverflow.com/questions/12573968/how-to-use-gccs-printf-format-attribute-with-c11-variadic-templates

Fix one `%Ld` in `rogueviz.cpp` that should have been `%lld`.

Rename `savepng.c` into `savepng.cpp` so that we don't have to care about
the system's C compiler; it builds fine using the same C++ options as
HyperRogue itself.

Figure out how to get `-DCAP_PNG` and `-DCAP_ROGUEVIZ` working on Mac,
and document them.
Assume that roughly the same things should also work on MinGW.

Consistency on `STDSIZE`, even though it doesn't suffice for C++17 conformance.
It *almost* suffices; the one place where Clang still complains even with
`-std=c++17 -DSTDSIZE -Wno-sign-compare` is here:

    ./fieldpattern.cpp:757:51: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'int' in initializer list
          [-Wc++11-narrowing]
          ex.primes.emplace_back(primeinfo{nextprime, size(fp.matrices) / S7, (bool) fp.wsquare});
                                                      ^~~~~~~~~~~~~~~~~~~~~~

So, we fix that up too, in this patch.
2018-06-16 23:20:50 -07:00
Zeno Rogue
56baba800b moved more includes to sysconfig.h 2018-06-12 23:10:20 +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