- Feature: Searching of (missing) content via GrfCrawler (r25024, r25023)
- Fix: [SDL] Crash after bootstrap download of 32bits base set due to referencing a deleted mutex [FS#5466] (r25017)
- Fix: [SDL] Improve 8bpp hardware palette support. Instead of always requesting SDL_HWPALETTE, it is now only done for 8bp blitters in fullscreen mode (r25003, r25002, r24993)
english_US - 4 changes by Rubidium
french - 4 changes by glx
greek - 156 changes by Evropi
spanish - 5 changes by Terkhen
swedish - 9 changes by Joel_A, Zuu
- This fixes 32bpp blitters on 8bpp X11, which would only render garbage with SDL_HWPALETTE.
- This prevents the colors of other applications from being messed up when running a 8bpp blitter on a 8bpp system.
- When running a 8bpp blitter on an 8bpp system without SDL_HWPALETTE (e.g., in windowed mode), this uses a new shadow surface with color approximation.
- The use of a hardware palette can be forced on and off using -v sdl:hw_palette=1 or -v sdl:hw_palette=0
japanese - 13 changes by Aknuth
korean - 1 changes by telk5093
lithuanian - 1 changes by RunisLabs
polish - 1 changes by wojteks86
tamil - 104 changes by aswn
hungarian - 3 changes by oklmernok
japanese - 42 changes by Aknuth
polish - 5 changes by wojteks86
slovenian - 1 changes by Necrolyte
tamil - 108 changes by aswn
hungarian - 24 changes by oklmernok
indonesian - 12 changes by H2
korean - 3 changes by telk5093
polish - 5 changes by wojteks86
tamil - 7 changes by aswn
greek - 38 changes by Evropi
korean - 1 changes by telk5093
tamil - 1 changes by aswn
turkish - 10 changes by magnum06
vietnamese - 1 changes by nglekhoi
belarusian - 1 changes by Wowanxm
croatian - 1 changes by VoyagerOne
danish - 9 changes by beruic
dutch - 1 changes by habell
english_US - 1 changes by Rubidium
esperanto - 10 changes by Mojosa
finnish - 1 changes by jpx_
french - 1 changes by Snail_
icelandic - 1 changes by Stimrol
indonesian - 3 changes by Yoursnotmine
italian - 1 changes by Snail_
norwegian_nynorsk - 7 changes by lbrowncastle
russian - 4 changes by Lone_Wolf
turkish - 2 changes by magnum06
croatian - 1 changes by VoyagerOne
danish - 7 changes by Elias
dutch - 1 changes by habell
finnish - 1 changes by jpx_
icelandic - 1 changes by Stimrol
italian - 1 changes by lorenzodv
korean - 61 changes by telk5093
brazilian_portuguese - 11 changes by Tucalipe
russian - 2 changes by Lone_Wolf
turkish - 18 changes by magnum06
english_US - 1 changes by Rubidium
french - 2 changes by glx
german - 3 changes by planetmaker
irish - 11 changes by ioo5
brazilian_portuguese - 110 changes by Tucalipe
spanish - 1 changes by Terkhen
finnish - 2 changes by jpx_
hebrew - 14 changes by taleinat
serbian - 5 changes by SweetAbsinthe
swedish - 2 changes by spacejens
ukrainian - 48 changes by Norby89
catalan - 49 changes by Bassals
traditional_chinese - 150 changes by siu238X
hebrew - 134 changes by taleinat
korean - 16 changes by telk5093
serbian - 49 changes by ivan_mile
bulgarian - 143 changes by GFtoBG
catalan - 1 changes by Bassals
traditional_chinese - 146 changes by siu238X
croatian - 2 changes by VoyagerOne
hungarian - 2 changes by valaky
traditional_chinese - 115 changes by siu238X
japanese - 36 changes by kokubunzi
lithuanian - 33 changes by Stabilitronas
polish - 1 changes by wojteks86
serbian - 5 changes by voodoo84
arabic_egypt - 6 changes by zaabi1995
bulgarian - 100 changes by logi
traditional_chinese - 16 changes by Marcadana, elleryq
korean - 23 changes by telk5093
tamil - 12 changes by aswn
turkish - 53 changes by barisdemirdelen
bulgarian - 27 changes by pdedinski
traditional_chinese - 3 changes by elleryq
lithuanian - 30 changes by Stabilitronas
romanian - 12 changes by mariush
spanish - 1 changes by Terkhen
bulgarian - 38 changes by pdedinski
traditional_chinese - 30 changes by elleryq
hungarian - 67 changes by valaky
luxembourgish - 38 changes by Phreeze
turkish - 18 changes by niw3
simplified_chinese - 3 changes by chenwt0315
esperanto - 37 changes by ernie13
icelandic - 107 changes by Stimrol
luxembourgish - 41 changes by Phreeze
serbian - 59 changes by voodoo84
thai - 7 changes by kenny
simplified_chinese - 1 changes by chenwt0315
danish - 13 changes by Elias
esperanto - 25 changes by ernie13
greek - 1 changes by Rubidium
hebrew - 19 changes by naf869
icelandic - 109 changes by Stimrol
indonesian - 26 changes by H2
korean - 6 changes by telk5093
luxembourgish - 25 changes by Phreeze
polish - 2 changes by wojteks86
serbian - 5 changes by voodoo84
swedish - 16 changes by spacejens
turkish - 17 changes by kutzun
simplified_chinese - 20 changes by xiangyigao
greek - 49 changes by Evropi
icelandic - 131 changes by Stimrol
indonesian - 11 changes by H2
korean - 1 changes by telk5093
tamil - 4 changes by aswn
greek - 35 changes by Evropi
icelandic - 45 changes by Stimrol
indonesian - 8 changes by fanioz
latvian - 17 changes by Parastais
portuguese - 6 changes by fspinto, neuralshock
slovak - 7 changes by Romop5
simplified_chinese - 25 changes by xiangyigao
czech - 3 changes by micropro_cz
estonian - 238 changes by notAbot
greek - 93 changes by Evropi
icelandic - 118 changes by Stimrol
indonesian - 131 changes by H2, Yoursnotmine, fanioz
italian - 5 changes by Snail_
latvian - 11 changes by Parastais
lithuanian - 19 changes by Stabilitronas
portuguese - 78 changes by Lux, fspinto, neuralshock
romanian - 4 changes by mariush
slovak - 104 changes by Romop5, Tinix
tamil - 1 changes by aswn
bulgarian - 14 changes by pdedinski
simplified_chinese - 2 changes by xiangyigao
finnish - 1 changes by jpx_
greek - 43 changes by Evropi
hungarian - 2 changes by Brumi
icelandic - 201 changes by Stimrol
indonesian - 65 changes by Yoursnotmine
portuguese - 29 changes by fspinto
romanian - 54 changes by mariush
spanish - 1 changes by Terkhen
tamil - 25 changes by aswn
belarusian - 30 changes by Wowanxm
simplified_chinese - 99 changes by huanggua2002, xiangyigao
greek - 118 changes by Evropi
icelandic - 89 changes by Stimrol
korean - 12 changes by telk5093
polish - 3 changes by wojteks86
portuguese - 31 changes by fspinto, neuralshock
romanian - 36 changes by mariush
slovenian - 17 changes by gligoran
spanish - 1 changes by Terkhen
tamil - 44 changes by aswn
bulgarian - 13 changes by Tvel
simplified_chinese - 31 changes by xiangyigao
czech - 16 changes by Eskymak
danish - 48 changes by Knogle
english_AU - 1 changes by Rubidium
english_US - 1 changes by Rubidium
estonian - 22 changes by runekri3
icelandic - 145 changes by Stimrol
indonesian - 9 changes by fanioz
korean - 116 changes by telk5093
norwegian_bokmal - 148 changes by Inspirion, cuthbert
polish - 7 changes by wojteks86
slovenian - 64 changes by gligoran
tamil - 157 changes by aswn
arabic_egypt - 44 changes by kasakg
catalan - 33 changes by Bassals
english_AU - 311 changes by mrtux
finnish - 4 changes by jpx_
hungarian - 6 changes by alyr
icelandic - 4 changes by Stimrol
indonesian - 1 changes by fanioz
korean - 1 changes by telk5093
latvian - 36 changes by Parastais
norwegian_bokmal - 70 changes by Inspirion, cuthbert
polish - 1 changes by wojteks86
belarusian - 40 changes by KorneySan
greek - 9 changes by Evropi
indonesian - 51 changes by fanioz
polish - 29 changes by wojteks86
russian - 2 changes by KorneySan
catalan - 39 changes by Bassals
simplified_chinese - 2 changes by chenwt0315
croatian - 8 changes by VoyagerOne
danish - 6 changes by Hatsen
dutch - 40 changes by habell
english_US - 7 changes by Rubidium
french - 7 changes by glx
greek - 3 changes by Evropi
italian - 7 changes by lorenzodv
korean - 7 changes by telk5093
norwegian_bokmal - 8 changes by Inspirion
polish - 10 changes by wojteks86
portuguese - 81 changes by SupSuper
romanian - 35 changes by kneekoo
russian - 7 changes by KorneySan
slovak - 1 changes by JamesSVK
catalan - 1 changes by Bassals
croatian - 33 changes by VoyagerOne
english_US - 33 changes by Rubidium
finnish - 33 changes by jpx_
french - 33 changes by glx
german - 51 changes by planetmaker
italian - 33 changes by Snail_
russian - 33 changes by Lone_Wolf
spanish - 33 changes by Terkhen
vietnamese - 34 changes by myquartz
belarusian - 1 changes by KorneySan
catalan - 1 changes by Bassals
croatian - 1 changes by VoyagerOne
korean - 1 changes by telk5093
swedish - 5 changes by Joel_A
basque - 9 changes by lutxiketa
croatian - 2 changes by VoyagerOne
french - 2 changes by glx
greek - 18 changes by Evropi
malay - 25 changes by richz
polish - 24 changes by wojteks86
basque - 50 changes by lutxiketa
belarusian - 2 changes by KorneySan
dutch - 22 changes by habell
greek - 118 changes by Evropi
italian - 2 changes by lorenzodv
malay - 17 changes by richz
maltese - 24 changes by Drinu276
norwegian_bokmal - 8 changes by lenhoy
polish - 36 changes by wojteks86
russian - 2 changes by KorneySan
swedish - 6 changes by Joel_A
vietnamese - 70 changes by myquartz
basque - 272 changes by lutxiketa
belarusian - 37 changes by KorneySan
dutch - 42 changes by habell
english_US - 66 changes by Rubidium
finnish - 66 changes by jpx_
french - 61 changes by glx
german - 36 changes by planetmaker
greek - 11 changes by Evropi
italian - 36 changes by lorenzodv
russian - 46 changes by KorneySan
ukrainian - 66 changes by Norby89
basque - 37 changes by lutxiketa
catalan - 4 changes by Bassals, arnau
greek - 6 changes by Evropi
korean - 6 changes by telk5093
ukrainian - 9 changes by edd_k
belarusian - 2 changes by Wowanxm
greek - 19 changes by Evropi
italian - 1 changes by lorenzodv
latvian - 1 changes by Parastais
lithuanian - 31 changes by
spanish - 1 changes by Terkhen
basque - 51 changes by lutxiketa
catalan - 5 changes by arnau
dutch - 5 changes by habell
english_US - 5 changes by Rubidium
esperanto - 11 changes by Joncst
french - 11 changes by gromlin
italian - 5 changes by lorenzodv
latvian - 5 changes by Parastais
lithuanian - 46 changes by Stabilitronas
polish - 5 changes by wojteks86
portuguese - 8 changes by skkeeper
basque - 2 changes by lutxiketa
belarusian - 32 changes by Wowanxm
finnish - 5 changes by jpx_
german - 5 changes by planetmaker
japanese - 1 changes by nex259
korean - 4 changes by telk5093
portuguese - 23 changes by skkeeper
russian - 5 changes by Lone_Wolf
spanish - 5 changes by Terkhen
danish - 13 changes by Knogle
korean - 3 changes by telk5093
latvian - 8 changes by Parastais
polish - 5 changes by wojteks86
russian - 1 changes by Lone_Wolf
spanish - 2 changes by Terkhen
tamil - 4 changes by aswn
afrikaans - 4 changes by Maccie123
belarusian - 3 changes by KorneySan
catalan - 5 changes by arnau
english_US - 3 changes by Rubidium
italian - 3 changes by lorenzodv
norwegian_bokmal - 22 changes by jhsoby
polish - 15 changes by wojteks86
brazilian_portuguese - 20 changes by Tucalipe
russian - 3 changes by KorneySan
swedish - 12 changes by Joel_A
belarusian - 6 changes by KorneySan
italian - 6 changes by lorenzodv
latvian - 6 changes by Parastais
norwegian_bokmal - 14 changes by jhsoby
russian - 1 changes by KorneySan
ukrainian - 16 changes by edd_k
afrikaans - 98 changes by Oomjcv
catalan - 4 changes by arnau
czech - 18 changes by metis
finnish - 3 changes by jpx_
italian - 3 changes by lorenzodv
korean - 6 changes by telk5093
latvian - 5 changes by Parastais
russian - 3 changes by Lone_Wolf
spanish - 3 changes by Terkhen
tamil - 7 changes by aswn
afrikaans - 69 changes by Oomjcv
catalan - 35 changes by arnau
english_US - 3 changes by Rubidium
german - 8 changes by planetmaker
korean - 1 changes by telk5093
tamil - 25 changes by Rubidium, aswn
belarusian - 5 changes by KorneySan
danish - 18 changes by Knogle
french - 6 changes by glx
lithuanian - 5 changes by Stabilitronas
norwegian_nynorsk - 5 changes by 2rB
catalan - 6 changes by arnau
danish - 73 changes by Knogle
english_US - 5 changes by Rubidium
finnish - 5 changes by jpx_
italian - 6 changes by lorenzodv
finnish - 2 changes by jpx_
german - 2 changes by planetmaker
italian - 2 changes by lorenzodv
russian - 2 changes by Lone_Wolf
spanish - 2 changes by Terkhen
finnish - 2 changes by jpx_
german - 2 changes by planetmaker
italian - 14 changes by lorenzodv
korean - 3 changes by telk5093
romanian - 16 changes by tonny
russian - 2 changes by edd_k
spanish - 2 changes by Terkhen
swedish - 12 changes by Zuu
dutch - 6 changes by habell
english_US - 6 changes by Rubidium
finnish - 6 changes by jpx_
korean - 45 changes by telk5093
russian - 6 changes by Lone_Wolf
catalan - 3 changes by mtormo
dutch - 3 changes by habell
english_US - 3 changes by Rubidium
finnish - 2 changes by jpx_
german - 3 changes by planetmaker
italian - 3 changes by lorenzodv
korean - 121 changes by telk5093
lithuanian - 3 changes by Stabilitronas
russian - 3 changes by Lone_Wolf
afrikaans - 1 changes by telanus
dutch - 2 changes by habell
greek - 6 changes by kyrm
korean - 4 changes by telk5093
persian - 10 changes by Peymanpn
polish - 2 changes by wojteks86
swedish - 3 changes by Joel_A
tamil - 9 changes by ganesh
vietnamese - 5 changes by nglekhoi
dutch - 2 changes by habell
german - 1 changes by Jogio
greek - 47 changes by kyrm
hungarian - 61 changes by IPG
lithuanian - 7 changes by RunisLabs
polish - 4 changes by wojteks86
swedish - 2 changes by Joel_A
afrikaans - 2 changes by telanus
german - 2 changes by Jogio
hungarian - 63 changes by IPG
polish - 11 changes by wojteks86
swedish - 21 changes by Joel_A
dutch - 26 changes by habell
german - 22 changes by Jogio
latvian - 11 changes by Parastais
lithuanian - 1 changes by RunisLabs
polish - 2 changes by wojteks86
vietnamese - 1 changes by nglekhoi
belarusian - 3 changes by Wowanxm
german - 7 changes by Jogio, planetmaker
latvian - 1 changes by Parastais
lithuanian - 53 changes by RunisLabs
swedish - 4 changes by Joel_A
afrikaans - 19 changes by telanus
belarusian - 1 changes by Wowanxm
dutch - 11 changes by habell
german - 1 changes by planetmaker
lithuanian - 30 changes by RunisLabs
catalan - 1 changes by mtormo
czech - 22 changes by RabbRubbish
danish - 2 changes by beruic
german - 218 changes by NG
italian - 1 changes by lorenzodv
romanian - 4 changes by tonny
russian - 1 changes by edd_k
ukrainian - 4 changes by edd_k
belarusian - 2 changes by Wowanxm
czech - 1 changes by Eskymak
danish - 10 changes by beruic
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
french - 1 changes by glx
latvian - 3 changes by Parastais
lithuanian - 3 changes by Stabilitronas
swedish - 9 changes by Joel_A
catalan - 2 changes by arnau
traditional_chinese - 1 changes by Luper
croatian - 7 changes by VoyagerOne
danish - 3 changes by beruic
dutch - 9 changes by mazele
finnish - 2 changes by jpx_
french - 7 changes by OliTTD
german - 1 changes by NG
italian - 2 changes by lorenzodv
latvian - 3 changes by Parastais
lithuanian - 19 changes by Stabilitronas
romanian - 56 changes by tonny
russian - 2 changes by Lone_Wolf
belarusian - 15 changes by Wowanxm
catalan - 6 changes by arnau
english_US - 2 changes by Rubidium
finnish - 6 changes by jpx_
italian - 14 changes by lorenzodv
korean - 4 changes by telk5093
russian - 3 changes by Lone_Wolf
spanish - 2 changes by Terkhen
swedish - 3 changes by Joel_A
english_US - 6 changes by Rubidium
french - 5 changes by glx
german - 15 changes by NG
greek - 67 changes by kyrm
russian - 2 changes by Lone_Wolf
spanish - 36 changes by Terkhen
dutch - 9 changes by habell
french - 5 changes by OliTTD
korean - 185 changes by telk5093
russian - 2 changes by Lone_Wolf
slovenian - 2 changes by
spanish - 2 changes by Terkhen
afrikaans - 21 changes by telanus
dutch - 5 changes by habell
latvian - 19 changes by Parastais
slovenian - 2 changes by
swedish - 10 changes by Joel_A
hungarian - 27 changes by IPG
portuguese - 1 changes by JayCity
russian - 3 changes by Lone_Wolf
slovenian - 2 changes by
swedish - 36 changes by Joel_A
vietnamese - 3 changes by nglekhoi
catalan - 29 changes by arnau, mtormo
dutch - 9 changes by habell
latvian - 25 changes by Parastais
russian - 23 changes by Lone_Wolf
slovenian - 2 changes by
spanish - 39 changes by Terkhen
belarusian - 17 changes by Wowanxm
catalan - 4 changes by mtormo
croatian - 84 changes by VoyagerOne
czech - 2 changes by TheLamer
dutch - 31 changes by habell, mazele
french - 3 changes by OliTTD
latvian - 44 changes by Parastais
russian - 7 changes by Lone_Wolf
slovenian - 2 changes by
spanish - 19 changes by Terkhen
swedish - 24 changes by Joel_A, daishan
belarusian - 116 changes by Wowanxm
croatian - 43 changes by VoyagerOne
english_US - 2 changes by Rubidium
italian - 2 changes by lorenzodv
russian - 15 changes by Lone_Wolf
slovenian - 2 changes by
spanish - 39 changes by Terkhen
swedish - 14 changes by Joel_A
vietnamese - 2 changes by nglekhoi
belarusian - 419 changes by Wowanxm
dutch - 9 changes by habell
english_US - 3 changes by Rubidium
estonian - 4 changes by Jaanus
french - 1 changes by glx
german - 1 changes by planetmaker
polish - 9 changes by Kilian
russian - 110 changes by Lone_Wolf
slovenian - 2 changes by
swedish - 15 changes by Joel_A
belarusian - 109 changes by Wowanxm
catalan - 18 changes by mtormo
english_US - 7 changes by Rubidium
finnish - 60 changes by jpx_
french - 120 changes by OliTTD, glx
italian - 126 changes by lorenzodv
russian - 63 changes by Lone_Wolf
slovenian - 15 changes by Necrolyte
afrikaans - 2 changes by telanus
english_US - 132 changes by Rubidium
finnish - 66 changes by jpx_
french - 10 changes by glx
german - 126 changes by planetmaker
latvian - 11 changes by Parastais
polish - 18 changes by wojteks86
slovenian - 115 changes by Necrolyte
spanish - 1 changes by Terkhen
french - 2 changes by OliTTD
latvian - 1 changes by Parastais
polish - 10 changes by wojteks86
russian - 36 changes by Lone_Wolf
vietnamese - 5 changes by nglekhoi
afrikaans - 19 changes by telanus
belarusian - 39 changes by Wowanxm
czech - 10 changes by Paragulis
dutch - 35 changes by habell
german - 39 changes by planetmaker
italian - 42 changes by lorenzodv
latvian - 44 changes by Parastais
polish - 31 changes by wojteks86
romanian - 1 changes by kkmic
russian - 38 changes by KorneySan
slovenian - 66 changes by Necrolyte
afrikaans - 33 changes by telanus
belarusian - 6 changes by KorneySan, Wowanxm
croatian - 4 changes by VoyagerOne
czech - 4 changes by Paragulis
dutch - 8 changes by habell
english_AU - 19 changes by tomas4g
english_US - 4 changes by Rubidium
finnish - 4 changes by jpx_
french - 4 changes by OliTTD
german - 4 changes by NG
italian - 4 changes by lorenzodv
lithuanian - 22 changes by Stabilitronas
polish - 4 changes by wojteks86
russian - 6 changes by KorneySan
afrikaans - 45 changes by telanus
belarusian - 10 changes by Wowanxm
simplified_chinese - 3 changes by chenwt0315
croatian - 12 changes by VoyagerOne
german - 12 changes by planetmaker
latvian - 24 changes by Parastais, Tranzistors
dutch - 10 changes by habell
english_US - 12 changes by Rubidium
french - 18 changes by OliTTD
korean - 13 changes by telk5093
polish - 12 changes by wojteks86
russian - 10 changes by Lone_Wolf
spanish - 10 changes by Terkhen
vietnamese - 12 changes by nglekhoi
german - 2 changes by Jogio
irish - 38 changes by tem
italian - 1 changes by Snail_
latvian - 44 changes by Parastais
polish - 4 changes by Kilian
spanish - 2 changes by Terkhen
ukrainian - 1 changes by edd_k
french - 4 changes by OliTTD
italian - 1 changes by lorenzodv
latvian - 1 changes by Parastais
lithuanian - 2 changes by Stabilitronas
luxembourgish - 8 changes by Phreeze
polish - 1 changes by wojteks86
belarusian - 1 changes by Wowanxm
catalan - 1 changes by arnau
croatian - 1 changes by VoyagerOne
dutch - 1 changes by habell
english_US - 1 changes by Rubidium
finnish - 3 changes by jpx_
french - 1 changes by OliTTD
hungarian - 1 changes by IPG
latvian - 30 changes by Parastais
russian - 1 changes by Lone_Wolf
serbian - 1 changes by etran
catalan - 2 changes by arnau
german - 2 changes by NG
greek - 140 changes by astyanax
latvian - 25 changes by Parastais
lithuanian - 17 changes by Stabilitronas
belarusian - 1 changes by Wowanxm
dutch - 2 changes by habell
latvian - 45 changes by Parastais
lithuanian - 46 changes by Stabilitronas
brazilian_portuguese - 16 changes by laurentalp
romanian - 2 changes by kkmic
belarusian - 2 changes by KorneySan, Wowanxm
czech - 2 changes by Eskymak
korean - 1 changes by telk5093
latvian - 57 changes by Parastais
lithuanian - 23 changes by Stabilitronas
polish - 1 changes by wojteks86
portuguese - 5 changes by SupSuper
russian - 2 changes by Lone_Wolf
vietnamese - 2 changes by nglekhoi
english_US - 2 changes by Rubidium
french - 2 changes by OliTTD, glx
hungarian - 2 changes by Brumi
italian - 2 changes by lorenzodv
korean - 1 changes by telk5093
lithuanian - 64 changes by Stabilitronas
portuguese - 5 changes by JayCity
serbian - 2 changes by etran
spanish - 2 changes by Terkhen
tamil - 115 changes by aswn
belarusian - 1 changes by Wowanxm
czech - 43 changes by Eskymak
dutch - 15 changes by habell
english_AU - 14 changes by tomas4g
french - 1 changes by OliTTD
latvian - 33 changes by Parastais
lithuanian - 2 changes by Stabilitronas
norwegian_bokmal - 10 changes by mantaray
polish - 15 changes by wojteks86
romanian - 10 changes by kkmic
serbian - 11 changes by etran
ukrainian - 6 changes by edd_k
vietnamese - 14 changes by nglekhoi
basque - 14 changes by HerrBasque
catalan - 15 changes by arnau
english_US - 1 changes by Rubidium
french - 1 changes by glx
german - 1 changes by Jogio
italian - 19 changes by lorenzodv
korean - 7 changes by telk5093
latvian - 14 changes by Parastais
lithuanian - 1 changes by Stabilitronas
russian - 3 changes by Lone_Wolf
spanish - 9 changes by Terkhen
turkish - 25 changes by niw3
ukrainian - 22 changes by Fixer
vietnamese - 1 changes by nglekhoi
danish - 21 changes by mgarde
french - 7 changes by OliTTD
luxembourgish - 8 changes by Phreeze
norwegian_bokmal - 25 changes by mantaray
tamil - 40 changes by aswn
french - 13 changes by OliTTD
latvian - 5 changes by Parastais
romanian - 1 changes by kkmic
serbian - 4 changes by etran
vietnamese - 1 changes by nglekhoi
belarusian - 1 changes by Wowanxm
french - 67 changes by OliTTD
greek - 7 changes by vitalblue
indonesian - 4 changes by prof
italian - 1 changes by lorenzodv
basque - 106 changes by HerrBasque
english_AU - 9 changes by tomas4g
french - 17 changes by OliTTD
german - 2 changes by NG
greek - 25 changes by kyrm
hungarian - 6 changes by IPG
italian - 1 changes by Snail_
latvian - 5 changes by Parastais
norwegian_nynorsk - 35 changes by eloekset
brazilian_portuguese - 81 changes by Tucalipe
spanish - 1 changes by HerrBasque
afrikaans - 82 changes by Maccie123
basque - 12 changes by HerrBasque
belarusian - 2 changes by KorneySan
simplified_chinese - 47 changes by Gavin
dutch - 4 changes by habell
english_AU - 11 changes by tomas4g
french - 26 changes by OliTTD
indonesian - 6 changes by fanioz
korean - 22 changes by telk5093
latvian - 8 changes by Parastais
polish - 2 changes by wojteks86
russian - 2 changes by KorneySan
slovak - 10 changes by klingacik
welsh - 5 changes by kazzie
belarusian - 2 changes by Wowanxm
danish - 69 changes by mgarde
english_US - 1 changes by Rubidium
estonian - 8 changes by taavi
finnish - 9 changes by jpx_
indonesian - 13 changes by adjayanto
italian - 1 changes by lorenzodv
latvian - 12 changes by Parastais
lithuanian - 2 changes by Stabilitronas
maltese - 12 changes by RCTMASTA
marathi - 2 changes by amitst
norwegian_bokmal - 1 changes by meisme
polish - 9 changes by CrySec
russian - 2 changes by akasoft
spanish - 2 changes by Terkhen
tamil - 48 changes by aswn
ukrainian - 1 changes by Fixer
catalan - 5 changes by arnau
simplified_chinese - 9 changes by chenwt0315
french - 3 changes by glx
frisian - 1 changes by Flexo
korean - 6 changes by telk5093
norwegian_bokmal - 3 changes by kristoffer_hh
polish - 5 changes by nouwak
portuguese - 10 changes by JayCity
romanian - 16 changes by tonny
serbian - 1 changes by etran
swedish - 5 changes by Zuu
ukrainian - 29 changes by Madvin
urdu - 26 changes by haider
vietnamese - 7 changes by nglekhoi
welsh - 8 changes by kazzie
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
- Feature: Searching of (missing) content via GrfCrawler (r25024, r25023)
- Change: Cleanup goals and cargo monitors of companies when they go bankrupt or are taken over (r24986)
- Change: Apply the same name sorting rules to content and NewGRF list as for the server list (r24983)
- Fix: [SDL] Crash after bootstrap download of 32bits base set due to referencing a deleted mutex [FS#5466] (r25017)
- Fix: [SDL] Improve 8bpp hardware palette support. Instead of always requesting SDL_HWPALETTE, it is now only done for 8bp blitters in fullscreen mode (r25003, r25002, r24993)
- Fix: Set vehicle's service interval is percent flag appropriately on creation [FS#5137] (r24998)
- Fix: When choosing a train in a depot to attach a newly purchased wagon to, do not consider trains currently moving in and out of the depot (r24987)
- Fix: [Script] Crash when passing too many parameters [FS#5465] (r24982, r24981, r24980)
- Feature: [NewGRF] Station randomisation triggers (r24906, r24905)
- Feature: Settings type filter included in the advanced settings GUI (r24862, r24863)
- Change: Revert to opening the vehicle GUI again when cloning vehicles using the clone-button from the depot GUI [FS#4458] (r24955)
- Fix: Additional zoom in levels could glitch by a few pixels due to incorrect rounding [FS#5463] (r24975)
- Fix: Honour pause_on_newgame setting when running as a dedicated server [FS#5279] (r24974)
- Fix: [NewGRF] Prevent access to tile-based variables when tile is invalid [FS#5462] (r24973)
- Fix: Do not make overbuilding rivers with canals insanely expensive [FS#5258] (r24972)
- Fix: Crash when an infinite loop occurred during loading of a script [FS#5346] (r24970)
- Fix: company window was not updated when shares were enabled/disabled [FS#5379] (r24968)
- Fix: Trams would get stuck on water [FS#5228] (r24966)
- Fix: With YAPF the docking behaviour differed per direction; now favour docking in the direction you approached [FS#5416] (r24964)
- Fix: Do not stop loading if there are reservations left [FS#5435] (r24963)
- Fix: Reserve all capacity while unloading to avoid 'stealing' cargo, i.e. loading cargo onto a second vehicle when the first cannot be fully filled yet [FS#5438] (r24962)
- Fix: If a platform is enlarged and there is a reservation, reserve the whole platform [FS#5362] (r24961)
- Fix: Inconsistencies in the 'thanks to' lists [FS#5423] (r24960)
- Fix: Set 'replace when old' flag when replacing an autoreplace (r24950)
- Fix: Deleting implicit orders was not able to deal with the various side-effects of DeleteOrder [FS#5452] (r24944)
- Fix: Redraw autoreplace window properly in network games (r24939)
- Fix: Never put a space between cargo name and subtype [FS#5447] (r24938)
- Fix: Do not allow order refit to be set for no-load orders [FS#5446] (r24936)
- Fix: Make group names unique per company and vehicle type [FS#3473] (r24933)
- Fix: Prevent more NewGRFs being selected than is possible to load [FS#5158] (r24932)
- Fix: [GS] Do not try to pause or unpause crashed scripts [FS#5415] (r24929)
- Fix: [Squirrel] Update line information before processing 'while' token of 'do'-'while' statement [FS#5408] (r24928)
- Fix: Add a tooltip to the mapsize selection mentioning possible deviations [FS#5395] (r24925)
- Fix: When an object built on a river is removed, restore the river [FS#5441] (r24923)
- Fix: Upgrading bridges could steal road types [FS#5389] (r24912)
- Feature: Advanced settings to disable certain sound effects (r24846)
- Feature: [NewGRF] Support oversized purchase list sprites [FS#5271] (r24839)
- Feature: Improve pylon placement around station tiles that display neither pylons nor catenary (r24836)
- Feature: When using a non-release version of OpenTTD and the basegraphics are missing some sprites, also suggest to use a non-release version of the basegraphics (r24821)
- Feature: Consider engine preview windows always sticky, so non-shift mass-closure does not affect them [FS#2632] (r24809)
- Feature: When share-cloning vehicles do not open the vehicle window of the new vehicle [FS#4458] (r24808)
- Feature: Enable usage of 'companies' console command also in singleplayer [FS#2820] (r24807)
- Feature: Ask for confirmation before creating giant screenshots [FS#3148] (r24806)
- Feature: Separate subdirectory for screenshots (r24804)
- Feature: Unify the difficulty settings window with the advanced settings window (r24791, r24792)
- Feature: Various methods to open the OSK (r24785)
- Feature: Add a string filter to the server list [FS#3852] (r24769)
- Feature: Add industry type and cargo dropdown selection for easier navigating in the industry chain window (r24763)
- Feature: Introduce GUI icons for deleting to the left/right (r24749)
- Feature: Add clear button to all editboxes (r24748)
- Feature: Reset the vehicle engine pool when starting a scenario (r24716)
- Feature: Add basic/advanced/expert filters to the advanced settings GUI [FS#5355] (r24671)
- Feature: Draw cargo labels in the station list black or white depending on the background colour [FS#5311] (r24668)
- Feature: Do not display the preview window for disabled vehicle types (r24660)
- Feature: Add new filter option to the advanced settings window to show only changed settings (r24647)
- Feature: Add text filtering to advanced settings (r24632)
- Feature: Add buttons to expand/collapse all to advanced settings GUI (r24631)
- Feature: [GS] Allow GameScripts to construct and prospect industries without having a sponsor (r24623)
- Feature: Pay interest also on a negative cash value (r24618)
- Feature: Sort cargo filter by cargo name/label at the company stations window [FS#5311] (r24615)
- Feature: More options for the auto-scroll setting (r24590)
- Feature: Allow AI/GS script developers to break the execution of their scripts and pause the game using ScriptController::Break() (r24542, r24575)
- Feature: Scripts can be suspended even if the game is still progressing, thus break-on-log now works also for Game Scripts (r24537)
- Feature: Highlight industries on the smallmap when the mouse is over an entry in the legend (r24534)
- Feature: [NewGRF] Allow resolving var 5F via vehicle var 61 (r24527)
- Feature: [OSX] Additional high-resolution icons for the app bundle [FS#4539] (r24525)
- Feature: Ctrl+Backspace/Delete to remove characters up to next word beginning in text edit boxes [FS#5203] (r24521)
- Feature: Ctrl+Arrow keys to move entire words in text edit boxes [FS#5203] (r24520)
- Feature: When using autorefit only load/refit vehicles if other wagons cannot already take all cargo without refitting [FS#5106] (r24497)
- Feature: [GS] Useful behaviour for GSEngine::IsValidEngine and GSEngine::IsBuildable when outside GSCompanyMode scope (r24492)
- Feature: Display GS dead state in AI debug window [FS#5230] (r24489)
- Feature: Add buttons to view textfiles from the online content window [FS#5236] (r24488)
- Feature: Make the pathfinder decide whether ships shall leave depots towards north or south [FS#5127] (r24481)
- Feature: [GS] API compatibility scripts for Goal Scripts [FS#5219] (r24468)
- Feature: Display in the advanced settings description a setting type which explains the scope of changes to a particular setting [FS#5244] (r24411)
- Feature: [GS] Allow game scripts to monitor cargo pickups and deliveries done by companies (r24406)
- Feature: [NewGRF] Allow vehicle variable 61 for callback 2D (recolour) and re-randomisation (r24371)
- Feature: [NewGRF] Customisable signals for rail types (r24367)
- Feature: Allow filtering for multiple words (separated by whitespace resp. quoted) in script breakpoints, the sign list, content and NewGRF-GUIs (r24337, r24342)
- Feature: Add dropdowns to NewGRF configurations, if all values have labels (r24318)
- Feature: Add dropdowns to AI configurations, if all values have labels (r24317)
- Feature: Allow to select advanced settings with limited range with a dropdown list (r24316)
- Feature: Display default values for advanced settings in the settings description (r24298)
- Feature: News item for exclusive transport rights [FS#2688] (r24287)
- Feature: [NewGRF] Variable with the current max speed for vehicles [FS#5052] (r24246)
- Feature: Descriptions explaining the meaning of advanced settings (r24237)
- Feature: Split the renew-months setting text in two string values (one before life time and one after) (r24210)
- Feature: Show a hint in the supplies tab of station windows, if the station is affected by exclusive transport rights [FS#5178] (r24205)
- Feature: [NewGRF] Callback to set industry production level on construction (r24186)
- Feature: South Korean and South African currencies [FS#4907] (r24148)
- Feature: Randomise count of passengers killed in a crash [FS#3576] (r24142)
- Feature: Display rating in the town directory window (r24141)
- Feature: Show group name in the replace vehicle window caption [FS#1117] (r24140)
- Feature: Allow to create a new vehicle group by drag and drop (r24139)
- Feature: Ctrl+Drag to add all vehicles with a shared order list to a group (r24138)
- Feature: Draw indicator icon in the replace vehicle window for vehicles which have a replacement set (r24137)
- Feature: Autoreplace vehicles only when they get old [FS#4465] (r24136)
- Feature: Add configurable limits for tree planting, and remove tree drag size limit (r24134, r24135)
- Feature: Lithuanian currency [FS#4984] (r24133)
- Feature: Ctrl+Clicking to change colour of all colour schemes at once [FS#1952] (r24131)
- Feature: Deselect 'remove' button when changing signal types in the GUI [FS#2314] (r24130)
- Feature: Option to minimise signal distance when dragging over obstacles [FS#3660] (r24129)
- Feature: Allow closing airports for incoming aircraft [FS#1497] (r24127)
- Feature: Drag and drop support for the NewGRF list window [FS#3854] (r24126)
- Feature: Drag destination highlighting to the group GUI [FS#3705] (r24125)
- Feature: [NewGRF] Misc engine flag to disable breakdown smoke [FS#4658] (r24124)
- Feature: Be more careful with the population of a small town while placing a statue (r24105)
- Feature: Debug option for showing the redrawn dirty blocks/rectangles [FS#5101] (r24065)
- Change: News display options are now shown in the advanced settings window (r24842, r24843, r24844, r24845)
- Change: Drop 'signal density' from the advanced settings GUI. It is more suited to be only changed via the signal GUI (r24670)
- Change: Check for bankruptcy on a monthly basis (r24619)
- Change: Only bankrupt, if you have negative money considering you took max loan (r24617)
- Change: When building long roads or tramways, only build the roadbits at the beginning and the end if they can connect to something [FS#5228] (r24503)
- Change: Disallow original and better road layouts to build roads under bridges along the bridge direction [FS#5229] (r24391)
- Change: Allow cloning of orders which are unreachable for the destination vehicle if they were already unreachable for the source vehicle [FS#5213] (r24390)
- Change: Allow building/modifying/removing signals even if a train is on the belonging track (r24356)
- Change: [NewGRF] Make bounding boxes of road vehicles change according to the vehicle length to make alignment easier [FS#5204] (r24331)
- Fix: [NewGRF] Consider regearing-like cargos as no-cargo in cargo filters [FS#5386] (r24848)
- Fix: [NewGRF] Draw NewGRF railtypes in NewGRF station previews (r24840)
- Fix: Do not consider blocked rail station tiles that display wires as non-reachable for masking out unnecessary catenary wires (r24837)
- Fix: The autorefit dropdown in the order GUI was not always updated when modifying vehicle consists [FS#5396] (r24834)
- Fix: [NewGRF] Incorrect values are better than a crash when a NewGRF queries vehicle variable 4C before vehicle initialisation is completed [FS#5398] (r24831)
- Fix: determineversion.vbs could hang in a git checkout (r24826)
- Fix: Close pending preview windows when the engine is introduced to everyone (r24812)
- Fix: Close engine preview window when another client accepts it (r24811)
- Fix: Make engine preview offers more robust with regard to changes in the company ranking (r24810)
- Fix: When displaying the previous news message, do not consider news which are turned off [FS#4224] (r24802)
- Fix: Glitch in timetable GUI [FS#5327] (r24800)
- Fix: Unify checks for editability of settings (r24787)
- Fix: Invert the focus handling of the OSK. Keep the focus at the OSK and close it on losing focus (r24774)
- Fix: Shift in the OSK behaved like capslock (r24773)
- Fix: [Win32] Do not crash when switching to an unsupported fullscreen display mode (like 8bpp modes in Windows 8) [FS#5359] (r24762)
- Fix: Crash on corrupted savegame [FS#5367] (r24754)
- Fix: Some editboxes had a different colour than the rest of the window (r24747)
- Fix: In various windows the OSK looked shiny but using it had no effect whatsoever (r24727)
- Fix: AI debug GUI crashed when using disabled buttons via hotkeys (r24723)
- Fix: When starting a scenario apply the local company settings to the new company [FS#5139] (r24717)
- Fix: [NewGRF] Allow stations to draw snow/desert aware ground sprites with railtype overlays [FS#5335] (r24715)
- Fix: [NewGRF] Draw default foundations if resolving of custom station foundation sprites fails [FS#5337] (r24714)
- Fix: [NewGRF] Tolerate old NewGRFs returning invalid values via CB 11 [FS#5262] (r24713)
- Fix: [NewGRF] Station variables 61 and 62 returned incorrect values, if no vehicle ever tried loading [FS#5303] (r24712)
- Fix: Check whether to not display a ^ loading indicator at drop stations only worked if there was no other vehicle unloading for 255 ticks (r24711)
- Fix: [NewGRF] Station var 48 should report acceptance, not supply (r24706)
- Fix: Station rating might consider very old vehicles very young (r24705)
- Fix: Disallow closing oilrig airports in the scenario editor (r24703)
- Fix: Workaround for an overoptimisation done by GCC 4.5 [FS#5246] (r24701)
- Fix: Get packing right on MinGW GCC 4.7 (r24573)
- Fix: Make sure all template functions are instantiated by at least one compilation unit [FS#5276] (r24496)
- Fix: Do not load order backups when loading a server-saved game in single player (r24445)
- Fix: Allow overbuilding bridges with the same type when adding a roadtype [FS#5221] (r24413)
- Fix: Cargo lists cannot have genders (mostly because it is very unclear what gender it would have) (r24374)
- Fix: Off by one errors with regard to clicking on setting buttons (r24313)
- Fix: STRING1 probably means STRING1 (r24295)
- Fix: squirrel_export should match key words like 'virtual', 'static' and 'const' only as whole words (r24288)
- Fix: Hide object specs/classes from the GUI, if they will never be available to the user [FS#4967, FS#5120] (r24171)
- Fix: Unify the spacing in 'AI/Game Script' and never just say 'Game' when 'Game Script' is meant [FS#4898] (r24020)
// See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
//
-1 * 0 0C "OpenTTD GUI graphics"
-1 * 3 05 15 A2
-1 * 3 05 15 \b 168 // OPENTTD_SPRITE_COUNT
-1 sprites/openttdgui.png 8bpp 66 8 64 31 -31 7 normal
-1 sprites/openttdgui.png 8bpp 146 8 64 31 -31 7 normal
-1 sprites/openttdgui.png 8bpp 226 8 64 31 -31 7 normal
@@ -170,3 +170,9 @@
-1 sprites/openttdgui.png 8bpp 194 440 13 10 0 -2 normal
-1 sprites/openttdgui.png 8bpp 215 440 9 10 0 0 normal
-1 sprites/openttdgui.png 8bpp 232 440 8 10 0 0 normal
-1 sprites/openttdgui.png 8bpp 248 440 8 8 0 0 normal
-1 sprites/openttdgui.png 8bpp 264 440 8 8 0 0 normal
-1 sprites/openttdgui.png 8bpp 280 440 8 8 0 0 normal
-1 sprites/openttdgui.png 8bpp 296 440 8 8 0 0 normal
-1 sprites/openttdgui.png 8bpp 312 440 14 10 0 0 normal
-1 sprites/openttdgui.png 8bpp 328 440 14 10 0 0 normal
* Important: The old vehicle is still in the original vehicle chain (used for determining the cargo when the old vehicle did not carry anything, but the new one does)
* @param old_veh A single (articulated/multiheaded) vehicle that shall be replaced.
* @param new_vehicle Returns the newly build and refittet vehicle
* @param new_vehicle Returns the newly build and refitted vehicle
* @param part_of_chain The vehicle is part of a train
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
/** @file base_consist.cpp Properties for front vehicles/consists. */
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
/** @file base_consist.h Properties for front vehicles/consists. */
#ifndef BASE_CONSIST_H
#define BASE_CONSIST_H
#include"order_type.h"
#include"date_type.h"
/** Various front vehicle properties that are preserved when autoreplacing, using order-backup or switching front engines within a consist. */
structBaseConsist{
char*name;///< Name of vehicle
/* Used for timetabling. */
uint32current_order_time;///< How many ticks have passed since this order started.
int32lateness_counter;///< How many ticks late (or early if negative) this vehicle is.
Datetimetable_start;///< When the vehicle is supposed to start the timetable.
uint16service_interval;///< The interval for (automatic) servicing; either in days or %.
VehicleOrderIDcur_real_order_index;///< The index to the current real (non-implicit) order
VehicleOrderIDcur_implicit_order_index;///< The index to the current implicit order
uint16vehicle_flags;///< Used for gradual loading and other miscellaneous things (@see VehicleFlags enum)
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
/** @file base_media_func.h Generic function implementations for base data (graphics, sounds). */
/**
* @file base_media_func.h Generic function implementations for base data (graphics, sounds).
* @note You should _never_ include this file due to the SET_TYPE define.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
/** @file cargomonitor.cpp Implementation of the cargo transport monitoring. */
#include"stdafx.h"
#include"cargomonitor.h"
#include"station_base.h"
CargoMonitorMap_cargo_pickups;///< Map of monitored pick-ups to the amount since last query/activation.
CargoMonitorMap_cargo_deliveries;///< Map of monitored deliveries to the amount since last query/activation.
/**
* Helper method for ClearCargoPickupMonitoring and ClearCargoDeliveryMonitoring.
* Clears all monitors that belong to the specified company or all if INVALID_OWNER
* is specified as company.
* @param cargo_monitor_map reference to the cargo monitor map to operate on.
* @param company company to clear cargo monitors for or INVALID_OWNER if all cargo monitors should be cleared.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
/** @file cargomonitor.h Cargo transport monitoring declarations. */
#ifndef CARGOMONITOR_H
#define CARGOMONITOR_H
#include"cargo_type.h"
#include"company_func.h"
#include"industry.h"
#include"town.h"
#include<map>
structStation;
/**
* Unique number for a company / cargo type / (town or industry).
* Encoding is as follows:
* - bits 0-15 town or industry number
* - bit 16 is set if it is an industry number (else it is a town number).
* - bits 19-23 Cargo type.
* - bits 24-31 %Company number.
*/
typedefuint32CargoMonitorID;///< Type of the cargo monitor number.
/** Map type for storing and updating active cargo monitor numbers and their amounts. */
#define FOR_EACH_SET_CARGO_ID(var, cargo_bits) FOR_EACH_SET_BIT_EX(CargoID, var, uint, cargo_bits)
#define FOR_ALL_SORTED_CARGOSPECS(var) for (uint8 index = 0; var = _sorted_cargo_specs[index], index < _sorted_cargo_specs_size; index++)
/**
* Loop header for iterating over cargoes, sorted by name. This includes phony cargoes like regearing cargoes.
* @param var Reference getting the cargospec.
* @see CargoSpec
*/
#define FOR_ALL_SORTED_CARGOSPECS(var) for (uint8 index = 0; index < _sorted_cargo_specs_size && (var = _sorted_cargo_specs[index], true) ; index++)
#define FOR_ALL_SORTED_STANDARD_CARGOSPECS(var) for (uint8 index = 0; var = _sorted_cargo_specs[index], index < _sorted_standard_cargo_specs_size; index++)
/**
* Loop header for iterating over 'real' cargoes, sorted by name. Phony cargoes like regearing cargoes are skipped.
* @param var Reference getting the cargospec.
* @see CargoSpec
*/
#define FOR_ALL_SORTED_STANDARD_CARGOSPECS(var) for (uint8 index = 0; index < _sorted_standard_cargo_specs_size && (var = _sorted_cargo_specs[index], true); index++)
SetDParamMaxValue(1,max_cost*12);// Convert to per year
size->width=max(size->width,GetStringBoundingBox(_settings_game.economy.infrastructure_maintenance?STR_COMPANY_INFRASTRUCTURE_VIEW_COST:STR_WHITE_COMMA).width+20);// Reserve some wiggle room.
* Contructor registers this object in the pool vector.
* Constructor registers this object in the pool vector.
* @param pt type of this pool.
*/
PoolBase(PoolTypept):type(pt)
@@ -278,7 +278,7 @@ struct Pool : PoolBase {
};
private:
staticconstsize_tNO_FREE_ITEM=MAX_UVALUE(size_t);///< Contant to indicate we can't allocate any more items
staticconstsize_tNO_FREE_ITEM=MAX_UVALUE(size_t);///< Constant to indicate we can't allocate any more items
/**
* Helper struct to cache 'freed' PoolItems so we
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.