diff --git a/rogueviz/ads/ads-game.cpp b/rogueviz/ads/ads-game.cpp index 890b2bf9..f8b5f4d8 100644 --- a/rogueviz/ads/ads-game.cpp +++ b/rogueviz/ads/ads-game.cpp @@ -1,6 +1,7 @@ /* Main file of Relative Hell. */ /* Compile with mymake -O3 -rv rogueviz/ads/ads-game */ /* Best run with -ads-menu; more detailed options are available too */ +/* You can also add -DRELHELL for standalone Relative Hell */ #define VER_RH "1.1" diff --git a/rogueviz/ads/ads-lands.cpp b/rogueviz/ads/ads-lands.cpp index 80073b5c..06d20ce5 100644 --- a/rogueviz/ads/ads-lands.cpp +++ b/rogueviz/ads/ads-lands.cpp @@ -1,3 +1,6 @@ +// Relative Hell: specification of the lands in the anti-de Sitter game +// Copyright (C) 2024-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace hr { namespace ads_game { diff --git a/rogueviz/ads/control.cpp b/rogueviz/ads/control.cpp index 6495d071..ec932342 100644 --- a/rogueviz/ads/control.cpp +++ b/rogueviz/ads/control.cpp @@ -1,3 +1,6 @@ +// Relative Hell: control for the anti-de Sitter game +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace hr { namespace ads_game { diff --git a/rogueviz/ads/display.cpp b/rogueviz/ads/display.cpp index ec0c7c94..391da5ba 100644 --- a/rogueviz/ads/display.cpp +++ b/rogueviz/ads/display.cpp @@ -1,3 +1,6 @@ +// Relative Hell: display for the AdS game +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace hr { namespace ads_game { diff --git a/rogueviz/ads/ds-game.cpp b/rogueviz/ads/ds-game.cpp index 52c0fcf6..a0f95495 100644 --- a/rogueviz/ads/ds-game.cpp +++ b/rogueviz/ads/ds-game.cpp @@ -1,3 +1,6 @@ +// Relative Hell: implemetation of the de Sitter game +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace hr { namespace ads_game { diff --git a/rogueviz/ads/ds-texture.cpp b/rogueviz/ads/ds-texture.cpp index bc5ad547..81c29888 100644 --- a/rogueviz/ads/ds-texture.cpp +++ b/rogueviz/ads/ds-texture.cpp @@ -1,3 +1,6 @@ +// Relative Hell: implementation of the Earth texture for the de Sitter game +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace hr { namespace ads_game { diff --git a/rogueviz/ads/globals.cpp b/rogueviz/ads/globals.cpp index b813694e..be09cc8d 100644 --- a/rogueviz/ads/globals.cpp +++ b/rogueviz/ads/globals.cpp @@ -1,3 +1,6 @@ +// Relative Hell: globals +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace hr { namespace ads_game { diff --git a/rogueviz/ads/help.cpp b/rogueviz/ads/help.cpp index 5135c37d..51533f24 100644 --- a/rogueviz/ads/help.cpp +++ b/rogueviz/ads/help.cpp @@ -1,3 +1,6 @@ +// Relative Hell: help +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace hr { namespace ads_game { diff --git a/rogueviz/ads/hiscore.cpp b/rogueviz/ads/hiscore.cpp index b4f25395..22155bd4 100644 --- a/rogueviz/ads/hiscore.cpp +++ b/rogueviz/ads/hiscore.cpp @@ -1,3 +1,6 @@ +// Relative Hell: high score lists +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace hr { namespace ads_game { diff --git a/rogueviz/ads/map.cpp b/rogueviz/ads/map.cpp index ddc99cb2..8e87bd38 100644 --- a/rogueviz/ads/map.cpp +++ b/rogueviz/ads/map.cpp @@ -1,3 +1,6 @@ +// Relative Hell: map for the anti-de Sitter game +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace hr { namespace ads_game { diff --git a/rogueviz/ads/math.cpp b/rogueviz/ads/math.cpp index ba601654..bae8fad7 100644 --- a/rogueviz/ads/math.cpp +++ b/rogueviz/ads/math.cpp @@ -1,3 +1,6 @@ +// Relative Hell: implemetation of the underlying math +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + #include "../rogueviz.h" namespace hr { diff --git a/rogueviz/ads/menu.cpp b/rogueviz/ads/menu.cpp index 7449d104..8b111f4a 100644 --- a/rogueviz/ads/menu.cpp +++ b/rogueviz/ads/menu.cpp @@ -1,3 +1,6 @@ +// Relative Hell: menus +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace hr { namespace ads_game { diff --git a/rogueviz/ads/resources.cpp b/rogueviz/ads/resources.cpp index 2d52a324..64ea947e 100644 --- a/rogueviz/ads/resources.cpp +++ b/rogueviz/ads/resources.cpp @@ -1,3 +1,6 @@ +// Relative Hell: resources +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace hr { namespace ads_game { diff --git a/rogueviz/ads/shapes.cpp b/rogueviz/ads/shapes.cpp index b070f644..75d0b158 100644 --- a/rogueviz/ads/shapes.cpp +++ b/rogueviz/ads/shapes.cpp @@ -1,3 +1,6 @@ +// Relative Hell: shapes of various stuff +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace hr { namespace ads_game { diff --git a/rogueviz/ads/tour.cpp b/rogueviz/ads/tour.cpp index 08c4559d..82dcb640 100644 --- a/rogueviz/ads/tour.cpp +++ b/rogueviz/ads/tour.cpp @@ -1,3 +1,6 @@ +// Relative Hell: guided tour +// Copyright (C) 2025-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace hr { namespace ads_game { diff --git a/rogueviz/ads/views.cpp b/rogueviz/ads/views.cpp index 4c72a41e..530f19b0 100644 --- a/rogueviz/ads/views.cpp +++ b/rogueviz/ads/views.cpp @@ -1,4 +1,5 @@ -/* underlying/spacetime views, and also replaying */ +// Relative Hell: underlying/spacetime views, and also replaying +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details namespace hr { diff --git a/rogueviz/bringris.cpp b/rogueviz/bringris.cpp index c27486b2..fefc8000 100644 --- a/rogueviz/bringris.cpp +++ b/rogueviz/bringris.cpp @@ -1,5 +1,8 @@ // non-Euclidean falling block game, implemented using the HyperRogue engine -// Copyright (C) 2011-2021 Zeno Rogue, see 'hyper.cpp' for details +// Copyright (C) 2011-2021 Zeno Rogue, see '../hyper.cpp' for details + +// compile with: ./mymake -O3 rogueviz/bringris.cpp rogueviz/subquotient.cpp and then launch with -bringris +// add -DBRINGRIS for standalone Bringris #define BRINGRIS_VER "2.0" diff --git a/rogueviz/nilrider/level.cpp b/rogueviz/nilrider/level.cpp index a8b81e57..f0611270 100644 --- a/rogueviz/nilrider/level.cpp +++ b/rogueviz/nilrider/level.cpp @@ -1,3 +1,6 @@ +// Nil Rider level data +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace nilrider { const int steps_per_block = 16; diff --git a/rogueviz/nilrider/levels.cpp b/rogueviz/nilrider/levels.cpp index 735ba4fd..ca690b92 100644 --- a/rogueviz/nilrider/levels.cpp +++ b/rogueviz/nilrider/levels.cpp @@ -1,3 +1,6 @@ +// Nil Rider levels +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace nilrider { bool all(checkerparam c) { return c.t->collected_triangles == Flag(isize(c.l->triangles))-1; } diff --git a/rogueviz/nilrider/nilrider.cpp b/rogueviz/nilrider/nilrider.cpp index 3ccfa8aa..ce074d31 100644 --- a/rogueviz/nilrider/nilrider.cpp +++ b/rogueviz/nilrider/nilrider.cpp @@ -1,3 +1,9 @@ +// Nil Rider +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + +// compile with: ./mymake -O3 rogueviz/nilrider/nilrider.cpp and then launch with -nilrider +// add -DNILRIDER for standalone Nil Rider + #if NILRIDER #define CUSTOM_CAPTION "Nil Rider 2.0" #define MAXMDIM 4 diff --git a/rogueviz/nilrider/planning.cpp b/rogueviz/nilrider/planning.cpp index 59596707..e5426f6f 100644 --- a/rogueviz/nilrider/planning.cpp +++ b/rogueviz/nilrider/planning.cpp @@ -1,3 +1,6 @@ +// Nil Rider: planning mode +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace nilrider { hyperpoint get_spline(ld t); diff --git a/rogueviz/nilrider/save.cpp b/rogueviz/nilrider/save.cpp index 46bc6dd7..ed9ccc1e 100644 --- a/rogueviz/nilrider/save.cpp +++ b/rogueviz/nilrider/save.cpp @@ -1,3 +1,6 @@ +// Nil Rider: saves +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace nilrider { const string ver = "2.0"; diff --git a/rogueviz/nilrider/solver.cpp b/rogueviz/nilrider/solver.cpp index 4b75c862..5dd46801 100644 --- a/rogueviz/nilrider/solver.cpp +++ b/rogueviz/nilrider/solver.cpp @@ -1,3 +1,6 @@ +// Nil Rider Solver +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace nilrider { bool nospeed = false; diff --git a/rogueviz/nilrider/statues.cpp b/rogueviz/nilrider/statues.cpp index ed706452..d05ddb87 100644 --- a/rogueviz/nilrider/statues.cpp +++ b/rogueviz/nilrider/statues.cpp @@ -1,3 +1,6 @@ +// Nil Rider statues +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace hr { namespace bricks { diff --git a/rogueviz/nilrider/timestamp.cpp b/rogueviz/nilrider/timestamp.cpp index 1638df1d..1b1f3851 100644 --- a/rogueviz/nilrider/timestamp.cpp +++ b/rogueviz/nilrider/timestamp.cpp @@ -1,3 +1,6 @@ +// Nil Rider simulation +// Copyright (C) 2022-2025 Zeno Rogue, see '../../hyper.cpp' for details + namespace nilrider { using hr::lerp; diff --git a/rogueviz/seuphorica.cpp b/rogueviz/seuphorica.cpp index 8b59e130..18f91787 100644 --- a/rogueviz/seuphorica.cpp +++ b/rogueviz/seuphorica.cpp @@ -2,6 +2,8 @@ // Copyright (C) 2025 Zeno Rogue, see 'hyper.cpp' for details // the Seuphorica repo (seuphorica.cpp and dictionary files) needs to be placed in the 'seuphorica' subdirectory +// compile with: ./mymake -O3 rogueviz/seuphorica.cpp and then launch with -seuphorica + #include "rogueviz.h" #include