reldred
213b6fe6ef
Add PR #231 : More river configuration options
2021-03-28 23:46:18 +01:00
Jonathan G Rennison
7e728fe9d6
Merge branch 'pr-230' into jgrpp
2021-03-28 22:39:56 +01:00
reldred
86e7cb6d18
Allow tile height to also play a part in determining the density of rocky patches.
2021-03-28 14:26:17 +10:30
Jonathan G Rennison
912c62d749
Add timetable lateness/earliness conditional order
2021-03-27 23:19:19 +00:00
reldred
67c256f437
Add PR #228 : New configure town zone multipliers
2021-03-25 12:18:37 +00:00
reldred
59631c1899
Hopefully fix the issues with the settings menu not showing up correctly.
2021-03-24 20:37:57 +10:30
reldred
7c6d73abfa
Create new branch. Goals: Make rocks size patches and frequency configruable. Optional but highly desired: Make rocks denser/more frequent the higher the altitude (make that an optional bool?)
...
Also the number display is screwed in the settings gui. Same problem as my other patch. Need to compare it to what I did for the other var I did recently (tiles width around rivers to make desert go away) and fix this. This will do to start with.
2021-03-24 17:46:09 +10:30
Jonathan G Rennison
abf8505c69
Add rainforest line height setting to map generation windows
...
See: #227
2021-03-20 18:39:48 +00:00
Jonathan G Rennison
c45b4414df
Merge branch 'pr-227' into jgrpp
...
Adjust settings patxname and guiflags
2021-03-20 18:00:45 +00:00
reldred
07397783f8
Allows configuring the height at which rainforests start, which by default was controlled by dividing the map maxheight by 4 in landscape.cpp. Default setting is 8 which matches and should provide default behavior in new map creation.
2021-03-20 20:53:22 +10:30
Jonathan G Rennison
a670e369db
Add setting for no vehicles introduced after given year
2021-03-17 18:51:19 +00:00
Jonathan G Rennison
3f4333bcc8
Add setting to enable non-admin multiplayer clients to rename towns
2021-03-14 16:44:15 +00:00
Jonathan G Rennison
70f3993a55
CMake: Fix host strgen/settingsgen importing
2021-03-04 18:50:29 +00:00
Jonathan G Rennison
865cf79915
Fix missing override keywords
2021-03-02 23:45:08 +00:00
Jonathan G Rennison
59741b9f3c
CMake: Fix HOST_BINARY_DIR cross compiling
2021-03-02 22:57:29 +00:00
Jonathan G Rennison
84a7ab180e
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/company_cmd.cpp
# src/lang/greek.txt
# src/table/settings.ini
2021-03-02 13:46:42 +00:00
Jonathan G Rennison
f4e29071be
Merge tag '1.11.0-beta2' into jgrpp
...
# Conflicts:
# .github/workflows/ci-build.yml
# .github/workflows/release.yml
# CMakeLists.txt
# src/blitter/32bpp_optimized.cpp
# src/debug.cpp
# src/gfx.cpp
# src/gfx_func.h
# src/lang/czech.txt
# src/lang/english.txt
# src/lang/italian.txt
# src/lang/swedish.txt
# src/lang/ukrainian.txt
# src/network/network_server.cpp
# src/os/windows/crashlog_win.cpp
# src/os/windows/win32.cpp
# src/pathfinder/follow_track.hpp
# src/screenshot.cpp
# src/settings_type.h
# src/spritecache.cpp
# src/vehicle_gui.cpp
# src/video/sdl2_v.cpp
# src/video/video_driver.cpp
# src/video/video_driver.hpp
# src/video/win32_v.cpp
2021-03-02 11:59:03 +00:00
Patric Stout
74aa934441
Codechange: validate that "max" value of settings fit in their storage
...
This is an easy mistake to make, so protect us against making such
mistakes, by validating it doesn't happen.
2021-03-01 23:17:47 +01:00
Patric Stout
d7a70c67ba
Fix: old snow_line_height had a higher maximum value than could be stored
...
So any old game made with this setting was overflowing anyway;
not really a lot we can do about that now.
2021-03-01 23:17:47 +01:00
Patric Stout
a0c298a539
Fix: three max-values for settings could exceed their storage size
2021-03-01 23:17:47 +01:00
Patric Stout
f183ded9fe
Add: settings to limit your fast-forward game speed
...
By default this setting is set to 2500% normal game speed.
(cherry picked from commit c3dc27e37e )
# Conflicts:
# src/gfx.cpp
# src/gfx_func.h
# src/settings_type.h
# src/video/cocoa/cocoa_v.mm
# src/video/video_driver.cpp
# src/video/win32_v.cpp
2021-03-01 17:54:15 +00:00
Patric Stout
8bc0089fc4
Fix c3dc27e3: put the max-value of fast-forward-speed-limit to within the storage size ( #8769 )
2021-02-28 21:53:14 +01:00
Patric Stout
c3dc27e37e
Add: settings to limit your fast-forward game speed
...
By default this setting is set to 2500% normal game speed.
2021-02-28 18:04:51 +00:00
Jonathan G Rennison
93f2d5e056
Add GUI setting for shading trees on slopes in viewports
...
Deafult on, only for non-map mode
(Slope shading is always on in map mode)
2021-02-26 18:03:00 +00:00
Jonathan G Rennison
4ef363422a
Add 32bpp blitter support for adjusting brightness of drawn sprites
2021-02-26 18:02:13 +00:00
Michael Lutz
e1e8cc3851
Fix #8734 : [OpenGL] Apply palette remap to cursor sprites. ( #8742 )
2021-02-24 22:10:25 +01:00
Michael Lutz
6bcc4884c2
Add: [OpenGL] Accelerated mouse cursor drawing.
2021-02-22 22:16:07 +01:00
Michael Lutz
e8fc050b6e
Add: [OpenGL] Support for 8bpp blitters.
2021-02-22 22:16:07 +01:00
Michael Lutz
320072c8dc
Codechange: [OpenGL] Explicitly assign which framebuffer target receives the colour values.
2021-02-22 22:16:07 +01:00
Michael Lutz
821f30f735
Codechange: [OpenGL] Use GLSL version 1.50 if available.
2021-02-22 22:16:07 +01:00
Michael Lutz
90fd8f8cda
Codechange: [OpenGL] Use generic vertex attributes in the shader program.
2021-02-22 22:16:07 +01:00
Michael Lutz
acf59f6b68
Codechange: [OpenGL] Use shaders to display the video buffer on screen.
2021-02-22 22:16:07 +01:00
Jonathan G Rennison
dfecdf3afb
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/dock_gui.cpp
# src/rail_gui.cpp
# src/road_gui.cpp
# src/terraform_gui.cpp
# src/vehicle.cpp
# src/video/allegro_v.cpp
# src/video/cocoa/cocoa_v.mm
# src/video/dedicated_v.cpp
# src/video/sdl2_v.cpp
# src/video/sdl_v.cpp
# src/video/win32_v.cpp
2021-02-21 11:54:24 +00:00
frosch
d9b4413bc9
Codechange: rename sound ids to make more sense. ( #8701 )
2021-02-20 19:01:04 +01:00
Patric Stout
7996fadb91
Change: [Win32] Remove force_full_redraw and display_hz settings
...
These were special settings only for the win32-drivers, and
introduced in the very first version we track.
Time kinda had caught up with those variables, so it is time to
say farewell.
force_full_redraw was most likely a debug functionality "in case
our dirty-rect fails". This should no longer be needed.
display_hz was cute, as it had a max of 120. That is kinda
out-dated information, but I also doubt anyone was really using
this.
2021-02-20 17:08:44 +01:00
Jonathan G Rennison
e95216b59d
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/company_cmd.cpp
# src/core/geometry_func.cpp
# src/date.cpp
# src/genworld_gui.cpp
# src/gfx.cpp
# src/object_gui.cpp
# src/openttd.cpp
# src/settings_type.h
# src/video/allegro_v.cpp
# src/video/dedicated_v.cpp
# src/video/null_v.cpp
# src/video/sdl2_v.cpp
# src/video/sdl_v.cpp
# src/video/win32_v.cpp
2021-02-19 15:38:34 +00:00
Patric Stout
fa170b9ace
Feature: configurable refresh-rate and change default to 60fps
...
Most modern games run on 60 fps, and for good reason. This gives
a much smoother experiences.
As some people have monitors that can do 144Hz or even 240Hz, allow
people to configure the refresh rate. Of course, the higher you
set the value, the more time the game spends on drawing pixels
instead of simulating the game, which has an effect on simulation
speed.
The simulation will still always run at 33.33 fps, and is not
influences by this setting.
2021-02-19 10:43:15 +01:00
Tyler Trahan
fa88cb62e1
Fix cc39fa9: New orders are non-stop by default ( #8689 )
2021-02-18 18:42:28 +01:00
Michael Lutz
8bd2349ab6
Fix #8676 , a2c3197f: GUI-visible settings may not be part of misc settings.
2021-02-17 21:01:21 +01:00
Michael Lutz
00c66e7096
Codechange: Allow early-load settings that are not misc settings.
2021-02-17 21:01:21 +01:00
Yourself
310bb876a2
Add: new town council "indifferent" attitude
...
Closes : #184
2021-02-16 22:49:18 +00:00
Jonathan G Rennison
ed9410aba9
Debug: Add house population and mail generation to debug window
2021-02-16 21:35:17 +00:00
frosch
5a1fa18509
Change: move the 'road drive side' selection to settings tree, and give it the same 'basic' visibilty as 'signal side'.
2021-02-14 23:14:07 +01:00
frosch
81e47277e7
Change: move the 'tree placer algorithm' selection to the settings tree window, and give it the same 'basic' visibility as 'in-game tree placement'.
2021-02-14 23:14:07 +01:00
Michael Lutz
22f5aeab07
Feature: Automatic UI and font zoom levels when supported by the OS.
2021-02-14 14:16:40 +01:00
Michael Lutz
a2c3197f42
Codechange: Make the settings for min/max zoom early load settings.
2021-02-14 14:16:40 +01:00
Michael Lutz
e5c3253642
Add: [OSX] Setting to disable HiDPI graphics rendering.
2021-02-14 11:50:18 +01:00
Michael Lutz
84636fc2af
Codechange: Remove all remaining uses of cpp_offset.
2021-02-13 20:08:53 +01:00
Michael Lutz
7845434270
Codechange: Don't use cpp_offsetof in the save/load code.
...
Many of the member variables that are used in save/load are inside types
that are not standard layout types. Using pointer arithmetics to determine
addresses of members inside types that are not standard layout is generally
undefined behaviour. If we'd use C++17, it is conditionally supported, which means
each compiler may or may not support it. And even then using it for individual
array elements is syntactically not supported the the standard offsetof function.
Unfortunately, the trickery employed for saving linkgraph settings causes quite some
clutter in the settings ini files.
2021-02-13 20:08:53 +01:00
SamuXarick
36ab9c64ef
Fix: Desert/rainforest data coordinate 'y' is off by 1 when their 'x' coordinate is negative
2021-02-13 19:18:41 +01:00