1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 02:50:34 +00:00
Commit Graph

1659 Commits

Author SHA1 Message Date
Arthur O'Dwyer
a346e05bbc Eliminate variable shadowing in langen.cpp. 2018-06-27 03:01:58 -07:00
Arthur O'Dwyer
00e1db9f05 Eliminate directives inside macro expansions, for the benefit of MSVC. 2018-06-27 03:01:56 -07:00
Dmitry Marakasov
823930a1cf Call hyperrogue after build, as a smoke test 2018-06-26 15:48:54 +03:00
Dmitry Marakasov
7ead4fd7ac Set proper c++ standard for landgen 2018-06-26 15:42:49 +03:00
Dmitry Marakasov
94bbd751c7 Add travis config 2018-06-26 15:38:58 +03:00
Zeno Rogue
87dc7dcd62 renamed the global variable 'which' to 'who_kills_me' for clarity and bug prevention (would be better still to remove it) 2018-06-26 00:56:46 +02:00
Zeno Rogue
29f97227e0
Merge pull request #42 from Quuxplusone/forwhich
Fix an apparent typo-bug in "inventory.cpp"
2018-06-26 00:51:55 +02:00
Zeno Rogue
030377583c changed the 'quotient==2' tests to 'geometry == gFieldQuotient' 2018-06-25 23:14:46 +02:00
Zeno Rogue
495d87ff91 Merge branch 'master' of https://github.com/zenorogue/hyperrogue 2018-06-25 23:02:57 +02:00
Zeno Rogue
825ef9dfd2 changed size to isize in RogueViz 2018-06-25 23:02:41 +02:00
Zeno Rogue
91690f326f
Merge pull request #40 from Quuxplusone/langen2
Refactor to improve the compile time of "langen.cpp"
2018-06-25 23:02:23 +02:00
Zeno Rogue
1286b92772 fixed the quotient flag for Zebra to include qSMALL 2018-06-25 23:02:03 +02:00
Zeno Rogue
0843bef893 an option to display full floors 2018-06-25 23:01:39 +02:00
Zeno Rogue
40e9c6687c new commandline options: -fsh and -noshadow 2018-06-25 22:59:29 +02:00
Zeno Rogue
87a0d87f04
Merge pull request #41 from AMDmi3/patch-2
Fix build by specifying correct savepng.cpp file name
2018-06-25 22:55:48 +02:00
Arthur O'Dwyer
06f4ba16ed Fix an apparent typo-bug in "inventory.cpp" 2018-06-25 12:52:21 -07:00
Dmitry Marakasov
bde60ca7bd
Fix build by specifying correct savepng.cpp file name 2018-06-25 18:13:30 +03:00
Arthur O'Dwyer
dd1a842285 Refactor to improve the compile time of "langen.cpp".
$ time c++ -std=c++11 -march=native -DMAC -I/usr/local/include -DCAP_PNG=0 -O0 -w langen.cpp -o langen
    real  0m3.174s
    user  0m2.985s
    sys   0m0.179s
2018-06-23 18:26:47 -07:00
Arthur O'Dwyer
172d2c2d1b Miscellaneous code cleanup on "langen.cpp". NFC.
$ time c++ -std=c++11 -march=native -DMAC -I/usr/local/include -DCAP_PNG=0 -O0 -w langen.cpp -o langen
    real  0m12.602s
    user  0m12.058s
    sys   0m0.511s
2018-06-23 18:26:47 -07:00
Arthur O'Dwyer
edf714689d Remove spurious semicolons from language-??.cpp. NFC.
$ time c++ -std=c++11 -march=native -DMAC -I/usr/local/include -DCAP_PNG=0 -O0 -w langen.cpp -o langen
    real  0m12.621s
    user  0m12.063s
    sys   0m0.509s
2018-06-23 18:10:50 -07:00
Zeno Rogue
440940a945 10.4g 2018-06-24 01:23:06 +02:00
Zeno Rogue
6dfe5c444c 'skip the start menu' option works now 2018-06-24 01:22:50 +02:00
Zeno Rogue
92aba5c95b fixed a bug with arrow traps not killing anything (and possibly some other cases) 2018-06-24 01:18:39 +02:00
Zeno Rogue
f0e07c4b15 10.4f 2018-06-22 20:28:41 +02:00
Zeno Rogue
bc06f387fc fixed some issues with the generation of Land of Storms in other geometries 2018-06-22 19:36:04 +02:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
23874e0de4 New quotient geometries now work correctly in rogueviz-kohonen. Added the RogueViz makefile (Makefile.rv) with an unit test for this 2018-06-22 14:26:24 +02:00
Zeno Rogue
5be5d9440e fixed the world sizes shown for Bolza surfaces 2018-06-22 04:49:42 +02:00
Zeno Rogue
8e674f8818 a small break above 'show quotient spaces' 2018-06-22 04:49:26 +02:00
Zeno Rogue
d6af6f9df0 fixed the coloring for Goldberg Bolza x2 2018-06-22 04:42:58 +02:00
Zeno Rogue
a48241d639 gp:: better message about illegal parameters for non-orientable geometries 2018-06-22 04:42:39 +02:00
Zeno Rogue
6d15b511c2 fixed a bug with Goldberg geometries on Bolza2 2018-06-22 02:01:46 +02:00
Zeno Rogue
888d9ad3a7 made Xprintf inline to prevent double definition when linking HyperRogue with extra code 2018-06-22 02:01:31 +02:00
Zeno Rogue
da60a2f336 added some std features used in RogueViz 2018-06-22 02:00:26 +02:00
Zeno Rogue
8f8a259992 new quotient geometries 2018-06-22 01:48:46 +02:00
Zeno Rogue
742828125e some fixes to celldistance 2018-06-21 08:38:11 +02:00
Zeno Rogue
09c2a2096b 10.4d 2018-06-18 17:54:38 +02:00
Zeno Rogue
529befd359 no more ambushes when summoning orbs in the Hunting Grounds 2018-06-18 17:48:27 +02:00
Zeno Rogue
25d972d144 also using other functions from cmath 2018-06-18 03:53:39 +02:00
Zeno Rogue
6d93ff4ab2 using std::abs 2018-06-18 03:43:23 +02:00
Zeno Rogue
a7ed148ec3 removed unnecessary check gp::on 2018-06-17 19:04:57 +02:00
Zeno Rogue
3daecc4981 Land validity is displayed when selecting geometry after selecting land. Validity message appears in the geom-exp menu. 2018-06-17 19:04:17 +02:00
Zeno Rogue
d3200253db replacing with an explicit list 2018-06-17 18:32:06 +02:00
Zeno Rogue
dabf322095
Merge pull request #38 from Quuxplusone/makefile-fixes
Minor fixes for Mac and MinGW.
2018-06-17 18:22:45 +02:00
Zeno Rogue
b6f47dd907
Merge branch 'master' into makefile-fixes 2018-06-17 18:22:20 +02:00
Zeno Rogue
b2cc825ec9 smart celldistance did not work with non-standard tori -- replacing with a dumb one for now 2018-06-17 18:14:33 +02:00
Zeno Rogue
35301f0a68 movement animations now work in quotient geometries 2018-06-17 17:51:26 +02:00
Zeno Rogue
95a2f617cf Rock Snakes from the Snake Nest now keep their colors in other lands 2018-06-17 12:15:46 +02:00
Zeno Rogue
9e712ae8ea more Ivy in Goldberg jungle 2018-06-17 12:13:24 +02:00
Zeno Rogue
f699f73f1a texture:: undo clears pixels_to_draw; the number of pixels_to_draw displayed in the editor 2018-06-17 12:06:01 +02:00