yexo
18d0a5238f
(svn r16444) -Codechange: Set all company settings to their default value for a new company instead of zeroing them.
16 years ago
glx
1d61619adc
(svn r16443) -Fix: running 'make depend' after 'configure' in a fresh checkout failed
16 years ago
smatz
e419fe6d3f
(svn r16442) -Codechange: use new Vehicle accessors at more places
16 years ago
smatz
0c53f04c07
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
16 years ago
yexo
c04e5a9aa3
(svn r16440) -Fix [NoAI]: AIRail::GetRailStationDirection returned incorrect information
16 years ago
yexo
f044ad6f80
(svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them.
16 years ago
smatz
d8d7a38eb9
(svn r16438) -Fix (r16436): set 'old_company' after modifying '_current_company'
16 years ago
rubidium
78c726d2b1
(svn r16437) -Codechange: remove the hack that for CMD_COMPANY_CTRL the company was changed from spectator to company 0 in the network code.
16 years ago
rubidium
4677b60b73
(svn r16436) -Codechange: always execute 'spectator'/'server' commands as spectator. This to reduce the difference between dedicated and non-dedicated servers and normal clients.
16 years ago
rubidium
e234e88d2d
(svn r16435) -Codechange: don't require the 'user company 0' hack for commands.
16 years ago
rubidium
d39f442bd0
(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
16 years ago
yexo
68042a6dde
(svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting
16 years ago
smatz
795231995d
(svn r16432) -Feature(tte): use 'scrollto x y' in console to scroll to tile with given coordinates
16 years ago
yexo
272722f12f
(svn r16431) -Fix (16429): Company settings can also be changed in multiplayer games
16 years ago
smatz
72165d32c8
(svn r16430) -Fix: crash when a company is deleted while a dropdown with company names is open
16 years ago
yexo
7eb9ad0415
(svn r16429) -Change: Make the company settings behave like all others settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies.
16 years ago
rubidium
87dfc2a881
(svn r16428) -Codechange: use the less bloated SimpleTinyEnumT instead of TinyEnumT if the stuff provided by TinyEnumT but not SimpleTinyEnumT is not used.
16 years ago
rubidium
82cdacb20c
(svn r16427) -Codechange: replace a few magic numbers with an existing constant and unduplicate a few lines.
16 years ago
rubidium
37b391901a
(svn r16426) -Fix [FS#2921] (r16390): articulated parts got the wrong image assigned
16 years ago
yexo
de04ae2cda
(svn r16425) -Change [FS#2869]: Stop an AI when it takes too long to initialize or load
16 years ago
smatz
4f24725986
(svn r16424) -Codechange: warn about casting-out 'const' only when using gcc4+, older versions give many useless false positives
16 years ago
rubidium
2832d69272
(svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts.
16 years ago
rubidium
c496a3e014
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
16 years ago
rubidium
49235963aa
(svn r16420) -Fix [FS#2919]: don't allow content download via the console when there's no zlib as it's done for the GUI already
16 years ago
rubidium
a25584b76f
(svn r16419) -Fix [FS#2916]: MSYS has two distinct ways to write paths. When calling external binaries it resolves paths which causes comparisons between a resolved and unresolved path. So always use the resolved path instead of the unresolved one.
16 years ago
frosch
80e19b12c3
(svn r16418) -Fix: Resolve the company name for 'subsidy awarded'-news when the news are triggered, so it stays valid when the company bankrupts or is taken over.
16 years ago
translators
6d74fb3553
(svn r16417) -Update: WebTranslator2 update to 2009-05-24 17:18:38
...
icelandic - 31 fixed, 14 changed by scrooge (45)
indonesian - 17 fixed by adjayanto (17)
serbian - 84 fixed by etran (84)
16 years ago
frosch
eeb3f75cfe
(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.
16 years ago
smatz
b86ab81030
(svn r16415) -Fix (r13008): some 64bit architectures require size_t to be aligned at 8-byte boundary, ensure it for MemBlock
16 years ago
frosch
6e06e82bc4
(svn r16414) -Change: Make it harder to ignore/close important error messages. Esp. do not close them automatically after some time.
16 years ago
alberth
0db7c2929e
(svn r16413) -Codechange: Allow leading/trailing whitespace and comma in newgrf parameters instead of treating them as invalid.
16 years ago
frosch
e60a1ec090
(svn r16412) -Cleanup: Shuffle vehicle pointers in AddArticulatedParts(), and remove two of them.
16 years ago
frosch
8ae1c5d908
(svn r16411) -Fix (r16390): Building articulated roadvehicles caused infinite loop due to v->Next() pointing to v itself.
16 years ago
rubidium
a661b157ad
(svn r16410) -Fix (r16307): don't assume the extension starts with the first '.', but with the last '.'. This way depend doesn't fail if there's a dot in your path, e.g. 'gcc-4.4'.
16 years ago
rubidium
65d2a381d9
(svn r16409) -Change: don't add empty lines/duplicates of the previous command to the console's history
16 years ago
frosch
b9e911170a
(svn r16408) -Codechange: Silence a pointless newgrf debug message.
16 years ago
smatz
bebab3cd79
(svn r16407) -Fix [FS#2913]: set CargoPacket::source to INVALID_STATION when source station is deleted
16 years ago
smatz
c1861060f7
(svn r16406) -Codechange: constify parameters of CheckSubsidised()
16 years ago
alberth
6bad10d216
(svn r16405) -Codechange: Move widget drawing code to functions to allow re-use.
16 years ago
rubidium
9f5d8d0f56
(svn r16404) -Fix [FS#2911] (r16378): the number of spritegroups got halved when the new pool was added, which mean there weren't enough spritegroups when you have more than about a dozen ECS vectors.
...
-Change: increase the spritegroup pool's maximum size to something more than the number of real sprites that OpenTTD can handle; for example ECS has about 30 spritegroups per real sprite. With the 'old' limit that would mean 'only' about 4000 real sprites worth of spritegroups could be loaded.
16 years ago
smatz
1eb48cdded
(svn r16403) -Codechange: move code related to subsidies to separate file
16 years ago
rubidium
846382a0f3
(svn r16402) -Codechange: make Resolve a function of SpriteGroup
16 years ago
yexo
95f69954c0
(svn r16401) -Fix (r16400): forgot to commit the changes to source.list (thanks SmatZ)
16 years ago
yexo
2d8609080f
(svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete.
16 years ago
frosch
a368f8615d
(svn r16399) -Fix (r4540): Don't treat pointer values as integer.
16 years ago
rubidium
fd016d5d09
(svn r16398) -Feature: make NewGRF callbacks work again; honouring the 'features' of 0.3.2.1, which was released only 5 years ago.
16 years ago
rubidium
6cfc38b97c
(svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehicle
16 years ago
rubidium
730b411878
(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union
16 years ago
smatz
329407e9bc
(svn r16395) -Fix (r16379): max sign ID can be higher than total number of signs
16 years ago
rubidium
cd382b28a3
(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
16 years ago