Commit Graph

51366 Commits (50f1c25ff5baa607a8b670c5bbc2aa2be8e1e5eb)
 

Author SHA1 Message Date
Patric Stout 31897eaa7d Codechange: split ParseConnectionString into two functions
One also looks for a company, the other doesn't. There were more
uses of the latter than the first, leaving very weird code all
over the place.
3 years ago
Patric Stout 05612d60ae Remove: "language" field from server/client
The original idea was that people could find a server they could
talk in their native language on. This isn't really used in that
way. There are several reasons for removing this:

- the client also sends his "language" to the server, but nothing
  is doing anything with this.
- flags are a bad way to represent languages, and over the years
  we had several (rightfully) complaints about this.
- most servers have their language set to "All", and prefix the
  servername with the language it is about. This is a much more
  efficient way to do the same.

All in all, this feature should go back to the drawing board.
Maybe it could work in another form, but this form is not it.
3 years ago
Patric Stout f4bd3fff5e Remove: "map_name" from server announcements / listing
The idea back in the days was nice, but it never resulted in
anything useful. Most servers either read "(loaded game)" or
"Random Map", neither being useful. It was meant for heightmaps,
so you could find a server that was using a specific one .. but
there are many things wrong with that idea. Mostly, servers tend
to save and load savegames from time to time, after which the
original heightmap used was lost.

All in all, removing map_name all together is just better.
3 years ago
Jonathan G Rennison 14636d2512 Check multi-tile ID-translated houses after house ID limit change
(Or when reloading NewGRFs)
If an overriding house type which newly fit in the limit changed the
tile layout, existing houses on the map could have the wrong layout

