1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-11 03:50:27 +00:00
Commit Graph

6115 Commits

Author SHA1 Message Date
Zeno Rogue
c623f6a6fc
Merge pull request #102 from Quuxplusone/make-clean
Makefile.simple: Delete some more build products in `make clean`
2020-04-04 01:02:33 +02:00
Arthur O'Dwyer
a708c10f1d Get the build green again. Fix a bug in the Travis config.
The `HYPERROGUE_USE_ROGUEVIZ=1` build now uses inline variables.
So we pass `-std=c++17` in the Makefile. But GCC 5.4.0 (Travis's
default system compiler on Ubuntu Xenial) doesn't recognize
inline variables even in `-std=c++17` mode. Therefore, we must
pass `dist: bionic` to Travis, to get it to use Ubuntu Bionic,
whose system compiler is GCC 7.4.0. But we do this only for the
one entry in the build matrix that builds RogueViz with GCC
on Linux. Nobody else needs `dist: bionic`.

The bug was that my hack to support `g++-5` accidentally prevented
Travis from ever using `clang++`! So all our "Clang" builds were quietly
using regular `g++` instead. This is now fixed, and in fact I've removed
the `g++-5` build because its GCC 5.5.0 is not significantly different
from the regular `g++` build's GCC 5.4.0.

Also, add two more configurations to the build matrix.
Since `HYPERROGUE_USE_ROGUEVIZ=1` now uses `-std=c++17`, we want to
make sure that we run builds on every platform both with `HYPERROGUE_USE_ROGUEVIZ=1`
(to prove that the RogueViz code compiles) and without (to prove that
the non-RogueViz code still compiles as `-std=c++11`).
2020-04-03 17:18:24 -04:00
Zeno Rogue
0d00c70ed6 history animation is now allowed if allowIncreasedRange 2020-04-02 12:59:30 +02:00
Zeno Rogue
6817ed42ad allowIncreasedSight now returns true after gameover 2020-04-02 12:56:26 +02:00
Zeno Rogue
a8b4ad3a85 namespace comment 2020-04-01 12:02:26 +02:00
Zeno Rogue
5c78ba8837 fixed the hotkey in 3d->camera rotation 2020-04-01 12:02:09 +02:00
Zeno Rogue
650604227a face/edge/vertex centering 2020-04-01 12:01:55 +02:00
Zeno Rogue
dc2658a98c rogueviz::snow:: options -snow-color and -snow-intense 2020-04-01 11:28:20 +02:00
Zeno Rogue
94be9c850c rogueviz::snow:: hybrid geometries 2020-04-01 11:28:06 +02:00
Zeno Rogue
f5ce50cc9e fixed compiling without CAP_RVSLIDES 2020-04-01 11:27:26 +02:00
Zeno Rogue
abc2c057c8 fixed a crash bug with Zebra quotient 2020-04-01 11:27:13 +02:00
Zeno Rogue
c60714f145 slr::lift_matrix as a separate function 2020-04-01 11:26:58 +02:00
Zeno Rogue
9b014ab824 constants are not static const not constexpr as older compilers do not like it 2020-04-01 11:26:45 +02:00
Zeno Rogue
e53f61a8be history:: specifically mark starting position 2020-04-01 11:26:19 +02:00
Zeno Rogue
fee3734c6b fixed -draw: start_game() was missing 2020-04-01 11:25:13 +02:00
Zeno Rogue
669d9a1d8a nicer 3D snowballs 2020-04-01 11:25:01 +02:00
Zeno Rogue
0abb296e06 commandline option -cmove 2020-04-01 11:03:36 +02:00
Zeno Rogue
08032809a2 rogueviz::snow:: random_snow_matrix as a separate function 2020-03-31 22:19:19 +02:00
Zeno Rogue
00735cac90 rogueviz::snow:: disable texture 2020-03-31 22:14:38 +02:00
Arthur O'Dwyer
73d1232a8f Makefile.simple: Delete some more build products in make clean. 2020-03-31 15:53:01 -04:00
Arthur O'Dwyer
8564e53d08 langen: Handle repeated strings better.
If a translation file contains two copies of the same English string,
with the same translation, then we don't care at all; just throw out
the second copy.

