1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-17 02:40:03 +00:00
Commit Graph

54 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
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
fa64573971 fixed the thread locking 2020-01-28 17:58:55 +01:00
Zeno Rogue
f20a6bf2f6 zlib used for (de)compression 2020-01-26 00:30:13 +01:00
Zeno Rogue
4fd196c6d8 added _WIN32_WINNT as required by mingw threads 2020-01-18 17:21:33 +01:00
Zeno Rogue
b5d43fd480 threads in MinGW 2020-01-16 18:11:59 +01:00
Zeno Rogue
9444401ffa fixup to last 2020-01-16 18:11:01 +01:00
Zeno Rogue
5382038c4e field quotient discovery 2020-01-16 17:13:57 +01:00
Zeno Rogue
1539d85a45 added <unordered_set> 2019-12-06 14:03:12 +01:00
Zeno Rogue
4bd4e11c7e may combile with ISSTEAM but no CAP_DAILY 2019-11-30 18:06:48 +01:00
Zeno Rogue
e1d6f547a4 fixed GCC46 testing 2019-09-13 19:23:22 +02:00
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