1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-18 03:04:48 +00:00
Commit Graph

6761 Commits

Author SHA1 Message Date
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
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
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
Zeno Rogue
9e8a325cc8 changed default SDL version to 1.2 2021-03-07 14:02:33 +01:00
Zeno Rogue
77e673f6f1 mymake:: savepng now works like other modules, and is compiled with SDL2 if needed 2021-03-07 14:02:06 +01:00
Zeno Rogue
4de8e6507d SDL2 fixup 2021-03-07 10:42:19 +01:00
Zeno Rogue
c6fcfe7f21 auto switch to model_viewing if vr-enabled 2021-03-06 16:27:30 +01:00
Zeno Rogue
d09ffb37f0 added SDL_WINDOW_ALLOW_HIGHDPI 2021-03-06 14:57:27 +01:00
Zeno Rogue
3eff38bb4d mymake:: option -vr 2021-03-06 14:53:48 +01:00
Zeno Rogue
f00696711a HyperRogue ported to SDL2 (in mymake do -sdl2) 2021-03-06 14:53:25 +01:00