1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00
Commit Graph

6768 Commits

Author SHA1 Message Date
Zeno Rogue
5f86ed6b4b fixed more fallthroughs, added exception hr_wrong_geometry 2021-03-12 22:59:24 +01:00
Zeno Rogue
eb6322b864 Merge branch 'master' of https://github.com/zenorogue/hyperrogue 2021-03-12 15:31:27 +01:00
Zeno Rogue
8e9da9e1fe fixed the spiral projection 2021-03-12 15:31:17 +01:00
Zeno Rogue
4b45872443 marked intended fallthroughs to prevent errors 2021-03-12 15:31:00 +01:00
Zeno Rogue
e4947acef7 illegal cases in binarytiling.cpp now throw hr_wrong_dir() 2021-03-12 15:30:12 +01:00
Zeno Rogue
e9b31ccd17
Merge pull request #132 from Quuxplusone/ci-step
Add a CI step to compare "make clean" against "git clean"
2021-03-12 10:46:26 +01:00
Zeno Rogue
03cbe7f7e3 yet another initialization order error fixed 2021-03-11 10:01:21 +01:00
Zeno Rogue
c47aa8ce3f fixed a function type error in mingw 2021-03-11 10:01:01 +01:00
Zeno Rogue
3b0c760289 removed static initialization order fiasco from fieldpattern 2021-03-11 10:00:41 +01:00
Zeno Rogue
b872926cac in -mingw64-cross, changed -DCAP_GLEW=1 to -DGLEW_STATIC 2021-03-11 09:29:27 +01:00
Zeno Rogue
f5793c7bcb added -mingw64-cross target 2021-03-11 09:16:55 +01:00
Zeno Rogue
a54c34ff99 mymake:: renamed system to mysystem (as it no longer just converts the type) and moved the implementation earlier 2021-03-11 09:16:42 +01:00
Arthur O'Dwyer
60fa736904 Use OSX 10.15 and Ubuntu Bionic for all TravisCI runs.
Ideally we'd just say "use the default OS version" and have it
auto-upgrade as Travis upgrades their stuff, with no work on
our part. Unfortunately, Travis has let their default OSX image
lag so far back (it's now 10.13) that Homebrew has started
refusing to install GLEW without the `--build-from-source` flag.
So, sign up for some extra maintenance work.
2021-03-10 16:57:17 -05:00
Arthur O'Dwyer
3a29576d9f Add build steps to check the committed files against "make clean".
If "make clean" on a new checkout causes diffs, you accidentally committed
one of the build products currently listed in "make clean", and you
should `git rm` it again.

If "make clean" on a dirty/built checkout causes diffs, then either
(1) the "make" process modified some tracked file which is not removed
by "make clean", i.e. either (1A) it is a build product which needs to
be `git rm`ed AND added under "make clean", or (1B) the build process
is modifying some source file, which is highly weird and shouldn't happen;
or else (2) "make" created some untracked file which is not removed
by "make clean", i.e., you should add that build product to "make clean".

The Travis build that uses "mymake" now does the same "mv" trick as Github CI,
to avoid having the executable sometimes named "./hyperrogue" and sometimes
named "./hyper". Why are these filenames different, anyway?
2021-03-10 12:00:11 -05:00
Arthur O'Dwyer
0fd92b6c37 git rm hyper.html
This build artifact should not be checked in.
2021-03-10 12:00:11 -05:00
Zeno Rogue
7cc628fb55 fixed to work with other CAP options 2021-03-10 08:40:43 +01:00
Zeno Rogue
f180f447e6 11.4g 2021-03-09 16:29:05 +01:00
Zeno Rogue
54661a975f another missing CAP_VR guard 2021-03-09 16:22:22 +01:00
Zeno Rogue
dafa2fd7b3 missing CAP_VR guard 2021-03-09 16:19:17 +01:00
Zeno Rogue
1a43e1330f missing override 2021-03-09 16:19:02 +01:00
Zeno Rogue
16143f3c9f frustum culling in VR 2021-03-09 16:04:53 +01:00
Zeno Rogue
26b53f0db7 more fixes to SDL2 setting modes 2021-03-09 16:04:02 +01:00
Zeno Rogue
3d311b9dd7 vr:: if hsm is set to 'holonomy' or 'reference' in 2D, use 'model_viewing' instead 2021-03-09 14:46:57 +01:00
Zeno Rogue
91f7b2696f ray:: in VR raycasting, raycast_map is called just once per frame 2021-03-09 14:09:58 +01:00
Zeno Rogue
04472e513d fixed a revert-related bug which could cause a non-collected key to be considered collected 2021-03-09 14:05:47 +01:00
Zeno Rogue
56485f20a9 various changes and fixes to make coolfog and sky work correctly in VR 2021-03-09 13:12:53 +01:00
Zeno Rogue
9f5591249a remove VR models on vr::shutdown 2021-03-09 10:48:53 +01:00
Zeno Rogue
49a1cf1cab CLI option d:history 2021-03-09 10:48:21 +01:00
Zeno Rogue
fcb270f78e resizable is now editable 2021-03-09 10:48:03 +01:00
Zeno Rogue
7798632b9d optimized drawing the sky 2021-03-09 10:47:20 +01:00
Zeno Rogue
95d4e942e2 removed obsolete profiling 2021-03-09 10:45:44 +01:00
Zeno Rogue
c4ab8cca8b delete airbuf on resetGL 2021-03-09 10:43:50 +01:00
Zeno Rogue
353af95596 better window resizing in SDL2 2021-03-09 09:45:33 +01:00
Zeno Rogue
1c36c876ba fixed reverse condition: allies' plague spreading worked only if you had no empathy 2021-03-08 14:51:44 +01:00
Zeno Rogue
6e942e98f5 fieldpattern:: now can work with triplets 2021-03-08 13:30:55 +01:00
Zeno Rogue
dd0e9ddae7 SDL2 improved cleanup 2021-03-07 22:31:36 +01:00
Zeno Rogue
f853016cff vr:: fixed the formula checking whether we are pointing at something in the UI 2021-03-07 21:37:16 +01:00
Zeno Rogue
a25ca511c3 fixup to strings on map 2021-03-07 21:31:30 +01:00
Zeno Rogue
b69ea3886e vr:: strings on map are now drawn correctly 2021-03-07 21:13:31 +01:00
Zeno Rogue
23f9d58307 window can be set to non-resizable (useful for netgen) 2021-03-07 21:12:35 +01:00
Zeno Rogue
69f16c45b1 added border between font letters to avoid rendering artifacts 2021-03-07 21:12:12 +01:00
Zeno Rogue
0ceddf03a0 improved glfont rendering 2021-03-07 21:11:42 +01:00
Zeno Rogue
ec2dedf678 fixed generating treasure (Wetlands, Blizzard) and enemies (Wetland) in Safety; also made Wetlands easier to exit 2021-03-07 17:55:57 +01:00
Zeno Rogue
4c20f29989 Orb of Safety prevents wandering monsters (for 7 turns) 2021-03-07 17:54:37 +01:00
Zeno Rogue
ba9d72365c netgen:: now works correctly with sdl2 2021-03-07 14:25:10 +01:00
Zeno Rogue
6fbccbeda0 mymake:: added an option -v to view the commandline 2021-03-07 14:18:58 +01:00
Zeno Rogue
d8fd187986 in SDL2, SDL_gfx functions seem to use a different order of components 2021-03-07 14:14:53 +01:00
Zeno Rogue
b87a995871 history::spiral:: reset out=s just in case 2021-03-07 14:12:40 +01:00
Zeno Rogue
df1db8ca03 fixed some bugs with SDL2 2021-03-07 14:12:18 +01:00
Zeno Rogue
b3a4cdb15a fixup to mymake/savepng 2021-03-07 14:06:11 +01:00