If a translation file contains two copies of the same English string,
with DIFFERENT translations, then (according to how the game does
translation) one of those translations must be inappropriate. Give
a warning in that case; and again, throw out the second copy because
we are forced to pick ONE translation for use within the game.

Also fix some minor typos I noticed in the strings.
2020-03-31 15:48:03 -04:00
Zeno Rogue
a2f7c90a19 snow visualization added 2020-03-31 20:07:23 +02:00
Zeno Rogue
90895f29ec fixed random_spin() in three dimensions 2020-03-31 20:07:03 +02:00
Zeno Rogue
0a6aae0776 added area_auto and wvolarea_auto functions 2020-03-31 20:06:37 +02:00
Zeno Rogue
af10592616 moved binsearch to hyper.h 2020-03-31 20:06:18 +02:00
Zeno Rogue
0446e25ebf added some more useful math constants to hyperpoint.cpp 2020-03-31 19:02:25 +02:00
Zeno Rogue
cad1bccd1a fixed a crash in some horospherical tessellations 2020-03-31 18:59:16 +02:00
Zeno Rogue
2588438052 fixed the grid display in 3:2 2020-03-31 18:58:34 +02:00
Zeno Rogue
dceb834f10 bt:: in gHoroHex, do not display debug data without DF_GEOM 2020-03-31 18:58:21 +02:00
Zeno Rogue
4e7aadf540 added tests for bt::normalized_at, and some old tests for distances 2020-03-31 18:57:22 +02:00
Zeno Rogue
8e865d1a69 bt:: the function normalized_at and its auxiliary functions 2020-03-31 18:55:43 +02:00
Zeno Rogue
6c4ca2254c Twisted S2xE 2020-03-29 17:38:37 +02:00
Zeno Rogue
3d3bde6e29 rogueviz:: some exports were missing 2020-03-29 17:37:08 +02:00
Zeno Rogue
46655ac4b5 ray:: removed unused uTest 2020-03-29 17:36:44 +02:00
Zeno Rogue
74b777b937 mymake now has commandline option -rv to add all RogueViz files 2020-03-29 17:36:20 +02:00
Zeno Rogue
76e6dc2002 utilities to create geometry raytracers which use only HyperRogue's control scheme 2020-03-29 17:35:42 +02:00
Zeno Rogue
409f171ca7 rogueviz:: added the Impossible Ring visualization 2020-03-29 16:13:23 +02:00
Zeno Rogue
c0e11b731a rogueviz.cpp now includes only rogueviz core while rogueviz-all includes all; rogueviz modules can be included separately now 2020-03-29 16:03:31 +02:00
Zeno Rogue
de0218b732 removed ../hyper.h from rogueviz.cpp 2020-03-29 15:38:06 +02:00
Zeno Rogue
220d23124b moved cname() to sag 2020-03-29 15:37:56 +02:00
Zeno Rogue
57eff8bc97 fixup to spiral move 2020-03-29 15:37:48 +02:00
Zeno Rogue
0c47c909ea fixup to remove kind: rogueviz.h was not commited 2020-03-29 15:37:26 +02:00
Zeno Rogue
133bbe5b93 rogueviz:: spiral to a separate file 2020-03-29 15:36:43 +02:00
Zeno Rogue
8a5c4b0887 rogueviz:: fixed init 2020-03-29 15:24:37 +02:00
Zeno Rogue
427df5e8fe patterns export patPalace, patZebraTriangles, patZebraLines 2020-03-29 15:23:18 +02:00
Zeno Rogue
a1f7fa05f8 fixup fullnet comment 2020-03-29 15:15:18 +02:00
Zeno Rogue
0a7e413f87 rogueviz:: fullnet as separate file 2020-03-29 15:14:48 +02:00
Zeno Rogue
24dd8c9376 replaced rogueviz::kind with rogueviz::vizid and rogueviz::vizflags 2020-03-29 15:14:23 +02:00
Zeno Rogue
2b4b035604 fixup to last 2020-03-29 14:42:07 +02:00
Zeno Rogue
2d39bac2ef rogueviz:: removed dep on collatz 2020-03-29 14:41:24 +02:00