1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-30 20:10:35 +00:00
Commit Graph

5132 Commits

Author SHA1 Message Date
Arthur O'Dwyer
3f129ff6e5 Define GL_SILENCE_DEPRECATION on OSX.
This is gross and inexplicable, but Xcode now spews warnings whenever
you use any part of OpenGL on Mac.
https://www.reddit.com/r/opengl/comments/b44tyu/apple_is_deprecating_opengl/
https://www.reddit.com/r/opengl/comments/8okcf1/opengl_deprecated_in_macos_1014/
Fortunately the workaround for now is to just suppress the warnings.

    In file included from hyper.cpp:26:
    ./glhr.cpp:21:20: error: 'glGetError' is deprecated: first deprecated
          in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION
          to silence these warnings) [-Werror,-Wdeprecated-declarations]
      GLenum errCode = glGetError();
                       ^
2020-02-16 10:10:50 -05:00
Zeno Rogue
3b10c95a32
Merge pull request #89 from Quuxplusone/gcc54
Remove all GCC 4.6 support, and for other purposes
2020-02-16 11:09:35 +01:00
Arthur O'Dwyer
e7ce5e3084 Fix some typos in the README. 2020-02-15 23:01:25 -05:00
Arthur O'Dwyer
6089a8b391 Const-correctness in langen.cpp. 2020-02-15 22:59:04 -05:00
Arthur O'Dwyer
d0a6212fd4 Remove all GCC 4.6 support; new minimum is GCC 5.4. 2020-02-15 16:22:15 -05:00
Zeno Rogue
8c87f123a0 CAP_ZLIB to tell whether we need ZLIB 2020-02-15 14:10:49 +01:00
Zeno Rogue
33e6242f36
Merge pull request #88 from Quuxplusone/unbreak-travis
Fix several minor issues causing TravisCI to be red
2020-02-15 13:54:12 +01:00
Arthur O'Dwyer
e6ac60b356 Fix a typo-bug in f20a6bf2: s/phtread/pthread/
However, this does not unbreak the build on Emscripten.
Emscripten doesn't know where to find <zlib.h> at all:

    ./sysconfig.h:429:10: fatal error: 'zlib.h' file not found
    #include <zlib.h>
             ^~~~~~~~
2020-02-14 13:17:42 -05:00
Arthur O'Dwyer
fe53cd09ad Silence a warning to fix the build break on clang++ -std=c++11 -Wall.
./rogueviz/rewriting.cpp:120:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
      ginf[gInfOrderMixed].distlimit = {1, 1};
                                        ^~~~
                                        {   }
