Zeno Rogue
8bdf5aa404
param_f for levellines
2021-10-07 12:39:49 +02:00
Zeno Rogue
631469490f
parallel linepattern is now configurable
2021-09-30 13:23:35 +02:00
Zeno Rogue
2377ccb434
fixed -r option and made it more powerful: -f1 -r 0, -f1 -r XxYxF, -f0 -r .9x.9, -f0 -r 1000x1000
2021-09-18 01:55:55 +02:00
Zeno Rogue
96c143da8e
backandfront projection option
2021-09-18 01:39:09 +02:00
Zeno Rogue
c16686404d
fineline as param_b
2021-09-17 13:49:43 +02:00
Zeno Rogue
ba7b9d6097
an option to disable sky drawing
2021-08-08 18:29:21 +02:00
Zeno Rogue
fcf55f1852
arcm:: arcm_euclid_length parameter
2021-08-05 12:21:39 +02:00
Zeno Rogue
f996104074
improved timestamps
2021-07-31 15:12:06 +02:00
Arthur O'Dwyer
090e084dd4
Add explicit
and override
consistently everywhere else. NFCI.
2021-07-11 18:03:08 -04:00
Zeno Rogue
169ffe1d6d
fixed the commandline options -o0 and -f0 (disabling OpenGL and fullscreen)
2021-07-04 11:25:52 +02:00
Jesse Ruderman
59b7e7bbdf
Remove extra semis in struct defs
2021-06-28 22:33:08 -07:00
Zeno Rogue
0283eaa252
fixed GL settings in Android
2021-06-03 13:26:10 +02:00
Zeno Rogue
ad753b12ca
texts improved
2021-06-01 13:07:55 +02:00
Zeno Rogue
44ecbccb89
added option -nomsg
2021-06-01 13:07:55 +02:00
Zeno Rogue
554214b33f
added missing XLAT to find_setting
2021-06-01 13:07:55 +02:00
Zeno Rogue
7fc91b1eaf
YASC codes
2021-05-24 16:14:02 +02:00
Zeno Rogue
f015023421
more text fixes found while translating
2021-05-24 11:42:46 +02:00
Zeno Rogue
8f4a0935b9
more XLAT refactoring, and preparation for gentrans.cpp
2021-05-23 16:00:50 +02:00
Zeno Rogue
0f767e16b6
XLAT refactor continued
2021-05-23 16:00:50 +02:00
Zeno Rogue
c0002da574
refactored some XLAT calls for automated analysis, fixing some bugs on the way
2021-05-23 16:00:50 +02:00
Zeno Rogue
e78a170e7e
added some missing CAP_SDL and CAP_GL guards
2021-05-23 16:00:49 +02:00
Zeno Rogue
957d1e49a5
fixed resetModes switching mode to incorrect land_structure
2021-05-01 14:14:28 +02:00
Zeno Rogue
639122e314
added faraway monster highlight as in @still-flow's pull request
2021-04-30 19:44:54 +02:00
Zeno Rogue
4cd43b3f27
fixed some issues with param_i and param_enum
2021-04-30 19:43:14 +02:00
Zeno Rogue
12e864912b
plevel_factor is now param_f
2021-04-23 20:12:08 +02:00
Zeno Rogue
6bd2038f88
new -char option running
2021-04-15 18:20:12 +02:00
Zeno Rogue
79f6f04405
Princess set with -char princess is left-handed
2021-04-15 18:19:42 +02:00
Zeno Rogue
4b1b0516f3
choice of the land structure
2021-04-11 22:15:40 +02:00
Zeno Rogue
0881f33fc2
param_b coolfog
2021-04-07 18:13:45 +02:00
Zeno Rogue
f7f3309063
added worker character
2021-03-30 11:39:18 +02:00
Zeno Rogue
7b5a67549d
added options '-char dodek', '-char rudy', '-char princess'
2021-03-29 16:26:04 +02:00
Zeno Rogue
0f081fb1ab
stereographic projection added
2021-03-21 12:51:50 +01:00
Zeno Rogue
1a43e1330f
missing override
2021-03-09 16:19:02 +01:00
Zeno Rogue
fcb270f78e
resizable is now editable
2021-03-09 10:48:03 +01:00
Zeno Rogue
693ee60fe3
'reset special modes' disables dual geometry
2021-03-06 11:59:32 +01:00
Zeno Rogue
970d65c71a
fixed a crash when trying to set some options
2021-03-06 10:45:01 +01:00
Zeno Rogue
a634412dcb
param_f for panini_alpha
2021-02-18 16:16:34 +01:00
Zeno Rogue
2d03e822e6
params now indexed by parameter_name, not by s
2021-02-18 16:16:34 +01:00
Zeno Rogue
cc1cd5655d
load_from for bool settings
2021-02-18 16:16:34 +01:00
Zeno Rogue
9844125d78
vr:: emptyscreen() so that VR knows what to do if there is no screen
2021-02-07 22:55:11 +01:00
Zeno Rogue
b166b64006
added missing guards
2021-02-07 22:55:11 +01:00
Zeno Rogue
be44d4d2d6
added missing override
2021-02-07 22:55:11 +01:00
Zeno Rogue
9daa95599d
fixed sightrange settings
2021-02-07 22:55:11 +01:00
Zeno Rogue
dabbf28500
non-editable settings warn when you try to edit them; xres/yres are no longer empty-displayed; fixed some lines
2021-02-07 22:55:11 +01:00
Zeno Rogue
51daac745f
projection menu improvements
2021-02-07 22:55:10 +01:00
Zeno Rogue
335e2c84cc
some fixup?
2021-02-07 22:55:10 +01:00
Zeno Rogue
015f6227fa
redone basic graphics settings (vsync, resolution, fullscreen, gl/aa)
2021-02-07 22:55:10 +01:00
Zeno Rogue
50cb77e413
config:: fixed bool_setting::editable and reaction
2021-02-07 22:55:10 +01:00
Zeno Rogue
f415c5f9f1
fixed sightrange editing
2021-02-07 22:55:10 +01:00
Zeno Rogue
7a4478a2d3
fixup to scale=0.5
2021-02-07 22:55:10 +01:00
Zeno Rogue
00c5f9a626
changed default FPS limit to 999
2021-02-07 22:55:10 +01:00
Zeno Rogue
a8c0c8be8e
config::arg:: read parameters in format 'scale=0.5'
2021-02-07 22:55:10 +01:00
Zeno Rogue
3ff21b803d
config:: reaction is separate
2021-02-07 22:55:10 +01:00
Zeno Rogue
41628cbd1a
config:: changed hooks_config to correct hooks_configfile
2021-02-07 22:55:10 +01:00
Zeno Rogue
2f47babf7c
added virtual destructor to setting
2021-02-07 22:55:10 +01:00
Zeno Rogue
81d9fe9e73
config:: menuitem_binary_width
2021-02-01 17:14:28 +01:00
Zeno Rogue
016569bb35
config:: moved sets() to setting::
2021-02-01 17:06:26 +01:00
Zeno Rogue
4f87697392
int_setting uses min_max_value
2021-02-01 17:00:11 +01:00
Zeno Rogue
839a41370f
config:: removed SIDE from find_setting
2021-02-01 15:23:14 +01:00
Zeno Rogue
198b4b118d
config:: help_text included in search_key
2021-02-01 15:23:01 +01:00
Zeno Rogue
b7a80937f3
pconf/rconf now based on restrict, not on prefix
2021-02-01 15:22:47 +01:00
Zeno Rogue
3860e7a81d
remember recent setting changes, and other improvements
2021-02-01 15:10:03 +01:00
Zeno Rogue
5bd7dea231
improved help for editable values
2021-02-01 13:42:12 +01:00
Zeno Rogue
c2ce2905d7
improved model config
2021-02-01 12:50:02 +01:00
Zeno Rogue
184fb2bf9e
reorganized pconf/rconf config
2021-02-01 12:03:55 +01:00
Zeno Rogue
3886b81caa
new quick projection menu
2021-02-01 11:20:22 +01:00
Zeno Rogue
31a050b79d
vector settings improved
2021-02-01 11:19:20 +01:00
Zeno Rogue
712d01e290
no more capitals in sightrange_style
2021-02-01 03:12:39 +01:00
Zeno Rogue
8ecb229920
more setting improvements
2021-02-01 03:11:15 +01:00
Zeno Rogue
b40fc679af
renamed addparamsaver to param_type
2021-02-01 01:45:10 +01:00
Zeno Rogue
298c051beb
saver enums
2021-02-01 01:35:34 +01:00
Zeno Rogue
044518e18e
rewritten 3D settings in the new standard
2021-01-31 20:45:00 +01:00
Zeno Rogue
7fc1ce8b45
changed parameter order in float_setting
2021-01-31 20:44:34 +01:00
Zeno Rogue
3d6e38a321
a system for all settings in one place
2021-01-31 19:55:33 +01:00
Zeno Rogue
b28b2cc5c4
moved more settings from config.cpp to shot and racing
2021-01-31 18:53:52 +01:00
Zeno Rogue
a59ddc6c31
moved some paramsavers from config to models and history
2021-01-31 18:45:17 +01:00
Zeno Rogue
7d5fb11c26
removed param list, changed addsaver to addparamsaver
2021-01-31 18:34:54 +01:00
Zeno Rogue
2835cd522a
addparamsaver function
2020-12-31 19:11:14 +01:00
Zeno Rogue
e4e1a856e6
replace vrhr::state checking with nicer functions
2020-12-31 19:11:14 +01:00
Zeno Rogue
3b6071e9fb
cli option dmc
2020-12-31 19:11:13 +01:00
Zeno Rogue
fd715d4057
fixed the default value for FoV
2020-12-25 06:07:42 +01:00
Zeno Rogue
6392f97bfc
fixed setting the default value in addsaverenum without CAP_CONFIG
2020-12-23 23:40:15 +01:00
Zeno Rogue
0de8ce9a10
initial implementation of VR
2020-11-22 17:58:40 +01:00
Zeno Rogue
3082b88139
Panini setting resets all shaders, not only raycaster
2020-11-14 12:52:49 +01:00
Zeno Rogue
56164ab172
zoom_or_fov takes panini limits into account
2020-11-08 12:43:07 +01:00
Zeno Rogue
0cdd73c24d
in 3D config, automatic TPP/FPP now appears on top, as you usually want this, not 'use 3D models'
2020-11-07 15:47:19 +01:00
Zeno Rogue
17c39c3ca2
missing guards in menuitem_*_volume, also no change of music volume when no music_available
2020-11-06 16:11:19 +01:00
Zeno Rogue
3b7295c26a
fixed merge
2020-11-06 15:43:18 +01:00
Zeno Rogue
28383c94e0
Merge branch 'master' into fix_hyperroid
2020-11-06 15:40:59 +01:00
Zeno Rogue
76618db2e6
Merge pull request #138 from still-flow/bringris_music
...
Add background music volume controller to Bringris
2020-11-06 11:18:58 +01:00
still-flow
2319dce683
refactor sound-related settings
...
also only show music volume setting when music is available
2020-11-06 06:21:02 +03:00
Zeno Rogue
b1cb66e468
Merge pull request #129 from Quuxplusone/unordered-map
...
Remove USE_UNORDERED_MAP because it has bit-rotted.
2020-11-05 20:03:13 +01:00
Zeno Rogue
1da4ce95d9
highlight mode setting should be saved now
2020-11-05 15:08:56 +01:00
Zeno Rogue
3288eb0c5a
panini: max_fov_angle() now just returns 360 if panini_alpha is out of range
2020-11-01 21:37:59 +01:00
Zeno Rogue
6513b3a87e
Panini projection
2020-11-01 21:20:54 +01:00
Zeno Rogue
2cc06e39ba
changed the default texture_step to 4
2020-11-01 21:16:08 +01:00
Zeno Rogue
8c4b700466
show_hyperboloid_flat option
2020-11-01 20:10:08 +01:00
Zeno Rogue
2ccd0fab9c
do not save OSM if not CAP_INV
2020-11-01 11:30:31 +01:00
Zeno Rogue
8ce684d628
removing and changing defaults in savers
2020-10-26 11:51:39 +01:00
Arthur O'Dwyer
d163a01b8a
Remove USE_UNORDERED_MAP because it has bit-rotted.
...
Trying to compile with `-DUSE_UNORDERED_MAP` produces lots of compiler errors
like these, because of missing `std::hash` specializations.
Also, `#define unordered_map map` is just evil!
```
./nonisotropic.cpp:875:36: note: in instantiation of template class 'std::__1::unordered_map<hr::nilv::mvec, hr::heptagon *,
std::__1::hash<hr::nilv::mvec>, std::__1::equal_to<hr::nilv::mvec>, std::__1::allocator<std::__1::pair<const hr::nilv::mvec, hr::heptagon
*> > >' requested here
unordered_map<mvec, heptagon*> at;
^
./nonisotropic.cpp:239:58: note: in instantiation of template class 'std::__1::unordered_map<std::__1::pair<hr::heptagon *, hr::heptagon *>,
hr::heptagon *, std::__1::hash<std::__1::pair<hr::heptagon *, hr::heptagon *> >, std::__1::equal_to<std::__1::pair<hr::heptagon *,
hr::heptagon *> >, std::__1::allocator<std::__1::pair<const std::__1::pair<hr::heptagon *, hr::heptagon *>, hr::heptagon *> > >'
requested here
unordered_map<pair<heptagon*, heptagon*>, heptagon*> at;
^
./nonisotropic.cpp:457:49: error: no matching member function for call to 'iadj'
while(h1->distance < h2->distance) back = iadj(h2, down) * back, h2 = h2->cmove(down);
^~~~
cell.cpp:42:15: note: candidate function not viable: no known conversion from 'hr::sn::hrmap_solnih' to 'hr::hrmap' for object argument
transmatrix iadj(heptagon *h, int d) {
^
cell.cpp:41:22: note: candidate function not viable: no known conversion from 'hr::sn::hrmap_solnih' to 'hr::hrmap' for object argument
struct transmatrix iadj(cell *c, int i) { cell *c1 = c->cmove(i); return adj(c1, c->c.spin(i)); }
^
```
2020-10-19 13:15:29 -04:00
Zeno Rogue
d64c5e338c
extra guards
2020-10-15 16:33:52 +02: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
Zeno Rogue
b37d7b9808
camera_speed and camera_rot_speed configurable from menu, also they work where they should now
2020-09-16 23:49:17 +02:00
Zeno Rogue
54e33f9151
save extra model parameters
2020-09-16 23:49:17 +02:00
Zeno Rogue
45ff7a4e10
CLI option -via-shader
2020-09-11 11:13:29 +02:00
Zeno Rogue
18ab187547
rotational model of Nil, and change Nil rotation
2020-09-11 11:13:18 +02:00
Zeno Rogue
644d20cd89
smartrange area-based
2020-08-20 16:49:47 +02:00
Zeno Rogue
a27419cf97
cool fog effect now can be disabled
2020-08-01 16:47:21 +02:00
Zeno Rogue
7c3c34c3d8
sky-based fog in 2.5D
2020-08-01 13:59:53 +02:00
Zeno Rogue
3c198a3672
fixed potential memory error in sightranges
2020-08-01 13:58:03 +02:00
Zeno Rogue
c23209b189
fixed key conflict in 3D config
2020-07-28 22:06:14 +02:00
Zeno Rogue
82f32607e6
MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix
2020-07-28 22:06:14 +02:00
Zeno Rogue
94cac21716
primitive-based rendering of the Berger sphere (very poor)
2020-07-24 23:39:30 +02:00
Zeno Rogue
8223bf354f
clearer comment in graph config
2020-07-08 15:47:49 +02:00
Zeno Rogue
02ebc8a96a
perfect linewidth option (sometimes does not work correctly -- need to check)
2020-07-03 15:39:52 +02:00
Zeno Rogue
89585f004b
fixed some guards (in progress)
2020-07-03 14:42:33 +02:00
Zeno Rogue
e579db31de
CLI option -gridoff
2020-05-28 01:39:13 +02:00
Zeno Rogue
5654e632ce
added CAP_SDLAUDIO guard
2020-05-22 21:41:24 +02:00
Zeno Rogue
10e03be159
music_out_of_focus now configurable via menu
2020-05-15 14:53:56 +02:00
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