Commit Graph

331 Commits

Author SHA1 Message Date
Arthur O'Dwyer 3e3457bd81 Eliminate some use of CAP_FOO and ISFOO outside of the preprocessor.
The old code worked, but it's strange to use these macros as if
they were C++ `bool` variables at runtime.
2020-05-03 20:57:34 -04: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 0a6c80e909 refactored flat_model_enabler 2020-04-17 15:54:48 +02:00
Zeno Rogue 09ce04bd4a changed rug clip defaults to show more 2020-04-17 15:01:02 +02:00
Zeno Rogue 64ee50523d more model fixes 2020-04-17 02:29:03 +02:00
Zeno Rogue 7f96c67755 improved Rug in various models 2020-04-17 02:21:44 +02:00
Zeno Rogue 0472bf764f moved all projection-related parameters to a special struct; another copy of that struct created for rug 2020-04-17 00:53:58 +02:00
Zeno Rogue a380134d29 WRL selectable in menus, fixed some issues 2020-04-16 14:36:45 +02:00
Zeno Rogue 8f99715f0d CLI option -smooths 1 2020-04-12 20:34:02 +02:00
Zeno Rogue eca6a77753 CLI option -neonnf 2020-04-06 11:25:10 +02:00
Zeno Rogue f4f6903321 renamed 'line width' option to 'vector graphics mode', and it is now available outside of OpenGL 2020-04-06 10:44:56 +02:00
Zeno Rogue 805c153c9f neon_nofill option; added XLAT to vector options; neon now also disables textured triangles 2020-04-06 10:44:27 +02:00
Zeno Rogue 5c78ba8837 fixed the hotkey in 3d->camera rotation 2020-04-01 12:02:09 +02:00
Zeno Rogue 650604227a face/edge/vertex centering 2020-04-01 12:01:55 +02:00
Zeno Rogue 4d4c904d3b neon_mode is now an enum 2020-03-27 19:38:15 +01:00
Zeno Rogue 11447fcb7b tortoise:: shading now can be disabled 2020-03-22 09:46:13 +01:00
Zeno Rogue 02112cb636 CLI option -precw 2020-03-21 19:04:23 +01:00
Zeno Rogue 64c63b7899 CAP_RAY 2020-03-21 10:49:07 +01:00
Zeno Rogue 9f947c70a7 fat edges in linepatterns in 3D 2020-01-28 17:58:55 +01:00
Zeno Rogue ca3232c3bb extended 'linewidth' setting: illustration mode, hint about Alt, disable shadows, bright mode, colorblind simulation 2020-01-18 17:11:57 +01:00
Zeno Rogue 11a65b0094 save linepattern colors and multipliers 2020-01-02 16:51:43 +01:00
Zeno Rogue a37457ead9 precise_width for nicer long lines 2020-01-02 16:51:32 +01:00
Zeno Rogue cacfa8dee9 oldstyle joystick: smoothening input, ignoring next input 2019-12-27 11:57:08 +01:00
Zeno Rogue 7396024c38 arg:: option -neon 2019-12-26 23:32:18 +01:00
Zeno Rogue 6c61162392 merge 2019-12-26 22:40:41 +01:00
Zeno Rogue f4613e9945 more bubbles, SE config 2019-12-25 23:04:07 +01:00
Zeno Rogue 769982040d renamed solnihv:: to sn:: and solnih to sn::in() 2019-12-14 12:28:45 +01:00
Zeno Rogue 2678ac4743 neon mode (see the 'line width' setting in graphics) 2019-12-07 11:13:09 +01:00
Zeno Rogue 49460ba379 changed the default axes3 to true 2019-12-06 13:05:11 +01:00
Zeno Rogue fb557282f4 more guard fix 2019-11-16 14:46:12 +01:00
Zeno Rogue 16f6266b7e fixed guard placement 2019-11-16 08:39:51 +01:00
Zeno Rogue 39332b61eb fixed addparam for old compiler 2019-11-16 03:39:00 +01:00
Zeno Rogue cba1408021 config:: hooks for extending the config file, added asonov/nilv settings 2019-11-16 01:39:58 +01:00
Zeno Rogue 1e6d221e0a fixed_facing_dir saved 2019-11-14 00:42:36 +01:00
Zeno Rogue 3725b06d0b levellines feature 2019-11-03 13:36:06 +01:00
Zeno Rogue ffd1295d3a ray:: config hotkey 2019-11-03 02:24:26 +01:00
Zeno Rogue 391f421b98 reduce sightrange in gCrystal344 (assume raycasting) 2019-10-26 15:33:28 +02:00
Zeno Rogue bd7805e68d ray:: namespace and basic configurator 2019-10-25 14:50:48 +02:00
Zeno Rogue 80a6c4a580 no more weird acting on loadConfig when the file is empty 2019-10-22 12:05:22 +02:00
Zeno Rogue c527d4e613 ODS in hyperbolic 2019-10-21 22:42:27 +02:00
Zeno Rogue 5ba9788e53 sightranges set for the new geometries 2019-10-12 13:47:58 +02:00
Zeno Rogue 300fb6bcbd increased the default cell generation limit to 250 2019-10-12 13:11:28 +02:00
Zeno Rogue 07abd6384a option 'permaside' (-pside) to permanently move the model to the left side 2019-10-07 00:08:37 +02:00
Zeno Rogue 9850dd557e in 3D geometries, patterns may create walls 2019-10-06 13:05:39 +02:00
Zeno Rogue 13ea55b233 fisheye has parameter 2019-10-05 12:32:16 +02:00
Zeno Rogue d69cb4e946 SolN manifold 2019-10-03 20:10:48 +02:00
Zeno Rogue a741446b7b better rendering of Solv into the glitchy region 2019-09-26 13:23:44 +02:00
Zeno Rogue 8833251c8b added some missing CAP_SOLV guards 2019-09-13 19:50:12 +02:00
Zeno Rogue 4d2a65c276 fixed some text errors 2019-09-13 18:13:39 +02:00
Zeno Rogue a3d9711ec2 more adjustments to disabled CAP_* 2019-09-13 03:10:26 +02:00