1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-09 15:39:55 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
Zeno Rogue
902986d473 vertical sliders work on Android 2023-12-30 08:10:52 +01:00
Zeno Rogue
b70b339f52 removed unused variable buf2 in mobile.cpp 2023-08-22 22:38:11 +02:00
Arthur O'Dwyer
10d0ed8900 Eliminate calls to sprintf
Apple Xcode has started giving `-Wdeprecated-declarations` warnings
for `sprintf`, and suggesting that people migrate to `snprintf` instead.
This is silly, but the warnings are spam and need to be silenced
somehow. Migrating to `snprintf` and/or `hr::format` is the path of
least resistance.
2023-08-21 10:18:44 -07:00
Zeno Rogue
c9c066ccec updated mobile for menu changes 2022-07-12 14:46:31 +02:00
Zeno Rogue
dee64d29d4 mobile:: fixed lmouseover_distant 2021-06-03 13:26:10 +02:00
Zeno Rogue
b37ad3d8a8 mobile:: rotating rug via orientation works again, and using rotate_view 2021-06-03 13:26:10 +02:00
Zeno Rogue
d4a03aa780 fixed fontsize to vid.fontsize on mobile devices 2021-06-01 13:07:55 +02:00
Zeno Rogue
56164ab172 zoom_or_fov takes panini limits into account 2020-11-08 12:43:07 +01:00
still-flow
8274448de8 replace rug::move_forward call 2020-10-15 22:17:00 +03:00
still-flow
a8691f0d8e fix hyperroid builds
- add cap guards where necessary
- adapt to new `shiftpoint` datatype and function interfaces thereof
2020-10-05 21:48:56 +03:00
Arthur O'Dwyer
f2b7746c1b Move all defaulting-of-CAP_FOO to sysconfig.h.
- The phrase `#ifdef CAP_` should never appear anywhere.

- The phrase `#ifndef CAP_` should appear only in sysconfig.h.

- The phrases `#if CAP_` and `#if !CAP_` may appear wherever,
    as long as "sysconfig.h" is included first.

The rules for `CAP_FOO` equally apply to `ISFOO`.

There are many one-off macros still tested with `#ifdef`,
including `HAVE_ACHIEVEMENTS`, `PRINT_ACHIEVEMENTS`,
`FAKEWEB`, `FAKE_SDL`, `EASY`, and `WHATEVER`. I don't
have much grasp on what these are used for or how they're
configured, so I'm leaving them alone.
2020-05-03 15:12:12 -04:00
Zeno Rogue
9a84dfb497 adjusted mobile to the new system 2020-04-06 09:13:20 +02:00
Zeno Rogue
ef9e2236ba viewctr is no more... major reduction of redundancy/complexity 2019-11-14 00:26:50 +01:00
Zeno Rogue
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +02:00
Zeno Rogue
98ddecc63e removed init.cpp 2019-09-12 22:50:16 +02:00