See: #243
3 years ago
Jonathan G Rennison 6a3e87114a Add a min_version parameter to SlXvIsFeatureMissing 3 years ago
Jonathan G Rennison 1fd620fd1f Debug: Show untranslated house IDs in debug window 3 years ago
translators 17d00537a1 Update: Translations from eints
chinese (simplified): 52 changes by clzls
3 years ago
Jonathan G Rennison 8d8076040a Avoid std::scoped_lock for MacOS 10.12 compatibility 3 years ago
translators f757d07bb3 Update: Translations from eints
swedish: 3 changes by DonaldDuck313
spanish: 39 changes by MontyMontana
3 years ago
Jonathan G Rennison c951dc8b9d Add command log flag for whether random seed changed 3 years ago
Jonathan G Rennison 4733950ccf Fix signed integer overflow in SetMinutesWindow callback
When date * daylength is too large for int32
3 years ago
Jonathan G Rennison 1da8f1a229 Fix signed integer overflow when initialising scheduled dispatch
When date * daylength is too large for int32
3 years ago
dP 7c7c6cde03 Fix: Do not unlock railtypes when enabling wagons with GameScript 3 years ago
Rubidium e5fedcd6da Fix #6322: [Script] Try to let the script die when no memory can be allocated instead of crashing the whole game 3 years ago
Rubidium 4400bbfa96 Change: [Script] Let Script_FatalError use std::string instead of const char * 3 years ago
Peter Nelson 3248a6c12b Fix #9042: Make multiplayer server list height auto-fill window.
#9042 did not fix all combinations of scaling options. This additional
change makes the server list automatically fill available height.
3 years ago
PeterN 195cf31cb9
Fix: Inconsistent button sizing on AI/GS setting window depending on scale settings. (#9044) 3 years ago
Milek7 aade177d79
Fix: Corrupted savegame could cause heap corruption by writing outside link graph edge matrix. (#9046) 3 years ago
Milek7 da55286c2c
Fix: Corrupted savegame could crash the game by providing invalid gamelog enums. (#9045) 3 years ago
PeterN 8e539ce293
Change: Improve layout and spacing of vehicle group widgets. (#9041)
Existing layout included a blank widget above the group list to align with the vehicle list, however since then an additional sort-by row was added.
Group list size tweaks to match normal row size (at least with normal gui and text size.)
Removed reduction of 2 rows in the group list <- main culprit of odd sizing.
Removed fill attribute on buttons which gave strange sizes, and put it on the group info widget instead.
Tweaked various soft-padding values to line up (centreing text with a 1px offset does not make centred text.)
3 years ago
Rubidium 44d1b964bf Fix #7513: recursive array/class/table release caused stack overflow 3 years ago
Rubidium 47a99bb676 Fix #7513: recursive garbage collection caused stack overflow 3 years ago
translators 6c49ae9cd7 Update: Translations from eints
chinese (simplified): 3 changes by clzls
spanish: 1 change by MontyMontana
polish: 6 changes by Milek7
3 years ago
Peter Nelson cb9f56df0c Feature: Show previous chat history when the chat message box is open 3 years ago
Peter Nelson fbef63822c Codechange: Use std::deque for chat history instead of fixed array 3 years ago
Peter Nelson 837994034d Fix: Sizing of Multiplayer server list incorrect when GUI zoom doesn't match Font zoom.
The server information panel was scaled by GUI scale, which could result in a panel that is longer than the server list. This height difference is then maintained when the window is resized to fill the screen.
Instead, specify the minimum size by number of text lines and (summed total) padding.
3 years ago
translators a4db7c844d Update: Translations from eints
korean: 6 changes by telk5093
portuguese (brazilian): 2 changes by Greavez
3 years ago
Jonathan G Rennison 74091c3c80 Disable realistic braking for TELE, PIPE, WIRE railtypes by default
See: #242
3 years ago
Jonathan G Rennison 6a62b94263 Add NewGRF railtype flag to disable realistic braking for vehs of that type
See: #242
3 years ago
Jonathan G Rennison ba2e6087b2 Add train cache flag for whether train using realistic braking physics 3 years ago
Jonathan G Rennison b514d29db1 Replace TrainCache::cached_tilt with a flags field 3 years ago
translators 010d977b16 Update: Translations from eints
hungarian: 5 changes by nemesbala
catalan: 2 changes by J0anJosep
tamil: 3 changes by Saran-S-Menon
3 years ago
Jonathan G Rennison 555861510f Version: Committing version data for tag: jgrpp-0.41.0 3 years ago
Jonathan G Rennison cb08d56add MinGW32: Fix 13011e00: wrong safe esp variable in asm block 3 years ago
Jonathan G Rennison 205673715c MinGW32: Fix EnumDisplayMonitors callback calling convention compile error 3 years ago
Jonathan G Rennison b4b3638f1b Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/romanian.txt
3 years ago
Jonathan G Rennison cb5c6902db Fix order dest refcount mismatch warning when loading very old savegames 3 years ago
Jonathan G Rennison 9e3ac646fa Fix desync warning messages when loading game with non-matching train braking model 3 years ago
Jonathan G Rennison 686bcb8009 Fix no vehicle tile hash update when moving train in drive-through depot 3 years ago
Jonathan G Rennison e623560120 Fix 4c2e42fa: Wrong town caches when loading pre more-houses savegame 3 years ago
Jonathan G Rennison 7faa279250 Fix 26a123b7: Wrong variable size in VENC chunk saver 3 years ago
translators 3e0a16c027 Update: Translations from eints
romanian: 57 changes by kneekoo
russian: 3 changes by Ln-Wolf
spanish: 3 changes by MontyMontana
portuguese: 7 changes by azulcosta
3 years ago
Jonathan G Rennison 1ef236525a Mapgen: Generate fuzzy ellipse shaped lakes instead of squares 3 years ago
Jonathan G Rennison acfdc0efe8
Merge pull request #241 from telk5093/korean
Update: Korean translation
3 years ago
Milek7 4cd9e0f41b Fix: Add virtual destructor to link graph Path.
Classes derived from Path were freed through base class pointer, but no virtual destructor was present.
3 years ago
TELK 157aa3d8b7 Update: Korean translation for Polyrail build mode 3 years ago
TELK 898a958cb2 Update: Korean translation 3 years ago
Jonathan G Rennison 6c62bce1ac Bump water flooding savegame version and clear states on load 3 years ago
Jonathan G Rennison 1a29a1ee74 Fix building objects, trees and buoys on water/shore not clearing neighbour flooding states 3 years ago
Jonathan G Rennison 0422e2fe1e Add misc debug flag for water flooding states 3 years ago