mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 09:50:34 +00:00
CAP_RAY
This commit is contained in:
parent
c131ed52ad
commit
64c63b7899
@ -1696,10 +1696,12 @@ EX void show3D() {
|
||||
});
|
||||
}
|
||||
|
||||
#if CAP_RAY
|
||||
if(GDIM == 3) {
|
||||
dialog::addItem(XLAT("configure raycasting"), 'A');
|
||||
dialog::add_action_push(ray::configure);
|
||||
}
|
||||
#endif
|
||||
|
||||
edit_levellines('L');
|
||||
|
||||
|
@ -11,7 +11,7 @@ namespace hr {
|
||||
|
||||
EX namespace ray {
|
||||
|
||||
#if MAXMDIM >= 4
|
||||
#if CAP_RAY
|
||||
|
||||
/** texture IDs */
|
||||
GLuint txConnections = 0, txWallcolor = 0, txTextureMap = 0;
|
||||
@ -1234,7 +1234,7 @@ auto hookc = addHook(hooks_configfile, 100, addconfig);
|
||||
|
||||
#endif
|
||||
|
||||
#if MAXMDIM == 3
|
||||
#if !CAP_RAY
|
||||
EX always_false in_use;
|
||||
EX always_false comparison_mode;
|
||||
EX void reset_raycaster() { }
|
||||
|
@ -538,6 +538,10 @@ union SDL_Event;
|
||||
#define CAP_FIELD (!(ISMINI))
|
||||
#endif
|
||||
|
||||
#ifndef CAP_RAY
|
||||
#define CAP_RAY (MAXMDIM >= 4 && !ISWEB && !ISMOBILE)
|
||||
#endif
|
||||
|
||||
#ifndef CAP_MEMORY_RESERVE
|
||||
#define CAP_MEMORY_RESERVE (!ISMOBILE && !ISWEB)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user