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

17 Commits

Author SHA1 Message Date
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
d3200253db replacing with an explicit list 2018-06-17 18:32:06 +02: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
64adb6f0ea updated the header comments to 2018, also added the missing ones 2018-02-09 00:40:26 +01:00
Zeno Rogue
d007580967 configurable field patterns 2017-11-07 00:40:46 +01:00
Zeno Rogue
f38cf14110 unified the land lists 2017-11-03 19:31:42 +01:00
Zeno Rogue
fe3f1bf4ad improved texts, appro overview changed in some cases, 'x'pansion moved to geom sel 2017-10-31 15:20:02 +01:00
Zeno Rogue
4ff3593ce8 removed printf parameter to avoid Clang warning 2017-10-14 19:54:52 +02:00
Zeno Rogue
a11ffd2845 fixed a bug which caused some texts not to be translated 2017-09-17 12:47:32 +02:00
Zeno Rogue
7c82c3e5a3 fixes to make the Emscripten web version compile correctly 2017-08-13 20:49:38 +02:00
Zeno Rogue
130fefa4c4 10.0g 2017-08-06 14:50:16 +02:00
Zeno Rogue
ce5650a81f 10.0 2017-07-16 23:00:55 +02:00
Zeno Rogue
22c9217219 work in progress for 10.0 2017-07-04 15:38:33 +02:00
Zeno Rogue
58e053f183 Updated the source files to 9.4c 2017-03-23 11:53:57 +01:00
Eryk Kopczyński
3237ff455e Updated to 8.3j 2016-08-26 11:58:03 +02:00
Zeno Rogue
19055633b0 Updated HyperRogue sources to 7.4f. 2016-01-02 11:09:13 +01:00
Alexandre Moine
9b11f1b6c5 Initialization with hyperrogue-66 2015-08-08 15:57:52 +02:00