2020-02-14 13:14:48 -05:00
Arthur O'Dwyer
a07e1d0809 Fix a compiler error from g++-4.6 -std=c++0x.
reg3.cpp:1129:47: error: expected primary-expression before ‘{’ token

This doesn't completely fix the build break on gcc46.
It's probably time to retire that build from TravisCI.
2020-02-14 13:12:04 -05:00
Zeno Rogue
ed15d381aa added -O3 to mymake suggestion 2020-02-13 12:12:37 +01:00
Zeno Rogue
aa02d6808b rogueviz:: impossible triangle viz 2020-02-13 12:09:42 +01:00
Zeno Rogue
a241a3df61 nilv:: get_heptagon_at 2020-02-13 11:09:27 +01:00
Zeno Rogue
e133fffd5d nilv:: nilwidth option 2020-02-13 11:09:18 +01:00
Zeno Rogue
42f4167a26 CLI option -mgen-off to disable wandering monster 2020-02-13 11:08:39 +01:00
Zeno Rogue
3441d86d2c reptilecheat disables stuff in the Minefield 2020-02-13 11:07:28 +01:00
Zeno Rogue
86009d1e49 improved bucketer 2020-02-13 11:06:54 +01:00
Zeno Rogue
1712914771 manual-animation: mrec_first and mrec_last actually taken into account 2020-02-13 11:05:10 +01:00
Zeno Rogue
689adb8681 manual-animation: 'u' now can clear the whole recording 2020-02-13 11:04:52 +01:00
Zeno Rogue
541448ca38 manual-animation: save the route in Nil 2020-02-13 11:03:35 +01:00
Zeno Rogue
1e0f8f45b1 manual-animation: b4_distance only in Solv 2020-02-13 11:03:22 +01:00
Zeno Rogue
cb4f0e3984 manual-animation: spinaround and fix-orientation features 2020-02-13 11:02:56 +01:00
Zeno Rogue
bdb5c7b7b6 fixed mine colors in ASCII 2020-02-13 11:01:20 +01:00
Zeno Rogue
6f9b5d693a 3D ascii was not actually available 2020-02-08 11:22:16 +01:00
Zeno Rogue
04f69c4c9a patterns: J (j with changes) 2020-02-08 10:50:04 +01:00
Zeno Rogue
97ff8166f5 11.2x 2020-02-08 10:49:47 +01:00
Zeno Rogue
8cba24fb20 11.2x 2020-02-07 19:45:47 +01:00
Zeno Rogue
81ad14061b fixed a crash in S^3 2020-02-07 19:45:20 +01:00
Zeno Rogue
1acfe8becb fixed bucketer in H2xE 2020-02-07 19:45:07 +01:00
Zeno Rogue
fba1953f63 fixed getcurrfp in horospherical hyperbolic 2020-02-07 19:44:44 +01:00
Zeno Rogue
759fed36f9 raycaster: correct centering 2020-02-07 19:13:18 +01:00
Zeno Rogue
2a01728d19 'j' pattern: works in Nil, takes canvasback into account 2020-02-07 18:36:37 +01:00
Zeno Rogue
ea55f43abf better centering in cheatmode 2020-02-07 18:35:24 +01:00
Zeno Rogue
5cbe61a823 fixed a crash when displaying inventory with OpenGL off 2020-02-07 18:34:47 +01:00
Zeno Rogue
602ee9df0c fixed rotspace 2020-02-07 18:34:19 +01:00
Zeno Rogue
4b4c21cfa4 neonmodes work better with bordcolor changed 2020-02-07 18:33:58 +01:00
Zeno Rogue
c9401baff3 nicer side plainwalls in binary tiling 2020-02-07 18:33:03 +01:00
Zeno Rogue
771fc5617f dpgen:: no timer ghosts 2020-01-30 17:46:20 +01:00
Zeno Rogue
e07f5fed0c dual:: when one side is Euclidean, only the other one rotates 2020-01-30 17:45:51 +01:00
Zeno Rogue
8005b39f6f ASCII/3D mode, also reacts to neon settings 2020-01-30 17:45:05 +01:00
Zeno Rogue
34d5ec2242 horo_distance naming conflict, renamed to horo_gen_distance 2020-01-29 19:32:32 +01:00
Zeno Rogue
ea29b1cb99 11.2w 2020-01-29 19:29:16 +01:00
Zeno Rogue
79038b12f8 in configure.ac, used deflate instead of deflateInit (since deflateInit is a macro) 2020-01-29 19:27:20 +01:00
Zeno Rogue
61d76622a4 reg3:: rule:: optimized link_structures 2020-01-29 19:23:31 +01:00
Zeno Rogue
64f9718a54 increased layer size and decreased wall quantity (replaced with rubble) in rule Temples 2020-01-29 19:23:00 +01:00
Zeno Rogue
0b18865654 horocycle generation distance reduced in rule 2020-01-29 19:20:25 +01:00
Zeno Rogue
d6dddec4dc fixup MAXMDIM 2020-01-29 19:04:54 +01:00
Zeno Rogue
9d2d7fbde8 fixed a warning on hwrite string 2020-01-29 18:21:35 +01:00
Zeno Rogue
081fee1907 fixed lmouseover computation destroying dual geometry 2020-01-29 18:21:12 +01:00
Zeno Rogue
c925dc162c no other emeraldval in 535 2020-01-29 18:20:14 +01:00